GenericResponse.cs 561 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace VeederRoot_ATG_Console.MessageEntity.DispenserInterface.Incoming
  5. {
  6. public class GenericResponse : MessageBase
  7. {
  8. public enum GenericResponseResult
  9. {
  10. ACK = 0x16,
  11. NAK = 0x15
  12. }
  13. public GenericResponseResult Result
  14. {
  15. get
  16. {
  17. return (GenericResponseResult)
  18. (Enum.Parse(typeof(GenericResponseResult), base.FunctionCodeRaw));
  19. }
  20. }
  21. }
  22. }