196 lines
3.7 KiB
XML
196 lines
3.7 KiB
XML
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
<Background> "0xEFEDEA" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<Refresh> "Partial" </Refresh>
|
|
<EventOpen>
|
|
; On open
|
|
|
|
Var DirImage = CountryRootPath + "/image/collectiing/"
|
|
|
|
|
|
Var Timeout = 0
|
|
StopLongPlay
|
|
|
|
Var MachineErrorDetailAll = MachineErrorDetailEng
|
|
|
|
DEBUGVAR Seeker.CreditCard
|
|
Var SorryUnexpectedTxt11 = DirImage + "/text11.png"
|
|
Var SorryFullState = "Enable"
|
|
If Seeker.CreditCard = 1 Then
|
|
DEBUGVAR "Fail5::CreditCard"
|
|
Var SorryUnexpectedTxt11 = DirImage + "/text11_if_credit.png"
|
|
Var Timeout = 21
|
|
Var SorryFullState = "Invisible"
|
|
EndIf
|
|
DEBUGVAR SorryUnexpectedTxt11
|
|
|
|
|
|
DEBUGVAR TelephoneNumberProblem
|
|
|
|
</EventOpen>
|
|
<Timeout> 1000 </Timeout>
|
|
<EventTimeout>
|
|
|
|
|
|
|
|
Var Timeout = Timeout + 1
|
|
|
|
If Timeout > 30 Then
|
|
|
|
DEBUGVAR TelephoneNumberProblem
|
|
|
|
StrLen TelephoneNumberProblem TelNumLen
|
|
If Seeker.CreditCard = 0 Then
|
|
If TelNumLen >= MinPhoneNumber Then
|
|
|
|
Var ProblemID = 7
|
|
|
|
Var ChooseProblem = "taobin purchasing problems"
|
|
|
|
If Seeker.PayWithQR = 1 Then
|
|
Var VendingTSIDProblem = VendingTSIDTmp
|
|
If Seeker.CampaignPayChanel = "promptpay" Then
|
|
Var ProblemID = 8
|
|
Var ChooseProblem = "taobin purchasing problems(Void Failed)"
|
|
EndIf
|
|
Else
|
|
Var VendingTSIDProblem = VendingTSID
|
|
EndIf
|
|
|
|
|
|
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
|
|
If MachineStage = "remove-cup" Then
|
|
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
|
Else
|
|
If NextOrder = "true" Then
|
|
Var NextOrder = "false"
|
|
|
|
TransferVar "next" "curr"
|
|
Var Seeker = "curr"
|
|
|
|
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
|
|
TimerReset
|
|
|
|
</EventTimeout>
|
|
|
|
|
|
|
|
;include="ROOT/taobin_project/inc/video.inc"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Image>
|
|
<X> 0 </X>
|
|
<Y> 428 </Y>
|
|
<Filename> SorryUnexpectedTxt11 </Filename>
|
|
</Image>
|
|
|
|
<Image>
|
|
<X> 429 </X>
|
|
<Y> 1351 </Y>
|
|
<State> SorryFullState </State>
|
|
<Filename> Var( DirImage + "/QR_contract.png" ) </Filename>
|
|
</Image>
|
|
|
|
<Image>
|
|
<X> 190 </X>
|
|
<Y> 1598 </Y>
|
|
<State> SorryFullState </State>
|
|
<Filename> Var( DirImage + "/text13.png" ) </Filename>
|
|
</Image>
|
|
|
|
|
|
<Button>
|
|
<X> 392 </X>
|
|
<Y> 1720 </Y>
|
|
<Filename> Var( DirImage + "/bn_close.png" )</Filename>
|
|
<FilenamePress> Var( DirImage + "/bp_close.png" )</FilenamePress>
|
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventClick>
|
|
|
|
StrLen TelephoneNumberProblem TelNumLen
|
|
If Seeker.CreditCard = 0 Then
|
|
If TelNumLen >= MinPhoneNumber Then
|
|
|
|
Var ProblemID = 7
|
|
|
|
Var ChooseProblem = "taobin purchasing problems"
|
|
|
|
If Seeker.PayWithQR = 1 Then
|
|
Var VendingTSIDProblem = VendingTSIDTmp
|
|
|
|
If Seeker.CampaignPayChanel = "promptpay" Then
|
|
Var ProblemID = 8
|
|
Var ChooseProblem = "taobin purchasing problems(Void Failed)"
|
|
EndIf
|
|
Else
|
|
Var VendingTSIDProblem = VendingTSID
|
|
EndIf
|
|
|
|
|
|
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
|
|
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
If MachineStage = "remove-cup" Then
|
|
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
|
Else
|
|
|
|
If NextOrder = "true" Then
|
|
Var NextOrder = "false"
|
|
|
|
TransferVar "next" "curr"
|
|
Var Seeker = "curr"
|
|
|
|
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
|
|
Else
|
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
|
EndIf
|
|
EndIf
|
|
|
|
|
|
</EventClick>
|
|
</Button>
|
|
|
|
<Text>
|
|
<X> 5 </X>
|
|
<Y> 1868 </Y>
|
|
<Size> 24 </Size>
|
|
<Align> Center </Align>
|
|
<Width> 1080 </Width>
|
|
<Font> RobotoRegular </Font>
|
|
<Color> 0xDE794E </Color>
|
|
<Value> MachineErrorDetailAll </Value>
|
|
</Text>
|
|
|
|
|
|
</Popup>
|