Browse Source

add:添加反应釜压力上限报警变量

reconfiguration
ZhaoGang 1 month ago
parent
commit
2a19578c35
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      BPASmartClient.Academy/50L/AlarmData.cs
  2. +1
    -0
      BPASmartClient.Academy/50L/PlcControl.cs

+ 3
- 0
BPASmartClient.Academy/50L/AlarmData.cs View File

@@ -23,5 +23,8 @@ namespace BPASmartClient.Academy._50L


[Alarm("空压机异常")] [Alarm("空压机异常")]
public bool CompressorError { get; set; } public bool CompressorError { get; set; }

[Alarm("反应釜压力到达上限")]
public bool ReactorPressureLimit { get; set; }
} }
} }

+ 1
- 0
BPASmartClient.Academy/50L/PlcControl.cs View File

@@ -144,6 +144,7 @@ namespace BPASmartClient.Academy._50L
AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").AbnormalNegativePressureFan = s.Content[2]; AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").AbnormalNegativePressureFan = s.Content[2];
AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").BrinePumpError = s.Content[3]; AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").BrinePumpError = s.Content[3];
AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").CompressorError = s.Content[4]; AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").CompressorError = s.Content[4];
AlarmHelper.GetInstance.Get<AlarmData>("50L反应釜").ReactorPressureLimit = s.Content[4];
}); });
Thread.Sleep(100); Thread.Sleep(100);


Loading…
Cancel
Save