Commit 4590464627467446e8131a0f42ab18aca1340523

Authored by ww
1 parent d1d9e27a

fix: 修复设备地址码取值范围

@@ -16299,8 +16299,8 @@ class HandleDataInteraction { @@ -16299,8 +16299,8 @@ class HandleDataInteraction {
16299 const { additional } = dataSource || {} 16299 const { additional } = dataSource || {}
16300 const { method, deviceCode, registerAddress } = additional || {} 16300 const { method, deviceCode, registerAddress } = additional || {}
16301 16301
16302 - if (Number(deviceCode) > 27 || Number(deviceCode) < 1) {  
16303 - UseLayUi.topErrorMsg('设备地址码范围不在1~27之间') 16302 + if (Number(deviceCode) > 247 || Number(deviceCode) < 1) {
  16303 + UseLayUi.topErrorMsg('设备地址码范围不在1~247之间')
16304 return 16304 return
16305 } 16305 }
16306 16306