コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public void Serialize(ref JT809MessagePackWriter writer, JT809_0x9101 value, IJT809Config config)
 {
     writer.WriteUInt32(value.DynamicInfoTotal);
     writer.WriteUInt64(value.StartTime);
     writer.WriteUInt64(value.EndTime);
 }