package org.yzh.protocol.t808; import io.github.yezhihao.protostar.annotation.Field; import io.github.yezhihao.protostar.annotation.Message; import lombok.Data; import lombok.ToString; import lombok.experimental.Accessors; import org.yzh.protocol.basics.JTMessage; import org.yzh.protocol.commons.JT808; /** * @author yezhihao * https://gitee.com/yezhihao/jt808-server */ @ToString @Data @Accessors(chain = true) @Message(JT808.录音开始命令) public class T8804 extends JTMessage { @Field(length = 1, desc = "录音命令:0.停止录音 1.开始录音") private int command; @Field(length = 2, desc = "录音时间(秒) 0.表示一直录音") private int time; @Field(length = 1, desc = "保存标志:0.实时上传 1.保存") private int save; @Field(length = 1, desc = "音频采样率:0.8K 1.11K 2.23K 3.32K 其他保留") private int audioSamplingRate; }