AckSetPumpConfigResponse.cs 717 B

123456789101112131415161718192021222324252627
  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 AckSetPumpConfigResponse : MessageTemplateBase
  13. {
  14. /// <summary>
  15. /// 固定值0x01
  16. /// </summary>
  17. [Format(1, EncodingType.BIN, 1)]
  18. public byte 参数 { get; set; }
  19. /// <summary>
  20. /// 参数状态为0x00表示设置成功,其他表示失败
  21. /// </summary>
  22. [Format(1, EncodingType.BIN, 2)]
  23. public byte 状态 { get; set; }
  24. }
  25. }