using JT808.Protocol.Interfaces; using JT808.Protocol.MessagePack; using System; using System.Collections.Generic; using System.Text; namespace JT808.Protocol { /// /// 记录仪上行数据体 /// public abstract class JT808CarDVRUpBodies: IJT808Description { /// /// 命令字 /// public abstract byte CommandId { get; } /// /// 跳过数据体序列化 /// 默认不跳过 /// 当数据体为空的时候,使用null作为空包感觉不适合,所以就算使用空包也需要new一下来表达意思。 /// public virtual bool SkipSerialization { get; set; } = false; /// /// 消息描述 /// public abstract string Description { get; } } }