czt
2024-07-13 1c1472f51d68382f913e413aa827fd0b028ab589
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
 
/**
 * @author vince.xu
 * @Title: Quantity
 * @ProjectName igds-dev
 * @Description: 数量检测实体
 * @date 2021/6/11 001111:40
 */
@Data
@Entity
@Table(name = "D_QUANTITY_CONF")
public class QuantityConf implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Id
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "所属仓库")
    private String depotId;
 
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    //设备信息
    @Column(name = "NAME_", length = 30)
    @PropertyDef(label = "设备名称")
    private String name;
 
    @Column(name = "SN_", length = 46)
    @PropertyDef(label = "设备序列号")
    private String sn;
 
    @Column(name = "IP_", length = 20)
    @PropertyDef(label = "设备IP")
    private String ip;
 
    @Column(name = "PORT_")
    @PropertyDef(label = "设备端口")
    private Integer port;
 
    @Column(name = "LOGIN_ID_", length = 20)
    @PropertyDef(label = "帐号")
    private String loginId;
 
    @Column(name = "PWD_", length = 20)
    @PropertyDef(label = "密码")
    private String pwd;
 
    @Column(name = "STATUS_", length = 10)
    @PropertyDef(label = "是否在线")
    private String status;
 
    @Column(name = "PROTOCOL_", length = 40)
    @PropertyDef(label = "分机协议", description = "不同厂商有不同的协议")
    private String protocol;
 
 
    //数量检测配置
    @Column(name = "LENGTH1_")
    @PropertyDef(label = "距离1", description = "探头到第一面墙的距离,单位米,可能有小数点。")
    private Double length1 = 0.0;
    @Column(name = "LENGTH2_")
    @PropertyDef(label = "距离2", description = "探头到第二面墙的距离,单位米,可能有小数点。")
    private Double length2 = 0.0;
    @Column(name = "LENGTH3_")
    @PropertyDef(label = "距离3", description = "探头到第三面墙的距离,单位米,可能有小数点。")
    private Double length3 = 0.0;
    @Column(name = "LENGTH4_")
    @PropertyDef(label = "距离4", description = "探头到第四面墙的距离,单位米,可能有小数点。")
    private Double length4 = 0.0;
 
    @Column(name = "WIDTH_")
    @PropertyDef(label = "仓房宽", description = "仓房宽,单位米,可能有小数点。")
    private Double width = 0.0;
    @Column(name = "LENGTH_")
    @PropertyDef(label = "仓房长", description = "仓房长,单位米,可能有小数点。")
    private Double length = 0.0;
    @Column(name = "HEIGHT_")
    @PropertyDef(label = "探头高", description = "探头到地面高度,单位米,可能有小数点。")
    private Double height = 0.0;
    @Column(name = "LINE_HEIGHT_")
    @PropertyDef(label = "堆粮线高", description = "堆粮线到地面高度,单位米,可能有小数点。")
    private Double lineHeight = 0.0;
 
    @Column(name = "YT_IP_", length = 30)
    @PropertyDef(label = "ip", description = "蜀汉的将设备ip配置在这里")
    private String ytIp;
 
    @Column(name = "YT_PORT_")
    @PropertyDef(label = "端口", description = "")
    private Integer ytPort;
 
    @Column(name = "CAMERA_SN_", length = 46)
    @PropertyDef(label = "摄像机序列号")
    private String cameraSn;
 
    @Column(name = "PORT_CTRL_")
    @PropertyDef(label = "控制端口")
    private Integer portCtrl = 554;
 
    @Column(name = "PORT_WEB_")
    @PropertyDef(label = "WEB端口")
    private Integer portWeb = 80;
 
    @Column(name = "CHAN_NUM_")
    @PropertyDef(label = "通道号")
    private int chanNum = 1;
 
    @Column(name = "PLAY_TYPE_", length = 20)
    @PropertyDef(label = "播放方式")
    private String playType;
 
    @Column(name = "SNAP_TYPE_", length = 10)
    @PropertyDef(label = "抓拍方式")
    private String snapType;
 
    @Column(name = "MEDIA_ADDR_", length = 100)
    @PropertyDef(label = "rtsp地址")
    private String mediaAddr;
 
 
    //其他信息
    @Column(name = "REMARK_", length = 100)
    @PropertyDef(label = "备注")
    private String remark;
 
}