fix warnClock from NS
This commit is contained in:
parent
978b68eee7
commit
0d9578763d
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ public class NSDeviceStatus {
|
|||
level = Levels.URGENT;
|
||||
else if (!deviceStatusPumpData.isPercent && deviceStatusPumpData.voltage < NSSettingsStatus.getInstance().extendedPumpSettings("urgentBattV"))
|
||||
level = Levels.URGENT;
|
||||
else if (deviceStatusPumpData.clock + NSSettingsStatus.getInstance().extendedPumpSettings("warnClock") < now)
|
||||
else if (deviceStatusPumpData.clock + NSSettingsStatus.getInstance().extendedPumpSettings("warnClock") * 60 * 1000L < now)
|
||||
level = Levels.WARN;
|
||||
else if (deviceStatusPumpData.reservoir < NSSettingsStatus.getInstance().extendedPumpSettings("warnRes"))
|
||||
level = Levels.WARN;
|
||||
|
|
Loading…
Reference in a new issue