#
vincentlu
2026-01-27 655ba6bfba4b1087e093efe675e46afbff597b97
zy-acs-common/src/main/java/com/zy/acs/common/domain/protocol/action/ReadyReleaseToConveyorSta.java
@@ -2,7 +2,6 @@
import com.zy.acs.common.domain.protocol.IActionBody;
import com.zy.acs.common.utils.Utils;
import com.zy.acs.framework.common.RadixTools;
import lombok.Data;
import java.io.Serializable;
@@ -19,9 +18,14 @@
    @Override
    public byte[] writeToBytes() {
        byte[] heightBytes = Utils.reverse(RadixTools.shortToByte(this.height));
        byte[] depthBytes = Utils.reverse(RadixTools.shortToByte(this.depth));
        return Utils.merge(heightBytes, depthBytes);
//        byte[] heightBytes = Utils.reverse(RadixTools.shortToByte(this.height));
//        byte[] depthBytes = Utils.reverse(RadixTools.shortToByte(this.depth));
//        return Utils.merge(heightBytes, depthBytes);
        byte heightByte = (byte) ((this.height == null ? 0 : this.height) & 0xFF);
        byte depthByte  = (byte) ((this.depth  == null ? 0 : this.depth)  & 0xFF);
        return Utils.merge(heightByte, depthByte);
//        return new byte[]{ heightByte, depthByte };
    }
    @Override