Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

42 righe
1.2 KiB

  1. namespace JT808.Protocol.Enums
  2. {
  3. public enum JT808ErrorCode
  4. {
  5. /// <summary>
  6. /// 校验和不相等
  7. /// </summary>
  8. CheckCodeNotEqual = 1001,
  9. /// <summary>
  10. /// 没有标记
  11. /// <see cref="JT808.Protocol.Attributes.JT808FormatterAttribute"/>
  12. /// </summary>
  13. GetFormatterAttributeError = 1002,
  14. /// <summary>
  15. /// 消息头解析错误
  16. /// </summary>
  17. HeaderParseError = 1003,
  18. /// <summary>
  19. /// 消息体解析错误
  20. /// </summary>
  21. BodiesParseError = 1004,
  22. GetAttributeError = 1005,
  23. /// <summary>
  24. /// 没有实现对应的类型
  25. /// </summary>
  26. NotImplType = 1006,
  27. /// <summary>
  28. /// 长度不够
  29. /// </summary>
  30. NotEnoughLength = 1007,
  31. /// <summary>
  32. /// 没有全局注册格式化器
  33. /// <see cref="JT808.Protocol.Formatters.IJT808MessagePackFormatter<T>"/>
  34. /// </summary>
  35. NotGlobalRegisterFormatterAssembly = 1008,
  36. /// <summary>
  37. /// 经纬度错误
  38. /// </summary>
  39. LatOrLngError = 1009
  40. }
  41. }