StateVariable.cs 504 B

1234567891011121314151617181920212223242526
  1. using System.Collections.Generic;
  2. using System;
  3. namespace Emby.Dlna.Common
  4. {
  5. public class StateVariable
  6. {
  7. public string Name { get; set; }
  8. public string DataType { get; set; }
  9. public bool SendsEvents { get; set; }
  10. public string[] AllowedValues { get; set; }
  11. public override string ToString()
  12. {
  13. return Name;
  14. }
  15. public StateVariable()
  16. {
  17. AllowedValues = Array.Empty<string>();
  18. }
  19. }
  20. }