diff --git a/Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClientWithGather.cs b/Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClientWithGather.cs new file mode 100644 index 0000000..078c9ec --- /dev/null +++ b/Pepperdash Core/Pepperdash Core/Comm/GenericTcpIpClientWithGather.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using Crestron.SimplSharp; + +namespace PepperDash.Core +{ + /// + /// A wrapper class that creates a TCP client and gather for use within S+ + /// + public class SplusGenericTcpIpClientWithGather + { + public GenericTcpIpClient Client { get; private set; } + public CommunicationGather Gather { get; private set; } + + public SplusGenericTcpIpClientWithGather() + { + } + + /// + /// In place of the useless contstructor, for S+ compatability + /// + /// + /// + /// + /// + /// + public void Initialize(string key, string host, int port, int bufferSize, char delimiter) + { + Client = new GenericTcpIpClient(key, host, port, bufferSize); + Gather = new CommunicationGather(Client, delimiter); + } + } +} \ No newline at end of file diff --git a/Pepperdash Core/Pepperdash Core/PepperDash_Core.csproj b/Pepperdash Core/Pepperdash Core/PepperDash_Core.csproj index 030dd55..e9d2a9f 100644 --- a/Pepperdash Core/Pepperdash Core/PepperDash_Core.csproj +++ b/Pepperdash Core/Pepperdash Core/PepperDash_Core.csproj @@ -65,6 +65,7 @@ + @@ -83,7 +84,7 @@ C:\Users\hvolm\Desktop\working\pepperdash-simplsharp-core\Pepperdash Core\Pepperdash Core\bin\PepperDash_Core.clz 1.007.0017 - 8/15/2016 1:48:16 PM + 8/15/2016 1:54:57 PM False diff --git a/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.clz b/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.clz index 72f7c6a..4a371be 100644 Binary files a/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.clz and b/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.clz differ diff --git a/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.config b/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.config index 8055bd7..954789f 100644 --- a/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.config +++ b/Pepperdash Core/Pepperdash Core/bin/PepperDash_Core.config @@ -10,7 +10,7 @@ - 8/15/2016 1:48:16 PM - 1.0.0.23047 + 8/15/2016 1:54:57 PM + 1.0.0.23247 \ No newline at end of file diff --git a/Pepperdash Core/Pepperdash Core/bin/manifest.info b/Pepperdash Core/Pepperdash Core/bin/manifest.info index b182711..8177273 100644 --- a/Pepperdash Core/Pepperdash Core/bin/manifest.info +++ b/Pepperdash Core/Pepperdash Core/bin/manifest.info @@ -1,4 +1,4 @@ -MainAssembly=PepperDash_Core.dll:23de4ff8ab162b967cd3760f55691182 +MainAssembly=PepperDash_Core.dll:cedcf6ddcb42b121da13ff559d7178d3 MainAssemblyMinFirmwareVersion=1.007.0017 ü DependencySource=Newtonsoft.Json.Compact.dll:ea996aa2ec65aa1878e7c9d09e37a896 diff --git a/Pepperdash Core/Pepperdash Core/bin/manifest.ser b/Pepperdash Core/Pepperdash Core/bin/manifest.ser index 7078afc..45590c3 100644 Binary files a/Pepperdash Core/Pepperdash Core/bin/manifest.ser and b/Pepperdash Core/Pepperdash Core/bin/manifest.ser differ