Skip to content

Commit

Permalink
Merge dev-2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed Feb 5, 2024
2 parents def22cf + 2b95857 commit b13a178
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 164 deletions.
9 changes: 2 additions & 7 deletions src/Pepperdash Core/Comm/ControlPropertiesConfig.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
extern alias Full;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System;
using Crestron.SimplSharp;
using Full.Newtonsoft.Json;
using Newtonsoft.Json;

namespace PepperDash.Core
{
Expand Down
11 changes: 4 additions & 7 deletions src/Pepperdash Core/Comm/GenericSecureTcpIpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@
Copyright: 2017
------------------------------------
***Notice of Ownership and Copyright***
The material in which this notice appears is the property of PepperDash Technology Corporation,
which claims copyright under the laws of the United States of America in the entire body of material
and in all parts thereof, regardless of the use to which it is being put. Any use, in whole or in part,
of this material by another party without the express written permission of PepperDash Technology Corporation is prohibited.
The material in which this notice appears is the property of PepperDash Technology Corporation,
which claims copyright under the laws of the United States of America in the entire body of material
and in all parts thereof, regardless of the use to which it is being put. Any use, in whole or in part,
of this material by another party without the express written permission of PepperDash Technology Corporation is prohibited.
PepperDash Technology Corporation reserves all rights under applicable laws.
------------------------------------ */
extern alias Full;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;

namespace PepperDash.Core
{
Expand Down
6 changes: 2 additions & 4 deletions src/Pepperdash Core/Comm/GenericTcpIpClient.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
extern alias Full;
using System;
using System.Collections.Generic;
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;
using Full.Newtonsoft.Json;
using Newtonsoft.Json;

namespace PepperDash.Core
{
Expand Down
11 changes: 4 additions & 7 deletions src/Pepperdash Core/Comm/GenericTcpIpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@
Copyright: 2017
------------------------------------
***Notice of Ownership and Copyright***
The material in which this notice appears is the property of PepperDash Technology Corporation,
which claims copyright under the laws of the United States of America in the entire body of material
and in all parts thereof, regardless of the use to which it is being put. Any use, in whole or in part,
of this material by another party without the express written permission of PepperDash Technology Corporation is prohibited.
The material in which this notice appears is the property of PepperDash Technology Corporation,
which claims copyright under the laws of the United States of America in the entire body of material
and in all parts thereof, regardless of the use to which it is being put. Any use, in whole or in part,
of this material by another party without the express written permission of PepperDash Technology Corporation is prohibited.
PepperDash Technology Corporation reserves all rights under applicable laws.
------------------------------------ */
extern alias Full;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;

namespace PepperDash.Core
{
Expand Down
12 changes: 2 additions & 10 deletions src/Pepperdash Core/Comm/GenericUdpServer.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
extern alias Full;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;


using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;



using Newtonsoft.Json;

namespace PepperDash.Core
{
Expand Down
4 changes: 1 addition & 3 deletions src/Pepperdash Core/Comm/TcpClientConfigObject.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
extern alias Full;

using Full.Newtonsoft.Json;
using Newtonsoft.Json;

namespace PepperDash.Core
{
Expand Down
5 changes: 1 addition & 4 deletions src/Pepperdash Core/CommunicationExtras.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
extern alias Full;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronSockets;
using System.Text.RegularExpressions;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;

namespace PepperDash.Core
{
Expand Down
12 changes: 3 additions & 9 deletions src/Pepperdash Core/Config/PortalConfigReader.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
extern alias Full;

using System;
using System.Collections.Generic;
using System;
using System.Linq;
using System.Text;

using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronIO;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using PepperDash.Core;

namespace PepperDash.Core.Config
Expand Down
10 changes: 2 additions & 8 deletions src/Pepperdash Core/EthernetHelper.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
extern alias Full;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;

using Full.Newtonsoft.Json;
using Crestron.SimplSharp;
using Newtonsoft.Json;

namespace PepperDash.Core
{
Expand Down
7 changes: 1 addition & 6 deletions src/Pepperdash Core/JsonStandardObjects/JsonToSimplDevice.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
extern alias Full;
using System;
using System.Collections.Generic;
using System;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using PepperDash.Core.JsonToSimpl;

namespace PepperDash.Core.JsonStandardObjects
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
extern alias Full;
using System;
using System.Collections.Generic;
using System;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Newtonsoft.Json.Linq;

namespace PepperDash.Core.JsonToSimpl
{
Expand Down
8 changes: 2 additions & 6 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplChildObjectBase.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
extern alias Full;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Newtonsoft.Json.Linq;

namespace PepperDash.Core.JsonToSimpl
{
Expand Down
7 changes: 2 additions & 5 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplFileMaster.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
extern alias Full;
using System;
//using System.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Newtonsoft.Json.Linq;

namespace PepperDash.Core.JsonToSimpl
{
Expand Down
12 changes: 1 addition & 11 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplFixedPathObject.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
extern alias Full;

using System;
//using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;


namespace PepperDash.Core.JsonToSimpl
{
Expand Down
6 changes: 2 additions & 4 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplGenericMaster.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
extern alias Full;

using System;
using System;
using System.Collections.Generic;
using Crestron.SimplSharp;
using Full.Newtonsoft.Json.Linq;
using Newtonsoft.Json.Linq;

namespace PepperDash.Core.JsonToSimpl
{
Expand Down
15 changes: 5 additions & 10 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplMaster.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
extern alias Full;

using System;
//using System.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace PepperDash.Core.JsonToSimpl
{
Expand Down Expand Up @@ -164,7 +159,7 @@ public static class JsonFixes
/// <returns></returns>
public static JObject ParseObject(string json)
{
using (var reader = new JsonTextReader(new System.IO.StringReader(json)))
using (var reader = new JsonTextReader(new StringReader(json)))
{
var startDepth = reader.Depth;
var obj = JObject.Load(reader);
Expand All @@ -181,7 +176,7 @@ public static JObject ParseObject(string json)
/// <returns></returns>
public static JArray ParseArray(string json)
{
using (var reader = new JsonTextReader(new System.IO.StringReader(json)))
using (var reader = new JsonTextReader(new StringReader(json)))
{
var startDepth = reader.Depth;
var obj = JArray.Load(reader);
Expand Down
10 changes: 2 additions & 8 deletions src/Pepperdash Core/JsonToSimpl/JsonToSimplPortalFileMaster.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
extern alias Full;

using System;
//using System.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;

using Newtonsoft.Json.Linq;
using PepperDash.Core.Config;

namespace PepperDash.Core.JsonToSimpl
Expand Down
5 changes: 2 additions & 3 deletions src/Pepperdash Core/Logging/Debug.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
extern alias Full;
using System;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Crestron.SimplSharp;
using Crestron.SimplSharp.Reflection;
using Crestron.SimplSharp.CrestronLogger;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using Newtonsoft.Json;
using PepperDash.Core.DebugThings;
using Serilog;
using Serilog.Core;
Expand Down
9 changes: 2 additions & 7 deletions src/Pepperdash Core/Logging/DebugContext.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
extern alias Full;

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharp.CrestronDataStore;
using Crestron.SimplSharp.CrestronIO;
using Full.Newtonsoft.Json;
using PepperDash.Core.DebugThings;
using Newtonsoft.Json;


namespace PepperDash.Core
Expand Down
7 changes: 2 additions & 5 deletions src/Pepperdash Core/Logging/DebugMemory.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
extern alias Full;

using System.Collections.Generic;
using System.Collections.Generic;
using Crestron.SimplSharp;

using Full.Newtonsoft.Json;
using Newtonsoft.Json;

namespace PepperDash.Core.DebugThings
{
Expand Down
10 changes: 1 addition & 9 deletions src/Pepperdash Core/PasswordManagement/PasswordManager.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
extern alias Full;

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Full.Newtonsoft.Json;
using Full.Newtonsoft.Json.Linq;
using Crestron.SimplSharp;
using PepperDash.Core.JsonToSimpl;
using PepperDash.Core.JsonStandardObjects;

namespace PepperDash.Core.PasswordManagement
{
Expand Down
7 changes: 2 additions & 5 deletions src/Pepperdash Core/PepperDash_Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<RootNamespace>PepperDash.Core</RootNamespace>
<AssemblyName>PepperDashCore</AssemblyName>
<TargetFramework>net472</TargetFramework>
<TargetFrameworks>net472;net6</TargetFrameworks>
<Deterministic>false</Deterministic>
<NeutralLanguage>en</NeutralLanguage>
<OutputPath>bin\$(Configuration)\</OutputPath>
Expand Down Expand Up @@ -32,10 +32,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="BouncyCastle" Version="1.8.9" />
<PackageReference Include="Crestron.SimplSharp.SDK.Library" Version="2.19.35" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2">
<Aliases>Full</Aliases>
</PackageReference>
<PackageReference Include="Crestron.SimplSharp.SDK.Library" Version="2.20.42" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Formatting.Compact" Version="2.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.0" />
Expand Down
11 changes: 1 addition & 10 deletions src/Pepperdash Core/WebApi/Presets/Preset.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
extern alias Full;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;

using Full.Newtonsoft.Json;

using System;

namespace PepperDash.Core.WebApi.Presets
{
Expand Down
Loading

0 comments on commit b13a178

Please sign in to comment.