sleep mode modify

This commit is contained in:
nattapon tachawong 2024-11-28 20:28:46 +07:00
parent f410589833
commit 73cf281a83
2 changed files with 14 additions and 1 deletions

View file

@ -1668,6 +1668,16 @@ PRICE "Reset" "-"
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
</EventDrink>
<EventSleepMode>
DEBUGVAR sleepmodeEnable
If sleepmodeEnable = "true" Then
SLEEPMODE
EndIf
</EventSleepMode>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -181,6 +181,8 @@
Var FailCaseIncorrect = "popup_incorrect.png"
Var FailCaseTimeout = "popup_timeout.png"
Var sleepmodeEnable = "false"
</EventOpen>
<Timeout> 1000 </Timeout>
@ -196,6 +198,7 @@
EndIf
If Timeout > 30 Then
Var sleepmodeEnable = "true"
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
@ -1068,7 +1071,7 @@
Var PasswordOK = 0
__CMD "cancel-pw-newui" "-" "-" "-"
Var sleepmodeEnable = "true"
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>