Showing
1 changed file
with
2 additions
and
2 deletions
@@ -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 |