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; import java.time.LocalDateTime; /** * @author yezhihao * https://gitee.com/yezhihao/jt808-server */ @Message(JT808.查询服务器时间应答) public class T8004 extends JTMessage { @Field(length = 6, charset = "BCD", desc = "UTC时间") private LocalDateTime dateTime; public T8004() { } public T8004(LocalDateTime dateTime) { this.dateTime = dateTime; } public LocalDateTime getDateTime() { return dateTime; } public void setDateTime(LocalDateTime dateTime) { this.dateTime = dateTime; } }