From ff12c3038077a5f6473a072965afa8560f652ff3 Mon Sep 17 00:00:00 2001 From: lhiven Date: Sun, 11 Aug 2024 14:38:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=98=AF=E5=90=A6=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E6=B5=8B=E8=AF=95=E6=B2=BB=E5=85=B7=E5=85=89=E7=BA=A4?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E7=94=B1=E4=B8=AD=E6=8E=A7=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/Commom/GlobalVar.cs | 9 +++++---- Rs.SkyLine/Commom/Scheduling.cs | 6 +++++- Rs.SkyLine/Flow/TestCenter.cs | 5 +++++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Rs.SkyLine/Commom/GlobalVar.cs b/Rs.SkyLine/Commom/GlobalVar.cs index 7d73855..1422183 100644 --- a/Rs.SkyLine/Commom/GlobalVar.cs +++ b/Rs.SkyLine/Commom/GlobalVar.cs @@ -595,10 +595,11 @@ namespace Rs.Framework /// public static bool EnableTestFixtureFiberCheck { - get - { - return SysConfigParam.GetValue(nameof(EnableTestFixtureFiberCheck)); - } + get; + set; + //{ + // return SysConfigParam.GetValue(nameof(EnableTestFixtureFiberCheck)); + //} } /// diff --git a/Rs.SkyLine/Commom/Scheduling.cs b/Rs.SkyLine/Commom/Scheduling.cs index 49baa34..1ab9cce 100644 --- a/Rs.SkyLine/Commom/Scheduling.cs +++ b/Rs.SkyLine/Commom/Scheduling.cs @@ -711,7 +711,11 @@ namespace Rs.MotionPlat.Commom /// /// 是否屏蔽治具真空检测 /// - DisableFixtureVacuumCheck + DisableFixtureVacuumCheck, + /// + /// 治具光纤检査开关 + /// + FixtureOpticalSensorCheck } } diff --git a/Rs.SkyLine/Flow/TestCenter.cs b/Rs.SkyLine/Flow/TestCenter.cs index 25fbc00..e04b405 100644 --- a/Rs.SkyLine/Flow/TestCenter.cs +++ b/Rs.SkyLine/Flow/TestCenter.cs @@ -47,8 +47,13 @@ namespace Rs.MotionPlat.Flow break; case SchedulingStatusInfo.InfoType.DisableFixtureVacuumCheck: + LogHelper.Debug($"测试软件 >>> DisableFixtureVacuumCheck: {ssi.Info}"); GlobalVar.DisableFixtureVacuumCheck = bool.Parse(ssi.Info); break; + case SchedulingStatusInfo.InfoType.FixtureOpticalSensorCheck: + LogHelper.Debug($"测试软件 >>> FixtureOpticalSensorCheck:{ssi.Info}"); + GlobalVar.EnableTestFixtureFiberCheck = bool.Parse(ssi.Info); + break; case SchedulingStatusInfo.InfoType.State: break; case SchedulingStatusInfo.InfoType.RunStatus: