package com.ard.tianyu.component.netty.command.notice;
|
|
import com.ard.tianyu.component.netty.command.BaseCmd;
|
import io.netty.buffer.ByteBuf;
|
import lombok.Data;
|
|
/**
|
* 云盒开关机通知回复指令
|
*
|
* @author liusuyi
|
* @date 2024年10月26日11:54
|
**/
|
@Data
|
public class BoxPowerStatusReplyCmd extends BaseCmd {
|
private final byte status; // 时间戳
|
|
public BoxPowerStatusReplyCmd(byte status) {
|
setDataHeader((short) 0x6A77); // 设置帧头
|
setCmdCode((byte) 0x0A); // 设置指令编号
|
setDataLength((short) 17); // 数据长度
|
this.status = status;
|
}
|
|
public void encode(ByteBuf out) {
|
|
}
|
}
|