diff --git a/PepperDashEssentials/Bridges/JoinMaps/AirMediaControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/AirMediaControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/AirMediaControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/AirMediaControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/AppleTvJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/AppleTvJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/AppleTvJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/AppleTvJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs
similarity index 96%
rename from PepperDashEssentials/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs
index be0f002e..1c693070 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs
+++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/C2nRthsControllerJoinMap.cs
@@ -1,43 +1,43 @@
-using System.Linq;
-using Crestron.SimplSharp.Reflection;
-using PepperDash.Essentials.Core;
-
-namespace PepperDash.Essentials.Bridges
-{
- public class C2nRthsControllerJoinMap:JoinMapBase
- {
- public uint IsOnline { get; set; }
- public uint Name { get; set; }
- public uint Temperature { get; set; }
- public uint Humidity { get; set; }
- public uint TemperatureFormat { get; set; }
-
- public C2nRthsControllerJoinMap()
- {
- //digital
- IsOnline = 1;
- TemperatureFormat = 2;
-
- //Analog
- Temperature = 2;
- Humidity = 3;
-
- //serial
- Name = 1;
-
-
- }
-
- public override void OffsetJoinNumbers(uint joinStart)
- {
- var joinOffset = joinStart - 1;
- var properties =
- GetType().GetCType().GetProperties().Where(p => p.PropertyType == typeof(uint)).ToList();
-
- foreach (var propertyInfo in properties)
- {
- propertyInfo.SetValue(this, (uint)propertyInfo.GetValue(this, null) + joinOffset, null);
- }
- }
- }
+using System.Linq;
+using Crestron.SimplSharp.Reflection;
+using PepperDash.Essentials.Core;
+
+namespace PepperDash.Essentials.Bridges
+{
+ public class C2nRthsControllerJoinMap:JoinMapBase
+ {
+ public uint IsOnline { get; set; }
+ public uint Name { get; set; }
+ public uint Temperature { get; set; }
+ public uint Humidity { get; set; }
+ public uint TemperatureFormat { get; set; }
+
+ public C2nRthsControllerJoinMap()
+ {
+ //digital
+ IsOnline = 1;
+ TemperatureFormat = 2;
+
+ //Analog
+ Temperature = 2;
+ Humidity = 3;
+
+ //serial
+ Name = 1;
+
+
+ }
+
+ public override void OffsetJoinNumbers(uint joinStart)
+ {
+ var joinOffset = joinStart - 1;
+ var properties =
+ GetType().GetCType().GetProperties().Where(p => p.PropertyType == typeof(uint)).ToList();
+
+ foreach (var propertyInfo in properties)
+ {
+ propertyInfo.SetValue(this, (uint)propertyInfo.GetValue(this, null) + joinOffset, null);
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/PepperDashEssentials/Bridges/JoinMaps/CameraControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/CameraControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/CameraControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/CameraControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DigitalLoggerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DigitalLoggerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DigitalLoggerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DigitalLoggerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DisplayControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DisplayControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DisplayControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DisplayControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs
similarity index 97%
rename from PepperDashEssentials/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs
index 29ee6471..8a245ad2 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs
+++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmBladeChassisControllerJoinMap.cs
@@ -1,109 +1,109 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Crestron.SimplSharp;
-using PepperDash.Essentials.Core;
-
-namespace PepperDash.Essentials.Bridges {
- public class DmBladeChassisControllerJoinMap : JoinMapBase {
- #region Digital/Analogs
- #endregion
-
- #region Digitals
- ///
- /// High when device is online
- ///
- public uint IsOnline { get; set; }
- ///
- /// Range reports video sync feedback for each input
- ///
- public uint VideoSyncStatus { get; set; }
- ///
- /// Range reports high if corresponding input's endpoint is online
- ///
- public uint InputEndpointOnline { get; set; }
- ///
- /// Range reports high if corresponding output's endpoint is online
- ///
- public uint OutputEndpointOnline { get; set; }
- ///
- /// Range reports high if corresponding input's transmitter supports bridging as a separate device for detailed AV switching, HDCP control, etc.
- ///
- public uint TxAdvancedIsPresent { get; set; } // indicates that there is an attached transmitter that should be bridged to be interacted with
- #endregion
-
- #region Analogs
- ///
- /// Range sets and reports the current video source for the corresponding output
- ///
- public uint OutputVideo { get; set; }
- ///
- /// Range sets and reports the current HDCP state for the corresponding input card
- ///
- public uint HdcpSupportState { get; set; }
- ///
- /// Range reports the highest supported HDCP state level for the corresponding input card
- ///
- public uint HdcpSupportCapability { get; set; }
- #endregion
-
- #region Serials
- ///
- /// Range sets and reports the name for the corresponding input card
- ///
- public uint InputNames { get; set; }
- ///
- /// Range sets and reports the name for the corresponding output card
- ///
- public uint OutputNames { get; set; }
- ///
- /// Range reports the name of the current video source for the corresponding output card
- ///
- public uint OutputCurrentVideoInputNames { get; set; }
- ///
- /// Range reports the current input resolution for each corresponding input card
- ///
- public uint InputCurrentResolution { get; set; }
- #endregion
-
- public DmBladeChassisControllerJoinMap() {
- //Digital/Analog
-
- //Digital
- IsOnline = 11;
- VideoSyncStatus = 100; //101-299
- InputEndpointOnline = 500; //501-699
- OutputEndpointOnline = 700; //701-899
- TxAdvancedIsPresent = 1000; //1001-1199
-
- //Analog
- OutputVideo = 100; //101-299
- HdcpSupportState = 1000; //1001-1199
- HdcpSupportCapability = 1200; //1201-1399
-
-
- //Serial
- InputNames = 100; //101-299
- OutputNames = 300; //301-499
- OutputCurrentVideoInputNames = 2000; //2001-2199
- InputCurrentResolution = 2400; // 2401-2599
- }
-
- public override void OffsetJoinNumbers(uint joinStart) {
- var joinOffset = joinStart - 1;
-
- IsOnline = IsOnline + joinOffset;
- OutputVideo = OutputVideo + joinOffset;
- VideoSyncStatus = VideoSyncStatus + joinOffset;
- InputNames = InputNames + joinOffset;
- OutputNames = OutputNames + joinOffset;
- OutputCurrentVideoInputNames = OutputCurrentVideoInputNames + joinOffset;
- InputCurrentResolution = InputCurrentResolution + joinOffset;
- InputEndpointOnline = InputEndpointOnline + joinOffset;
- OutputEndpointOnline = OutputEndpointOnline + joinOffset;
- HdcpSupportState = HdcpSupportState + joinOffset;
- HdcpSupportCapability = HdcpSupportCapability + joinOffset;
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Crestron.SimplSharp;
+using PepperDash.Essentials.Core;
+
+namespace PepperDash.Essentials.Bridges {
+ public class DmBladeChassisControllerJoinMap : JoinMapBase {
+ #region Digital/Analogs
+ #endregion
+
+ #region Digitals
+ ///
+ /// High when device is online
+ ///
+ public uint IsOnline { get; set; }
+ ///
+ /// Range reports video sync feedback for each input
+ ///
+ public uint VideoSyncStatus { get; set; }
+ ///
+ /// Range reports high if corresponding input's endpoint is online
+ ///
+ public uint InputEndpointOnline { get; set; }
+ ///
+ /// Range reports high if corresponding output's endpoint is online
+ ///
+ public uint OutputEndpointOnline { get; set; }
+ ///
+ /// Range reports high if corresponding input's transmitter supports bridging as a separate device for detailed AV switching, HDCP control, etc.
+ ///
+ public uint TxAdvancedIsPresent { get; set; } // indicates that there is an attached transmitter that should be bridged to be interacted with
+ #endregion
+
+ #region Analogs
+ ///
+ /// Range sets and reports the current video source for the corresponding output
+ ///
+ public uint OutputVideo { get; set; }
+ ///
+ /// Range sets and reports the current HDCP state for the corresponding input card
+ ///
+ public uint HdcpSupportState { get; set; }
+ ///
+ /// Range reports the highest supported HDCP state level for the corresponding input card
+ ///
+ public uint HdcpSupportCapability { get; set; }
+ #endregion
+
+ #region Serials
+ ///
+ /// Range sets and reports the name for the corresponding input card
+ ///
+ public uint InputNames { get; set; }
+ ///
+ /// Range sets and reports the name for the corresponding output card
+ ///
+ public uint OutputNames { get; set; }
+ ///
+ /// Range reports the name of the current video source for the corresponding output card
+ ///
+ public uint OutputCurrentVideoInputNames { get; set; }
+ ///
+ /// Range reports the current input resolution for each corresponding input card
+ ///
+ public uint InputCurrentResolution { get; set; }
+ #endregion
+
+ public DmBladeChassisControllerJoinMap() {
+ //Digital/Analog
+
+ //Digital
+ IsOnline = 11;
+ VideoSyncStatus = 100; //101-299
+ InputEndpointOnline = 500; //501-699
+ OutputEndpointOnline = 700; //701-899
+ TxAdvancedIsPresent = 1000; //1001-1199
+
+ //Analog
+ OutputVideo = 100; //101-299
+ HdcpSupportState = 1000; //1001-1199
+ HdcpSupportCapability = 1200; //1201-1399
+
+
+ //Serial
+ InputNames = 100; //101-299
+ OutputNames = 300; //301-499
+ OutputCurrentVideoInputNames = 2000; //2001-2199
+ InputCurrentResolution = 2400; // 2401-2599
+ }
+
+ public override void OffsetJoinNumbers(uint joinStart) {
+ var joinOffset = joinStart - 1;
+
+ IsOnline = IsOnline + joinOffset;
+ OutputVideo = OutputVideo + joinOffset;
+ VideoSyncStatus = VideoSyncStatus + joinOffset;
+ InputNames = InputNames + joinOffset;
+ OutputNames = OutputNames + joinOffset;
+ OutputCurrentVideoInputNames = OutputCurrentVideoInputNames + joinOffset;
+ InputCurrentResolution = InputCurrentResolution + joinOffset;
+ InputEndpointOnline = InputEndpointOnline + joinOffset;
+ OutputEndpointOnline = OutputEndpointOnline + joinOffset;
+ HdcpSupportState = HdcpSupportState + joinOffset;
+ HdcpSupportCapability = HdcpSupportCapability + joinOffset;
+ }
+ }
+}
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmChassisControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmChassisControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DmChassisControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmChassisControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmRmcControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmRmcControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DmRmcControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmRmcControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmTxControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmTxControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DmTxControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmTxControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmpsAudioOutputControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmpsAudioOutputControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DmpsAudioOutputControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmpsAudioOutputControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/DmpsRoutingControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmpsRoutingControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/DmpsRoutingControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/DmpsRoutingControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/GenericLightingJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GenericLightingJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/GenericLightingJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GenericLightingJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/GenericRelayControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GenericRelayControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/GenericRelayControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GenericRelayControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
similarity index 97%
rename from PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
index 6e19dff2..a40913ee 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
+++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
@@ -1,238 +1,238 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Crestron.SimplSharp;
-using PepperDash.Essentials.Core;
-
-namespace PepperDash.Essentials.Bridges
-{
- public class GlsOccupancySensorBaseJoinMap : JoinMapBase
- {
- #region Digitals
-
- ///
- /// High when device is online
- ///
- public uint IsOnline { get; set; }
- ///
- /// Forces the device to report occupied status
- ///
- public uint ForceOccupied { get; set; }
- ///
- /// Forces the device to report vacant status
- ///
- public uint ForceVacant { get; set; }
- ///
- /// Enables raw status reporting
- ///
- public uint EnableRawStates { get; set; }
- ///
- /// High when raw occupancy is detected
- ///
- public uint RawOccupancyFeedback { get; set; }
- ///
- /// High when PIR sensor detects motion
- ///
- public uint RawOccupancyPirFeedback { get; set; }
- ///
- /// High when US sensor detects motion
- ///
- public uint RawOccupancyUsFeedback { get; set; }
- ///
- /// High when occupancy is detected
- ///
- public uint RoomOccupiedFeedback { get; set; }
- ///
- /// Hich when occupancy is detected in the grace period
- ///
- public uint GraceOccupancyDetectedFeedback { get; set; }
- ///
- /// High when vacancy is detected
- ///
- public uint RoomVacantFeedback { get; set; }
-
- ///
- /// Enables the LED Flash when set high
- ///
- public uint EnableLedFlash { get; set; }
- ///
- /// Disables the LED flash when set high
- ///
- public uint DisableLedFlash { get; set; }
- ///
- /// Enables the Short Timeout
- ///
- public uint EnableShortTimeout { get; set; }
- ///
- /// Disables the Short Timout
- ///
- public uint DisableShortTimeout { get; set; }
- ///
- /// Set high to enable one technology to trigger occupancy
- ///
- public uint OrWhenVacated { get; set; }
- ///
- /// Set high to require both technologies to trigger occupancy
- ///
- public uint AndWhenVacated { get; set; }
- ///
- /// Enables Ultrasonic Sensor A
- ///
- public uint EnableUsA { get; set; }
- ///
- /// Disables Ultrasonic Sensor A
- ///
- public uint DisableUsA { get; set; }
- ///
- /// Enables Ultrasonic Sensor B
- ///
- public uint EnableUsB { get; set; }
- ///
- /// Disables Ultrasonic Sensor B
- ///
- public uint DisableUsB { get; set; }
- ///
- /// Enables Pir
- ///
- public uint EnablePir { get; set; }
- ///
- /// Disables Pir
- ///
- public uint DisablePir { get; set; }
- public uint IncrementUsInOccupiedState { get; set; }
- public uint DecrementUsInOccupiedState { get; set; }
- public uint IncrementUsInVacantState { get; set; }
- public uint DecrementUsInVacantState { get; set; }
- public uint IncrementPirInOccupiedState { get; set; }
- public uint DecrementPirInOccupiedState { get; set; }
- public uint IncrementPirInVacantState { get; set; }
- public uint DecrementPirInVacantState { get; set; }
- #endregion
-
- #region Analogs
- ///
- /// Sets adn reports the remote timeout value
- ///
- public uint Timeout { get; set; }
- ///
- /// Reports the local timeout value
- ///
- public uint TimeoutLocalFeedback { get; set; }
- ///
- /// Sets the minimum internal photo sensor value and reports the current level
- ///
- public uint InternalPhotoSensorValue { get; set; }
- ///
- /// Sets the minimum external photo sensor value and reports the current level
- ///
- public uint ExternalPhotoSensorValue { get; set; }
-
- public uint UsSensitivityInOccupiedState { get; set; }
-
- public uint UsSensitivityInVacantState { get; set; }
-
- public uint PirSensitivityInOccupiedState { get; set; }
-
- public uint PirSensitivityInVacantState { get; set; }
- #endregion
-
- #region Serial
- public uint Name { get; set; }
- #endregion
-
- public GlsOccupancySensorBaseJoinMap()
- {
- IsOnline = 1;
- ForceOccupied = 2;
- ForceVacant = 3;
- EnableRawStates = 4;
- RoomOccupiedFeedback = 2;
- GraceOccupancyDetectedFeedback = 3;
- RoomVacantFeedback = 4;
- RawOccupancyFeedback = 5;
- RawOccupancyPirFeedback = 6;
- RawOccupancyUsFeedback = 7;
- EnableLedFlash = 11;
- DisableLedFlash = 12;
- EnableShortTimeout = 13;
- DisableShortTimeout = 14;
- OrWhenVacated = 15;
- AndWhenVacated = 16;
- EnableUsA = 17;
- DisableUsA = 18;
- EnableUsB = 19;
- DisableUsB = 20;
- EnablePir = 21;
- DisablePir = 22;
- IncrementUsInOccupiedState = 23;
- DecrementUsInOccupiedState = 24;
- IncrementUsInVacantState = 25;
- DecrementUsInVacantState = 26;
- IncrementPirInOccupiedState = 27;
- DecrementPirInOccupiedState = 28;
- IncrementPirInVacantState = 29;
- DecrementPirInVacantState = 30;
-
- Timeout = 1;
- TimeoutLocalFeedback = 2;
- InternalPhotoSensorValue = 3;
- ExternalPhotoSensorValue = 4;
- UsSensitivityInOccupiedState = 5;
- UsSensitivityInVacantState = 6;
- PirSensitivityInOccupiedState = 7;
- PirSensitivityInVacantState = 8;
-
- Name = 1;
-
- }
-
- public override void OffsetJoinNumbers(uint joinStart)
- {
- var joinOffset = joinStart - 1;
-
- IsOnline = IsOnline + joinOffset;
- ForceOccupied = ForceOccupied + joinOffset;
- ForceVacant = ForceVacant + joinOffset;
- EnableRawStates = EnableRawStates + joinOffset;
- RoomOccupiedFeedback = RoomOccupiedFeedback + joinOffset;
- GraceOccupancyDetectedFeedback = GraceOccupancyDetectedFeedback + joinOffset;
- RoomVacantFeedback = RoomVacantFeedback + joinOffset;
- RawOccupancyFeedback = RawOccupancyFeedback + joinOffset;
- RawOccupancyPirFeedback = RawOccupancyPirFeedback + joinOffset;
- RawOccupancyUsFeedback = RawOccupancyUsFeedback + joinOffset;
- EnableLedFlash = EnableLedFlash + joinOffset;
- DisableLedFlash = DisableLedFlash + joinOffset;
- EnableShortTimeout = EnableShortTimeout + joinOffset;
- DisableShortTimeout = DisableShortTimeout + joinOffset;
- OrWhenVacated = OrWhenVacated + joinOffset;
- AndWhenVacated = AndWhenVacated + joinOffset;
- EnableUsA = EnableUsA + joinOffset;
- DisableUsA = DisableUsA + joinOffset;
- EnableUsB = EnableUsB + joinOffset;
- DisableUsB = DisableUsB + joinOffset;
- EnablePir = EnablePir + joinOffset;
- DisablePir = DisablePir + joinOffset;
- IncrementUsInOccupiedState = IncrementUsInOccupiedState + joinOffset;
- DecrementUsInOccupiedState = DecrementUsInOccupiedState + joinOffset;
- IncrementUsInVacantState = IncrementUsInVacantState + joinOffset;
- DecrementUsInVacantState = DecrementUsInVacantState + joinOffset;
- IncrementPirInOccupiedState = IncrementPirInOccupiedState + joinOffset;
- DecrementPirInOccupiedState = DecrementPirInOccupiedState + joinOffset;
- IncrementPirInVacantState = IncrementPirInVacantState + joinOffset;
- DecrementPirInVacantState = DecrementPirInVacantState + joinOffset;
-
- Timeout = Timeout + joinOffset;
- TimeoutLocalFeedback = TimeoutLocalFeedback + joinOffset;
- InternalPhotoSensorValue = InternalPhotoSensorValue + joinOffset;
- ExternalPhotoSensorValue = ExternalPhotoSensorValue + joinOffset;
- UsSensitivityInOccupiedState = UsSensitivityInOccupiedState + joinOffset;
- UsSensitivityInVacantState = UsSensitivityInVacantState + joinOffset;
- PirSensitivityInOccupiedState = PirSensitivityInOccupiedState + joinOffset;
- PirSensitivityInVacantState = PirSensitivityInVacantState + joinOffset;
-
- Name = Name + joinOffset;
- }
- }
-
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Crestron.SimplSharp;
+using PepperDash.Essentials.Core;
+
+namespace PepperDash.Essentials.Bridges
+{
+ public class GlsOccupancySensorBaseJoinMap : JoinMapBase
+ {
+ #region Digitals
+
+ ///
+ /// High when device is online
+ ///
+ public uint IsOnline { get; set; }
+ ///
+ /// Forces the device to report occupied status
+ ///
+ public uint ForceOccupied { get; set; }
+ ///
+ /// Forces the device to report vacant status
+ ///
+ public uint ForceVacant { get; set; }
+ ///
+ /// Enables raw status reporting
+ ///
+ public uint EnableRawStates { get; set; }
+ ///
+ /// High when raw occupancy is detected
+ ///
+ public uint RawOccupancyFeedback { get; set; }
+ ///
+ /// High when PIR sensor detects motion
+ ///
+ public uint RawOccupancyPirFeedback { get; set; }
+ ///
+ /// High when US sensor detects motion
+ ///
+ public uint RawOccupancyUsFeedback { get; set; }
+ ///
+ /// High when occupancy is detected
+ ///
+ public uint RoomOccupiedFeedback { get; set; }
+ ///
+ /// Hich when occupancy is detected in the grace period
+ ///
+ public uint GraceOccupancyDetectedFeedback { get; set; }
+ ///
+ /// High when vacancy is detected
+ ///
+ public uint RoomVacantFeedback { get; set; }
+
+ ///
+ /// Enables the LED Flash when set high
+ ///
+ public uint EnableLedFlash { get; set; }
+ ///
+ /// Disables the LED flash when set high
+ ///
+ public uint DisableLedFlash { get; set; }
+ ///
+ /// Enables the Short Timeout
+ ///
+ public uint EnableShortTimeout { get; set; }
+ ///
+ /// Disables the Short Timout
+ ///
+ public uint DisableShortTimeout { get; set; }
+ ///
+ /// Set high to enable one technology to trigger occupancy
+ ///
+ public uint OrWhenVacated { get; set; }
+ ///
+ /// Set high to require both technologies to trigger occupancy
+ ///
+ public uint AndWhenVacated { get; set; }
+ ///
+ /// Enables Ultrasonic Sensor A
+ ///
+ public uint EnableUsA { get; set; }
+ ///
+ /// Disables Ultrasonic Sensor A
+ ///
+ public uint DisableUsA { get; set; }
+ ///
+ /// Enables Ultrasonic Sensor B
+ ///
+ public uint EnableUsB { get; set; }
+ ///
+ /// Disables Ultrasonic Sensor B
+ ///
+ public uint DisableUsB { get; set; }
+ ///
+ /// Enables Pir
+ ///
+ public uint EnablePir { get; set; }
+ ///
+ /// Disables Pir
+ ///
+ public uint DisablePir { get; set; }
+ public uint IncrementUsInOccupiedState { get; set; }
+ public uint DecrementUsInOccupiedState { get; set; }
+ public uint IncrementUsInVacantState { get; set; }
+ public uint DecrementUsInVacantState { get; set; }
+ public uint IncrementPirInOccupiedState { get; set; }
+ public uint DecrementPirInOccupiedState { get; set; }
+ public uint IncrementPirInVacantState { get; set; }
+ public uint DecrementPirInVacantState { get; set; }
+ #endregion
+
+ #region Analogs
+ ///
+ /// Sets adn reports the remote timeout value
+ ///
+ public uint Timeout { get; set; }
+ ///
+ /// Reports the local timeout value
+ ///
+ public uint TimeoutLocalFeedback { get; set; }
+ ///
+ /// Sets the minimum internal photo sensor value and reports the current level
+ ///
+ public uint InternalPhotoSensorValue { get; set; }
+ ///
+ /// Sets the minimum external photo sensor value and reports the current level
+ ///
+ public uint ExternalPhotoSensorValue { get; set; }
+
+ public uint UsSensitivityInOccupiedState { get; set; }
+
+ public uint UsSensitivityInVacantState { get; set; }
+
+ public uint PirSensitivityInOccupiedState { get; set; }
+
+ public uint PirSensitivityInVacantState { get; set; }
+ #endregion
+
+ #region Serial
+ public uint Name { get; set; }
+ #endregion
+
+ public GlsOccupancySensorBaseJoinMap()
+ {
+ IsOnline = 1;
+ ForceOccupied = 2;
+ ForceVacant = 3;
+ EnableRawStates = 4;
+ RoomOccupiedFeedback = 2;
+ GraceOccupancyDetectedFeedback = 3;
+ RoomVacantFeedback = 4;
+ RawOccupancyFeedback = 5;
+ RawOccupancyPirFeedback = 6;
+ RawOccupancyUsFeedback = 7;
+ EnableLedFlash = 11;
+ DisableLedFlash = 12;
+ EnableShortTimeout = 13;
+ DisableShortTimeout = 14;
+ OrWhenVacated = 15;
+ AndWhenVacated = 16;
+ EnableUsA = 17;
+ DisableUsA = 18;
+ EnableUsB = 19;
+ DisableUsB = 20;
+ EnablePir = 21;
+ DisablePir = 22;
+ IncrementUsInOccupiedState = 23;
+ DecrementUsInOccupiedState = 24;
+ IncrementUsInVacantState = 25;
+ DecrementUsInVacantState = 26;
+ IncrementPirInOccupiedState = 27;
+ DecrementPirInOccupiedState = 28;
+ IncrementPirInVacantState = 29;
+ DecrementPirInVacantState = 30;
+
+ Timeout = 1;
+ TimeoutLocalFeedback = 2;
+ InternalPhotoSensorValue = 3;
+ ExternalPhotoSensorValue = 4;
+ UsSensitivityInOccupiedState = 5;
+ UsSensitivityInVacantState = 6;
+ PirSensitivityInOccupiedState = 7;
+ PirSensitivityInVacantState = 8;
+
+ Name = 1;
+
+ }
+
+ public override void OffsetJoinNumbers(uint joinStart)
+ {
+ var joinOffset = joinStart - 1;
+
+ IsOnline = IsOnline + joinOffset;
+ ForceOccupied = ForceOccupied + joinOffset;
+ ForceVacant = ForceVacant + joinOffset;
+ EnableRawStates = EnableRawStates + joinOffset;
+ RoomOccupiedFeedback = RoomOccupiedFeedback + joinOffset;
+ GraceOccupancyDetectedFeedback = GraceOccupancyDetectedFeedback + joinOffset;
+ RoomVacantFeedback = RoomVacantFeedback + joinOffset;
+ RawOccupancyFeedback = RawOccupancyFeedback + joinOffset;
+ RawOccupancyPirFeedback = RawOccupancyPirFeedback + joinOffset;
+ RawOccupancyUsFeedback = RawOccupancyUsFeedback + joinOffset;
+ EnableLedFlash = EnableLedFlash + joinOffset;
+ DisableLedFlash = DisableLedFlash + joinOffset;
+ EnableShortTimeout = EnableShortTimeout + joinOffset;
+ DisableShortTimeout = DisableShortTimeout + joinOffset;
+ OrWhenVacated = OrWhenVacated + joinOffset;
+ AndWhenVacated = AndWhenVacated + joinOffset;
+ EnableUsA = EnableUsA + joinOffset;
+ DisableUsA = DisableUsA + joinOffset;
+ EnableUsB = EnableUsB + joinOffset;
+ DisableUsB = DisableUsB + joinOffset;
+ EnablePir = EnablePir + joinOffset;
+ DisablePir = DisablePir + joinOffset;
+ IncrementUsInOccupiedState = IncrementUsInOccupiedState + joinOffset;
+ DecrementUsInOccupiedState = DecrementUsInOccupiedState + joinOffset;
+ IncrementUsInVacantState = IncrementUsInVacantState + joinOffset;
+ DecrementUsInVacantState = DecrementUsInVacantState + joinOffset;
+ IncrementPirInOccupiedState = IncrementPirInOccupiedState + joinOffset;
+ DecrementPirInOccupiedState = DecrementPirInOccupiedState + joinOffset;
+ IncrementPirInVacantState = IncrementPirInVacantState + joinOffset;
+ DecrementPirInVacantState = DecrementPirInVacantState + joinOffset;
+
+ Timeout = Timeout + joinOffset;
+ TimeoutLocalFeedback = TimeoutLocalFeedback + joinOffset;
+ InternalPhotoSensorValue = InternalPhotoSensorValue + joinOffset;
+ ExternalPhotoSensorValue = ExternalPhotoSensorValue + joinOffset;
+ UsSensitivityInOccupiedState = UsSensitivityInOccupiedState + joinOffset;
+ UsSensitivityInVacantState = UsSensitivityInVacantState + joinOffset;
+ PirSensitivityInOccupiedState = PirSensitivityInOccupiedState + joinOffset;
+ PirSensitivityInVacantState = PirSensitivityInVacantState + joinOffset;
+
+ Name = Name + joinOffset;
+ }
+ }
+
+}
diff --git a/PepperDashEssentials/Bridges/JoinMaps/HdMdxxxCEControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/HdMdxxxCEControllerJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/HdMdxxxCEControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/HdMdxxxCEControllerJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/IBasicCommunicationJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/IBasicCommunicationJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/IBasicCommunicationJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/IBasicCommunicationJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/IDigitalInputJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/IDigitalInputJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/IDigitalInputJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/IDigitalInputJoinMap.cs
diff --git a/PepperDashEssentials/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs
similarity index 96%
rename from PepperDashEssentials/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs
index aa23cb7a..36e5b2da 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs
+++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/SetTopBoxControllerJoinMap.cs
@@ -1,212 +1,212 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Crestron.SimplSharp;
-using PepperDash.Essentials.Core;
-using Crestron.SimplSharp.Reflection;
-
-
-namespace PepperDash.Essentials.Bridges
-{
- public class SetTopBoxControllerJoinMap : JoinMapBase
- {
- #region Digitals
- public uint DvrList { get; set; } //
- public uint Replay { get; set; }
- public uint Up { get; set; } //
- public uint Down { get; set; } //
- public uint Left { get; set; } //
- public uint Right { get; set; } //
- public uint Select { get; set; } //
- public uint Menu { get; set; } //
- public uint Exit { get; set; } //
- public uint Digit0 { get; set; } //
- public uint Digit1 { get; set; } //
- public uint Digit2 { get; set; } //
- public uint Digit3 { get; set; } //
- public uint Digit4 { get; set; } //
- public uint Digit5 { get; set; } //
- public uint Digit6 { get; set; } //
- public uint Digit7 { get; set; } //
- public uint Digit8 { get; set; } //
- public uint Digit9 { get; set; } //
- public uint Dash { get; set; } //
- public uint KeypadEnter { get; set; } //
- public uint ChannelUp { get; set; } //
- public uint ChannelDown { get; set; } //
- public uint LastChannel { get; set; } //
- public uint Guide { get; set; } //
- public uint Info { get; set; } //
- public uint Red { get; set; } //
- public uint Green { get; set; } //
- public uint Yellow { get; set; } //
- public uint Blue { get; set; } //
- public uint ChapMinus { get; set; }
- public uint ChapPlus { get; set; }
- public uint FFwd { get; set; } //
- public uint Pause { get; set; } //
- public uint Play { get; set; } //
- public uint Record { get; set; }
- public uint Rewind { get; set; } //
- public uint Stop { get; set; } //
-
- public uint PowerOn { get; set; } //
- public uint PowerOff { get; set; } //
- public uint PowerToggle { get; set; } //
-
- public uint HasKeypadAccessoryButton1 { get; set; }
- public uint HasKeypadAccessoryButton2 { get; set; }
-
- public uint KeypadAccessoryButton1Press { get; set; }
- public uint KeypadAccessoryButton2Press { get; set; }
-
-
- public uint HasDvr { get; set; }
- public uint HasPresets { get; set; }
- public uint HasNumeric { get; set; }
- public uint HasDpad { get; set; }
-
-
- #endregion
-
- #region Analogs
-
- #endregion
-
- #region Strings
- public uint Name { get; set; }
- public uint LoadPresets { get; set; }
- public uint KeypadAccessoryButton1Label { get; set; }
- public uint KeypadAccessoryButton2Label { get; set; }
-
- #endregion
-
- public SetTopBoxControllerJoinMap()
- {
- PowerOn = 1;
- PowerOff = 2;
- PowerToggle = 3;
-
- HasDpad = 4;
- Up = 4;
- Down = 5;
- Left = 6;
- Right = 7;
- Select = 8;
- Menu = 9;
- Exit = 10;
-
- HasNumeric = 11;
- Digit0 = 11;
- Digit1 = 12;
- Digit2 = 13;
- Digit3 = 14;
- Digit4 = 15;
- Digit5 = 16;
- Digit6 = 17;
- Digit7 = 18;
- Digit8 = 19;
- Digit9 = 20;
- Dash = 21;
- KeypadEnter = 22;
- ChannelUp = 23;
- ChannelDown = 24;
- LastChannel = 25;
-
- Guide = 26;
- Info = 27;
- Red = 28;
- Green = 29;
- Yellow = 30;
- Blue = 31;
-
- HasDvr = 32;
- DvrList = 32;
- Play = 33;
- Pause = 34;
- Stop = 35;
- FFwd = 36;
- Rewind = 37;
- ChapPlus = 38;
- ChapMinus = 39;
- Replay = 40;
- Record = 41;
- HasKeypadAccessoryButton1 = 42;
- KeypadAccessoryButton1Press = 42;
- HasKeypadAccessoryButton2 = 43;
- KeypadAccessoryButton2Press = 43;
-
- Name = 1;
- KeypadAccessoryButton1Label = 42;
- KeypadAccessoryButton2Label = 43;
-
- LoadPresets = 50;
- }
-
- public override void OffsetJoinNumbers(uint joinStart)
- {
- var joinOffset = joinStart - 1;
-
- PowerOn += joinOffset;
- PowerOff += joinOffset;
- PowerToggle += joinOffset;
-
- HasDpad += joinOffset;
- Up += joinOffset;
- Down += joinOffset;
- Left += joinOffset;
- Right += joinOffset;
- Select += joinOffset;
- Menu += joinOffset;
- Exit += joinOffset;
-
- HasNumeric += joinOffset;
- Digit0 += joinOffset;
- Digit1 += joinOffset;
- Digit2 += joinOffset;
- Digit3 += joinOffset;
- Digit4 += joinOffset;
- Digit5 += joinOffset;
- Digit6 += joinOffset;
- Digit7 += joinOffset;
- Digit8 += joinOffset;
- Digit9 += joinOffset;
- Dash += joinOffset;
- KeypadEnter += joinOffset;
- ChannelUp += joinOffset;
- ChannelDown += joinOffset;
- LastChannel += joinOffset;
-
- Guide += joinOffset;
- Info += joinOffset;
- Red += joinOffset;
- Green += joinOffset;
- Yellow += joinOffset;
- Blue += joinOffset;
-
- HasDvr += joinOffset;
- DvrList += joinOffset;
- Play += joinOffset;
- Pause += joinOffset;
- Stop += joinOffset;
- FFwd += joinOffset;
- Rewind += joinOffset;
- ChapPlus += joinOffset;
- ChapMinus += joinOffset;
- Replay += joinOffset;
- Record += joinOffset;
- HasKeypadAccessoryButton1 += joinOffset;
- KeypadAccessoryButton1Press += joinOffset;
- HasKeypadAccessoryButton2 += joinOffset;
- KeypadAccessoryButton2Press += joinOffset;
-
- Name += joinOffset;
- KeypadAccessoryButton1Label += joinOffset;
- KeypadAccessoryButton2Label += joinOffset;
-
- LoadPresets += joinOffset;
- }
-
- }
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Crestron.SimplSharp;
+using PepperDash.Essentials.Core;
+using Crestron.SimplSharp.Reflection;
+
+
+namespace PepperDash.Essentials.Bridges
+{
+ public class SetTopBoxControllerJoinMap : JoinMapBase
+ {
+ #region Digitals
+ public uint DvrList { get; set; } //
+ public uint Replay { get; set; }
+ public uint Up { get; set; } //
+ public uint Down { get; set; } //
+ public uint Left { get; set; } //
+ public uint Right { get; set; } //
+ public uint Select { get; set; } //
+ public uint Menu { get; set; } //
+ public uint Exit { get; set; } //
+ public uint Digit0 { get; set; } //
+ public uint Digit1 { get; set; } //
+ public uint Digit2 { get; set; } //
+ public uint Digit3 { get; set; } //
+ public uint Digit4 { get; set; } //
+ public uint Digit5 { get; set; } //
+ public uint Digit6 { get; set; } //
+ public uint Digit7 { get; set; } //
+ public uint Digit8 { get; set; } //
+ public uint Digit9 { get; set; } //
+ public uint Dash { get; set; } //
+ public uint KeypadEnter { get; set; } //
+ public uint ChannelUp { get; set; } //
+ public uint ChannelDown { get; set; } //
+ public uint LastChannel { get; set; } //
+ public uint Guide { get; set; } //
+ public uint Info { get; set; } //
+ public uint Red { get; set; } //
+ public uint Green { get; set; } //
+ public uint Yellow { get; set; } //
+ public uint Blue { get; set; } //
+ public uint ChapMinus { get; set; }
+ public uint ChapPlus { get; set; }
+ public uint FFwd { get; set; } //
+ public uint Pause { get; set; } //
+ public uint Play { get; set; } //
+ public uint Record { get; set; }
+ public uint Rewind { get; set; } //
+ public uint Stop { get; set; } //
+
+ public uint PowerOn { get; set; } //
+ public uint PowerOff { get; set; } //
+ public uint PowerToggle { get; set; } //
+
+ public uint HasKeypadAccessoryButton1 { get; set; }
+ public uint HasKeypadAccessoryButton2 { get; set; }
+
+ public uint KeypadAccessoryButton1Press { get; set; }
+ public uint KeypadAccessoryButton2Press { get; set; }
+
+
+ public uint HasDvr { get; set; }
+ public uint HasPresets { get; set; }
+ public uint HasNumeric { get; set; }
+ public uint HasDpad { get; set; }
+
+
+ #endregion
+
+ #region Analogs
+
+ #endregion
+
+ #region Strings
+ public uint Name { get; set; }
+ public uint LoadPresets { get; set; }
+ public uint KeypadAccessoryButton1Label { get; set; }
+ public uint KeypadAccessoryButton2Label { get; set; }
+
+ #endregion
+
+ public SetTopBoxControllerJoinMap()
+ {
+ PowerOn = 1;
+ PowerOff = 2;
+ PowerToggle = 3;
+
+ HasDpad = 4;
+ Up = 4;
+ Down = 5;
+ Left = 6;
+ Right = 7;
+ Select = 8;
+ Menu = 9;
+ Exit = 10;
+
+ HasNumeric = 11;
+ Digit0 = 11;
+ Digit1 = 12;
+ Digit2 = 13;
+ Digit3 = 14;
+ Digit4 = 15;
+ Digit5 = 16;
+ Digit6 = 17;
+ Digit7 = 18;
+ Digit8 = 19;
+ Digit9 = 20;
+ Dash = 21;
+ KeypadEnter = 22;
+ ChannelUp = 23;
+ ChannelDown = 24;
+ LastChannel = 25;
+
+ Guide = 26;
+ Info = 27;
+ Red = 28;
+ Green = 29;
+ Yellow = 30;
+ Blue = 31;
+
+ HasDvr = 32;
+ DvrList = 32;
+ Play = 33;
+ Pause = 34;
+ Stop = 35;
+ FFwd = 36;
+ Rewind = 37;
+ ChapPlus = 38;
+ ChapMinus = 39;
+ Replay = 40;
+ Record = 41;
+ HasKeypadAccessoryButton1 = 42;
+ KeypadAccessoryButton1Press = 42;
+ HasKeypadAccessoryButton2 = 43;
+ KeypadAccessoryButton2Press = 43;
+
+ Name = 1;
+ KeypadAccessoryButton1Label = 42;
+ KeypadAccessoryButton2Label = 43;
+
+ LoadPresets = 50;
+ }
+
+ public override void OffsetJoinNumbers(uint joinStart)
+ {
+ var joinOffset = joinStart - 1;
+
+ PowerOn += joinOffset;
+ PowerOff += joinOffset;
+ PowerToggle += joinOffset;
+
+ HasDpad += joinOffset;
+ Up += joinOffset;
+ Down += joinOffset;
+ Left += joinOffset;
+ Right += joinOffset;
+ Select += joinOffset;
+ Menu += joinOffset;
+ Exit += joinOffset;
+
+ HasNumeric += joinOffset;
+ Digit0 += joinOffset;
+ Digit1 += joinOffset;
+ Digit2 += joinOffset;
+ Digit3 += joinOffset;
+ Digit4 += joinOffset;
+ Digit5 += joinOffset;
+ Digit6 += joinOffset;
+ Digit7 += joinOffset;
+ Digit8 += joinOffset;
+ Digit9 += joinOffset;
+ Dash += joinOffset;
+ KeypadEnter += joinOffset;
+ ChannelUp += joinOffset;
+ ChannelDown += joinOffset;
+ LastChannel += joinOffset;
+
+ Guide += joinOffset;
+ Info += joinOffset;
+ Red += joinOffset;
+ Green += joinOffset;
+ Yellow += joinOffset;
+ Blue += joinOffset;
+
+ HasDvr += joinOffset;
+ DvrList += joinOffset;
+ Play += joinOffset;
+ Pause += joinOffset;
+ Stop += joinOffset;
+ FFwd += joinOffset;
+ Rewind += joinOffset;
+ ChapPlus += joinOffset;
+ ChapMinus += joinOffset;
+ Replay += joinOffset;
+ Record += joinOffset;
+ HasKeypadAccessoryButton1 += joinOffset;
+ KeypadAccessoryButton1Press += joinOffset;
+ HasKeypadAccessoryButton2 += joinOffset;
+ KeypadAccessoryButton2Press += joinOffset;
+
+ Name += joinOffset;
+ KeypadAccessoryButton1Label += joinOffset;
+ KeypadAccessoryButton2Label += joinOffset;
+
+ LoadPresets += joinOffset;
+ }
+
+ }
}
\ No newline at end of file
diff --git a/PepperDashEssentials/Bridges/JoinMaps/StatusSignControllerJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/StatusSignControllerJoinMap.cs
similarity index 96%
rename from PepperDashEssentials/Bridges/JoinMaps/StatusSignControllerJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/StatusSignControllerJoinMap.cs
index d3a95383..ad8f1577 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/StatusSignControllerJoinMap.cs
+++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/StatusSignControllerJoinMap.cs
@@ -1,49 +1,49 @@
-using System.Linq;
-using Crestron.SimplSharp.Reflection;
-using PepperDash.Essentials.Core;
-
-namespace PepperDash.Essentials.Bridges
-{
- public class StatusSignControllerJoinMap:JoinMapBase
- {
- public uint IsOnline { get; set; }
- public uint Name { get; set; }
- public uint RedLed { get; set; }
- public uint GreenLed { get; set; }
- public uint BlueLed { get; set; }
- public uint RedControl { get; set; }
- public uint GreenControl { get; set; }
- public uint BlueControl { get; set; }
-
- public StatusSignControllerJoinMap()
- {
- //digital
- IsOnline = 1;
- RedControl = 2;
- GreenControl = 3;
- BlueControl = 4;
-
- //Analog
- RedLed = 2;
- GreenLed = 3;
- BlueLed = 4;
-
- //string
- Name = 1;
-
-
- }
-
- public override void OffsetJoinNumbers(uint joinStart)
- {
- var joinOffset = joinStart - 1;
- var properties =
- GetType().GetCType().GetProperties().Where(p => p.PropertyType == typeof (uint)).ToList();
-
- foreach (var propertyInfo in properties)
- {
- propertyInfo.SetValue(this, (uint) propertyInfo.GetValue(this, null) + joinOffset, null);
- }
- }
- }
+using System.Linq;
+using Crestron.SimplSharp.Reflection;
+using PepperDash.Essentials.Core;
+
+namespace PepperDash.Essentials.Bridges
+{
+ public class StatusSignControllerJoinMap:JoinMapBase
+ {
+ public uint IsOnline { get; set; }
+ public uint Name { get; set; }
+ public uint RedLed { get; set; }
+ public uint GreenLed { get; set; }
+ public uint BlueLed { get; set; }
+ public uint RedControl { get; set; }
+ public uint GreenControl { get; set; }
+ public uint BlueControl { get; set; }
+
+ public StatusSignControllerJoinMap()
+ {
+ //digital
+ IsOnline = 1;
+ RedControl = 2;
+ GreenControl = 3;
+ BlueControl = 4;
+
+ //Analog
+ RedLed = 2;
+ GreenLed = 3;
+ BlueLed = 4;
+
+ //string
+ Name = 1;
+
+
+ }
+
+ public override void OffsetJoinNumbers(uint joinStart)
+ {
+ var joinOffset = joinStart - 1;
+ var properties =
+ GetType().GetCType().GetProperties().Where(p => p.PropertyType == typeof (uint)).ToList();
+
+ foreach (var propertyInfo in properties)
+ {
+ propertyInfo.SetValue(this, (uint) propertyInfo.GetValue(this, null) + joinOffset, null);
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/PepperDashEssentials/Bridges/JoinMaps/SystemMonitorJoinMap.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/SystemMonitorJoinMap.cs
similarity index 100%
rename from PepperDashEssentials/Bridges/JoinMaps/SystemMonitorJoinMap.cs
rename to essentials-framework/Essentials Core/PepperDashEssentialsBase/Bridges/JoinMaps/SystemMonitorJoinMap.cs