#
whycq
2025-01-08 00fd3eb5037f07763d4e8d3e5729066d3dc097ea
app/src/main/java/com/example/agvcontroller/protocol/AgvAction.java
@@ -2,14 +2,10 @@
import com.example.agvcontroller.action.ForceSwitchAction;
import com.example.agvcontroller.socket.NettyServerHandler;
import com.example.agvcontroller.socket.RadixTools;
import org.json.JSONObject;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
@@ -40,9 +36,9 @@
        byte valByte = (byte) val;    // 属性值
        byte[] bytes = actionBody.writeToBytes();   // 命令参数
        byte[] bytes = Utils.reverse(actionBody.writeToBytes());   // 命令参数
        return Utils.merge(cmdCode,valByte,bytes);
        return Utils.merge(serialNoBytes,cmdCode, valByte, bytes);
    }
    void readFromBytes(byte[] messageBodyBytes) {