111
k94314517
2025-02-28 04dba6a17f836b5fbdf0eedff8a129c6785fd8a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package org.yzh.protocol.t808;
 
import io.github.yezhihao.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Message;
import org.yzh.protocol.basics.JTMessage;
import org.yzh.protocol.commons.JT808;
 
/**
 * @author yezhihao
 * https://gitee.com/yezhihao/jt808-server
 */
@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;
 
    public int getCommand() {
        return command;
    }
 
    public void setCommand(int command) {
        this.command = command;
    }
 
    public int getTime() {
        return time;
    }
 
    public void setTime(int time) {
        this.time = time;
    }
 
    public int getSave() {
        return save;
    }
 
    public void setSave(int save) {
        this.save = save;
    }
 
    public int getAudioSamplingRate() {
        return audioSamplingRate;
    }
 
    public void setAudioSamplingRate(int audioSamplingRate) {
        this.audioSamplingRate = audioSamplingRate;
    }
}