Merge branch 'masterpiece' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project into sgp_blue
BIN
image/new_vending_info/aftertestcoinfinlish_bn.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/new_vending_info/aftertestcoinfinlish_bp.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/new_vending_info/aftertestcoinwarning.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
image/new_vending_info/beforetestcoinback_bn.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
image/new_vending_info/beforetestcoinback_bp.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
image/new_vending_info/beforetestcoinstart_bn.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/new_vending_info/beforetestcoinstart_bp.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.8 KiB |
BIN
image/new_vending_info/warningbeforetestcoin.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
118
inc/video.inc
|
|
@ -2,13 +2,12 @@
|
|||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<EventOpen>
|
||||
|
||||
If showMultiAds = "true" Then
|
||||
|
||||
|
||||
|
||||
If PreviousFileName = "" Then
|
||||
Var PreviousFileName = PreviseXMLFileName2
|
||||
|
|
@ -23,7 +22,6 @@
|
|||
Var ads_idx = ads_idx + 1
|
||||
EndIf
|
||||
|
||||
|
||||
If ads_idx = 30 Then
|
||||
Var ads_idx = 0
|
||||
EndIf
|
||||
|
|
@ -32,9 +30,44 @@
|
|||
DEBUGVAR a_video_menu[ads_idx]
|
||||
Var ads_idx = 0
|
||||
EndIf
|
||||
If CountDownPauseVideo2 = -1 Then
|
||||
Var CountDownPauseVideo2 = 0
|
||||
EndIf
|
||||
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
DEBUGVAR CurrentXMLFileName2
|
||||
DEBUGVAR PreviousFileName
|
||||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountryName = "Singapore" Then
|
||||
If CurrentXMLFileName2 = "/mnt/sdcard/coffeevending//taobin_project/xml/page_back_to_main.xml" Then
|
||||
|
||||
If CountDownPauseVideo2 < 2 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
If CurrentXMLFileName2 = "" Then
|
||||
|
||||
If CountDownPauseVideo2 < 2 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
If PromotionOreoToppingFreeEnable = 1 Then
|
||||
|
|
@ -48,8 +81,18 @@
|
|||
|
||||
Else
|
||||
DEBUGVAR a_video_menu[ads_idx]
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
If CountryName = "Singapore" Then
|
||||
If CurrentXMLFileName2 = "/mnt/sdcard/coffeevending//taobin_project/xml/page_back_to_main.xml" Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
DEBUGVAR DisplayAds
|
||||
|
||||
|
|
@ -62,9 +105,15 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<EventVideoEnd>
|
||||
|
||||
DEBUGVAR CurrentXMLFileName2
|
||||
Var video_end = "Video end"
|
||||
DEBUGVAR video_end
|
||||
If CountDownPauseVideo2 = -1 Then
|
||||
Var CountDownPauseVideo2 = 0
|
||||
EndIf
|
||||
If showMultiAds = "true" Then
|
||||
|
||||
|
||||
|
|
@ -80,8 +129,34 @@
|
|||
Var ads_idx = 0
|
||||
EndIf
|
||||
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
If CountryName = "Singapore" Then
|
||||
If CurrentXMLFileName2 = "/mnt/sdcard/coffeevending//taobin_project/xml/page_back_to_main.xml" Then
|
||||
If CountDownPauseVideo2 < 2 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
If CurrentXMLFileName2 = "" Then
|
||||
If CountDownPauseVideo2 < 2 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
If PromotionOreoToppingFreeEnable = 1 Then
|
||||
|
|
@ -95,8 +170,24 @@
|
|||
|
||||
Else
|
||||
DEBUGVAR a_video_menu[ads_idx]
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
If CountryName = "Singapore" Then
|
||||
If CurrentXMLFileName2 = "/mnt/sdcard/coffeevending//taobin_project/xml/page_back_to_main.xml" Then
|
||||
If CountDownPauseVideo2 < 1 Then
|
||||
Var AdvTaobinMenu = "/mnt/sdcard
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
Else
|
||||
Var AdvTaobinMenu = "/mnt/sdcard/coffeevending/taobin_project/adv/taobin_adv_menu_" + a_video_menu[ads_idx]
|
||||
Var DisplayAds = AdvTaobinMenu + ".mp4"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR DisplayAds
|
||||
|
|
@ -110,6 +201,9 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
Var XMLFileVideo = "false"
|
||||
DEBUGVAR XMLFileVideo
|
||||
|
||||
</EventVideoEnd>
|
||||
<Filename> DisplayAds </Filename>
|
||||
</Video>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -50,8 +50,6 @@
|
|||
|
||||
Var PrintCoinAmount = 0
|
||||
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/log/drink-success" "--"
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
|
|
|
|||
|
|
@ -632,6 +632,8 @@
|
|||
DEBUGVAR EventTurnOn
|
||||
|
||||
Var UsePepsiTheme = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
|
||||
;inter-page-board
|
||||
If CountryName = "Malaysia" Then
|
||||
|
|
@ -698,6 +700,7 @@
|
|||
If BoxID = 200002 Then
|
||||
Var UseSlideShowVideo = 1
|
||||
EndIf
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -727,6 +730,7 @@
|
|||
Var MaxPhoneNumber = 12
|
||||
|
||||
STRCONTAIN "1215" MaterialAvailable SugarZeroCalEnable
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
EndIf
|
||||
|
||||
;inter-page-board
|
||||
|
|
@ -746,6 +750,7 @@
|
|||
;Var VideoMainPage = "ROOT/taobin_project/inter/aus/video/video_main.mp4"
|
||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
|
||||
|
||||
|
||||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/aus/"
|
||||
|
|
@ -779,6 +784,7 @@
|
|||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 10
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -827,6 +833,7 @@
|
|||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 11
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -844,6 +851,7 @@
|
|||
Var show_eng = "true"
|
||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
|
||||
|
||||
|
||||
Var VideoMainPage = "ROOT/taobin_project/inter/sgp/video/video_main.mp4"
|
||||
|
||||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
|
@ -862,6 +870,10 @@
|
|||
|
||||
Var MemberButtonFileName = ""
|
||||
Var MemberButtonFileNameRest = ""
|
||||
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/main_page_en/bp_main_page_member.png"
|
||||
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page_en/bn_main_page_member.png"
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
|
@ -880,7 +892,10 @@
|
|||
|
||||
; Singapore disable point
|
||||
Var SettingIgnoreCollectPoint = 1
|
||||
|
||||
If BoxID = 210604 Then
|
||||
Var SettingIgnoreCollectPoint = 0
|
||||
EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
|
||||
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
|
||||
|
||||
|
|
@ -901,6 +916,10 @@
|
|||
Var UsePepsiTheme = 1
|
||||
Var TargetThemeNum = 2
|
||||
|
||||
Var VideoAdvert = "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -962,6 +981,7 @@
|
|||
Var MaxPhoneNumber = 9
|
||||
|
||||
Var UsePepsiTheme = 1
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1030,6 +1050,7 @@
|
|||
Var ShowCountDownAsPercent = 1
|
||||
|
||||
DEBUGVAR ShowButtonClick2
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1232,6 +1253,11 @@
|
|||
|
||||
XMLSaveFileNameForResume 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
XMLSaveFileNameForResume 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
Var CountDownPauseVideo2 = 2
|
||||
DEBUGVAR CountDownPauseVideo2
|
||||
Var TimeProfilePrice = 0
|
||||
Var XMLProfilePrevious = XMLProfile
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
|
@ -1305,7 +1331,7 @@
|
|||
<EventUnitTest2>
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
|
@ -1328,118 +1354,49 @@
|
|||
</EventUnitTest2>
|
||||
|
||||
<EventUnitTest3>
|
||||
Var XMLProfile = "General"
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
Var XMLProfile = "ProfileIncrease15"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
|
||||
PRICE "Reload" ""
|
||||
</EventUnitTest3>
|
||||
|
||||
<EventUnitTest4>
|
||||
Var XMLProfile = "ProfileIncrease15"
|
||||
Var XMLProfile = "ProfileIncrease25"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest4>
|
||||
|
||||
<EventUnitTest5>
|
||||
Var XMLProfile = "School"
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
Var XMLProfile = "ProfileIncrease30"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
PRICE "Reload" ""
|
||||
</EventUnitTest5>
|
||||
|
||||
|
||||
<EventUnitTest6>
|
||||
Var XMLProfile = "TierSouki"
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
PRICE "Reload" ""
|
||||
Var XMLProfile = "ProfileIncrease35"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest6>
|
||||
|
||||
<EventUnitTest7>
|
||||
Var XMLProfile = "Tier1"
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
PRICE "Reload" ""
|
||||
Var XMLProfile = "ProfileIncrease45"
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest7>
|
||||
|
||||
<EventUnitTest8>
|
||||
Var XMLProfile = "Discount50"
|
||||
|
||||
|
||||
CacheVarStr "put" XMLProfile
|
||||
;PRICE "Reset" "-"
|
||||
;PRICE "Load" "-"
|
||||
;PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
;DEBUGVAR ProfileIndex[0]
|
||||
;DEBUGVAR ProfileIndex[1]
|
||||
;DEBUGVAR ProfileIndex[2]
|
||||
;DEBUGVAR ProfileIndex[3]
|
||||
;DEBUGVAR ProfileIndex[4]
|
||||
;DEBUGVAR ProfileIndex[5]
|
||||
;DEBUGVAR ProfileIndex[6]
|
||||
;DEBUGVAR ProfileIndex[7]
|
||||
;DEBUGVAR ProfileIndex[8]
|
||||
;DEBUGVAR ProfileIndex[9]
|
||||
;DEBUGVAR ProfileIndex[10]
|
||||
;PRICE "Reload" ""
|
||||
Var TimeProfilePrice = 0
|
||||
|
||||
</EventUnitTest8>
|
||||
|
||||
<EventUnitTest9>
|
||||
Var XMLProfile = "Discount90Per"
|
||||
CacheVarStr "put" XMLProfile
|
||||
|
||||
|
||||
</EventUnitTest9>
|
||||
|
||||
<EventDrink>
|
||||
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
|
||||
</EventDrink>
|
||||
|
|
@ -1597,7 +1554,7 @@
|
|||
Var ShowButtonClick = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
|
|
@ -1606,9 +1563,12 @@
|
|||
EndIf
|
||||
|
||||
If CountDownPauseVideo > 0 Then
|
||||
DEBUGVAR CountDownPauseVideo
|
||||
; ignore
|
||||
|
||||
Var CountDownPauseVideo = CountDownPauseVideo - 1
|
||||
|
||||
Var CountDownPauseVideo2 = CountDownPauseVideo - 1
|
||||
DEBUGVAR CountDownPauseVideo2
|
||||
If CountDownPauseVideo = 2 Then
|
||||
|
||||
TapScreen 30 638
|
||||
|
|
@ -1617,16 +1577,17 @@
|
|||
|
||||
|
||||
If CountDownPauseVideo = 1 Then
|
||||
|
||||
|
||||
TapScreen 860 1004
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If CountDownPauseVideo = 0 Then
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
|
@ -1739,6 +1700,32 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
Var TimeProfilePrice = TimeProfilePrice + 1
|
||||
If XMLProfilePrevious = XMLProfile Then
|
||||
|
||||
Else
|
||||
If TimeProfilePrice = 5 Then
|
||||
PRICE "Reset" "-"
|
||||
PRICE "Load" "-"
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
DEBUGVAR ProfileIndex[3]
|
||||
DEBUGVAR ProfileIndex[4]
|
||||
DEBUGVAR ProfileIndex[5]
|
||||
DEBUGVAR ProfileIndex[6]
|
||||
DEBUGVAR ProfileIndex[7]
|
||||
DEBUGVAR ProfileIndex[8]
|
||||
DEBUGVAR ProfileIndex[9]
|
||||
DEBUGVAR ProfileIndex[10]
|
||||
|
||||
PRICE "Reload" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
|
|
@ -1792,10 +1779,10 @@
|
|||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -1831,7 +1818,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
|
|
@ -1869,7 +1856,7 @@
|
|||
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
;inter-xml-open
|
||||
|
|
@ -1923,7 +1910,7 @@
|
|||
SAVELOG "click ShowButtonClickFull"
|
||||
|
||||
Var NextPage = "-"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
If SpiralOnline = "true" Then
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
|
|
@ -1994,7 +1981,7 @@
|
|||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Var NextPage = "-"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
|
||||
|
|
@ -2017,7 +2004,7 @@
|
|||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
OpenInst 1 VideoAdvert
|
||||
|
||||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
|
|
|||
|
|
@ -52,8 +52,6 @@
|
|||
|
||||
Var PrintCoinAmount = 0
|
||||
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/log/drink-success" "--"
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
If Seeker = "curr" Then
|
||||
Var LastMakeDrinkResult = "-"
|
||||
WRITE_FILE "/mnt/sdcard/coffeevending/log/drink-success" "--"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
|
|
|||
|
|
@ -15,11 +15,15 @@
|
|||
Var SoldCupTimeout = 0
|
||||
|
||||
Var KanitMediumTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||
Var XMLFileVideo = "true"
|
||||
DEBUGVAR XMLFileVideo
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var SoldCupTimeout = SoldCupTimeout + 1
|
||||
|
|
@ -38,6 +42,10 @@
|
|||
|
||||
Refresh
|
||||
EndIf
|
||||
Var Timeout = 0
|
||||
If Timeout > 15 Then
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
@ -46,54 +54,117 @@
|
|||
<X> 39 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 148 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 257 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 383 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 492 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 601 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 730 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 839 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 948 </X>
|
||||
<Y> 450 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/sold_cup/rectangle.png" </Filename>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Image>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -108,6 +179,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[0] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -122,6 +200,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[1] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -136,6 +221,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[2] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -149,7 +241,14 @@
|
|||
<Delay> 850 </Delay>
|
||||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[3] </Value>
|
||||
<Value> SoldCupDigit[3] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -163,7 +262,14 @@
|
|||
<Delay> 700 </Delay>
|
||||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[4] </Value>
|
||||
<Value> SoldCupDigit[4] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -178,6 +284,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[5] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -192,6 +305,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[6] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -206,6 +326,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[7] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<FlipNumber>
|
||||
|
|
@ -220,6 +347,13 @@
|
|||
<Duration> 1500 </Duration>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Value> SoldCupDigit[8] </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</FlipNumber>
|
||||
|
||||
<Text>
|
||||
|
|
@ -230,6 +364,13 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
<Value> cups_sold_text </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -241,6 +382,13 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
<Value> "," </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
|
|
@ -252,6 +400,13 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
<Value> "," </Value>
|
||||
<State> eval(
|
||||
If CountryName = "Singapore" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
) </State>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -920,6 +920,8 @@
|
|||
<Value> "Access setting (V2)" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
;<QRCode>
|
||||
;<X> 930 </X>
|
||||
;<Y> info_cancel_y </Y>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||