mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
feat: updated ExecuteSwitch to turn the display power on if _PowerIsOn is false
This commit is contained in:
parent
b23b7cb813
commit
832102f4bb
1 changed files with 6 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue