add checkin and add test coin bank in Rootman

This commit is contained in:
SEK 2024-09-05 15:49:29 +07:00
parent 0f60d3b677
commit a06c11514e
15 changed files with 205 additions and 237 deletions

View file

@ -11,9 +11,16 @@
Var EnableMaintenance = "Enable"
Var EnableConfigureMachine = "Enable"
Var EnableCheckin = "Enable"
Var EnableTestCoinBank = "Enable"
Var Timeout = 0
If InternationalEnable = 1 Then
Var EnableCheckin = "Invisible"
Var EnableTestCoinBank = "Invisible"
EndIf
</EventOpen>
@ -22,7 +29,8 @@
Var Timeout = Timeout + 1
If Timeout > 30 Then
If Timeout > 300 Then
StatusLog "exit"
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
@ -31,8 +39,10 @@
Var Text1_9 = Text1_9 + " "
Var Text1_9 = Text1_9 + SystemDate
Var BackToMainTime = 30 - Timeout
Var BackToMainTime = 300 - Timeout
DEBUGVAR tmpPassPhrase
Refresh
TimerReset
@ -170,7 +180,7 @@
<MarginTop> 22 </MarginTop>
<Width> 560 </Width>
<Height> 80 </Height>
<State> EnableTestSystem </State>
<State> EnableCheckin </State>
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/checkin.png" </Filename>
@ -185,7 +195,7 @@
<MarginTop> 22 </MarginTop>
<Width> 560 </Width>
<Height> 80 </Height>
<State> EnableTestSystem </State>
<State> EnableTestCoinBank </State>
<Button>
<Filename> "ROOT/taobin_project/image/new_vending_info/testmoney.png" </Filename>
@ -207,6 +217,7 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
StatusLog "exit"
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>