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

View file

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

View file

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

View file

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

View file

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

View file

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