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
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
 
/**
 * className:NET_BATTERY_INFO
 * description:
 * author:251589
 * createTime:2021/2/25 15:51
 *
 * @version v1.0
 */
 
public class NET_BATTERY_INFO extends NetSDKLib.SdkStructure {
    /**
     * dwSize;
     */
    public int dwSize;
    /**
     *  电池容量百分比
     */
    public int nPercent;
 
    /**
     *  是否正在充电
     */
    public int bCharging;
 
    /**
     *  电池在位状态
     */
    public int emExistState;
 
    /**
     *  电池电量状态
     */
    public int emState;
 
    /**
     *  电池电压
     */
    public float fVoltage;
    
    /**
     *  电池温度状态,参考枚举{ @link EM_BATTERY_TEMPER_STATE}
     */
    public int emTemperState;
 
    public NET_BATTERY_INFO(){
        this.dwSize = this.size();
    }
}