jiazx0107@163.com
2023-05-29 135e1039d78e767536d91bcbce04d2efedb2f7b2
igds-core/src/main/java/com/ld/igds/inout/dto/ApiInoutData.java
ÎļþÃû´Ó igds-core/src/main/java/com/ld/igds/inout/dto/InoutApiData.java ÐÞ¸Ä
@@ -11,28 +11,19 @@
 * å‡ºå…¥åº“流程过程中,车牌失败,读卡器等设备的公共参数和传递对象
 */
@Data
public class InoutApiData implements Serializable {
public class ApiInoutData implements Serializable {
    private static final long serialVersionUID = 1L;
    @PropertyDef(label = "主键")
    private String id;
    @PropertyDef(label = "组织编码")
    private String companyId;
    @PropertyDef(label = "所属库点")
    private String deptId;
    @PropertyDef(label = "出入库配套序号")
    private String sort = "1";
    @PropertyDef(label = "设备顺序")
    private int inOrder = 1;
    @PropertyDef(label = "所属流程")
    private String inoutProgress;
    @PropertyDef(label = "设备名称")
    private String name;
@@ -40,10 +31,8 @@
    @PropertyDef(label = "设备序列号/设备编码")
    private String sn;
    @PropertyDef(label = "分机IP")
    private String ip;
    @PropertyDef(label = "分机端口")
    private Integer port;
    @PropertyDef(label = "帐号")
@@ -57,9 +46,6 @@
    @PropertyDef(label = "控制端口")
    private Integer portCtrl;
    @PropertyDef(label = "WEB端口")
    private Integer portWeb;
    @PropertyDef(label = "设备类型")
    private String type;
@@ -88,9 +74,6 @@
    private Date time = new Date();
    //设备编码
//    private String deviceId;
    //信息
    private String msg;
@@ -103,18 +86,22 @@
    //称重信息
    private double weight = 0.0;
    //动作编码,例如开闸机-关闸机等
    private String actionCode;
    public InoutApiData() {
    //动作编码,设备编号
    private String deviceId;
    public ApiInoutData() {
        super();
    }
    public InoutApiData(InoutConf conf) {
    public ApiInoutData(InoutConf conf) {
        this.id = conf.getId();
        this.companyId = conf.getCompanyId();
        this.deptId = conf.getDeptId();
        this.sort = conf.getSort();
        this.inOrder = conf.getInOrder();
        this.inoutProgress = conf.getInoutProgress();
        this.name = conf.getName();
        this.sn = conf.getSn();
        this.ip = conf.getIp();
@@ -123,7 +110,6 @@
        this.pwd = conf.getPwd();
        this.chanNum = conf.getChanNum();
        this.portCtrl = conf.getPortCtrl();
        this.portWeb = conf.getPortWeb();
        this.type = conf.getType();
        this.status = conf.getStatus();
        this.protocol = conf.getProtocol();