feat(RoomCombining): #742 Updates EssentialsTouchpanelController

Will now switch room the TP is linked to based on room combination scenario
This commit is contained in:
Neil Dorin
2021-07-30 16:59:32 -06:00
parent 6542c062b9
commit 7114e60c04
5 changed files with 248 additions and 130 deletions

View File

@@ -206,6 +206,27 @@ namespace PepperDash.Essentials.Core
return ClearSigAction(tl.StringOutput[sigNum]) as StringOutputSig;
}
/// <summary>
/// Clears all actions on all sigs
/// </summary>
public static void ClearAllSigActions(this BasicTriList t1)
{
foreach (var sig in t1.BooleanOutput)
{
ClearSigAction(sig);
}
foreach (var sig in t1.UShortOutput)
{
ClearSigAction(sig);
}
foreach (var sig in t1.StringOutput)
{
ClearSigAction(sig);
}
}
/// <summary>
/// Helper method to set the value of a bool Sig on TriList
/// </summary>