You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using JT809.Protocol.Enums;
- using JT809.Protocol.Interfaces;
-
- namespace JT809.Protocol
- {
- public abstract class JT809Bodies: IJT809Description
- {
- /// <summary>
- /// 跳过数据体序列化
- /// 默认不跳过
- /// 当数据体为空的时候,使用null作为空包感觉不适合,所以就算使用空包也需要new一下来表达意思。
- /// </summary>
- public virtual bool SkipSerialization { get; set; } = false;
- public virtual JT809Version Version { get;} = JT809Version.JTT2011;
- public abstract ushort MsgId { get; }
- public abstract JT809_LinkType LinkType { get; }
- public abstract string Description { get; }
- }
- }
|