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.netmc.core.model.Response;
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 T8203 extends JTMessage implements Response {
 
    @Field(length = 2, desc = "消息流水号")
    private int responseSerialNo;
    @Field(length = 4, desc = "报警类型:" +
            " [0]确认紧急报警" +
            " [1~2]保留" +
            " [3]确认危险预警" +
            " [4~19]保留" +
            " [20]确认进出区域报警" +
            " [21]确认进出路线报警" +
            " [22]确认路段行驶时间不足/过长报警" +
            " [23~26]保留" +
            " [27]确认车辆非法点火报警" +
            " [28]确认车辆非法位移报警" +
            " [29~31]保留")
    private int type;
 
    public T8203() {
    }
 
    public T8203(int responseSerialNo, int type) {
        this.responseSerialNo = responseSerialNo;
        this.type = type;
    }
 
    public int getResponseSerialNo() {
        return responseSerialNo;
    }
 
    public void setResponseSerialNo(int responseSerialNo) {
        this.responseSerialNo = responseSerialNo;
    }
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
}