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"); }
protected override bool WriteCommand_CanExecute(object obj) { if (AlarmProcessor.GetAlarmForAnalogPoint(CommandedValue, configItem) == AlarmType.NO_ALARM) { return(true); } else { return(false); } }
private void ProcessAlarm(double eguValue) { alarm = AlarmProcessor.GetAlarmForAnalogPoint(eguValue, configItem); OnPropertyChanged("Alarm"); }