ard-work/src/main/java/com/ard/tianyu/netty/command/ControlAngleCommand.java
@@ -28,6 +28,10 @@ } public void encode(ByteBuf out) { out.writeShort(getDataHeader()); // 写入数据头 out.writeShort(getDataLength()); // 写入数据长度 out.writeBytes(getBoxSn()); // 写入盒子SN out.writeByte(getCmdCode()); // 写入命令码 out.writeByte(encryptFlag); // 写入加密标志 out.writeByte(actionCode); // 写入动作编号 out.writeByte(rotationAngle); // 写入转动角度