Ver código fonte

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

reconfiguration
ZhaoGang 2 semanas atrás
pai
commit
2a19578c35
2 arquivos alterados com 4 adições e 0 exclusões
  1. +3
    -0
      BPASmartClient.Academy/50L/AlarmData.cs
  2. +1
    -0
      BPASmartClient.Academy/50L/PlcControl.cs

+ 3
- 0
BPASmartClient.Academy/50L/AlarmData.cs Ver arquivo

@@ -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 Ver arquivo

@@ -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);


Carregando…
Cancelar
Salvar