liusuyi
2026-06-01 a2e7e8ff9cfaa69b001d483710bddbda50d55c91
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
package com.ard.work.api.domian;
 
import com.ard.common.core.annotation.Excel;
import com.ard.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.util.Date;
import java.util.List;
 
/**
 * 相机设备对象 ard_camera
 *
 * @author 刘苏义
 * @date 2023-02-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArdCamera extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    public ArdCamera(String type) {
        this.type = type;
    }
    public ArdCamera(String ip,Integer port,String username,String password) {
        this.ip = ip;
        this.port = port;
        this.username = username;
        this.password = password;
    }
    /**
     * id
     */
    @Excel(name = "id")
    private String id;
 
    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;
 
    /**
     * ip
     */
    @Excel(name = "ip")
    private String ip;
 
    /**
     * 端口
     */
    @Excel(name = "端口")
    private Integer port;
 
    /**
     * rtsp端口
     */
    @Excel(name = "rtsp端口")
    private Integer rtspPort;
 
    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String username;
 
    /**
     * 密码
     */
    @Excel(name = "密码")
    private String password;
 
    /**
     * 类型
     * 0-小光电 1-大光电 2-终端NVR 3-超脑
     */
    @Excel(name = "类型")
    private String type;
 
    /**
     * 厂商
     */
    @Excel(name = "厂商")
    private String factory;
 
    /**
     * 经度
     */
    @Excel(name = "经度")
    private Double longitude;
 
    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private Double latitude;
 
    /**
     * 高层
     */
    @Excel(name = "高层")
    private Double altitude;
 
    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;
 
    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;
 
    /**
     * 底座相对正北的偏航角
     * 适用于车载光电
     */
    private Float baseYaw;
 
    /**
     * 方位角
     */
    @Excel(name = "方位角")
    private Double camHeading;
 
    /**
     * 俯仰角
     */
    @Excel(name = "俯仰角")
    private Double camPitch;
 
    /**
     * 旋转角
     */
    @Excel(name = "旋转角")
    private Double camRoll;
 
    /**
     * 设备焦距
     */
    @Excel(name = "设备焦距")
    private Double camNear;
 
    /**
     * 拍摄距离
     */
    @Excel(name = "拍摄距离")
    private Double camFar;
 
    /**
     * 宽高比
     */
    @Excel(name = "宽高比")
    private Double camAspectratio;
 
    /**
     * 融合深度
     */
    @Excel(name = "融合深度")
    private Double camDepth;
 
    /**
     * 视场角
     */
    @Excel(name = "视场角")
    private Double camFov;
 
    /**
     * 最大可视距离
     */
    @Excel(name = "最大可视距离")
    private Double camMaxVisibleDistance;
 
    /**
     * 相机报警引导开关
     */
    @Excel(name = "相机报警引导开关")
    private Integer camAlarmGuideEnable;
 
    /**
     * 所属塔ID
     */
    private String towerId;
 
    /**
     * 登录ID
     */
    private Long loginId;
 
    /**
     * 在线状态 0-离线 1-在线
     */
    private String state;
 
    /**
     * 相机操控者标识
     */
    private String operatorId;
 
    /**
     * 相机操控者名称
     */
    private String operatorName;
 
    /**
     * 相机操控过期时间
     */
    private Date operatorExpired;
 
    /**
     * 起始通道号
     */
    private Integer startChan;
 
    /**
     * 通道数
     */
    @Excel(name = "通道数")
    private Integer chanNum;
 
    /**
     * 通道
     */
    private List<ArdChannel> channelList;
 
    /**
     * 合浦设备专用(关联多个合浦机芯)
     */
    List<ArdCameraHepu> hepuNodes;
 
    @Override
    public int hashCode() {
        return id.hashCode();
    }
 
    @Override
    public boolean equals(Object obj) {
        if (obj instanceof ArdCamera) {
            return id.equals(((ArdCamera) obj).getId());
        } else {
            return false;
        }
    }
}