ReadPumpConfigResponse.cs 778 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 static ZhongSheng_NonIC_Pump.SetPumpConfigRequest;
  7. namespace ZhongSheng_NonIC_Pump
  8. {
  9. /// <summary>
  10. /// PC 读取参数信息字符串从加油机
  11. /// </summary>
  12. public class ReadPumpConfigResponse : MessageTemplateBase
  13. {
  14. [Format(1, EncodingType.BIN, 1)]
  15. public byte Parameter { get; set; }
  16. [Format(1, EncodingType.BIN, 2)]
  17. public ParameterTableTypeEnum 参数列表类型 { get; set; }
  18. [Format(1, EncodingType.BCD, 3)]
  19. public byte 枪数 { get; set; }
  20. [EnumerableFormat("%cascade", 4)]
  21. public List<NozzleConfig> NozzleConfigs { get; set; }
  22. }
  23. }