Commit d2135015457db95f1b8ba34acac6f81bd8d5ea2d

Authored by ww
1 parent 3b113770

fix: 修复TCP类型设备整型未使用缩放因子

... ... @@ -44,6 +44,8 @@ export function useGetModbusCommand() {
44 44 createMessage.warning(`属性下发值不能超过${REGISTER_MAX_VALUE},缩放因子是${zoomFactor}`)
45 45 return
46 46 }
  47 +
  48 + params.registerValues = [newValue]
47 49 }
48 50 else if (actionType === TCPObjectModelActionTypeEnum.DOUBLE) {
49 51 const regex = /^-?\d+(\.\d{0,2})?$/
... ...