提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 智能机箱的日常运行信息 |
|
8 |
* @date 2023/05/11 16:03:12 |
|
9 |
*/ |
|
10 |
public class NET_CASERUNNING_STATE_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 输入电压状态 |
|
13 |
*/ |
|
14 |
public NET_STATEMANAGER_V_INFO stuInV = new NET_STATEMANAGER_V_INFO(); |
|
15 |
/** |
|
16 |
* 输出电压状态 |
|
17 |
*/ |
|
18 |
public NET_CASERUNNING_OUTV_INFO stuOutV = new NET_CASERUNNING_OUTV_INFO(); |
|
19 |
/** |
|
20 |
* AC220V1输出的电压、电流、功率、能耗 |
|
21 |
*/ |
|
22 |
public NET_STATEMANAGER_V_INFO stuAc220v1Value = new NET_STATEMANAGER_V_INFO(); |
|
23 |
/** |
|
24 |
* AC220V2输出的电压、电流、功率、能耗 |
|
25 |
*/ |
|
26 |
public NET_STATEMANAGER_V_INFO stuAc220v2Value = new NET_STATEMANAGER_V_INFO(); |
|
27 |
/** |
|
28 |
* AC220V3输出的电压、电流、功率、能耗 |
|
29 |
*/ |
|
30 |
public NET_STATEMANAGER_V_INFO stuAc220v3Value = new NET_STATEMANAGER_V_INFO(); |
|
31 |
/** |
|
32 |
* 字节对齐 |
|
33 |
*/ |
|
34 |
public byte[] szReserved1 = new byte[4]; |
|
35 |
/** |
|
36 |
* POE输出功率数量 |
|
37 |
*/ |
|
38 |
public int nPoewNum; |
|
39 |
/** |
|
40 |
* POE输出功率 |
|
41 |
*/ |
|
42 |
public byte[] szPoe_w = new byte[4 * 32]; |
|
43 |
/** |
|
44 |
* 水浸状态,00异常01正常 |
|
45 |
*/ |
|
46 |
public byte[] szWater = new byte[32]; |
|
47 |
/** |
|
48 |
* 是否有IPC相机,00 无 01 有 |
|
49 |
*/ |
|
50 |
public byte[] szHasIPC = new byte[32]; |
|
51 |
/** |
|
52 |
* 是否有4G,00 无 01 有 |
|
53 |
*/ |
|
54 |
public byte[] szHasFourG = new byte[32]; |
|
55 |
/** |
|
56 |
* SIM卡iccid |
|
57 |
*/ |
|
58 |
public byte[] szIccid = new byte[32]; |
|
59 |
/** |
|
60 |
* 照明状态,00关 01开 |
|
61 |
*/ |
|
62 |
public byte[] szLight = new byte[32]; |
|
63 |
/** |
|
64 |
* 温度 |
|
65 |
*/ |
|
66 |
public byte[] szTemp = new byte[32]; |
|
67 |
/** |
|
68 |
* 湿度 |
|
69 |
*/ |
|
70 |
public byte[] szHumidity = new byte[32]; |
|
71 |
/** |
|
72 |
* 经度 |
|
73 |
*/ |
|
74 |
public byte[] szLon = new byte[32]; |
|
75 |
/** |
|
76 |
* 维度 |
|
77 |
*/ |
|
78 |
public byte[] szLat = new byte[32]; |
|
79 |
/** |
|
80 |
* 软件版本 |
|
81 |
*/ |
|
82 |
public byte[] szRom = new byte[32]; |
|
83 |
/** |
|
84 |
* 单片机版本 |
|
85 |
*/ |
|
86 |
public byte[] szScm = new byte[32]; |
|
87 |
/** |
|
88 |
* 重合闸 |
|
89 |
*/ |
|
90 |
public byte[] szReclosing = new byte[32]; |
|
91 |
/** |
|
92 |
* 是否有重合闸,00 无 01 有 |
|
93 |
*/ |
|
94 |
public byte[] szHasReclosing = new byte[32]; |
|
95 |
/** |
|
96 |
* 设备IP |
|
97 |
*/ |
|
98 |
public byte[] szBordIp = new byte[32]; |
|
99 |
/** |
|
100 |
* 设备名称 |
|
101 |
*/ |
|
102 |
public byte[] szDevName = new byte[32]; |
|
103 |
/** |
|
104 |
* tf卡状态 |
|
105 |
*/ |
|
106 |
public NET_CASERUNNING_TF_INFO stuTf = new NET_CASERUNNING_TF_INFO(); |
|
107 |
/** |
|
108 |
* 智慧空开状态信息数量 |
|
109 |
*/ |
|
110 |
public int nAirSwitchNum; |
|
111 |
/** |
|
112 |
* 动环(串口)状态数量 |
|
113 |
*/ |
|
114 |
public int nCommNum; |
|
115 |
/** |
|
116 |
* 智慧空开状态信息 |
|
117 |
*/ |
|
118 |
public NET_CASERUNNING_AIRSWITCH_INFO[] stuAirSwitch = new NET_CASERUNNING_AIRSWITCH_INFO[16]; |
|
119 |
/** |
|
120 |
* 动环(串口)状态 |
|
121 |
*/ |
|
122 |
public NET_CASERUNNING_COMM_INFO[] stuComm = new NET_CASERUNNING_COMM_INFO[16]; |
|
123 |
/** |
|
124 |
* 保留字节 |
|
125 |
*/ |
|
126 |
public byte[] szReserved = new byte[1024]; |
|
127 |
|
|
128 |
public NET_CASERUNNING_STATE_INFO() { |
|
129 |
for (int i = 0; i < stuAirSwitch.length; i++) { |
|
130 |
stuAirSwitch[i] = new NET_CASERUNNING_AIRSWITCH_INFO(); |
|
131 |
} |
|
132 |
for (int i = 0; i < stuComm.length; i++) { |
|
133 |
stuComm[i] = new NET_CASERUNNING_COMM_INFO(); |
|
134 |
} |
|
135 |
} |
|
136 |
} |