AckStopPumpResponse.cs 709 B

12345678910111213141516171819202122
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace ZhongSheng_NonIC_Pump
  8. {
  9. /// <summary>
  10. /// PC 发送关机命令给油机(在油机“授权加油模式”时使用,表示停止授权,如果加油过程中,则停止加油)
  11. /// </summary>
  12. public class AckStopPumpResponse : MessageTemplateBase
  13. {
  14. /// <summary>
  15. /// 参数为0x00表示提枪成功;
  16. /// 参数为其他数表示提枪失败,内容为错误码;
  17. /// </summary>
  18. [Format(1, EncodingType.BIN, 1)]
  19. public byte 参数 { get; set; }
  20. }
  21. }