|
|
|
@ -202,8 +202,8 @@ public class RootCloudIotDataFormatterJob { |
|
|
|
private static MachineIotDataReceivedEvent transform(RootCloudIotDataReceiptedEvent event) { |
|
|
|
|
|
|
|
MachineIotDataReceivedEvent machineIotDataReceivedEvent = new MachineIotDataReceivedEvent(); |
|
|
|
machineIotDataReceivedEvent.setCurrCount(0L); |
|
|
|
machineIotDataReceivedEvent.setCurrDuration(0L); |
|
|
|
machineIotDataReceivedEvent.setCurrJobCount(0L); |
|
|
|
machineIotDataReceivedEvent.setCurrJobDuration(0L); |
|
|
|
machineIotDataReceivedEvent.setDurationOfThePeriod(0L); |
|
|
|
// 树根的getACC_count每次关机就会清0,所以应该是一个周期的产量 |
|
|
|
machineIotDataReceivedEvent.setCountOfThePeriod(event.getACC_count()); |
|
|
|
|