dengzedong
2024-12-19 85b2001c0ec2f1adc598db3bf47ad457dcca7074
提交 | 用户 | 时间
149dd0 1 package com.iailab.netsdk.lib.structure;
H 2
3 import com.iailab.netsdk.lib.NetSDKLib;
4
5 /**
6  * className:NET_BATTERY_INFO
7  * description:
8  * author:251589
9  * createTime:2021/2/25 15:51
10  *
11  * @version v1.0
12  */
13
14 public class NET_BATTERY_INFO extends NetSDKLib.SdkStructure {
15     /**
16      * dwSize;
17      */
18     public int dwSize;
19     /**
20      *  电池容量百分比
21      */
22     public int nPercent;
23
24     /**
25      *  是否正在充电
26      */
27     public int bCharging;
28
29     /**
30      *  电池在位状态
31      */
32     public int emExistState;
33
34     /**
35      *  电池电量状态
36      */
37     public int emState;
38
39     /**
40      *  电池电压
41      */
42     public float fVoltage;
43     
44     /**
45      *  电池温度状态,参考枚举{ @link EM_BATTERY_TEMPER_STATE}
46      */
47     public int emTemperState;
48
49     public NET_BATTERY_INFO(){
50         this.dwSize = this.size();
51     }
52 }