mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 13:14:49 +00:00
Moved in eControlMethods and a portion of ControlPropertiesConfig from Essentials
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,50 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using Crestron.SimplSharp;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace PepperDash.Core
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public class ControlPropertiesConfig
|
||||||
|
{
|
||||||
|
public eControlMethod Method { get; set; }
|
||||||
|
|
||||||
|
public string ControlPortDevKey { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] // In case "null" is present in config on this value
|
||||||
|
public uint ControlPortNumber { get; set; }
|
||||||
|
|
||||||
|
public TcpSshPropertiesConfig TcpSshProperties { get; set; }
|
||||||
|
|
||||||
|
public string IrFile { get; set; }
|
||||||
|
|
||||||
|
//public ComPortConfig ComParams { get; set; }
|
||||||
|
|
||||||
|
//[JsonConverter(typeof(ComSpecJsonConverter))]
|
||||||
|
//public ComPort.ComPortSpec ComParams { get; set; }
|
||||||
|
|
||||||
|
public string IpId { get; set; }
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
|
public uint IpIdInt { get { return Convert.ToUInt32(IpId, 16); } }
|
||||||
|
|
||||||
|
public char EndOfLineChar { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Defaults to Environment.NewLine;
|
||||||
|
/// </summary>
|
||||||
|
public string EndOfLineString { get; set; }
|
||||||
|
|
||||||
|
public string DeviceReadyResponsePattern { get; set; }
|
||||||
|
|
||||||
|
public ControlPropertiesConfig()
|
||||||
|
{
|
||||||
|
EndOfLineString = CrestronEnvironment.NewLine;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
Pepperdash Core/Pepperdash Core/Comm/eControlMethods.cs
Normal file
13
Pepperdash Core/Pepperdash Core/Comm/eControlMethods.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using Crestron.SimplSharp;
|
||||||
|
|
||||||
|
namespace PepperDash.Core
|
||||||
|
{
|
||||||
|
public enum eControlMethod
|
||||||
|
{
|
||||||
|
None = 0, Com, IpId, IR, Ssh, Tcpip, Telnet
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -63,6 +63,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="CommunicationExtras.cs" />
|
<Compile Include="CommunicationExtras.cs" />
|
||||||
|
<Compile Include="Comm\ControlPropertiesConfig.cs" />
|
||||||
|
<Compile Include="Comm\eControlMethods.cs" />
|
||||||
<Compile Include="Comm\FINISH CommStatic.cs" />
|
<Compile Include="Comm\FINISH CommStatic.cs" />
|
||||||
<Compile Include="Comm\CommunicationGather.cs" />
|
<Compile Include="Comm\CommunicationGather.cs" />
|
||||||
<Compile Include="Comm\GenericSocketStatusChangeEventArgs.cs" />
|
<Compile Include="Comm\GenericSocketStatusChangeEventArgs.cs" />
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
|||||||
|
2/13/2017 1:07:49 PM, Info: Initializing SIMPLSharp Services...
|
||||||
|
2/13/2017 1:07:49 PM, Info: ProjectInfo successfully initialized.
|
||||||
|
2/13/2017 1:50:03 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/13/2017 1:50:03 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/13/2017 1:50:04 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/13/2017 1:50:04 PM, Info: Saving project information...
|
||||||
|
2/13/2017 2:06:06 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/13/2017 2:06:06 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/13/2017 2:06:07 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/13/2017 2:06:07 PM, Info: Saving project information...
|
||||||
|
2/13/2017 2:12:55 PM, Info: Terminating SIMPLSharp Services
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
2/13/2017 4:41:29 PM, Info: Initializing SIMPLSharp Services...
|
||||||
|
2/13/2017 4:41:29 PM, Info: ProjectInfo successfully initialized.
|
||||||
|
2/13/2017 5:29:14 PM, Info: Terminating SIMPLSharp Services
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
2/15/2017 4:07:21 PM, Info: Initializing SIMPLSharp Services...
|
||||||
|
2/15/2017 4:07:21 PM, Info: ProjectInfo successfully initialized.
|
||||||
|
2/15/2017 4:07:49 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:07:49 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:07:49 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:07:49 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:07:51 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/15/2017 4:07:51 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/15/2017 4:07:52 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/15/2017 4:07:52 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:08:11 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/15/2017 4:08:11 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/15/2017 4:08:11 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/15/2017 4:08:11 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:08:45 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/15/2017 4:08:45 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/15/2017 4:08:45 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/15/2017 4:08:46 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:12:17 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:12:17 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:15:10 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:15:10 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:15:10 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:15:10 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:15:11 PM, Info: Validating assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll...
|
||||||
|
2/15/2017 4:15:11 PM, Info: Verifying assembly C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.dll
|
||||||
|
2/15/2017 4:15:11 PM, Info: Creating Archive C:\Users\hvolmer\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz...
|
||||||
|
2/15/2017 4:15:12 PM, Info: Saving project information...
|
||||||
|
2/15/2017 4:16:08 PM, Info: Terminating SIMPLSharp Services
|
||||||
Binary file not shown.
@@ -10,8 +10,8 @@
|
|||||||
<ArchiveName />
|
<ArchiveName />
|
||||||
</RequiredInfo>
|
</RequiredInfo>
|
||||||
<OptionalInfo>
|
<OptionalInfo>
|
||||||
<CompiledOn>2/13/2017 2:06:06 PM</CompiledOn>
|
<CompiledOn>2/15/2017 4:30:35 PM</CompiledOn>
|
||||||
<CompilerRev>1.0.6253.24901</CompilerRev>
|
<CompilerRev>1.0.6255.29716</CompilerRev>
|
||||||
</OptionalInfo>
|
</OptionalInfo>
|
||||||
<Plugin>
|
<Plugin>
|
||||||
<Version>Crestron.SIMPLSharp, Version=2.0.48.0, Culture=neutral, PublicKeyToken=812d080f93e2de10</Version>
|
<Version>Crestron.SIMPLSharp, Version=2.0.48.0, Culture=neutral, PublicKeyToken=812d080f93e2de10</Version>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
MainAssembly=PepperDash_Core.dll:376f0c0b11f57cee97fbee77c6d5579f
|
MainAssembly=PepperDash_Core.dll:15c0159d41d05e8dc532bb46356b033d
|
||||||
MainAssemblyMinFirmwareVersion=1.007.0017
|
MainAssemblyMinFirmwareVersion=1.007.0017
|
||||||
MainAssemblyResource=SimplSharpData.dat:315526abf906cded47fb0c7510266a7e
|
MainAssemblyResource=SimplSharpData.dat:315526abf906cded47fb0c7510266a7e
|
||||||
ü
|
ü
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user