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: