diff --git a/app/src/main/java/com/example/bpa/app/DeviceData.java b/app/src/main/java/com/example/bpa/app/DeviceData.java index 813e04c..76b12a7 100644 --- a/app/src/main/java/com/example/bpa/app/DeviceData.java +++ b/app/src/main/java/com/example/bpa/app/DeviceData.java @@ -569,7 +569,7 @@ public class DeviceData { * @param value */ public void setCalibrationWeight(short value, IWriteCallBack callback) { - ModbusTcpServer.get().WriteShort("250", value, callback); + ModbusTcpServer.get().WriteShort("VW250", value, callback); } /** @@ -578,7 +578,7 @@ public class DeviceData { * @param value */ public void setCalibrationWeight9(short value, IWriteCallBack callback) { - ModbusTcpServer.get().WriteShort("254", value, callback); + ModbusTcpServer.get().WriteShort("VW254", value, callback); }