提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* className:NET_POWER_INFO |
|
7 |
* description:对应C++头文件DH_POWER_INFO |
|
8 |
* author:251589 |
|
9 |
* createTime:2021/2/25 14:10 |
|
10 |
* |
|
11 |
* @version v1.0 |
|
12 |
*/ |
|
13 |
|
|
14 |
public class NET_POWER_INFO extends NetSDKLib.SdkStructure { |
|
15 |
/** |
|
16 |
* dwSize; |
|
17 |
*/ |
|
18 |
public int dwSize; |
|
19 |
/** |
|
20 |
* 电源状态, 0-关闭, 1-打开, 2-打开但有故障 |
|
21 |
*/ |
|
22 |
public int bPowerOn; |
|
23 |
|
|
24 |
/** |
|
25 |
* 电源电流状态 |
|
26 |
*/ |
|
27 |
public int emCurrentState; |
|
28 |
|
|
29 |
/** |
|
30 |
* 电源电压状态 |
|
31 |
*/ |
|
32 |
public int emVoltageState; |
|
33 |
|
|
34 |
public NET_POWER_INFO(){ |
|
35 |
this.dwSize = this.size(); |
|
36 |
} |
|
37 |
} |