Added eControlMethod.Cresnet to enum

This commit is contained in:
Neil Dorin
2018-01-23 15:58:09 -07:00
parent 01abeda4b3
commit d5fa4311a2
6 changed files with 2 additions and 62 deletions

Binary file not shown.

View File

@@ -8,6 +8,6 @@ namespace PepperDash.Core
{
public enum eControlMethod
{
None = 0, Com, IpId, IR, Ssh, Tcpip, Telnet
None = 0, Com, IpId, IR, Ssh, Tcpip, Telnet, Cresnet
}
}

View File

@@ -1,59 +0,0 @@
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using Crestron.SimplSharp;
//using Newtonsoft.Json;
//using Newtonsoft.Json.Linq;
//namespace PepperDash.Core
//{
// public class DeviceConfig
// {
// [JsonProperty("key")]
// public string Key { get; set; }
// [JsonProperty("name")]
// public string Name { get; set; }
// [JsonProperty("group")]
// public string Group { get; set; }
// [JsonProperty("type")]
// public string Type { get; set; }
// [JsonProperty("properties")]
// [JsonConverter(typeof(DevicePropertiesConverter))]
// public JToken Properties { get; set; }
// }
// /// <summary>
// ///
// /// </summary>
// public class DevicePropertiesConverter : JsonConverter
// {
// public override bool CanConvert(Type objectType)
// {
// return objectType == typeof(JToken);
// }
// public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
// {
// return JToken.ReadFrom(reader);
// }
// public override bool CanWrite
// {
// get
// {
// return false;
// }
// }
// public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
// {
// throw new NotImplementedException("SOD OFF HOSER");
// }
// }
//}

View File

@@ -79,7 +79,6 @@
<Compile Include="Logging\DebugContext.cs" />
<Compile Include="Logging\DebugMemory.cs" />
<Compile Include="Device.cs" />
<Compile Include="DeviceConfig.cs" />
<Compile Include="Comm\GenericTcpIpServer.cs" />
<Compile Include="EthernetHelper.cs" />
<Compile Include="Comm\GenericTcpIpClient.cs" />

View File

@@ -4,4 +4,4 @@
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Pepperdash_Core")]
[assembly: AssemblyCopyright("Copyright © PepperDash 2016")]
[assembly: AssemblyVersion("1.0.2.*")]
[assembly: AssemblyVersion("1.0.3.*")]