|
|
@ -200,7 +200,7 @@ public class RootCloudIotDataFormatterJob { |
|
|
machineIotDataReceivedEvent.setAccJobCount(event.getACC_count_total()); |
|
|
machineIotDataReceivedEvent.setAccJobCount(event.getACC_count_total()); |
|
|
Long accCount = event.getACC_count(); |
|
|
Long accCount = event.getACC_count(); |
|
|
machineIotDataReceivedEvent.setCurrJobCount(accCount); |
|
|
machineIotDataReceivedEvent.setCurrJobCount(accCount); |
|
|
if(pwrSta == 1 && accCount == 0) { |
|
|
|
|
|
|
|
|
if(pwrSta != null && pwrSta == 1 && accCount != null && accCount == 0) { |
|
|
// 如果是开机状态并且没有产量就设置为待机 |
|
|
// 如果是开机状态并且没有产量就设置为待机 |
|
|
machineIotDataReceivedEvent.setMachineWorkingStat(2); |
|
|
machineIotDataReceivedEvent.setMachineWorkingStat(2); |
|
|
}else { |
|
|
}else { |
|
|
|