Pārlūkot izejas kodu

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

reconfiguration
ZhaoGang pirms 1 mēnesi
vecāks
revīzija
2a19578c35
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      BPASmartClient.Academy/50L/AlarmData.cs
  2. +1
    -0
      BPASmartClient.Academy/50L/PlcControl.cs

+ 3
- 0
BPASmartClient.Academy/50L/AlarmData.cs Parādīt failu

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

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

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

+ 1
- 0
BPASmartClient.Academy/50L/PlcControl.cs Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt