2019-01-13 20:54:44 +01:00
|
|
|
using System;
|
2016-10-30 00:22:20 +02:00
|
|
|
|
2016-10-30 00:34:54 +02:00
|
|
|
namespace Emby.Dlna.Common
|
2016-10-30 00:22:20 +02:00
|
|
|
{
|
|
|
|
public class StateVariable
|
|
|
|
{
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
public string DataType { get; set; }
|
|
|
|
|
|
|
|
public bool SendsEvents { get; set; }
|
|
|
|
|
2018-09-12 19:26:21 +02:00
|
|
|
public string[] AllowedValues { get; set; }
|
2016-10-30 00:22:20 +02:00
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return Name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public StateVariable()
|
|
|
|
{
|
2018-09-12 19:26:21 +02:00
|
|
|
AllowedValues = Array.Empty<string>();
|
2016-10-30 00:22:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|