Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

30 rader
873 B

  1. using JT808.Protocol.Interfaces;
  2. using JT808.Protocol.MessagePack;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace JT808.Protocol
  7. {
  8. /// <summary>
  9. /// 记录仪上行数据体
  10. /// </summary>
  11. public abstract class JT808CarDVRUpBodies: IJT808Description
  12. {
  13. /// <summary>
  14. /// 命令字
  15. /// </summary>
  16. public abstract byte CommandId { get; }
  17. /// <summary>
  18. /// 跳过数据体序列化
  19. /// 默认不跳过
  20. /// 当数据体为空的时候,使用null作为空包感觉不适合,所以就算使用空包也需要new一下来表达意思。
  21. /// </summary>
  22. public virtual bool SkipSerialization { get; set; } = false;
  23. /// <summary>
  24. /// 消息描述
  25. /// </summary>
  26. public abstract string Description { get; }
  27. }
  28. }