Browse Source

业务流程

master
pry 1 year ago
parent
commit
aed11a4300
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/src/main/java/com/example/bpa/app/DeviceData.java

+ 2
- 2
app/src/main/java/com/example/bpa/app/DeviceData.java View File

@@ -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);
}




Loading…
Cancel
Save