校正读取设备命令回复数据解析
This commit is contained in:
13
Form1.vb
13
Form1.vb
@@ -2833,9 +2833,9 @@ Public Class Form1
|
||||
dic("校准最大值_LEV_10") = CombineTwoBytesToDecimal(buff(44), buff(45))
|
||||
dic("校准最小值_差值") = CombineTwoBytesToDecimal(buff(46), buff(47))
|
||||
dic("校准最大值_差值") = CombineTwoBytesToDecimal(buff(48), buff(49))
|
||||
dic("自定义LEV_10_对应的ADC") = CombineTwoBytesToDecimal(buff(50), buff(51))
|
||||
dic("自定义LEV_0_对应的ADC") = CombineTwoBytesToDecimal(buff(52), buff(53))
|
||||
dic("泄露恢复正常_条件2") = CombineTwoBytesToDecimal(buff(54), buff(55))
|
||||
dic("泄露恢复正常_条件1") = CombineTwoBytesToDecimal(buff(50), buff(51))
|
||||
dic("泄露恢复正常_条件2") = CombineTwoBytesToDecimal(buff(52), buff(53))
|
||||
dic("泄露恢复正常_条件1消抖时间_秒") = CombineTwoBytesToDecimal(buff(54), buff(55))
|
||||
dic("泄露恢复正常_条件2消抖时间_分") = CombineTwoBytesToDecimal(buff(56), buff(57))
|
||||
dic("设备生产时间") = CombineFourBytesToLong(buff(61), buff(60), buff(59), buff(58))
|
||||
|
||||
@@ -2863,14 +2863,15 @@ Public Class Form1
|
||||
dic("校准最大值_LEV_10") = CombineTwoBytesToDecimal(buff(44), buff(45))
|
||||
dic("校准最小值_差值") = CombineTwoBytesToDecimal(buff(46), buff(47))
|
||||
dic("校准最大值_差值") = CombineTwoBytesToDecimal(buff(48), buff(49))
|
||||
dic("自定义LEV_10_对应的ADC") = CombineTwoBytesToDecimal(buff(50), buff(51))
|
||||
dic("自定义LEV_0_对应的ADC") = CombineTwoBytesToDecimal(buff(52), buff(53))
|
||||
dic("泄露恢复正常_条件2") = CombineTwoBytesToDecimal(buff(54), buff(55))
|
||||
dic("泄露恢复正常_条件1") = CombineTwoBytesToDecimal(buff(50), buff(51))
|
||||
dic("泄露恢复正常_条件2") = CombineTwoBytesToDecimal(buff(52), buff(53))
|
||||
dic("泄露恢复正常_条件1消抖时间_秒") = CombineTwoBytesToDecimal(buff(54), buff(55))
|
||||
dic("泄露恢复正常_条件2消抖时间_分") = CombineTwoBytesToDecimal(buff(56), buff(57))
|
||||
dic("设备生产时间") = CombineFourBytesToLong(buff(61), buff(60), buff(59), buff(58))
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Case 3 '读取软件版本号
|
||||
'04 软件版本号
|
||||
'03 硬件板本号
|
||||
|
||||
Reference in New Issue
Block a user