电子药箱通讯服务端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

EleMedKitProtocolFlags.cs 869B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Rdh.SocketServer.Client.Models
  7. {
  8. public struct EleMedKitProtocolFlags
  9. {
  10. public const string Start = "*";
  11. public const string LineStart = "#";
  12. public const string LineEnd = "\r\n";
  13. /// <summary>
  14. /// 行内分隔符
  15. /// </summary>
  16. public const string BlockSpiltor = "|";
  17. /// <summary>
  18. /// 行分割符
  19. /// </summary>
  20. public const string LineSpiltor = "<>";
  21. /// <summary>
  22. /// 数字边补符
  23. /// </summary>
  24. public const string LinePad = "0";
  25. public const string End = "@";
  26. /// <summary>
  27. /// 数字边补长度
  28. /// </summary>
  29. public const int LinePadTotalLenght = 3;
  30. }
  31. }