提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 智能交通外接道闸信息出参 |
|
8 |
* @date 2020/12/14 |
|
9 |
*/ |
|
10 |
public class NET_OUT_TRAFFIC_SNAP_STROBE_INFO extends NetSDKLib.SdkStructure{ |
|
11 |
|
|
12 |
/** |
|
13 |
* 结构体大小 |
|
14 |
* */ |
|
15 |
public int dwSize; |
|
16 |
|
|
17 |
/** |
|
18 |
* 设备编号 |
|
19 |
* */ |
|
20 |
public byte[] szSerialNo = new byte[128]; |
|
21 |
|
|
22 |
/** |
|
23 |
* 生产厂商 |
|
24 |
* */ |
|
25 |
public byte[] szVendor = new byte[32]; |
|
26 |
|
|
27 |
/** |
|
28 |
* 设备型号 |
|
29 |
* */ |
|
30 |
public byte[] szDevType = new byte[32]; |
|
31 |
|
|
32 |
/** |
|
33 |
* 工作状态 { @link EM_TRAFFIC_SNAP_DEVICE_WORK_STATE} |
|
34 |
* */ |
|
35 |
public int emWorkState; |
|
36 |
|
|
37 |
/** |
|
38 |
* 故障代码{ @link EM_TRAFFIC_SNAP_STROBE_FAULT_CODE_TYPE} |
|
39 |
* */ |
|
40 |
public int emFaultCode; |
|
41 |
|
|
42 |
/** |
|
43 |
* 出厂后开闸运行次数(开闸算一次,关闸不算) |
|
44 |
* */ |
|
45 |
public int nOpenStrobeCount; |
|
46 |
|
|
47 |
/** |
|
48 |
* 运行状态{ @link EM_TRAFFIC_SNAP_STROBE_RUN_STATE} |
|
49 |
* */ |
|
50 |
public int emRunState; |
|
51 |
|
|
52 |
/** |
|
53 |
* 道闸开关闸原因{ @link EM_TRAFFIC_SNAP_STROBE_ACTION_REASON_TYPE } |
|
54 |
* */ |
|
55 |
public int emStrobeActionReason; |
|
56 |
|
|
57 |
/** |
|
58 |
* 强继电器状态{ @link EM_RELAY_STATE_TYPE } |
|
59 |
* */ |
|
60 |
public int emHeavyCurrentRelayState; |
|
61 |
|
|
62 |
/** |
|
63 |
* 信号继电器1{ @link EM_RELAY_STATE_TYPE } |
|
64 |
* */ |
|
65 |
public int emSignalRelay1State; |
|
66 |
|
|
67 |
/** |
|
68 |
* 信号继电器2{ @link EM_RELAY_STATE_TYPE } |
|
69 |
* */ |
|
70 |
public int emSignalRelay2State; |
|
71 |
|
|
72 |
/** |
|
73 |
* 地感输入信号{ @link EM_TRAFFIC_SNAP_GROUND_SENSE_IN_STATE_TYPE} |
|
74 |
* */ |
|
75 |
public int emGroundSenseInState; |
|
76 |
|
|
77 |
/** |
|
78 |
* 开闸输入状态{ @link EM_TRAFFIC_SNAP_STROBE_IN_STATE_TYPE} |
|
79 |
* */ |
|
80 |
public int emStrobeInPutState; |
|
81 |
|
|
82 |
/** |
|
83 |
* 栏杆状态{ @link EM_TRAFFIC_SNAP_STROBE_RAIL_STATE_TYPE} |
|
84 |
* */ |
|
85 |
public int emRailState; |
|
86 |
|
|
87 |
/** |
|
88 |
* 串口号(连接相机的端口号) |
|
89 |
* */ |
|
90 |
public int nCommPort; |
|
91 |
|
|
92 |
/** |
|
93 |
* 保留字节 |
|
94 |
* */ |
|
95 |
public byte[] byReserved = new byte[1020]; |
|
96 |
|
|
97 |
public NET_OUT_TRAFFIC_SNAP_STROBE_INFO() { |
|
98 |
this.dwSize = this.size(); |
|
99 |
} |
|
100 |
|
|
101 |
} |