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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View file

@ -73,6 +73,8 @@
SAVELOG strOnpageLogtext
StatusLog "On checkin"
</EventOpen>
<Timeout> 1000 </Timeout>
@ -103,7 +105,8 @@
If TimerbacktoHome = 0 Then
SAVELOG "timeout"
SAVELOG "back_to_page_board"
Open "ROOT/taobin_project/xml/page_board.xml"
StatusLog "backtohome"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
EndIf
Refresh
@ -132,7 +135,10 @@
<Volume> SoundVolume </Volume>
<EventClick>
StatusLog "backtohome"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
@ -174,8 +180,8 @@
<Image>
<X> 280 </X>
<Y> 250 </Y>
<Height> 510 </Height>
<Y> 240 </Y>
<Height> 700 </Height>
<Width> 510 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/personguildline.png" </Filename>
@ -234,7 +240,7 @@
Var showTimeCounter = "Enable"
Var showTakePictureBtn = "Invisible"
SAVELOG strOnstartLogtext
StatusLog "start capture checkin"
StatusLog "start capture"
</EventClick>
<State> showTakePictureBtn </State>
</Button>
@ -249,9 +255,10 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_board.xml"
SAVELOG strOnCancelLogtext
StatusLog "cancel capture checkin"
StatusLog "backtohome"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>

View file

@ -47,6 +47,8 @@
SAVELOG strOnpageLogtext
StatusLog "On checkinresult"
</EventOpen>
<Timeout> 1000 </Timeout>
@ -90,7 +92,7 @@
If TimerbacktoHome = 0 Then
SAVELOG "timeout"
SAVELOG "back_to_page_board"
Open "ROOT/taobin_project/xml/page_board.xml"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
EndIf
@ -172,7 +174,7 @@
PushFile "/sdcard/" "RootManPicture" filepushname
SAVELOG strOnsendLogtext
StatusLog "send capture checkin"
StatusLog "send capture"
Var statesendButton = "Invisible"
Var stateprocessButton = "Enable"
@ -238,7 +240,7 @@
<State> showSendandRetry </State>
<EventClick>
SAVELOG strOnretryLogtext
StatusLog "retry capture checkin"
StatusLog "retry capture"
Open "ROOT/taobin_project/xml/checkin.xml"
</EventClick>
</Button>
@ -252,7 +254,7 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_board.xml"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>

View file

