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
|
* 该消息2019版本已删除
|
*/
|
@Message(JT808.信息服务)
|
public class T8304 extends JTMessage {
|
|
@Field(length = 1, desc = "信息类型")
|
private int type;
|
@Field(lengthUnit = 2, desc = "文本信息")
|
private String content;
|
|
public T8304() {
|
}
|
|
public T8304(int type, String content) {
|
this.type = type;
|
this.content = content;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
}
|