THAI INTER: Smoothie, Help center
BIN
animation01/Taobin_empty.mp4
Normal file
BIN
animation01/Taobin_pause_art41.mp4
Normal file
BIN
image/page_help_center/Group.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/page_help_center/bn_0.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/page_help_center/bn_1.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/page_help_center/bn_2.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/page_help_center/bn_3.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/page_help_center/bn_4.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/page_help_center/bn_5.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/page_help_center/bn_6.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/page_help_center/bn_7.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/page_help_center/bn_8.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/page_help_center/bn_9.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/page_help_center/bn_accept_help.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
image/page_help_center/bn_back-1.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/page_help_center/bn_back_to_help.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
image/page_help_center/bn_next_help.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/page_help_center/bp_0.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/page_help_center/bp_1.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/page_help_center/bp_2.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/page_help_center/bp_3.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/page_help_center/bp_4.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/page_help_center/bp_5.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/page_help_center/bp_6.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/page_help_center/bp_7.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/page_help_center/bp_8.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/page_help_center/bp_9.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/page_help_center/bp_accept_help.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
image/page_help_center/bp_back-1.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/page_help_center/bp_back_to_help.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/page_help_center/bp_next_help.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/page_help_center/cb_checked_problem.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
image/page_help_center/cb_uncheck_problem.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
image/page_help_center/help_lead.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
image/page_help_center/helper.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
image/page_help_center/img3.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/page_help_center/text15.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
image/page_payment/helper.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/smoothie/proccess/bd_get_blend.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/smoothie/proccess/bn_back_smoothie.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/smoothie/proccess/bn_cancel_smoothie.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/smoothie/proccess/bn_cancel_smoothie_2.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/smoothie/proccess/bn_get_blend.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/smoothie/proccess/bp_back_smoothie.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/smoothie/proccess/bp_cancel_smoothie.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/smoothie/proccess/bp_get_blend.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/smoothie/proccess/clock.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
image/smoothie/proccess/hand_point.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
image/smoothie/proccess/second.png
Normal file
|
After Width: | Height: | Size: 462 B |
BIN
image/topping_inter/bn_next2.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
image/topping_inter/bp_next2.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/topping_inter/time.png
Normal file
|
After Width: | Height: | Size: 882 B |
|
|
@ -26,4 +26,9 @@
|
||||||
If BoxID = 201729 Then
|
If BoxID = 201729 Then
|
||||||
Var EnableMultiInstanceFromBoxID = 1
|
Var EnableMultiInstanceFromBoxID = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 210699 Then
|
||||||
|
Var EnableMultiInstanceFromBoxID = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
2
inter/tha/xml/helper_show_and_refresh.lxml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||||
|
RootLayoutVisible 15 "show"
|
||||||
|
|
@ -79,7 +79,7 @@ Var InstanceTabOpenFile9 = InstanceTabOpenFile9 + "/page_catalog_group_frozen_fr
|
||||||
|
|
||||||
|
|
||||||
Var InstanceTabOpenFile11 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
Var InstanceTabOpenFile11 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||||
Var InstanceTabOpenFile12 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
Var InstanceTabOpenFile12 = "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||||
Var InstanceTabOpenFile10 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
Var InstanceTabOpenFile10 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.lxml"
|
||||||
|
|
||||||
Var InstanceTabOpenFile13 = "ROOT/taobin_project/inter/tha/xml/multi/tab_menu.lxml"
|
Var InstanceTabOpenFile13 = "ROOT/taobin_project/inter/tha/xml/multi/tab_menu.lxml"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
TopView "show"
|
TopView "show"
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
; helper
|
||||||
|
RootLayoutVisible 15 "hide"
|
||||||
|
|
||||||
Machine WakeUp
|
Machine WakeUp
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||||
|
|
|
||||||
1087
inter/tha/xml/page_help_center.lxml
Normal file
899
inter/tha/xml/page_help_center_sending.lxml
Normal file
|
|
@ -0,0 +1,899 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
SAVELOG "======================================= Help Center ================================"
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var TelephoneNumber = ""
|
||||||
|
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
If ReadyForBrew = "false" Then
|
||||||
|
SAVELOG "Back to main1"
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR Timeout
|
||||||
|
DEBUGVAR PayOK
|
||||||
|
DEBUGVAR ChangeOK
|
||||||
|
DEBUGVAR CancelFlag
|
||||||
|
|
||||||
|
If CreditCardButtonState = "Invisible" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var X_CASH1 = 216 - 113
|
||||||
|
Var X_CASH2 = 439 - 113
|
||||||
|
Var X_CASH3 = 664 - 113
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CamFlag = 1 Then
|
||||||
|
Var CamCount = CamCount + 1
|
||||||
|
If CamCount > 2 Then
|
||||||
|
facecompare 10
|
||||||
|
Var CamFlag = 0
|
||||||
|
Var CamCount = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If AdultState2 = "Enable" Then
|
||||||
|
Var countAdultS2 = countAdultS2 + 1
|
||||||
|
|
||||||
|
If countAdultS2 > 60 Then
|
||||||
|
Var AdultState2 = "Invisible"
|
||||||
|
Var AdultState3 = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var countAdultS2 = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
|
||||||
|
If Timeout >= 120 Then
|
||||||
|
Var alphaState = "Invisible"
|
||||||
|
Var cancelButtonQRPopupState = "Invisible"
|
||||||
|
Var PopupTimeoutEnable = "Invisible"
|
||||||
|
Var QRCodeImageState = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
If RoadShow = "true" Then
|
||||||
|
Else
|
||||||
|
Var TaobinCreditButtonState = "Disable"
|
||||||
|
Var EWalletButtonState = "Disable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
Var QRErrorState = "Invisible"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If Timeout > 210 Then
|
||||||
|
If ActionOKCase = 1 Then
|
||||||
|
Var PayInfoCFlag = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If PayInfoCFlag = 1 Then
|
||||||
|
If Seeker.CodeChannel = 1 Then
|
||||||
|
Var SessionID2 = SelectSlot + ":"
|
||||||
|
Var SessionID2 = SessionID2 + Seeker.ExtendData
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
Var ECommerce = ""
|
||||||
|
Var ECommerce = ECommerce + PriceDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + DiscountDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SessionID2
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + SelectDrink
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.VendingCode
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + Seeker.CodeNumber
|
||||||
|
Var ECommerce = ECommerce + "/"
|
||||||
|
Var ECommerce = ECommerce + "C:"
|
||||||
|
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
GetPayInfo TelephoneNumber ECommerce ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
;Var Timeout = 0
|
||||||
|
EndIf
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
If PressCancel_CashPopup = 2 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
EndIf
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
Else
|
||||||
|
|
||||||
|
If PressCancel_CashPopup = 2 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
EndIf
|
||||||
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If TestLoopMakeDrink = 1 Then
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If CoinInOK = 1 Then
|
||||||
|
Var CoinInCounter = CoinInCounter + 1
|
||||||
|
If CoinInCounter = 1 Then
|
||||||
|
|
||||||
|
SAVELOG "CoinInOk OK"
|
||||||
|
|
||||||
|
;Var ChangeOK = 1
|
||||||
|
Var Timeout = 180
|
||||||
|
Var PayOK = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var stringLog = "Timeout " + Timeout
|
||||||
|
Var stringLog = stringLog + " PayOK"
|
||||||
|
Var stringLog = stringLog + PayOK
|
||||||
|
|
||||||
|
|
||||||
|
If Timeout > 180 Then
|
||||||
|
If PayOK = 1 Then
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
|
||||||
|
If New_Payment = 1 Then
|
||||||
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
|
EndIf
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Else
|
||||||
|
Var TxRef1 = ""
|
||||||
|
CreateTxRef1 TxRef1
|
||||||
|
Var DrinkPaid = SelectDrink
|
||||||
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
|
||||||
|
Else
|
||||||
|
If CancelFlag = 0 Then
|
||||||
|
SAVELOG "Timeout > 180 s."
|
||||||
|
|
||||||
|
If ViewBill > 0 Then
|
||||||
|
CoinVending BILLREJECT
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
CoinVending OFF
|
||||||
|
Var CancelFlag = 1
|
||||||
|
Var cancelState = "Enable"
|
||||||
|
|
||||||
|
If CashlessPayFlag = 1 Then
|
||||||
|
Var CashlessPayFlag = 0
|
||||||
|
If KBankCashlessMachine = 1 Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CancelCounter = 0
|
||||||
|
If CoinAmount = 0 Then
|
||||||
|
|
||||||
|
If Seeker.IntVendingCredit > 0 Then
|
||||||
|
Var BmiYear = Seeker.IntVendingCredit
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||||
|
Var Seeker.IntVendingCredit = 0
|
||||||
|
Var Seeker.CurrCreditUse = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker.IntVendingCampaign = 0 Then
|
||||||
|
VendingQR OFF
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If CancelFlag = 1 Then
|
||||||
|
|
||||||
|
If Seeker.IntVendingCredit > 0 Then
|
||||||
|
Var BmiYear = Seeker.IntVendingCredit
|
||||||
|
Var GetScore = "useCredit"
|
||||||
|
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||||
|
Var Seeker.IntVendingCredit = 0
|
||||||
|
Var Seeker.CurrCreditUse = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CancelCounter = CancelCounter + 1
|
||||||
|
If CancelCounter = CancelNumber Then
|
||||||
|
;Change CoinAmount
|
||||||
|
If CoinAmount > 0 Then
|
||||||
|
If Seeker.StoreCreditFlag = 1 Then
|
||||||
|
Var ChangeOK = 1
|
||||||
|
Else
|
||||||
|
Change CoinAmount
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
If ActionOKCase = 0 Then
|
||||||
|
Var ActionOKCase = 1
|
||||||
|
Var PayInfoCFlag = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If PressCancel_CashPopup = 1 Then
|
||||||
|
Var PressCancel_CashPopup = 2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CancelCounter >= 43 Then
|
||||||
|
Var ChangeOK = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
; This copy in file menu_catalog.xml
|
||||||
|
|
||||||
|
If ChangeOK = 1 Then
|
||||||
|
If ActionOKCase = 0 Then
|
||||||
|
|
||||||
|
If Seeker.TNumberTaobinCredit = "" Then
|
||||||
|
Var TelephoneNumber = "0899999999"
|
||||||
|
Var PayO2 = ""
|
||||||
|
Else
|
||||||
|
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||||
|
Var PayO2 = Seeker.CoffeePinNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var VendingDiscount = 0
|
||||||
|
Var VendingCampaign = 0
|
||||||
|
Var ServiceType = "credit"
|
||||||
|
Var SessionID2 = SelectDrink
|
||||||
|
Var ServiceCredit = "coffee"
|
||||||
|
|
||||||
|
Var PayDetail2 = Seeker.PayDetail2
|
||||||
|
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
Var PayCredit = 1
|
||||||
|
|
||||||
|
Var ActionOKCase = 1
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
If Seeker.IntVendingCampaign = 0 Then
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
;wait ack
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var CoinInCounter = CoinInCounter + 1
|
||||||
|
;If CoinInOK = 1 Then
|
||||||
|
; If CoinInCounter = 3 Then
|
||||||
|
;
|
||||||
|
; Var RemainAmount = PayAmount - CoinAmount
|
||||||
|
; If CoinAmount >= PayAmount Then
|
||||||
|
; Var Canout = CoinAmount - PayAmount
|
||||||
|
; If Canout > 0 Then
|
||||||
|
; Change Canout
|
||||||
|
; Else
|
||||||
|
; Var ChangeOK = 1
|
||||||
|
; EndIf
|
||||||
|
;
|
||||||
|
; Var Timeout = 118
|
||||||
|
; Var PayOK = 1
|
||||||
|
;
|
||||||
|
; MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
;
|
||||||
|
; Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
;
|
||||||
|
; EndIf
|
||||||
|
; EndIf
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
If CancelingPopupFlag = "Enable" Then
|
||||||
|
|
||||||
|
Var CancelingPopupCountDown = CancelingPopupCountDown + 1
|
||||||
|
|
||||||
|
DEBUGVAR CancelingPopupCountDown
|
||||||
|
|
||||||
|
If CancelingPopupCountDown > 3 Then
|
||||||
|
If SendCancelActionFlag = 0 Then
|
||||||
|
SAVELOG "Send Canceled Popup"
|
||||||
|
|
||||||
|
Var SendCancelActionFlag = 1
|
||||||
|
|
||||||
|
If QRPopupOpenFlag = 1 Then
|
||||||
|
VendingQR OFF
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ReqPayInfoFromCashOther = 2 Then
|
||||||
|
DEBUGVAR "CashlessReq OFF "" by user"
|
||||||
|
CashlessReq OFF Seeker.CashlessVendingTrackNumber
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CashlessPayFlag = 1 Then
|
||||||
|
Var CashlessPayFlag = 0
|
||||||
|
If KBankCashlessMachine = 1 Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If CancelingPopupCountDown > 5 Then
|
||||||
|
SAVELOG "Close Cancel Popup"
|
||||||
|
|
||||||
|
Var CancelingPopupFlag = "Invisible"
|
||||||
|
Var alphaState = "Invisible"
|
||||||
|
Var SendCancelActionFlag = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If KBankCashlessMachine = 1 Then
|
||||||
|
If alphaState = "Enable" Then
|
||||||
|
If ReqPayInfoFromCashOther = 2 Then
|
||||||
|
If PopupTimeoutEnable = "Enable" Then
|
||||||
|
If PopupTimeout > 0 Then
|
||||||
|
Var PopupTimeout = PopupTimeout - 1
|
||||||
|
Else
|
||||||
|
Var PopupTimeoutEnable = "Invisible"
|
||||||
|
Var cancelButtonQRPopupState = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
|
||||||
|
;inter-image
|
||||||
|
If LanguageShow = "ENG" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "THAI" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MYANMAR" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
RefreshAll
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 19 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
If Seeker = "next" Then
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
|
Else
|
||||||
|
If BoxID = 210699 Then
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 300 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<Width> 500 </Width>
|
||||||
|
<Height> 72 </Height>
|
||||||
|
<Language>
|
||||||
|
<ID> 002300 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; helper
|
||||||
|
<Image>
|
||||||
|
<X> 440 </X>
|
||||||
|
<Y> 552 </Y>
|
||||||
|
<Width> 210 </Width>
|
||||||
|
<Height> 311 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/helper.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 900 </Y>
|
||||||
|
<Language>
|
||||||
|
<ID> 002353 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 257 </X>
|
||||||
|
<Y> 1035 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/img3.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 399 </X>
|
||||||
|
<Y> 1080 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/text15.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 298 </X>
|
||||||
|
<Y> 1055 </Y>
|
||||||
|
<State> ShowTextNumber </State>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/Group.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 343 </X>
|
||||||
|
<Y> 1203 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "1"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 487 </X>
|
||||||
|
<Y> 1203 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_2.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "2"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 630 </X>
|
||||||
|
<Y> 1203 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_3.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_3.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "3"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 343 </X>
|
||||||
|
<Y> 1317 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_4.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_4.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "4"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 487 </X>
|
||||||
|
<Y> 1317 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_5.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_5.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "5"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 630 </X>
|
||||||
|
<Y> 1317 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_6.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_6.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "6"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 343 </X>
|
||||||
|
<Y> 1431 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_7.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_7.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "7"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 487 </X>
|
||||||
|
<Y> 1431 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_8.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_8.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "8"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 630 </X>
|
||||||
|
<Y> 1431 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_9.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_9.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "9"
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 487 </X>
|
||||||
|
<Y> 1545 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_0.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_0.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TelephoneNumber = TelephoneNumber + "0"
|
||||||
|
Trim TelephoneNumber MaxPhoneNumber
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
If TelNumLen >= MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Enable"
|
||||||
|
EndIf
|
||||||
|
Var ShowTextNumber = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 630 </X>
|
||||||
|
<Y> 1545 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_back-1.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_back-1.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Trim TelephoneNumber -1
|
||||||
|
|
||||||
|
StrLen TelephoneNumber TelNumLen
|
||||||
|
|
||||||
|
|
||||||
|
If TelNumLen < MinPhoneNumber Then
|
||||||
|
Var Tel_Confirm_State = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If TelNumLen = 0 Then
|
||||||
|
Var ShowTextNumber = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowErrorText2 = "Invisible"
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1060 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 48 </Size>
|
||||||
|
<Font> RobotoBlack </Font>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Value> TelephoneNumber </Value>
|
||||||
|
<Format> Telnum-mask-1 </Format>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; confirm next
|
||||||
|
<Button>
|
||||||
|
<X> 652 </X>
|
||||||
|
<Y> 1735 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_accept_help.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bp_accept_help.png" </FilenamePress>
|
||||||
|
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 585 </X>
|
||||||
|
<Y> 1765 </Y>
|
||||||
|
<State> Tel_Confirm_State </State>
|
||||||
|
<Width> 500 </Width>
|
||||||
|
<Height> 75 </Height>
|
||||||
|
<Language>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<ID> 002352 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 64 </X>
|
||||||
|
<Y> 1735 </Y>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/bn_back_to_help.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_help_center/bn_back_to_help.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> 1765 </Y>
|
||||||
|
<Width> 250 </Width>
|
||||||
|
<Height> 75 </Height>
|
||||||
|
<Language>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 0 </Y>
|
||||||
|
<ID> 002351 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
38
inter/tha/xml/page_instance_empty.lxml
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
<Popup>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
RootLayoutVisible 13 "hide"
|
||||||
|
|
||||||
|
;OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
DEBUGVAR Timeout
|
||||||
|
If Timeout > 66 Then
|
||||||
|
SAVELOG "Timeout"
|
||||||
|
|
||||||
|
TabMenuVisibleInst 99
|
||||||
|
|
||||||
|
If Seeker = "next" Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
|
Else
|
||||||
|
SAVELOG "Back"
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
Var Seeker.CollectPointMain = 1
|
Var Seeker.CollectPointMain = 1
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -69,45 +69,46 @@
|
||||||
|
|
||||||
<Video>
|
<Video>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 500 </Y>
|
||||||
<Refresh> "Reload" </Refresh>
|
<Refresh> "Reload" </Refresh>
|
||||||
<Loop> "true" </Loop>
|
<Loop> "true" </Loop>
|
||||||
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
|
<Filename> VideoSmoothieProcess </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
;<Text>
|
||||||
<Text>
|
;<X> 0 </X>
|
||||||
<X> 0 </X>
|
;<Y> 1337 </Y>
|
||||||
<Y> 1337 </Y>
|
;<Width> 1080 </Width>
|
||||||
<Width> 1080 </Width>
|
;<Height> 85 </Height>
|
||||||
<Height> 85 </Height>
|
;<Align> Center </Align>
|
||||||
<Align> Center </Align>
|
;<Language>
|
||||||
<Language>
|
;<ID> 1201 </ID>
|
||||||
<ID> 1201 </ID>
|
;</Language>
|
||||||
</Language>
|
;</Text>
|
||||||
</Text>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 77 </X>
|
<X> 210 </X>
|
||||||
<Y> 1531 </Y>
|
<Y> 1431 </Y>
|
||||||
<Filename> Var(DirImage + "/bn_main_button.png") </Filename>
|
<State> Show_btn_process </State>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_button.png") </FilenamePress>
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_get_blend.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_get_blend.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/smoothie/proccess/bd_get_blend.png" </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var SmoothieProcessState = "press"
|
Var SmoothieProcessState = "press"
|
||||||
__CMD "UseArm" "2" "-" "-"
|
__CMD "UseArm" "2" "-" "-"
|
||||||
Machine InsertCupAndOpen
|
Machine InsertCupAndOpen
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1571 </Y>
|
<Y> 1451 </Y>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 85 </Height>
|
<Height> 85 </Height>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
|
|
@ -116,4 +117,23 @@
|
||||||
</Language>
|
</Language>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
; second time
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> CountDown_x </X>
|
||||||
|
<Y> 1540 </Y>
|
||||||
|
<Size> 72 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> TimeOutSmoothiesProcess </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> Second_x </X>
|
||||||
|
<Y> 1560 </Y>
|
||||||
|
<Size> 52 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> "S" </Value>
|
||||||
|
</Text>
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,16 @@
|
||||||
|
|
||||||
Machine WakeUp
|
Machine WakeUp
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||||
|
|
||||||
DEBUGVAR ToppingNewShow
|
DEBUGVAR ToppingNewShow
|
||||||
|
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/campaign_sound.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/campaign_sound.ev"
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/ticket_time_blending.ev"
|
||||||
|
|
||||||
DEBUGVAR OpenFromPageBoard
|
DEBUGVAR OpenFromPageBoard
|
||||||
If OpenFromPageBoard = 1 Then
|
If OpenFromPageBoard = 1 Then
|
||||||
Var OpenFromPageBoard = 0
|
Var OpenFromPageBoard = 0
|
||||||
|
|
@ -52,7 +56,30 @@
|
||||||
|
|
||||||
|
|
||||||
Var ProcessCupDebugText = ""
|
Var ProcessCupDebugText = ""
|
||||||
Var TimeOutSmoothiesProcess = 120
|
|
||||||
|
Var FromSmoothieProcess = "Enable"
|
||||||
|
Var FromPaymentCash = "Invisible"
|
||||||
|
Var FromBrewingProcess = "Invisible"
|
||||||
|
|
||||||
|
Var TimeOutHandPoint = 0
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
Var MotionHandPoint = 0
|
||||||
|
|
||||||
|
Var Show_btn_process = "Enable"
|
||||||
|
Var Showhelper = "Invisible"
|
||||||
|
|
||||||
|
Var VideoSmoothieProcess = "ROOT/taobin_project/animation01/Taobin_empty.mp4"
|
||||||
|
|
||||||
|
DEBUGVAR TimeOutSmoothiesProcess
|
||||||
|
|
||||||
|
If TimeOutSmoothiesProcess < 100 Then
|
||||||
|
Var Second_x = 580
|
||||||
|
Var CountDown_x = 475
|
||||||
|
EndIf
|
||||||
|
If TimeOutSmoothiesProcess > 99 Then
|
||||||
|
Var Second_x = 600
|
||||||
|
Var CountDown_x = 460
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var TextDoorButtonID = 001202
|
Var TextDoorButtonID = 001202
|
||||||
|
|
||||||
|
|
@ -65,13 +92,80 @@
|
||||||
|
|
||||||
;SAVELOG SoundPlaying
|
;SAVELOG SoundPlaying
|
||||||
|
|
||||||
|
Var TimeOutHandPoint = TimeOutHandPoint + 1
|
||||||
|
|
||||||
|
If TextDoorButtonID = 001202 Then
|
||||||
|
If Show_btn_process = "Disable" Then
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
Else
|
||||||
|
If TimeOutHandPoint > 9 Then
|
||||||
|
If MotionHandPoint = 0 Then
|
||||||
|
Var ShowHandPoint = "Enable"
|
||||||
|
Var MotionHandPoint = 1
|
||||||
|
Else
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
Var MotionHandPoint = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
EndIf
|
||||||
|
If BoxID = 210699 Then
|
||||||
|
If TextDoorButtonID = 001206 Then
|
||||||
|
If Show_btn_process = "Disable" Then
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
Else
|
||||||
|
If TimeOutHandPoint > 9 Then
|
||||||
|
If MotionHandPoint = 0 Then
|
||||||
|
Var ShowHandPoint = "Enable"
|
||||||
|
Var MotionHandPoint = 1
|
||||||
|
Else
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
Var MotionHandPoint = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ShowHandPoint = "Invisible"
|
||||||
|
EndIf
|
||||||
|
;Var Show_btn_process = "Disable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Show_btn_process = "Disable" Then
|
||||||
|
Var VideoSmoothieProcess = "ROOT/taobin_project/animation01/Taobin_pause_art41.mp4"
|
||||||
|
Var Showhelper = "Enable"
|
||||||
|
Var Show_btn_help = "Invisible"
|
||||||
|
Else
|
||||||
|
If EnableHelperShow = 1 Then
|
||||||
|
Var Show_btn_help = "Enable"
|
||||||
|
Else
|
||||||
|
Var Show_btn_help = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var VideoSmoothieProcess = "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4"
|
||||||
|
Var Showhelper = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TimeOutSmoothiesProcess < 100 Then
|
||||||
|
Var Second_x = 580
|
||||||
|
Var CountDown_x = 475
|
||||||
|
EndIf
|
||||||
|
If TimeOutSmoothiesProcess > 99 Then
|
||||||
|
Var Second_x = 600
|
||||||
|
Var CountDown_x = 460
|
||||||
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR TimeOutSmoothiesProcess
|
DEBUGVAR TimeOutSmoothiesProcess
|
||||||
If TimeOutSmoothiesProcess > 0 Then
|
If TimeOutSmoothiesProcess > 0 Then
|
||||||
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
If Show_btn_process = "Disable" Then
|
||||||
|
; do not thing
|
||||||
|
Else
|
||||||
|
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TimeOutSmoothiesProcess = 0 Then
|
If TimeOutSmoothiesProcess = 0 Then
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_3.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -183,8 +277,11 @@
|
||||||
|
|
||||||
<EventLanguageOnChange>
|
<EventLanguageOnChange>
|
||||||
DEBUGVAR LanguageShow
|
DEBUGVAR LanguageShow
|
||||||
|
Var ButtonLanguageCurrentXPosition = 1015
|
||||||
|
Var ButtonLanguageCurrentYPosition = 458 - 38
|
||||||
|
|
||||||
|
Var ButtonLanguageListXPosition = 990
|
||||||
|
Var ButtonLanguageListYPosition = 450 - 38
|
||||||
Var LanguageButtonEnable = "Enable"
|
Var LanguageButtonEnable = "Enable"
|
||||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
|
@ -201,7 +298,9 @@
|
||||||
<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_back_to_main.xml"
|
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
DEBUGVAR OpenFileXML
|
||||||
|
Open OpenFromXML
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -217,33 +316,77 @@
|
||||||
|
|
||||||
<Video>
|
<Video>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 500 </Y>
|
||||||
<Refresh> "Reload" </Refresh>
|
<Refresh> "Reload" </Refresh>
|
||||||
<Loop> "true" </Loop>
|
<Loop> "true" </Loop>
|
||||||
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
|
<Filename> VideoSmoothieProcess </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
|
; helper
|
||||||
|
;<Image>
|
||||||
|
;<X> 420 </X>
|
||||||
|
;<Y> 652 </Y>
|
||||||
|
;<State> Showhelper </State>
|
||||||
|
;<Width> 240 </Width>
|
||||||
|
;<Height> 341 </Height>
|
||||||
|
;<Filename> "ROOT/taobin_project/image/page_help_center/helper.png" </Filename>
|
||||||
|
;</Image>
|
||||||
|
|
||||||
|
; Showhelper
|
||||||
|
;<Text>
|
||||||
|
;<X> 0 </X>
|
||||||
|
;<Y> 1080 </Y>
|
||||||
|
;<State> Showhelper </State>
|
||||||
|
;<Language>
|
||||||
|
;<ID> 002409 </ID>
|
||||||
|
;</Language>
|
||||||
|
;</Text>
|
||||||
|
|
||||||
<Text>
|
; helper button
|
||||||
<X> 0 </X>
|
<Button>
|
||||||
<Y> 1337 </Y>
|
<X> 940 </X>
|
||||||
<Width> 1080 </Width>
|
<Y> 420 </Y>
|
||||||
<Height> 85 </Height>
|
<State> Show_btn_help </State>
|
||||||
<Align> Center </Align>
|
<Filename> "ROOT/taobin_project/image/page_payment/helper.png" </Filename>
|
||||||
<Language>
|
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||||
<ID> 1201 </ID>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
</Language>
|
<Volume> SoundVolume </Volume>
|
||||||
</Text>
|
<EventClick>
|
||||||
|
|
||||||
|
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
; helper button lead
|
||||||
|
<Button>
|
||||||
|
<X> 940 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<State> Showhelper </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_help_center/help_lead.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 77 </X>
|
<X> 210 </X>
|
||||||
<Y> 1531 </Y>
|
<Y> 1431 </Y>
|
||||||
<Filename> Var(DirImage + "/bn_main_button.png") </Filename>
|
<State> Show_btn_process </State>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_button.png") </FilenamePress>
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_get_blend.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_get_blend.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/smoothie/proccess/bd_get_blend.png" </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -255,7 +398,7 @@
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1571 </Y>
|
<Y> 1451 </Y>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 85 </Height>
|
<Height> 85 </Height>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
|
|
@ -264,28 +407,63 @@
|
||||||
</Language>
|
</Language>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
; second time
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> CountDown_x </X>
|
||||||
|
<Y> 1540 </Y>
|
||||||
|
<Size> 72 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> TimeOutSmoothiesProcess </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> Second_x </X>
|
||||||
|
<Y> 1560 </Y>
|
||||||
|
<Size> 52 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> "S" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 725 </X>
|
||||||
|
<Y> 1431 </Y>
|
||||||
|
<State> ShowHandPoint </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/hand_point.png" </Filename>
|
||||||
|
<Image>
|
||||||
|
|
||||||
|
|
||||||
; cancel
|
; cancel
|
||||||
<Button>
|
<Button>
|
||||||
<X> 337 </X>
|
<X> 210 </X>
|
||||||
<Y> 1743 </Y>
|
<Y> 1700 </Y>
|
||||||
<Filename> Var(DirImage + "/bn_cancel.png") </Filename>
|
<State> Show_btn_process </State>
|
||||||
<FilenamePress> Var(DirImage + "/bp_cancel.png") </FilenamePress>
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_cancel_smoothie.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_cancel_smoothie.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/smoothie/proccess/bp_cancel_smoothie.png" </FilenameDisable>
|
||||||
<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_back_to_main.xml"
|
|
||||||
|
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_2.xml"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1767 </Y>
|
<Y> 1724 </Y>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 85 </Height>
|
<Height> 85 </Height>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Language>
|
<Language>
|
||||||
<ID> 001210 </ID>
|
<ID> 002402 </ID>
|
||||||
</Language>
|
</Language>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
|
||||||
484
inter/tha/xml/page_smoothie_suggest_and_process_2.xml
Normal file
|
|
@ -0,0 +1,484 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
;<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
SAVELOG "======================================= page_smoothie_suggest_and_process_2.xml ================================"
|
||||||
|
; On open
|
||||||
|
|
||||||
|
TopView "show"
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Machine WakeUp
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||||
|
|
||||||
|
DEBUGVAR ToppingNewShow
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/campaign_sound.ev"
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/ticket_time_blending.ev"
|
||||||
|
|
||||||
|
DEBUGVAR OpenFromPageBoard
|
||||||
|
If OpenFromPageBoard = 1 Then
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
|
Var langnext1 = "true"
|
||||||
|
Var langnext2 = "true"
|
||||||
|
Var langnext3 = "true"
|
||||||
|
Var langnext4 = "true"
|
||||||
|
Var langnext5 = "true"
|
||||||
|
Var langnext6 = "true"
|
||||||
|
Var langnext7 = "true"
|
||||||
|
Var langnext8 = "true"
|
||||||
|
Var langnext9 = "true"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var NextPage = "-"
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Machine DoorLidClose
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
|
; Clear value
|
||||||
|
Topping "clear" "-"
|
||||||
|
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/smoothie/proccess"
|
||||||
|
|
||||||
|
|
||||||
|
Var ProcessCupDebugText = ""
|
||||||
|
|
||||||
|
DEBUGVAR TimeOutSmoothiesProcess
|
||||||
|
|
||||||
|
If TimeOutSmoothiesProcess < 101 Then
|
||||||
|
If TimeOutSmoothiesProcess < 11 Then
|
||||||
|
Var CountDown_x_1 = 515
|
||||||
|
Var Second_x_1 = 560
|
||||||
|
Else
|
||||||
|
Var CountDown_x_1 = 485
|
||||||
|
Var Second_x_1 = 560
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If TimeOutSmoothiesProcess > 98 Then
|
||||||
|
Var CountDown_x_1 = 485
|
||||||
|
Var Second_x_1 = 585
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var TextDoorButtonID = 001202
|
||||||
|
|
||||||
|
Var SmoothieProcessState = "idle"
|
||||||
|
Var CountDownCertainConfuse = 5
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
;SAVELOG SoundPlaying
|
||||||
|
|
||||||
|
; time moving
|
||||||
|
If TimeOutSmoothiesProcess < 101 Then
|
||||||
|
If TimeOutSmoothiesProcess < 11 Then
|
||||||
|
Var CountDown_x_1 = 515
|
||||||
|
Var Second_x_1 = 560
|
||||||
|
Else
|
||||||
|
Var CountDown_x_1 = 485
|
||||||
|
Var Second_x_1 = 560
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
If TimeOutSmoothiesProcess > 98 Then
|
||||||
|
Var CountDown_x_1 = 485
|
||||||
|
Var Second_x_1 = 585
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR TimeOutSmoothiesProcess
|
||||||
|
If TimeOutSmoothiesProcess > 0 Then
|
||||||
|
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TimeOutSmoothiesProcess = 0 Then
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_3.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR CH9991_Status
|
||||||
|
DEBUGVAR CH9992_Status
|
||||||
|
DEBUGVAR CH9993_Status
|
||||||
|
DEBUGVAR CH9994_Status
|
||||||
|
|
||||||
|
DEBUGVAR HaveCup
|
||||||
|
DEBUGVAR CupOnArm
|
||||||
|
DEBUGVAR DoorCupPosition
|
||||||
|
DEBUGVAR CupChecking
|
||||||
|
DEBUGVAR CupArmMove
|
||||||
|
DEBUGVAR buttonRemoveCup
|
||||||
|
DEBUGVAR SmoothieProcessState
|
||||||
|
DEBUGVAR AnyArmConfuse
|
||||||
|
DEBUGVAR SensorDoorCupStatus
|
||||||
|
|
||||||
|
|
||||||
|
If CH9992_Status = "READY" Then
|
||||||
|
|
||||||
|
If DoorCupPosition = "bottom" Then
|
||||||
|
If SmoothieProcessState = "idle" Then
|
||||||
|
Var TextDoorButtonID = 001202
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "insert" Then
|
||||||
|
Var TextDoorButtonID = 001203
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If DoorCupPosition = "top" Then
|
||||||
|
Var TextDoorButtonID = 001204
|
||||||
|
If SmoothieProcessState = "press" Then
|
||||||
|
Var SmoothieProcessState = "insert"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "idle" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "press" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var TextDoorButtonID = 001205
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If AnyArmConfuse = 1 Then
|
||||||
|
If CountDownCertainConfuse > 0 Then
|
||||||
|
Var CountDownCertainConfuse = CountDownCertainConfuse - 1
|
||||||
|
|
||||||
|
If CountDownCertainConfuse = 0 Then
|
||||||
|
Machine DoorClose
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If CH9992_Status = "RUNNING" Then
|
||||||
|
Var SmoothieProcessState = "blendnow"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SmoothieProcessState = "blendnow" Then
|
||||||
|
Var TextDoorButtonID = 001206
|
||||||
|
|
||||||
|
Var SelectDrink = "12-01-07-0001"
|
||||||
|
Var SelectSugarID = ""
|
||||||
|
|
||||||
|
Topping "Select" SelectDrink
|
||||||
|
|
||||||
|
Var SmoothieProcessState = "blending"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SmoothieProcessState = "blending" Then
|
||||||
|
|
||||||
|
|
||||||
|
Menu "set-name" "Smoothie "
|
||||||
|
Menu "set-image" Seeker.PictureDrink
|
||||||
|
|
||||||
|
|
||||||
|
;Open "ROOT/taobin_project/inter/tha/xml/page_payment_pack_and_send.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR TextDoorButtonID
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
;DEBUGVAR Var [CH9992_Status] = RUNNING
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
|
||||||
|
If LanguageShow = "THAI" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "ENG" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MYANMAR" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
RefreshAll
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1540 </Height>
|
||||||
|
<Color> "0xeae6e1" </Color>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 19 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
DEBUGVAR OpenFileXML
|
||||||
|
Open OpenFromXML
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; zone
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 350 </X>
|
||||||
|
<Y> 800 </Y>
|
||||||
|
<Width> 400 </Width>
|
||||||
|
<Height> 500 </Height>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 300 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<Width> 500 </Width>
|
||||||
|
<Height> 72 </Height>
|
||||||
|
<Language>
|
||||||
|
<ID> 002400 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 550 </Y>
|
||||||
|
<Language>
|
||||||
|
<ID> 002405 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1280 </Y>
|
||||||
|
<Language>
|
||||||
|
<ID> 002407 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; cancel
|
||||||
|
<Button>
|
||||||
|
<X> 210 </X>
|
||||||
|
<Y> 1500 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_cancel_smoothie.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_cancel_smoothie.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var TimeOutSmoothiesProcess = 120
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1530 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 85 </Height>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Language>
|
||||||
|
<ID> 002402 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; go back
|
||||||
|
<Button>
|
||||||
|
<X> 210 </X>
|
||||||
|
<Y> 1650 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_back_smoothie.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bp_back_smoothie.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
DEBUGVAR OpenFromXML
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open OpenFromXML
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1682 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 85 </Height>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Language>
|
||||||
|
<ID> 002403 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
; second time
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> CountDown_x_1 </X>
|
||||||
|
<Y> 1743 </Y>
|
||||||
|
<Width> 150 </Width>
|
||||||
|
<Height> 72 </Height>
|
||||||
|
<Size> 44 </Size>
|
||||||
|
<Font> RobotoBold </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> TimeOutSmoothiesProcess </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> Second_x_1 </X>
|
||||||
|
<Y> 1760 </Y>
|
||||||
|
<Width> 23 </Width>
|
||||||
|
<Height> 30 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/second.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ProcessCupDebugText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 1 </X>
|
||||||
|
<Y> 1 </Y>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> end </Align>
|
||||||
|
<Color> 0xFF0000 </Color>
|
||||||
|
<Value> "V01 "</Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
<EventUnitTest4>
|
||||||
|
Var StrawGetMoreState = "Invisible"
|
||||||
|
Var bg_lidProblem_ST = "Enable"
|
||||||
|
Var GetLidButtonState2 = "Invisible"
|
||||||
|
Var bg_lidProblem_ST2 ="Enable"
|
||||||
|
|
||||||
|
Var XStraw = 376
|
||||||
|
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||||
|
Var bg_strawProblem_ST2 ="Enable"
|
||||||
|
</EventUnitTest4>
|
||||||
|
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var MachineState_Result = 0
|
||||||
|
Var waitAckPay = 1
|
||||||
|
Var BREW_COUNT_DOWN_FROM_APP = "on"
|
||||||
|
Var CountDownBrewing = 122
|
||||||
|
Var MachineStage = "testing"
|
||||||
|
Var BREW_CNT = 122
|
||||||
|
|
||||||
|
Var InternationalEnable = 1
|
||||||
|
DEBUGVAR InternationalEnable
|
||||||
|
Var LanguageObjectShow = "Enable"
|
||||||
|
Var NoLangObjectShow = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var Top2Timeout = 19
|
||||||
|
DEBUGVAR CountDownBrewing
|
||||||
|
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
</EventUnitTest2>
|
||||||
|
; Initial for jump to page_brewing3.xml
|
||||||
|
<EventUnitTest3>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_collect_point_1.lxml"
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||||
|
</EventUnitTest3>
|
||||||
|
|
||||||
|
<EventUnitTest5>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_check_member2_campaign.xml"
|
||||||
|
</EventUnitTest5>
|
||||||
|
|
||||||
|
<EventUnitTest6>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||||
|
</EventUnitTest6>
|
||||||
|
|
||||||
|
<EventUnitTest7>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_topup_credit3-TopupSuccess.xml"
|
||||||
|
</EventUnitTest7>
|
||||||
|
|
||||||
|
<EventUnitTest8>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_credit3-TopupSuccess.xml"
|
||||||
|
</EventUnitTest8>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
386
inter/tha/xml/page_smoothie_suggest_and_process_3.xml
Normal file
|
|
@ -0,0 +1,386 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
;<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
SAVELOG "======================================= page_smoothie_suggest_and_process_3.xml ================================"
|
||||||
|
; On open
|
||||||
|
|
||||||
|
TopView "show"
|
||||||
|
; On open
|
||||||
|
|
||||||
|
Machine WakeUp
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||||
|
|
||||||
|
DEBUGVAR ToppingNewShow
|
||||||
|
|
||||||
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/campaign_sound.ev"
|
||||||
|
|
||||||
|
DEBUGVAR OpenFromPageBoard
|
||||||
|
If OpenFromPageBoard = 1 Then
|
||||||
|
Var OpenFromPageBoard = 0
|
||||||
|
Var langnext1 = "true"
|
||||||
|
Var langnext2 = "true"
|
||||||
|
Var langnext3 = "true"
|
||||||
|
Var langnext4 = "true"
|
||||||
|
Var langnext5 = "true"
|
||||||
|
Var langnext6 = "true"
|
||||||
|
Var langnext7 = "true"
|
||||||
|
Var langnext8 = "true"
|
||||||
|
Var langnext9 = "true"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var NextPage = "-"
|
||||||
|
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Machine DoorLidClose
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
CoinVending OFF
|
||||||
|
|
||||||
|
|
||||||
|
; Clear value
|
||||||
|
Topping "clear" "-"
|
||||||
|
|
||||||
|
|
||||||
|
Var DirImage = "ROOT/taobin_project/image/smoothie/proccess"
|
||||||
|
|
||||||
|
|
||||||
|
Var ProcessCupDebugText = ""
|
||||||
|
|
||||||
|
Var TimeOutSmoothiesProcess = 0
|
||||||
|
|
||||||
|
DEBUGVAR TimeOutSmoothiesProcess
|
||||||
|
|
||||||
|
|
||||||
|
Var SmoothieProcessState = "idle"
|
||||||
|
Var CountDownCertainConfuse = 5
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
;SAVELOG SoundPlaying
|
||||||
|
|
||||||
|
DEBUGVAR CH9991_Status
|
||||||
|
DEBUGVAR CH9992_Status
|
||||||
|
DEBUGVAR CH9993_Status
|
||||||
|
DEBUGVAR CH9994_Status
|
||||||
|
|
||||||
|
DEBUGVAR HaveCup
|
||||||
|
DEBUGVAR CupOnArm
|
||||||
|
DEBUGVAR DoorCupPosition
|
||||||
|
DEBUGVAR CupChecking
|
||||||
|
DEBUGVAR CupArmMove
|
||||||
|
DEBUGVAR buttonRemoveCup
|
||||||
|
DEBUGVAR SmoothieProcessState
|
||||||
|
DEBUGVAR AnyArmConfuse
|
||||||
|
DEBUGVAR SensorDoorCupStatus
|
||||||
|
|
||||||
|
|
||||||
|
If CH9992_Status = "READY" Then
|
||||||
|
|
||||||
|
If DoorCupPosition = "bottom" Then
|
||||||
|
If SmoothieProcessState = "idle" Then
|
||||||
|
Var TextDoorButtonID = 001202
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "insert" Then
|
||||||
|
Var TextDoorButtonID = 001203
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If DoorCupPosition = "top" Then
|
||||||
|
Var TextDoorButtonID = 001204
|
||||||
|
If SmoothieProcessState = "press" Then
|
||||||
|
Var SmoothieProcessState = "insert"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "idle" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
If SmoothieProcessState = "press" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var TextDoorButtonID = 001205
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If AnyArmConfuse = 1 Then
|
||||||
|
If CountDownCertainConfuse > 0 Then
|
||||||
|
Var CountDownCertainConfuse = CountDownCertainConfuse - 1
|
||||||
|
|
||||||
|
If CountDownCertainConfuse = 0 Then
|
||||||
|
Machine DoorClose
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If CH9992_Status = "RUNNING" Then
|
||||||
|
Var SmoothieProcessState = "blendnow"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SmoothieProcessState = "blendnow" Then
|
||||||
|
Var TextDoorButtonID = 001206
|
||||||
|
|
||||||
|
Var SelectDrink = "12-01-07-0001"
|
||||||
|
Var SelectSugarID = ""
|
||||||
|
|
||||||
|
Topping "Select" SelectDrink
|
||||||
|
|
||||||
|
Var SmoothieProcessState = "blending"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SmoothieProcessState = "blending" Then
|
||||||
|
|
||||||
|
|
||||||
|
Menu "set-name" "Smoothie "
|
||||||
|
Menu "set-image" Seeker.PictureDrink
|
||||||
|
|
||||||
|
|
||||||
|
;Open "ROOT/taobin_project/inter/tha/xml/page_payment_pack_and_send.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
;DEBUGVAR Var [CH9992_Status] = RUNNING
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
|
||||||
|
If LanguageShow = "THAI" Then
|
||||||
|
Var warning_time_x = 220
|
||||||
|
Var warning_time_y = 570
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "ENG" Then
|
||||||
|
Var warning_time_x = 240
|
||||||
|
Var warning_time_y = 570
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MYANMAR" Then
|
||||||
|
Var warning_time_x = 110
|
||||||
|
Var warning_time_y = 555
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
Var warning_time_x = 350
|
||||||
|
Var warning_time_y = 570
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
RefreshAll
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1540 </Height>
|
||||||
|
<Color> "0xeae6e1" </Color>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 19 </X>
|
||||||
|
<Y> 420 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
DEBUGVAR OpenFileXML
|
||||||
|
Open OpenFromXML
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; zone
|
||||||
|
;
|
||||||
|
;
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 350 </X>
|
||||||
|
<Y> 800 </Y>
|
||||||
|
<Width> 400 </Width>
|
||||||
|
<Height> 500 </Height>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
; warning time
|
||||||
|
<Image>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> warning_time_x </X>
|
||||||
|
<Y> warning_time_y </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/clock.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> 550 </Y>
|
||||||
|
<Language>
|
||||||
|
<ID> 002408 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1280 </Y>
|
||||||
|
<Language>
|
||||||
|
<ID> 002406 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; cancel to home
|
||||||
|
<Button>
|
||||||
|
<X> 210 </X>
|
||||||
|
<Y> 1730 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bn_cancel_smoothie_2.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/smoothie/proccess/bn_cancel_smoothie.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var TimeOutSmoothiesProcess = 120
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1760 </Y>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 85 </Height>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Language>
|
||||||
|
<ID> 002404 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ProcessCupDebugText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 1 </X>
|
||||||
|
<Y> 1 </Y>
|
||||||
|
<Font> KanitTTF </Font>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Align> end </Align>
|
||||||
|
<Color> 0xFF0000 </Color>
|
||||||
|
<Value> "V01 "</Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
<EventUnitTest4>
|
||||||
|
Var StrawGetMoreState = "Invisible"
|
||||||
|
Var bg_lidProblem_ST = "Enable"
|
||||||
|
Var GetLidButtonState2 = "Invisible"
|
||||||
|
Var bg_lidProblem_ST2 ="Enable"
|
||||||
|
|
||||||
|
Var XStraw = 376
|
||||||
|
Var EnableGetMoreStrawFileName2 = "Invisible"
|
||||||
|
Var bg_strawProblem_ST2 ="Enable"
|
||||||
|
</EventUnitTest4>
|
||||||
|
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var MachineState_Result = 0
|
||||||
|
Var waitAckPay = 1
|
||||||
|
Var BREW_COUNT_DOWN_FROM_APP = "on"
|
||||||
|
Var CountDownBrewing = 122
|
||||||
|
Var MachineStage = "testing"
|
||||||
|
Var BREW_CNT = 122
|
||||||
|
|
||||||
|
Var InternationalEnable = 1
|
||||||
|
DEBUGVAR InternationalEnable
|
||||||
|
Var LanguageObjectShow = "Enable"
|
||||||
|
Var NoLangObjectShow = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
|
Var Top2Timeout = 19
|
||||||
|
DEBUGVAR CountDownBrewing
|
||||||
|
;Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
</EventUnitTest2>
|
||||||
|
; Initial for jump to page_brewing3.xml
|
||||||
|
<EventUnitTest3>
|
||||||
|
|
||||||
|
;Open "ROOT/taobin_project/inter/tha/xml/page_collect_point_1.lxml"
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||||
|
</EventUnitTest3>
|
||||||
|
|
||||||
|
<EventUnitTest5>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_check_member2_campaign.xml"
|
||||||
|
</EventUnitTest5>
|
||||||
|
|
||||||
|
<EventUnitTest6>
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
|
||||||
|
</EventUnitTest6>
|
||||||
|
|
||||||
|
<EventUnitTest7>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_topup_credit3-TopupSuccess.xml"
|
||||||
|
</EventUnitTest7>
|
||||||
|
|
||||||
|
<EventUnitTest8>
|
||||||
|
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment_credit3-TopupSuccess.xml"
|
||||||
|
</EventUnitTest8>
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -177,6 +177,69 @@
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
DEBUGVAR LanguageShow
|
||||||
|
DEBUGVAR InternationalEnable
|
||||||
|
|
||||||
|
SAVELOG "EventLanguageOnChange menu -list"
|
||||||
|
|
||||||
|
If InternationalEnable = 1 Then
|
||||||
|
If CountryName = "Thailand" Then
|
||||||
|
Var show_eng_button_stage = "Invisible"
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
EndIf
|
||||||
|
If CountryName = "HongKong" Then
|
||||||
|
Var show_eng_button_stage = "Invisible"
|
||||||
|
Var LanguageButtonEnable = "Invisible"
|
||||||
|
Var BtnLangToggleIndex = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var LanguageButtonEnable = "Invisible"
|
||||||
|
Var show_eng_button_stage = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "ENG" Then
|
||||||
|
Var showname_max_size = 58
|
||||||
|
Var warning_image_x = 220
|
||||||
|
Var warning_image_y = 1333
|
||||||
|
Var warning_text_x = 20
|
||||||
|
Var warning_text_y = 1312
|
||||||
|
Var text_payment_next_x = 132
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "THAI" Then
|
||||||
|
Var showname_max_size = 68
|
||||||
|
Var warning_image_x = 335
|
||||||
|
Var warning_image_y = 1333
|
||||||
|
Var warning_text_x = 20
|
||||||
|
Var warning_text_y = 1312
|
||||||
|
Var text_payment_next_x = 142
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MSC" Then
|
||||||
|
Var showname_max_size = 68
|
||||||
|
Var warning_image_x = 350
|
||||||
|
Var warning_image_y = 1333
|
||||||
|
Var warning_text_x = 20
|
||||||
|
Var warning_text_y = 1312
|
||||||
|
Var text_payment_next_x = 142
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LanguageShow = "MYANMAR" Then
|
||||||
|
Var showname_max_size = 68
|
||||||
|
Var warning_image_x = 300
|
||||||
|
Var warning_image_y = 1333
|
||||||
|
Var warning_text_x = 10
|
||||||
|
Var warning_text_y = 1312
|
||||||
|
Var text_payment_next_x = 142
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml"
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
RefreshAll
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
|
|
@ -266,7 +329,7 @@
|
||||||
; same
|
; same
|
||||||
<Image>
|
<Image>
|
||||||
<X> 374 </X>
|
<X> 374 </X>
|
||||||
<Y> 382 </Y>
|
<Y> 752 </Y>
|
||||||
<Width> 331 </Width>
|
<Width> 331 </Width>
|
||||||
<Height> 436 </Height>
|
<Height> 436 </Height>
|
||||||
<Filename> PictureDrink </Filename>
|
<Filename> PictureDrink </Filename>
|
||||||
|
|
@ -291,27 +354,58 @@
|
||||||
; Text head
|
; Text head
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 752 </Y>
|
<Y> 602 </Y>
|
||||||
<Width> 1080</Width>
|
<Width> 1080</Width>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Size> 68 </Size>
|
<MaxSize> showname_max_size </MaxSize>
|
||||||
|
<Size> Auto </Size>
|
||||||
|
<MaxLine> 2 </MaxLine>
|
||||||
<Font> KanitMediumTTF </Font>
|
<Font> KanitMediumTTF </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> 0x513C2F </Color>
|
||||||
<Value> showname </Value>
|
<Value> showname </Value>
|
||||||
</Text>
|
</Text>
|
||||||
; same
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 836 </Y>
|
<Y> 1082 </Y>
|
||||||
<Width> 1080</Width>
|
<Width> 1080</Width>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Size> 24 </Size>
|
<Size> 68 </Size>
|
||||||
<Font> KanitLightTTF </Font>
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0xEE8C62 </Color>
|
||||||
|
<Value> text_price_d3 </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
; same
|
||||||
|
<Text>
|
||||||
|
<X> 25 </X>
|
||||||
|
<Y> 1232 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
<Color> 0x6F5F51 </Color>
|
<Color> 0x6F5F51 </Color>
|
||||||
<Value> showdesc </Value>
|
<Value> showdesc </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
; warning time
|
||||||
|
<Image>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> warning_image_x </X>
|
||||||
|
<Y> warning_image_y </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/topping_inter/time.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<Refresh> "Enable" </Refresh>
|
||||||
|
<X> warning_text_x </X>
|
||||||
|
<Y> warning_text_y </Y>
|
||||||
|
<Language>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 19 </Y>
|
||||||
|
<ID> 002290 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -324,33 +418,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; back
|
|
||||||
<Button>
|
|
||||||
<X> 44 </X>
|
|
||||||
<Y> 1785 </Y>
|
|
||||||
<Filename> "ROOT/taobin_project/image/topping_inter/bn_cancel.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_cancel.png"</FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
|
|
||||||
If Seeker = "next" Then
|
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
|
||||||
Else
|
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
<Language>
|
|
||||||
<X> 53 </X>
|
|
||||||
<Y> 16 </Y>
|
|
||||||
<Width> 120 </Width>
|
|
||||||
<Height> 42 </Height>
|
|
||||||
<ID> 000074 </ID>
|
|
||||||
</Language>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -437,10 +504,10 @@
|
||||||
|
|
||||||
; next
|
; next
|
||||||
<Button>
|
<Button>
|
||||||
<X> 673 </X>
|
<X> 350 </X>
|
||||||
<Y> 1785 </Y>
|
<Y> 1422 </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/topping_inter/bn_next.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/topping_inter/bn_next2.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_next.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/topping_inter/bp_next2.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
||||||
|
|
@ -637,8 +704,11 @@
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If SelectDrinkType = 1 Then
|
If SelectDrinkType = 1 Then
|
||||||
|
Var SmoothieToPayment = 1
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
;Open "ROOT/taobin_project/spiral/xml/page_spiral_payment.xml"
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
;Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -669,12 +739,17 @@
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
<Language>
|
|
||||||
<X> 64 </X>
|
|
||||||
<Y> 19 </Y>
|
|
||||||
<ID> 000073 </ID>
|
|
||||||
</Language>
|
|
||||||
</Button>
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 420 </X>
|
||||||
|
<Y> 1442 </Y>
|
||||||
|
<Width> 250 </Width>
|
||||||
|
<Height> 75 </Height>
|
||||||
|
<Language>
|
||||||
|
<ID> 002291 </ID>
|
||||||
|
</Language>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -990,5 +1065,8 @@
|
||||||
|
|
||||||
|
|
||||||
;
|
;
|
||||||
|
<EventUnitTest1>
|
||||||
|
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
5
inter/tha/xml/ticket_time_blending.ev
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
If TimeOutSmoothiesProcess > -1 Then
|
||||||
|
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess
|
||||||
|
Else
|
||||||
|
Var TimeOutSmoothiesProcess = 120
|
||||||
|
EndIf
|
||||||
52
inter/tha/xml/topview_helper.lxml
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
;<Background> "0xeae6e1" </Background>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
SAVELOG "======================================= Helper Icon ================================"
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
|
||||||
|
<EventOnShow>
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inter/tha/xml/helper_show_and_refresh.lxml"
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
SetInstanceIgnoreTouch
|
||||||
|
|
||||||
|
DEBUGVAR SlientRefreshIndex
|
||||||
|
</EventOnShow>
|
||||||
|
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
TimerReset
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
; helper button
|
||||||
|
<Button>
|
||||||
|
<X> 920 </X>
|
||||||
|
<Y> 608 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/helper.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var CurrHelpCenter = 1
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
|
||||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
|
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
|
||||||
|
|
||||||
Var SendNotiPaySuccess = 2
|
Var SendNotiPaySuccess = 2
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,8 @@
|
||||||
Var ShowButtonClick_WTC = "Invisible"
|
Var ShowButtonClick_WTC = "Invisible"
|
||||||
Var ShowButtonClickFull_WTC = "Invisible"
|
Var ShowButtonClickFull_WTC = "Invisible"
|
||||||
|
|
||||||
|
Var BtnLangToggleIndex = "Invisible"
|
||||||
|
|
||||||
;SAVELOG DisplayType
|
;SAVELOG DisplayType
|
||||||
|
|
||||||
If DisplayType = "2" Then
|
If DisplayType = "2" Then
|
||||||
|
|
@ -1314,7 +1316,35 @@
|
||||||
|
|
||||||
If EnableMultiInstanceFromBoxID = 1 Then
|
If EnableMultiInstanceFromBoxID = 1 Then
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
|
|
||||||
|
; enable btn_change_langs
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
Var ButtonLanguageCurrentXPosition = 990
|
||||||
|
Var ButtonLanguageCurrentYPosition = 608
|
||||||
|
Var ButtonLanguageListXPosition = 970
|
||||||
|
Var ButtonLanguageListYPosition = 590
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
|
||||||
|
; enable helper
|
||||||
|
Var EnableHelperShow = 1
|
||||||
|
;Var FromDrinkOk = 1
|
||||||
|
Var CurrHelpCenter = 0
|
||||||
|
If EnableHelperShow = 1 Then
|
||||||
|
If FromDrinkOk = 1 Then
|
||||||
|
Var TimeOutShowHelpCenter = 15
|
||||||
|
|
||||||
|
Var FromSmoothieProcess = "Invisible"
|
||||||
|
Var FromPaymentCash = "Invisible"
|
||||||
|
Var FromBrewingProcess = "Enable"
|
||||||
|
|
||||||
|
RootLayoutVisible 15 "show"
|
||||||
|
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||||
|
Else
|
||||||
|
RootLayoutVisible 15 "hide"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var EnableMultiInstance = "true"
|
Var EnableMultiInstance = "true"
|
||||||
Var MyanmarLangEnable = "true"
|
Var MyanmarLangEnable = "true"
|
||||||
Var InternationalShow = 0
|
Var InternationalShow = 0
|
||||||
|
|
@ -1328,6 +1358,12 @@
|
||||||
Var InternationalShow = 0
|
Var InternationalShow = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 210699 Then
|
||||||
|
Var SpiralOnline = "true"
|
||||||
|
Var SpiralModeFrozenFruit = 1
|
||||||
|
Var InternationalShow = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
; test payment
|
; test payment
|
||||||
Var New_Payment = 1
|
Var New_Payment = 1
|
||||||
|
|
||||||
|
|
@ -1457,7 +1493,13 @@
|
||||||
;DEBUGVAR LivenessControlVersion
|
;DEBUGVAR LivenessControlVersion
|
||||||
;DEBUGVAR Not#CameraSettingStatus
|
;DEBUGVAR Not#CameraSettingStatus
|
||||||
|
|
||||||
RootLayoutVisible 3 "hide"
|
If EnableMultiInstanceFromBoxID = 1 Then
|
||||||
|
If CountryName = "Thailand" Then
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
Else
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If SELLSTATUS = "DEACTIVE" Then
|
If SELLSTATUS = "DEACTIVE" Then
|
||||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||||
|
|
@ -2235,11 +2277,41 @@ PRICE "Reset" "-"
|
||||||
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
; for count helper show
|
||||||
|
If EnableHelperShow = 1 Then
|
||||||
|
If FromDrinkOk = 1 Then
|
||||||
|
If TimeOutShowHelpCenter > 0 Then
|
||||||
|
Var TimeOutShowHelpCenter = TimeOutShowHelpCenter - 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If TimeOutShowHelpCenter = 0 Then
|
||||||
|
Var FromDrinkOk = 0
|
||||||
|
If CurrHelpCenter = 1 Then
|
||||||
|
;do not thing
|
||||||
|
Else
|
||||||
|
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
|
<EventLanguageOnChange>
|
||||||
|
|
||||||
|
Var LanguageButtonEnable = "Enable"
|
||||||
|
Var ButtonLanguageCurrentXPosition = 990
|
||||||
|
Var ButtonLanguageCurrentYPosition = 608
|
||||||
|
Var ButtonLanguageListXPosition = 970
|
||||||
|
Var ButtonLanguageListYPosition = 590
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
RefreshAll
|
||||||
|
</EventLanguageOnChange>
|
||||||
|
|
||||||
<EventEnd>
|
<EventEnd>
|
||||||
SAVELOG "EVENT END"
|
SAVELOG "EVENT END"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> "0xeae6e1" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@
|
||||||
<Background> "0xeae6e1" </Background>
|
<Background> "0xeae6e1" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
|
||||||
Var waitAckPay = 0
|
Var waitAckPay = 0
|
||||||
Var ChangeFlag = 0
|
Var ChangeFlag = 0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,9 @@
|
||||||
|
|
||||||
Var EnableDoorJamAlert = 0
|
Var EnableDoorJamAlert = 0
|
||||||
|
|
||||||
|
; helper show in page_board
|
||||||
|
Var FromDrinkOk = 1
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 500 </Timeout>
|
<Timeout> 500 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,11 @@
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
EndIf
|
EndIf
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
Var TxRef1 = ""
|
Var TxRef1 = ""
|
||||||
CreateTxRef1 TxRef1
|
CreateTxRef1 TxRef1
|
||||||
Else
|
Else
|
||||||
|
|
@ -441,7 +445,11 @@
|
||||||
Var PaidPaymentFromNextStage = 1
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -457,7 +465,11 @@
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
EndIf
|
EndIf
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
Var TxRef1 = ""
|
Var TxRef1 = ""
|
||||||
CreateTxRef1 TxRef1
|
CreateTxRef1 TxRef1
|
||||||
Else
|
Else
|
||||||
|
|
@ -468,7 +480,11 @@
|
||||||
Var PaidPaymentFromNextStage = 1
|
Var PaidPaymentFromNextStage = 1
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -1290,6 +1306,17 @@
|
||||||
Var X_CASH3 = 664 - 113
|
Var X_CASH3 = 664 - 113
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var FromSmoothieProcess = "Invisible"
|
||||||
|
Var FromPaymentCash = "Enable"
|
||||||
|
Var FromBrewingProcess = "Invisible"
|
||||||
|
|
||||||
|
If EnableHelperShow = 1 Then
|
||||||
|
Var Showhelper = "Enable"
|
||||||
|
Else
|
||||||
|
Var Showhelper = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
|
|
@ -1370,7 +1397,11 @@
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
EndIf
|
EndIf
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
;Var TxRef1 = ""
|
;Var TxRef1 = ""
|
||||||
;CreateTxRef1 TxRef1
|
;CreateTxRef1 TxRef1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -1378,7 +1409,11 @@
|
||||||
|
|
||||||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
Var BrewingTextThai = "เตรียมแก้ว"
|
Var BrewingTextThai = "เตรียมแก้ว"
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -1924,12 +1959,20 @@
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
EndIf
|
EndIf
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
Var Seeker.CreditCard = 1
|
Var Seeker.CreditCard = 1
|
||||||
Var Seeker.CreditCardRef = CreditCardRef
|
Var Seeker.CreditCardRef = CreditCardRef
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -2170,8 +2213,12 @@
|
||||||
|
|
||||||
|
|
||||||
If TestLoopMakeDrink = 1 Then
|
If TestLoopMakeDrink = 1 Then
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2202,7 +2249,11 @@
|
||||||
If New_Payment = 1 Then
|
If New_Payment = 1 Then
|
||||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
EndIf
|
EndIf
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
Var TxRef1 = ""
|
Var TxRef1 = ""
|
||||||
CreateTxRef1 TxRef1
|
CreateTxRef1 TxRef1
|
||||||
Else
|
Else
|
||||||
|
|
@ -2213,7 +2264,11 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If CancelFlag = 0 Then
|
If CancelFlag = 0 Then
|
||||||
|
|
@ -2754,7 +2809,25 @@
|
||||||
EndIf
|
EndIf
|
||||||
</EventVDCancle>
|
</EventVDCancle>
|
||||||
|
|
||||||
|
; helper button
|
||||||
|
<Button>
|
||||||
|
<X> 990 </X>
|
||||||
|
<Y> 430 </Y>
|
||||||
|
<State> Showhelper </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/helper.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
Var OpenFromXML = "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||||
|
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
||||||
|
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||||
|
;RootLayoutVisible 15 "show"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
|
|
@ -2885,8 +2958,12 @@
|
||||||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||||
Var MachineStage = "make-drink"
|
Var MachineStage = "make-drink"
|
||||||
Var BrewingTextThai = "เตรียมแก้ว"
|
Var BrewingTextThai = "เตรียมแก้ว"
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -3737,11 +3814,19 @@ eval(
|
||||||
If IgnoreNetCore = "true" Then
|
If IgnoreNetCore = "true" Then
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
|
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
If SmoothieToPayment = 1 Then
|
||||||
|
; do nothing
|
||||||
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
If SmoothieToPayment = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -3758,9 +3843,12 @@ eval(
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
|
If SmoothieToPayment = 1 Then
|
||||||
MakeDrinkV1 SelectDrink SelectSugarID
|
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
Else
|
||||||
|
MakeDrinkV1 SelectDrink SelectSugarID
|
||||||
|
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventUnitTest1>
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
|
|
||||||
56
xml/page_spiral_failed.xml
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If Timeout > 3 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 89 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 902 </Width>
|
||||||
|
<Height> 902 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 1314 </Y>
|
||||||
|
<Width> 911 </Width>
|
||||||
|
<Height> 265 </Height>
|
||||||
|
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_fail.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inc/video.inc"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
133
xml/page_spiral_sell.xml
Normal file
|
|
@ -0,0 +1,133 @@
|
||||||
|
<Popup>
|
||||||
|
<Cache> "Enable" </Cache>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 1920 </Height>
|
||||||
|
<Background> "0xeae6e1" </Background>
|
||||||
|
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOpen>
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
Var LastMakeSpiralResult = 0
|
||||||
|
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||||
|
GenHashWithTimeStamp SpiralRef
|
||||||
|
Var ServiceCredit = "03-02-00-6001"
|
||||||
|
SPIRAL_SELL ServiceCredit SpiralRef
|
||||||
|
|
||||||
|
Var SmoothieToPayment = 0
|
||||||
|
Var TimeOutSmoothiesProcess = 120
|
||||||
|
|
||||||
|
</EventOpen>
|
||||||
|
<Timeout> 1000 </Timeout>
|
||||||
|
<EventTimeout>
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 1 Then
|
||||||
|
|
||||||
|
Var SessionID4 = MachineSpiralID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + ServiceCredit
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + 1
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||||
|
|
||||||
|
Var PayDetail="S:0:"
|
||||||
|
Var PayDetail = PayDetail + SessionID4
|
||||||
|
|
||||||
|
Var Cid = 27
|
||||||
|
Var PointCrm = CounterOrderId
|
||||||
|
If FromCounterMulti = 1 Then
|
||||||
|
Var PointCrm = PayReference
|
||||||
|
EndIf
|
||||||
|
Var GetScore = Seeker.VendingTSID
|
||||||
|
Var param1 = PayDetail
|
||||||
|
Var ACC = "0899999999"
|
||||||
|
|
||||||
|
AddData Cid ACC param1 PointCrm GetScore
|
||||||
|
;Open "ROOT/taobin_project/xml/page_spiral_success.xml"
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LastMakeSpiralResult = 2 Then
|
||||||
|
|
||||||
|
Var SessionID4 = MachineSpiralID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + ServiceCredit
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + 1
|
||||||
|
Var SessionID4 = SessionID4 + ":"
|
||||||
|
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||||
|
|
||||||
|
Var PayDetail="F:"
|
||||||
|
Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||||
|
Var PayDetail = PayDetail + ":"
|
||||||
|
Var PayDetail = PayDetail + SessionID4
|
||||||
|
|
||||||
|
Var Cid = 27
|
||||||
|
Var PointCrm = CounterOrderId
|
||||||
|
If FromCounterMulti = 1 Then
|
||||||
|
Var PointCrm = PayReference
|
||||||
|
EndIf
|
||||||
|
Var GetScore = Seeker.VendingTSID
|
||||||
|
Var param1 = PayDetail
|
||||||
|
Var ACC = "0899999999"
|
||||||
|
|
||||||
|
AddData Cid ACC param1 PointCrm GetScore
|
||||||
|
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If BoxID = 210699 Then
|
||||||
|
;If Timeout > 10 Then
|
||||||
|
;Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||||
|
;EndIf
|
||||||
|
If Timeout > 10 Then
|
||||||
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Timeout > 120 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_back_to_failed.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
TimerReset
|
||||||
|
Refresh
|
||||||
|
</EventTimeout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Video>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 700 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Height> 840 </Height>
|
||||||
|
<Refresh> "Reload" </Refresh>
|
||||||
|
<Loop> "true" </Loop>
|
||||||
|
<Filename> ShowSwapVDO </Filename>
|
||||||
|
;<Filename> "ROOT/taobin_project/spiral/video/sp01.mp4" </Filename>
|
||||||
|
</Video>
|
||||||
|
|
||||||
|
<EventActionOk>
|
||||||
|
</EventActionOk>
|
||||||
|
|
||||||
|
;include="ROOT/taobin_project/inc/video.inc"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Popup>
|
||||||
|
|
@ -7,6 +7,9 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "hide"
|
||||||
|
|
||||||
Var CountDownThankyou = 3
|
Var CountDownThankyou = 3
|
||||||
Var CountDownBrewing = BrewTime
|
Var CountDownBrewing = BrewTime
|
||||||
Var CountUpBrewing = 0
|
Var CountUpBrewing = 0
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
|
Var BtnLangToggleIndex = "Invisible"
|
||||||
TRY topview2_script
|
TRY topview2_script
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
|
||||||