@ -16,7 +16,7 @@
Var startTimerChangeSuccess = "false"
Var restartTimerChange = 3
Var startrestartTimerChange = "false"
Var TimerbacktoHome = 60
Var TimerbacktoHome = 300
Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
Var TestCoinLine2 = "total amount "
@ -24,14 +24,19 @@
Var RemainAmountStr1 = 0
Var LastCoin = 0
Var openTextPlaseWait = "Enable"
Var currentStage = "init"
Var coinChange = 10
Var openTextPlaseWait = "Invisible"
Var currentStage = ""
Var intosw = 0
Var testCoinChange = 10
Var popupBeforeTestCoinWarning = "Enable"
Var buttonBeforeTestCoinBack = "Enable"
Var buttonTestCoinStart = "Enable"
Var popupAfterTestCoinWarning = "Invisible"
Var buttonTestCoinEnd = "Invisible"
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Invisible"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -70,10 +75,12 @@
DEBUGVAR LastCoin
DEBUGVAR CoinAmount
StatusLog "On testcoinbank"
</EventOpen>
<EventCoin>
Var TimerbacktoHome = 60
Var TimerbacktoHome = 300
Var LastCoin = CoinAmount - LastCoin
Var RemainAmountStr1 !assigned StringFmt( LastCoin, DisplayFormat, PreScaleConvertShow )
@ -86,22 +93,6 @@
DEBUGVAR LastCoin
DEBUGVAR CoinAmount
If currentStage = "test5bath" Then
If intosw = 0 Then
Var intosw = 1
If LastCoin = 5 Then
SAVELOG "test5bath_pass"
StatusLog "test5bath_pass"
Var currentStage = "test10bath"
SAVELOG "state_test10bath"
Else
SAVELOG "test5bath_fail"
StatusLog "test5bath_fail"
Var currentStage = "test5fail"
SAVELOG "state_test5bath_fail"
EndIf
EndIf
EndIf
If currentStage = "test10bath" Then
@ -139,15 +130,6 @@
EndIf
If currentStage = "test5fail" Then
If LastCoin = 5 Then
SAVELOG "test5bath_pass"
StatusLog "test5bath_pass"
Var currentStage = "test10bath"
SAVELOG "state_test10bath"
EndIf
EndIf
If currentStage = "test10fail" Then
If LastCoin = 10 Then
@ -190,7 +172,7 @@
</EventCoin>
<EventChangeStatus>
Var TimerbacktoHome = 60
Var TimerbacktoHome = 300
DEBUGVAR ChangeStatus
If ChangeStatus = "payout-end" Then
Var ChangeOK = 1
@ -225,94 +207,26 @@
<EventTimeout>
DEBUGVAR currentStage
Var TimerCountDown = TimerCountDown - 1
If currentStage = "init" Then
Var TimerCountDown = TimerCountDown - 1
If TimerCountDown = 0 Then
Coin ON
Var currentStage = "test5bath"
Var currentStage = "test10bath"
Var openTextPlaseWait = "Invisible"
SAVELOG "state_test5bath"
SAVELOG "state_test10bath"
EndIf
EndIf
If currentStage = "test5bath" Then
Var showTextCoin5Foc = "Enable"
Var showTextCoin5Succ = "Invisible"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Enable"
Var showTextCoin10Foc = "Invisible"
Var showTextCoin10Succ = "Invisible"
Var showTextCoin10Fail = "Invisible"
Var showTextBank20Nor = "Enable"
Var showTextBank20Foc = "Invisible"
Var showTextBank20Succ = "Invisible"
Var showTextBank20Fail = "Invisible"
Var showTextChange10Nor = "Enable"
Var showTextChange10Foc = "Invisible"
Var showTextChange10Succ = "Invisible"
Var showTextChange10Fail = "Invisible"
Var showButtonChange10 = "Invisible"
Var showTextmessagebankfail = "Invisible"
Var showTextmessagecoinfail = "Invisible"
Var showTextmessagetestallsuccess = "Invisible"
Var showTextmesssagechangefail = "Invisible"
Var showTextundotest_testcoin = "Invisible"
Var showTextbacktohome_testcoin = "Invisible"
Var showTextretryprocess_testcoin = "Invisible"
Var showExitbutton = "Enable"
EndIf
If currentStage = "test5fail" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Invisible"
Var showTextCoin5Fail = "Enable"
Var showTextCoin10Nor = "Enable"
Var showTextCoin10Foc = "Invisible"
Var showTextCoin10Succ = "Invisible"
Var showTextCoin10Fail = "Invisible"
Var showTextBank20Nor = "Enable"
Var showTextBank20Foc = "Invisible"
Var showTextBank20Succ = "Invisible"
Var showTextBank20Fail = "Invisible"
Var showTextChange10Nor = "Enable"
Var showTextChange10Foc = "Invisible"
Var showTextChange10Succ = "Invisible"
Var showTextChange10Fail = "Invisible"
Var showButtonChange10 = "Invisible"
Var showTextmessagebankfail = "Invisible"
Var showTextmessagecoinfail = "Enable"
Var showTextmessagetestallsuccess = "Invisible"
Var showTextmesssagechangefail = "Invisible"
Var showTextundotest_testcoin = "Invisible"
Var showTextbacktohome_testcoin = "Invisible"
Var showTextretryprocess_testcoin = "Invisible"
Var showExitbutton = "Enable"
EndIf
If currentStage = "test10bath" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Enable"
@ -346,9 +260,6 @@
If currentStage = "test10fail" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -382,9 +293,8 @@
If currentStage = "test20bath" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -417,9 +327,7 @@
If currentStage = "test20fail" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -453,9 +361,7 @@
If currentStage = "testchange10" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -489,46 +395,51 @@
If currentStage = "finish" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
Var showTextCoin10Succ = "Enable"
Var showTextCoin10Succ = "Invisible"
Var showTextCoin10Fail = "Invisible"
Var showTextBank20Nor = "Invisible"
Var showTextBank20Foc = "Invisible"
Var showTextBank20Succ = "Enable"
Var showTextBank20Succ = "Invisible"
Var showTextBank20Fail = "Invisible"
Var showTextChange10Nor = "Invisible"
Var showTextChange10Foc = "Invisible"
Var showTextChange10Succ = "Enable"
Var showTextChange10Succ = "Invisible"
Var showTextChange10Fail = "Invisible"
Var showButtonChange10 = "Invisible"
Var showTextmessagebankfail = "Invisible"
Var showTextmessagecoinfail = "Invisible"
Var showTextmessagetestallsuccess = "Enable"
Var showTextmessagetestallsuccess = "Invisible"
Var showTextmesssagechangefail = "Invisible"
Var showTextundotest_testcoin = "Invisible"
Var showTextbacktohome_testcoin = "Enable"
Var showTextretryprocess_testcoin = "Enable"
Var showTextbacktohome_testcoin = "Invisible"
Var showTextretryprocess_testcoin = "Invisible"
Var showExitbutton = "Invisible"
Var popupBeforeTestCoinWarning = "Invisible"
Var buttonBeforeTestCoinBack = "Invisible"
Var buttonTestCoinStart = "Invisible"
Var buttonTestCoinEnd = "Enable"
Var popupAfterTestCoinWarning = "Enable"
EndIf
If currentStage = "testchange10fail" Then
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Enable"
Var showTextCoin5Fail = "Invisible"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -600,7 +511,7 @@
Coin STANDBY
CoinClear
SAVELOG "back_to_page_board"
Open "ROOT/taobin_project/xml/page_board.xml"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
EndIf
@ -629,6 +540,7 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
StatusLog "backtohome"
Coin STANDBY
CoinClear
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
@ -661,48 +573,11 @@
</Image>
;group 5 bath start
<Image>
<X> 190 </X>
<Y> 235 </Y>
<Height> 40 </Height>
<Width> 560 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/testcoin_5_foc.png" </Filename>
<State> showTextCoin5Foc </State>
</Image>
<Image>
<X> 200 </X>
<Y> 235 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/testcoin_5_succ.png" </Filename>
<State> showTextCoin5Succ </State>
</Image>
<Image>
<X> 200 </X>
<Y> 235 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/testcoin_5_fail.png" </Filename>
<State> showTextCoin5Fail </State>
</Image>
;group 5 bath end
;group 10 bath start
<Image>
<X> 200 </X>
<Y> 320 </Y>
<Y> 230 </Y>
<Height> 40 </Height>
<Width> 560 </Width>
<Volume> SoundVolume </Volume>
@ -712,7 +587,7 @@
<Image>
<X> 205 </X>
<Y> 320 </Y>
<Y> 230 </Y>
<Height> 40 </Height>
<Width> 560 </Width>
<Volume> SoundVolume </Volume>
@ -722,7 +597,7 @@
<Image>
<X> 210 </X>
<Y> 320 </Y>
<Y> 230 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -732,7 +607,7 @@
<Image>
<X> 210 </X>
<Y> 320 </Y>
<Y> 230 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -747,7 +622,7 @@
<Image>
<X> 180 </X>
<Y> 410 </Y>
<Y> 320 </Y>
<Height> 40 </Height>
<Width> 560 </Width>
<Volume> SoundVolume </Volume>
@ -757,7 +632,7 @@
<Image>
<X> 180 </X>
<Y> 410 </Y>
<Y> 320 </Y>
<Height> 40 </Height>
<Width> 560 </Width>
<Volume> SoundVolume </Volume>
@ -767,7 +642,7 @@
<Image>
<X> 175 </X>
<Y> 410 </Y>
<Y> 320 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -778,7 +653,7 @@
<Image>
<X> 175 </X>
<Y> 410 </Y>
<Y> 320 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -794,7 +669,7 @@
<Image>
<X> 245 </X>
<Y> 500 </Y>
<Y> 400 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -805,7 +680,7 @@
<Image>
<X> 230 </X>
<Y> 500 </Y>
<Y> 400 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -815,7 +690,7 @@
<Image>
<X> 255 </X>
<Y> 500 </Y>
<Y> 400 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -825,7 +700,7 @@
<Image>
<X> 255 </X>
<Y> 500 </Y>
<Y> 400 </Y>
<Height> 60 </Height>
<Width> 590 </Width>
<Volume> SoundVolume </Volume>
@ -844,11 +719,11 @@
<Volume> SoundVolume </Volume>
<State> showButtonChange10 </State>
<EventClick>
Var TimerbacktoHome = 60
Var TimerbacktoHome = 300
SAVELOG "change_btn_click"
Var showTextundotest_testcoin = "Invisible"
Var showButtonChange10 = "Invisible"
Change coinChange
Change testCoinChange
Var startTimerChangeSuccess = "true"
</EventClick>
</Button>
@ -921,9 +796,10 @@
<State> showTextbacktohome_testcoin </State>
<EventClick>
SAVELOG "backtohome_click"
StatusLog "backtohome"
Coin STANDBY
CoinClear
Open "ROOT/taobin_project/xml/page_board.xml"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>
@ -938,17 +814,13 @@
<Volume> SoundVolume </Volume>
<State> showTextretryprocess_testcoin </State>
<EventClick>
Var TimerbacktoHome = 60
Var TimerbacktoHome = 300
Var currentStage = "init"
Var openTextPlaseWait = "Enable"
Var LastCoin = 0
Var TimerCountDown = 3
SAVELOG "retry_btn_click"
SAVELOG "state_test5bath"
Var showTextCoin5Foc = "Invisible"
Var showTextCoin5Succ = "Invisible"
Var showTextCoin5Fail = "Invisible"
SAVELOG "state_test10bath"
Var showTextCoin10Nor = "Invisible"
Var showTextCoin10Foc = "Invisible"
@ -988,34 +860,7 @@
</Button>
<Button>
<X> 750 </X>
<Y> 1200 </Y>
<Filename> "ROOT/taobin_project/image/new_vending_info/undotest_testcoin.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/new_vending_info/undotest_testcoin_bp.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> "Invisible" </State>
<EventClick>
Var TimerbacktoHome = 60
SAVELOG "undo_btn_click"
If currentStage = "test10bath" Then
Var currentStage = "test5bath"
SAVELOG "state_test5bath"
EndIf
If currentStage = "test20bath" Then
Var currentStage = "test10bath"
SAVELOG "state_test10bath"
EndIf
If currentStage = "testchange10" Then
Var currentStage = "test20bath"
SAVELOG "state_test20bath"
EndIf
</EventClick>
</Button>
;group message end
@ -1031,11 +876,112 @@
<State> showExitbutton </State>
<EventClick>
SAVELOG "exit_button"
StatusLog "backtohome"
Coin STANDBY
CoinClear
Open "ROOT/taobin_project/xml/page_board.xml"
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>
; warning before start zone start
<Image>
<X> 150 </X>
<Y> 150 </Y>
<Height> 800 </Height>
<Width> 800 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/warningbeforetestcoin.png" </Filename>
<State> popupBeforeTestCoinWarning </State>
</Image>
<Button>
<X> 200 </X>
<Y> 800 </Y>
<Filename> "ROOT/taobin_project/image/new_vending_info/beforetestcoinback_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/new_vending_info/beforetestcoinback_bp.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> buttonBeforeTestCoinBack </State>
<EventClick>
SAVELOG "backtohome_click"
StatusLog "backtohome"
Coin STANDBY
CoinClear
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>
<Button>
<X> 630 </X>
<Y> 800 </Y>
<Filename> "ROOT/taobin_project/image/new_vending_info/beforetestcoinstart_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/new_vending_info/beforetestcoinstart_bp.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> buttonTestCoinStart </State>
<EventClick>
SAVELOG "start test coin bank"
StatusLog "start Test Coin"
Var currentStage = "init"
Var openTextPlaseWait = "Enable"
Var popupBeforeTestCoinWarning = "Invisible"
Var buttonBeforeTestCoinBack = "Invisible"
Var buttonTestCoinStart = "Invisible"
</EventClick>
</Button>
; warning before start zone end
; warning after end zone start
<Image>
<X> 150 </X>
<Y> 150 </Y>
<Height> 800 </Height>
<Width> 800 </Width>
<Volume> SoundVolume </Volume>
<Filename> "ROOT/taobin_project/image/new_vending_info/aftertestcoinwarning.png" </Filename>
<State> popupAfterTestCoinWarning </State>
</Image>
<Button>
<X> 630 </X>
<Y> 850 </Y>
<Filename> "ROOT/taobin_project/image/new_vending_info/aftertestcoinfinlish_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/new_vending_info/aftertestcoinfinlish_bp.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<State> buttonTestCoinEnd </State>
<EventClick>
SAVELOG "End test coin bank"
StatusLog "End Test Coin"
Coin STANDBY
CoinClear
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
</EventClick>
</Button>
; warning after end zone end
</Page>

View file

@ -920,6 +920,8 @@
<Value> "Access setting (V2)" </Value>
</Text>
;<QRCode>
;<X> 930 </X>
;<Y> info_cancel_y </Y>

View file

@ -216,8 +216,8 @@
Var HiddenPassPhrase = ""
If ClickOn = "GetAccess" Then
MainMenu2
;Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
;MainMenu2
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
EndIf
If ClickOn = "QuickTest" Then
@ -243,8 +243,8 @@
Var HiddenPassPhrase = ""
If ClickOn = "GetAccess" Then
MainMenu2
;Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
;MainMenu2
Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
EndIf
If ClickOn = "QuickTest" Then

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>