自动化立体仓库 - WMS系统
*
lsh
13 小时以前 b36dbce34e28fadfe7080f28f0612b8239ca6cb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
package com.zy.asrs.entity;
 
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
 
import com.zy.asrs.entity.param.TaskArmReportParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
@Data
@TableName("asr_bas_arm_mast")
public class BasArmMast implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @ApiModelProperty(value= "ID")
    private Long id;
 
    /**
     * 机械臂编号
     */
    @ApiModelProperty(value= "机械臂编号")
    @TableId(value = "arm_no", type = IdType.INPUT)
    @TableField("arm_no")
    private Integer armNo;
 
    /**
     * 操作方向
     */
    @ApiModelProperty(value= "操作方向")
    @TableField("arm_direction")
    private Integer armDirection;
 
    /**
     * 终点
     */
    @ApiModelProperty(value= "终点")
    @TableField("sta_no")
    private Integer staNo;
 
    /**
     * 起点
     */
    @ApiModelProperty(value= "起点")
    @TableId(value = "sorting_line", type = IdType.INPUT)
    @TableField("sorting_line")
    private Integer sortingLine;
 
    /**
     * 绑定标记
     */
    @ApiModelProperty(value= "绑定标记")
    @TableField("binding_tags")
    private Integer bindingTags;
 
    /**
     * 优先级
     */
    @ApiModelProperty(value= "优先级")
    private Long priority;
 
    /**
     * 状态
     */
    @ApiModelProperty(value= "状态")
    private Integer status;
 
    @ApiModelProperty(value= "")
    private String matnr;
 
    @ApiModelProperty(value= "")
    private String sku;
 
    @ApiModelProperty(value= "")
    private String po;
 
    @ApiModelProperty(value= "")
    private String upc;
 
    /**
     * 货源
     */
    @ApiModelProperty(value= "货源")
    private String supplier;
 
    @ApiModelProperty(value= "")
    @TableField("order_no")
    private String orderNo;
 
    /**
     * 箱数
     */
    @ApiModelProperty(value= "箱数")
    private Integer ctns;
 
    /**
     * 时间戳
     */
    @ApiModelProperty(value= "时间戳")
    @TableId(value = "createTime", type = IdType.INPUT)
    private Long createTime;
 
    /**
     * 异常代码
     */
    @ApiModelProperty(value= "异常代码")
    @TableField("arm_error")
    private Long armError;
 
    /**
     * 异常信息
     */
    @ApiModelProperty(value= "异常信息")
    @TableField("arm_msg")
    private String armMsg;
 
    public BasArmMast() {}
    public BasArmMast(TaskArmReportParam param) {
        this.orderNo = param.getOrderNo();
        this.sku = param.getSku();
        this.po = param.getPo();
        this.upc = param.getUpc();
        this.supplier = param.getSupplier();
        this.createTime = param.getCreateTime();
        this.sortingLine = Integer.getInteger(param.getStaNo());
    }
 
    public BasArmMast(Integer armNo,Integer armDirection,Integer staNo,Integer sortingLine,Integer bindingTags,Long priority,Integer status,String matnr,String sku,String po,String upc,String supplier,String orderNo,Integer ctns,Long createTime,Long armError,String armMsg) {
        this.armNo = armNo;
        this.armDirection = armDirection;
        this.staNo = staNo;
        this.sortingLine = sortingLine;
        this.bindingTags = bindingTags;
        this.priority = priority;
        this.status = status;
        this.matnr = matnr;
        this.sku = sku;
        this.po = po;
        this.upc = upc;
        this.supplier = supplier;
        this.orderNo = orderNo;
        this.ctns = ctns;
        this.createTime = createTime;
        this.armError = armError;
        this.armMsg = armMsg;
    }
 
//    BasArmMast basArmMast = new BasArmMast(
//            null,    // 机械臂编号[非空]
//            null,    // 操作方向[非空]
//            null,    // 终点[非空]
//            null,    // 起点[非空]
//            null,    // 绑定标记[非空]
//            null,    // 优先级[非空]
//            null,    // 状态[非空]
//            null,    // [非空]
//            null,    // [非空]
//            null,    // [非空]
//            null,    // [非空]
//            null,    // 货源[非空]
//            null,    // [非空]
//            null,    // 箱数[非空]
//            null,    // 时间戳[非空]
//            null,    // 异常代码
//            null    // 异常信息
//    );
 
 
}