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
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
 
/**
 * className:NET_POWER_INFO
 * description:对应C++头文件DH_POWER_INFO
 * author:251589
 * createTime:2021/2/25 14:10
 *
 * @version v1.0
 */
 
public class NET_POWER_INFO  extends NetSDKLib.SdkStructure {
    /**
     * dwSize;
     */
    public int dwSize;
    /**
     *  电源状态, 0-关闭, 1-打开, 2-打开但有故障
     */
    public int bPowerOn;
 
    /**
     *  电源电流状态
     */
    public int emCurrentState;
 
    /**
     *  电源电压状态
     */
    public int emVoltageState;
 
    public NET_POWER_INFO(){
        this.dwSize = this.size();
    }
}