public void Serialize(ref JT809MessagePackWriter writer, JT809_JT1078_0x1900_Record value, IJT809Config config) { writer.WriteByte(value.ChannelId); writer.WriteUTCDateTime(value.StartTime); writer.WriteUTCDateTime(value.EndTime); writer.WriteUInt64(value.AlarmType); writer.WriteByte(value.AVItemType); writer.WriteByte(value.StreamType); writer.WriteByte(value.MemType); writer.WriteUInt32(value.FileSize); }
public void Serialize(ref JT809MessagePackWriter writer, JT809_JT1078_0x9900_0x9902 value, IJT809Config config) { writer.WriteByte(value.ChannelId); writer.WriteUTCDateTime(value.StartTime); writer.WriteUTCDateTime(value.EndTime); writer.WriteUInt64(value.AlarmType); writer.WriteByte(value.AVItemType); writer.WriteByte(value.StreamType); writer.WriteByte(value.MemType); writer.WriteArray(value.AuthorizeCode); writer.WriteArray(value.GnssData); }
public void Serialize(ref JT809MessagePackWriter writer, JT809_0x9101 value, IJT809Config config) { writer.WriteUInt32(value.DynamicInfoTotal); writer.WriteUInt64(value.StartTime); writer.WriteUInt64(value.EndTime); }