mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
Adds IsOnline FB to GenericLightingBridge
This commit is contained in:
parent
f25d05edc2
commit
be9fd5e8d1
1 changed files with 2 additions and 6 deletions
|
|
@ -43,6 +43,7 @@ namespace PepperDash.Essentials.Bridges
|
||||||
if (lightingDevice.GetType().Name.ToString() == "LutronQuantumArea")
|
if (lightingDevice.GetType().Name.ToString() == "LutronQuantumArea")
|
||||||
{
|
{
|
||||||
var lutronDevice = lightingDevice as PepperDash.Essentials.Devices.Common.Environment.Lutron.LutronQuantumArea;
|
var lutronDevice = lightingDevice as PepperDash.Essentials.Devices.Common.Environment.Lutron.LutronQuantumArea;
|
||||||
|
lutronDevice.CommunicationMonitor.IsOnlineFeedback.LinkInputSig(trilist.BooleanInput[joinMap.IsOnline]);
|
||||||
trilist.SetStringSigAction(joinMap.IntegrationIdSet, s => lutronDevice.IntegrationId = s);
|
trilist.SetStringSigAction(joinMap.IntegrationIdSet, s => lutronDevice.IntegrationId = s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -75,15 +76,10 @@ namespace PepperDash.Essentials.Bridges
|
||||||
public uint ButtonVisibilityOffset { get; set; }
|
public uint ButtonVisibilityOffset { get; set; }
|
||||||
public uint IntegrationIdSet { get; set; }
|
public uint IntegrationIdSet { get; set; }
|
||||||
|
|
||||||
public uint CircuitState { get; set; }
|
|
||||||
public uint CircuitCycle { get; set; }
|
|
||||||
public uint CircuitIsCritical { get; set; }
|
|
||||||
public uint CircuitOnCmd { get; set; }
|
|
||||||
public uint CircuitOffCmd { get; set; }
|
|
||||||
public GenericLightingJoinMap()
|
public GenericLightingJoinMap()
|
||||||
{
|
{
|
||||||
// Digital
|
// Digital
|
||||||
IsOnline = 9;
|
IsOnline = 1;
|
||||||
SelectScene = 1;
|
SelectScene = 1;
|
||||||
IntegrationIdSet = 1;
|
IntegrationIdSet = 1;
|
||||||
LightingSceneOffset = 10;
|
LightingSceneOffset = 10;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue