示例#1
0
 private void ProcessAlarm(double eguValue)
 {
     alarm = AlarmProcessor.GetAlarmForAnalogPoint(eguValue, configItem);
     if (alarm != Common.AlarmType.NO_ALARM)
     {
         // string message = $" ima alarm";
         // this.stateUpdater.LogMessage(message);
     }
     OnPropertyChanged("Alarm");
 }
示例#2
0
 protected override bool WriteCommand_CanExecute(object obj)
 {
     if (AlarmProcessor.GetAlarmForAnalogPoint(CommandedValue, configItem) == AlarmType.NO_ALARM)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
示例#3
0
 private void ProcessAlarm(double eguValue)
 {
     alarm = AlarmProcessor.GetAlarmForAnalogPoint(eguValue, configItem);
     OnPropertyChanged("Alarm");
 }