ソースを参照

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>
         /// 订阅变量数值发生变化