@@ -151,7 +151,7 @@ public class BusDeviceAlarmEntity extends TenantGenericEntity<String,String> {
}
public boolean alarmOrWarn(){
- if (this.getAlarm() != null && !DeviceAlarmEnum.None.equals(this.getAlarm())) {
+ if (this.getAlarmState() != null && !DeviceAlarmEnum.None.equals(this.getAlarmState())) {
return true;
if (Boolean.TRUE.equals(this.getWarnAnalgesicPoor())) {