瀏覽代碼

revise safety bug

chenzk 1 月之前
父節點
當前提交
ba75504e84
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      PunkHPX8_MainPages/ViewModels/ReservoirsViewModel.cs
  2. 1 0
      PunkHPX8_RT/Devices/Safety/SafetyDevice.cs

+ 1 - 1
PunkHPX8_MainPages/ViewModels/ReservoirsViewModel.cs

@@ -361,7 +361,7 @@ namespace PunkHPX8_MainPages.ViewModels
                     CurrentRecipe = CommonFunction.GetValue<ResRecipe>(_rtDataValueDic, $"{Module}.CurrentRecipe");
                     CommonSafetyData = CommonFunction.GetValue<SafetyData>(_rtDataValueDic, $"Safety.SafetyData");
                     FilterPurgeEnable = CommonFunction.GetValue<bool>(_rtDataValueDic, $"System.Facilities.FilterPurgeEnable");
-                    IsCASafetyHighLevel = CommonSafetyData.ReservoirHighLevel;
+   
                     //计算总的ANFlow
                     for (int i = 0; i < CellModuleNameCollection.Count; i++)
                     {

+ 1 - 0
PunkHPX8_RT/Devices/Safety/SafetyDevice.cs

@@ -371,6 +371,7 @@ namespace PunkHPX8_RT.Devices.Safety
             OP.Subscribe($"{Module}.UnlockCell34Door", (cmd, args) => UnlockCell34Door());
             OP.Subscribe($"{Module}.ResetOperation",(cmd, args) => ResetOperation());
             OP.Subscribe($"{Module}.AllOnOperation", (cmd, args) => AllOnOperation());
+            
         }
         /// <summary>
         /// 订阅变量数值发生变化