文件名称:jnibuddy
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-05-14
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- ipu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VB6.0源码实现笔记本电池状态监控,检测电池电量显示进度条,判断是否有外接电源,剩余电量和电池状态信息显示,关于电池状态的一些判断依据说明:
外接电源状态 As Byte 没插=0 插了=1 无法取得信息=255
电池状态 As Byte 电量大于66 =1 电小于33 =2 小于5 =4 充电中=8 没有电池=128 无法取得信息=255
电池剩余电量 As Byte 0~100,若未知则为255
保留 As Byte 必须为0
秒为单位的电池剩余电量 As Integer 若未知则为-1
秒为单位的电池充满电的电量 As Integer 若未知则为-1-VB6.0 source implementation laptop battery status monitoring, testing battery display a progress bar to determine whether there is an external power supply, the remaining power and battery status information display, battery status on the basis of judgments Descr iption: External power status As Byte is not inserted = 0 inserted unable to obtain information = 1 = 255 Battery Status As Byte power is greater than 66 of electricity is less than 33 = 1 = 2 = 4 is less than 5 without a battery charging = 8 = 128 = 255 unable to obtain information on the remaining battery As Byte 0 to 100, compared to 255 if unknown reserved As Byte must be 0 seconds remaining battery As Integer or-1 if unknown seconds for the battery fully charged battery As Integer or-1 if unknown
外接电源状态 As Byte 没插=0 插了=1 无法取得信息=255
电池状态 As Byte 电量大于66 =1 电小于33 =2 小于5 =4 充电中=8 没有电池=128 无法取得信息=255
电池剩余电量 As Byte 0~100,若未知则为255
保留 As Byte 必须为0
秒为单位的电池剩余电量 As Integer 若未知则为-1
秒为单位的电池充满电的电量 As Integer 若未知则为-1-VB6.0 source implementation laptop battery status monitoring, testing battery display a progress bar to determine whether there is an external power supply, the remaining power and battery status information display, battery status on the basis of judgments Descr iption: External power status As Byte is not inserted = 0 inserted unable to obtain information = 1 = 255 Battery Status As Byte power is greater than 66 of electricity is less than 33 = 1 = 2 = 4 is less than 5 without a battery charging = 8 = 128 = 255 unable to obtain information on the remaining battery As Byte 0 to 100, compared to 255 if unknown reserved As Byte must be 0 seconds remaining battery As Integer or-1 if unknown seconds for the battery fully charged battery As Integer or-1 if unknown
(系统自动生成,下载前可以参看下载内容)
下载文件列表
笔记本电池\电池.vbp
..........\电池状态.frm
..........\电池状态.frx
..........\窗体透明模块.bas
笔记本电池