feat: updated ExecuteSwitch to turn the display power on if _PowerIsOn is false

This commit is contained in:
Jason DeVito
2022-03-29 16:02:59 -05:00
parent b23b7cb813
commit 832102f4bb

View File

@@ -111,7 +111,12 @@ namespace PepperDash.Essentials.Core
public override void ExecuteSwitch(object selector)
{
Debug.Console(2, this, "ExecuteSwitch: {0}", selector);
Debug.Console(2, this, "ExecuteSwitch: {0}", selector);
if (!_PowerIsOn)
{
PowerOn();
}
}