[ptl: 32 亮灯作业程序]

yun-zuoyi
joke 5 years ago
parent 39a454f89b
commit f01b3664c2

@ -593,9 +593,13 @@ public class PtlPcnEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum InterfaceSignalMessageType { public enum InterfaceSignalMessageType {
CONNECT_CONTROL_CMD(10, "111111", "connectControlService", "连接控制器"), CONNECT_CONTROL_CMD(10, "connect", "connectControlService", "连接控制器"),
DISCONNECT_CONTROL_CMD(20, "222222", "disconnectControlService", "断开控制器"), DISCONNECT_CONTROL_CMD(20, "disconnect", "disconnectControlService", "断开控制器"),
LIGHT_ON_CMD(30, "333333", "lightOnService", "亮灯命令"); REFRESH_CONTROL_CMD(30, "refresh", "refreshControlService", "刷新"),
UNLOCK_CONTROL_CMD(40, "unlock", "unlockControlService", "解锁"),
LABEL_SELF_CHECK_CONTROL_CMD(50, "labelSelfCheck", "labelSelfCheckControlService", "标签自检"),
LIGHT_DETAIL_CONTROL_CMD(60, "lightDetail", "lightDetailControlService", "亮灯明细"),
SCAN_CONTROL_CMD(60, "scan", "scanControlService", "扫描");
private int value; private int value;
private String code; private String code;
@ -722,4 +726,32 @@ public class PtlPcnEnumUtil {
} }
} }
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PtlControlStatus {
CONNECT(10, "CONNECT", "连接"),
DISCONNECT(20, "DISCONNECT", "断开");
private int value;
private String code;
private String description;
PtlControlStatus(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
}
} }

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.ptl.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.ptl.bean.PtlAreaTask;
/**
* @Description :
* @Reference :
* @Author : joke
* @CreateDate : 2020-02-25 11:16
* @Modify:
**/
public interface PtlAreaTaskRepository extends BaseRepository<PtlAreaTask, Long> {
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.ptl.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.ptl.bean.PtlAreaTaskSeq;
/**
* @Description :
* @Reference :
* @Author : joke
* @CreateDate : 2020-02-25 11:18
* @Modify:
**/
public interface PtlAreaTaskSeqRepository extends BaseRepository<PtlAreaTaskSeq, Long> {
}
Loading…
Cancel
Save