GenericDisplayCommandV1Wrapper.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Xml.Serialization;
  5. namespace GenericDisplayCommand.Controls.V1
  6. {
  7. [Serializable]
  8. [XmlRoot("GenericDisplayCommand")]
  9. public class GenericDisplayCommandV1Wrapper : GenericDisplayCommandWrapper
  10. {
  11. private int _version;
  12. /// <summary>
  13. /// the prompt will displayed on outdoor screen
  14. /// </summary>
  15. private string _prompt;
  16. /// <summary>
  17. /// the nozzle Id is the id for the whole site
  18. /// </summary>
  19. private string _nozzleId;
  20. public override int Version
  21. {
  22. get => _version;
  23. set => _version = 1;
  24. }
  25. public string Prompt
  26. {
  27. get => _prompt;
  28. set => _prompt = value;
  29. }
  30. ///// <summary>
  31. ///// the nozzle Id is the id for the whole site
  32. ///// </summary>
  33. public string NozzleId
  34. {
  35. get => _nozzleId;
  36. set => _nozzleId = value;
  37. }
  38. }
  39. }