|
|
@ -252,7 +252,7 @@ public class IotMonitoringDataJob { |
|
|
nowDeviceState.setJobDurationTotal(lastedDeviceState.getJobDurationTotal() + receivedEvent.getCurrJobDuration()); |
|
|
nowDeviceState.setJobDurationTotal(lastedDeviceState.getJobDurationTotal() + receivedEvent.getCurrJobDuration()); |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
// 待机或开机 |
|
|
|
|
|
|
|
|
// 待机 |
|
|
nowDeviceState = lastedDeviceState; |
|
|
nowDeviceState = lastedDeviceState; |
|
|
} |
|
|
} |
|
|
// 设置开机时长,待机也要进行累加,所以放这里 |
|
|
// 设置开机时长,待机也要进行累加,所以放这里 |
|
|
|