ZengTao
2025-04-01 38ecb3eb89d582ea73a6ead1bb81439390068ba2
hangzhoumesParent/common/servicebase/src/main/java/com/mes/device/PlcParameterInfo.java
@@ -105,7 +105,7 @@
        if (addressLength < 2) {
            return null;
        }
        int wordindex = index;
        int wordindex = Integer.parseInt(stringdatas[1]) + index;
        return stringdatas[0] + "." + wordindex;
      /*  if (addressLength == 2) {
@@ -118,11 +118,6 @@
            return stringdatas[0] + "." + wordindex + "-" + newIndex;
        }*/
//        return null;
    }
    public int getPlcAddress() {
        return addressIndex;
    }
    public String getAddress() {