Commit 5e26a2c31cdacfb9c43af266b36fcc31a0a8bb04

Authored by ww
1 parent 82c8e16c

fix: 修复生成modbus指令错误

@@ -16249,7 +16249,7 @@ class HandleDataInteraction { @@ -16249,7 +16249,7 @@ class HandleDataInteraction {
16249 16249
16250 if (method == '16') { 16250 if (method == '16') {
16251 const hexValue = UseLayUi.numberToHex(value).split(' ') 16251 const hexValue = UseLayUi.numberToHex(value).split(' ')
16252 - value = [parseInt(hexValue.slice(0, 2), 16), parseInt(hexValue.slice(2, 4), 16)] 16252 + value = [parseInt(hexValue.slice(0, 2).join(''), 16), parseInt(hexValue.slice(2, 4).join(''), 16)]
16253 } 16253 }
16254 16254
16255 if (validate.begin()) flag = true 16255 if (validate.begin()) flag = true