MessageBase.cs 644 B

1234567891011121314151617181920212223
  1. using Edge.Core.Parser.BinaryParser.Attributes;
  2. using Edge.Core.Parser.BinaryParser.MessageEntity;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. namespace VeederRoot_ATG_Console.MessageEntity.DispenserInterface
  7. {
  8. public abstract class MessageBase : MessageBaseGeneric
  9. {
  10. //[Format(1, EncodingType.BIN, -9999)]
  11. //public byte SOH { get; set; } = 0x01;
  12. /// <summary>
  13. /// </summary>
  14. [Format(1, EncodingType.ASCII, -9998)]
  15. public string FunctionCodeRaw { get; set; }
  16. [Format(1, EncodingType.BIN, -9000)]
  17. public byte EOT { get; set; } = 0x03;
  18. }
  19. }