xml/page_topping_select7.xml

This commit is contained in:
wanlop run 2023-12-25 13:04:08 +07:00
parent c7cb20fae9
commit e9852fca96
10 changed files with 14325 additions and 40 deletions

View file

@ -7,6 +7,7 @@
<EventOpen>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
Var TextSelfTestCntColor = "0x746253"
Var UserSeletedSugar = 0
SAVELOG "Event Open Select 7"
@ -465,6 +466,8 @@
TRY "/mnt/sdcard/coffeevending/taobin_project/flash_deal/topping_page.ev"
Var MenuReason = ""
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -475,6 +478,8 @@
If SelectDrinkType = 1 Then
If MenuReady = "YES" Then
@ -591,6 +596,9 @@
EndIf
DEBUGVAR MenuReason
; arm-not-ready
; brew-stg
If show_eng = "true" Then
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
@ -599,6 +607,7 @@
Else
Var ShowTextSelfTestCountDown = "Please wait a moment"
EndIf
Else
If MACHINE_SELF_TEST_COUNT_DOWN > 0 Then
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่ (" + MACHINE_SELF_TEST_COUNT_DOWN
@ -606,6 +615,39 @@
Else
Var ShowTextSelfTestCountDown ="กรุณารอสักครู่"
EndIf
EndIf
If Seeker = "curr" Then
If MenuReason = "arm-not-ready" Then
SAVELOG "goto mode arm-not-ready"
DEBUGVAR DoorCupPosition
If DoorCupPosition = "bottom" Then
Machine RemoveCup
Machine DoorLidOpen
Else
Var TextSelfTestCntColor = "0x513C2F"
Var ConfirmDrinkButtonState = "Enable"
If show_eng = "true" Then
Var ShowTextSelfTestCountDown = "Please take out the glass."
Else
Var ShowTextSelfTestCountDown = "กรุณานําแก้วออก"
EndIf
EndIf
EndIf
EndIf
If MenuReason = "brew-stg" Then
Var ConfirmDrinkButtonState = "Enable"
If Timeout > 15 Then
Var MenuReason = "-"
Var Timeout = 0
Var ConfirmDrinkButtonState = "Invisible"
EndIf
EndIf
Refresh
@ -5021,6 +5063,8 @@
;Var Seeker = "curr"
Var Timeout = 0
Var StatementCheckMenu = "ProductCodeCheck=" + UserSelectProductCode
@ -5316,9 +5360,6 @@
If SelectDrinkType = 1 Then
; Move to MenuReady
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
;Open "ROOT/taobin_project/xml/page_payment.xml"
EndIf
EndIf
@ -5850,9 +5891,19 @@
<Width> 512 </Width>
<Font> KanitTTF </Font>
<Size> 36 </Size>
<Color> 0x746253 </Color>
<Color> TextSelfTestCntColor </Color>
<Value> ShowTextSelfTestCountDown </Value>
</Text>
<EventClick>
If Seeker = "curr" Then
If MenuReason = "arm-not-ready" Then
Machine RemoveCup
Machine DoorLidOpen
EndIf
EndIf
</EventClick>
</Button>
; zone