info.gratour.jt809core.protocol.msg.warn.JT809Msg_9402_DownWarnMsgInformTips Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt-core Show documentation
Show all versions of jt-core Show documentation
`jt-core` is a java/scala communication processing library for JT808/JT809/JT1078 standard.
The newest version!
package info.gratour.jt809core.protocol.msg.warn;
import info.gratour.jt809core.protocol.JT809MsgConsts;
import info.gratour.jtcommon.JT809DataType;
import info.gratour.jtcommon.JTMsgId;
@JT809DataType(JT809MsgConsts.WarnMsgs.DOWN_WARN_MSG_INFORM_TIPS_9402)
public class JT809Msg_9402_DownWarnMsgInformTips extends JT809DownWarnMsg {
public static final int DATA_TYPE = JT809MsgConsts.WarnMsgs.DOWN_WARN_MSG_INFORM_TIPS_9402;
public JT809Msg_9402_DownWarnMsgInformTips() {
setDataType(DATA_TYPE);
}
private byte warnSrc;
private int warnType;
private long warnTime;
private String warnContent;
public byte getWarnSrc() {
return warnSrc;
}
public void setWarnSrc(byte warnSrc) {
this.warnSrc = warnSrc;
}
public int getWarnType() {
return warnType;
}
public void setWarnType(int warnType) {
this.warnType = warnType;
}
public long getWarnTime() {
return warnTime;
}
public void setWarnTime(long warnTime) {
this.warnTime = warnTime;
}
public String getWarnContent() {
return warnContent;
}
public void setWarnContent(String warnContent) {
this.warnContent = warnContent;
}
@Override
public String toString() {
return "JT809Msg_9402_DownWarnMsgInformTips{" +
"warnSrc=" + warnSrc +
", warnType=" + warnType +
", warnTime=" + warnTime +
", warnContent='" + warnContent + '\'' +
"} " + super.toString();
}
}