diff --git a/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs b/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
index 6a02c6fb..a48ad0d9 100644
--- a/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
+++ b/PepperDashEssentials/Bridges/JoinMaps/GlsOccupancySensorBaseJoinMap.cs
@@ -1,35 +1,35 @@
-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
- ///
+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
@@ -38,194 +38,193 @@ namespace PepperDash.Essentials.Bridges
///
/// 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
-
- public GlsOccupancySensorBaseJoinMap()
- {
- IsOnline = 1;
- ForceOccupied = 2;
- ForceVacant = 3;
- EnableRawStates = 4;
- RoomOccupiedFeedback = 2;
- GraceOccupancyDetectedFeedback = 3;
- RoomVacantFeedback = 4;
+ 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
+
+ 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;
- DisablePir = 23;
- IncrementUsInOccupiedState = 24;
- DecrementUsInOccupiedState = 25;
- IncrementUsInVacantState = 26;
- DecrementUsInVacantState = 27;
- IncrementPirInOccupiedState = 28;
- DecrementPirInOccupiedState = 29;
- IncrementPirInVacantState = 30;
- DecrementPirInVacantState = 31;
-
- Timeout = 1;
- TimeoutLocalFeedback = 2;
- InternalPhotoSensorValue = 3;
- ExternalPhotoSensorValue = 4;
- UsSensitivityInOccupiedState = 5;
- UsSensitivityInVacantState = 6;
- PirSensitivityInOccupiedState = 7;
- PirSensitivityInVacantState = 8;
- }
-
- 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;
+ 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;
+ }
+
+ 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;
- 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;
- }
- }
-
-}
+ 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;
+ 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;
+ }
+ }
+
+}