6 changed files with 94 additions and 53 deletions
Split View
Diff Options
-
59iot-machine-data-command/src/main/java/com/qniao/iot/machine/command/MachineOutputCommand.java
-
10iot-machine-data-command/src/main/java/com/qniao/iot/machine/command/PowerOffMachineCommand.java
-
10iot-machine-data-command/src/main/java/com/qniao/iot/machine/command/PowerOnMachineCommand.java
-
10iot-machine-data-command/src/main/java/com/qniao/iot/machine/command/StartMachineWorkingCommand.java
-
10iot-machine-data-command/src/main/java/com/qniao/iot/machine/command/StopMachineWorkingCommand.java
-
48iot-machine-state-event-generator-job/src/main/java/com/qniao/iot/machine/event/generator/job/IotMachineEventGeneratorJob.java
@ -0,0 +1,59 @@ |
|||
package com.qniao.iot.machine.command; |
|||
|
|||
import com.qniao.domain.BaseCommand; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
/** |
|||
* 机器输出命令 |
|||
*/ |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@Data |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
public class MachineOutputCommand extends BaseCommand { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 机器标识(MachineId) |
|||
*/ |
|||
private Long id; |
|||
|
|||
/** |
|||
* 云盒mac |
|||
*/ |
|||
private Long mac; |
|||
|
|||
/** |
|||
* 机器电源状态(0断电 1供电) |
|||
*/ |
|||
private Integer machinePwrStat; |
|||
|
|||
/** |
|||
* 机器工作状态(0未工作 1工作中 2待机中) |
|||
*/ |
|||
private Integer machineWorkingStat; |
|||
|
|||
/** |
|||
* 数据来源(0机智云 1树根) |
|||
*/ |
|||
private Integer dataSource; |
|||
|
|||
/** |
|||
* 当前产能(距离上次的工作生产数量) |
|||
*/ |
|||
private Long currCount; |
|||
|
|||
/** |
|||
* 当前时长(距离上次的作业时长,单位秒) |
|||
*/ |
|||
private Long currDuration; |
|||
|
|||
/** |
|||
* 当前总产量 |
|||
*/ |
|||
private Long currTotalOutput; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save