free not collect point, failed page, show QR Error
BIN
image/collectiing/Businessman_sorry.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/collectiing/bn_back2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
image/collectiing/bn_confirm2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
image/collectiing/bn_door_open.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/collectiing/bns_0.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing/bns_1.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/collectiing/bns_2.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/collectiing/bns_3.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/collectiing/bns_4.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/collectiing/bns_5.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/collectiing/bns_6.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing/bns_7.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/collectiing/bns_8.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/collectiing/bns_9.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing/bns_back-1.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/collectiing/bp_back2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
image/collectiing/bp_confirm2.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
image/collectiing/bp_door_open.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
image/collectiing/bps_0.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/collectiing/bps_1.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
image/collectiing/bps_2.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/collectiing/bps_3.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/collectiing/bps_4.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
image/collectiing/bps_5.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/collectiing/bps_6.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/collectiing/bps_7.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
image/collectiing/bps_8.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing/bps_9.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
image/collectiing/bps_back-1.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/collectiing/img5.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing/img_popup12.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
image/collectiing/text22.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
image/collectiing/textRefundChannel1.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
image/collectiing/textRefundChannel2.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
image/collectiing/textRefundChannel3.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
image/collectiing_en/Businessman_sorry.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/collectiing_en/bn_back2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
image/collectiing_en/bn_confirm2.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
image/collectiing_en/bn_door_open.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
image/collectiing_en/bp_back2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
image/collectiing_en/bp_confirm2.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
image/collectiing_en/bp_door_open.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
image/collectiing_en/img5.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
image/collectiing_en/img_popup12.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
image/collectiing_en/text22.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
image/collectiing_en/textRefundChannel1.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
image/collectiing_en/textRefundChannel2.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
image/collectiing_en/textRefundChannel3.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_payment/QRError.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
|
|
@ -114,20 +114,21 @@
|
|||
Else
|
||||
|
||||
SAVELOG "back_to_main from line > 116."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
If ActionOKCase = 2 Then
|
||||
SAVELOG "back_to_main from line > 123."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If waitAckPay = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkok.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
|
@ -171,14 +172,14 @@
|
|||
|
||||
Else
|
||||
SAVELOG "back_to_main from line > 173."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
If ActionOKCase = 2 Then
|
||||
SAVELOG "back_to_main from line > 180."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
@ -217,7 +218,7 @@
|
|||
|
||||
If Timeout > 540 Then
|
||||
SAVELOG "back_to_main from line > 217."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -241,7 +242,7 @@
|
|||
If Timeout > 60 Then
|
||||
|
||||
SAVELOG "back_to_main from line > 241."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -314,7 +315,7 @@
|
|||
If ActionOKCase = 0 Then
|
||||
|
||||
Var SVT = "coffee"
|
||||
Var ACC = "089999999"
|
||||
Var ACC = "0899999999"
|
||||
|
||||
Var PayDetail = "1/" + HURR_FOREVER
|
||||
Var PayDetail = PayDetail + "/"
|
||||
|
|
@ -331,7 +332,7 @@
|
|||
|
||||
Var ActionOKCase = 1
|
||||
If CodeChannel = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -506,7 +507,7 @@
|
|||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
SAVELOG "back_to_main from line > 488."
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-success" Then
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
<EventOpen>2
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
|
|
|||
542
xml/page_drinkfail2.xml
Normal file
|
|
@ -0,0 +1,542 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing/"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If TNumberTaobinMember = "" Then
|
||||
|
||||
Else
|
||||
If PayWithQR = 1 Then
|
||||
Var VendingTSID = VendingTSIDTmp
|
||||
EndIf
|
||||
|
||||
|
||||
Var BmiYear = PointTaobinStr
|
||||
Var PointCrm = ""
|
||||
If FromConsent = 1 Then
|
||||
Var PointCrm = "pdpa1"
|
||||
EndIf
|
||||
Var GetScore = VendingTSID
|
||||
If TaobinErrorNetwork = 0 Then
|
||||
AddData 11 TNumberTaobinMember BmiYear PointCrm GetScore
|
||||
Else
|
||||
Var PointCrm = ""
|
||||
AddData 14 TNumberTaobinMember BmiYear PointCrm GetScore
|
||||
EndIf
|
||||
Var TNumberTaobinMember = ""
|
||||
Var VendingTSID = ""
|
||||
EndIf
|
||||
|
||||
StopLongPlay
|
||||
|
||||
Var TelephoneNumberProblem = ""
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
||||
Var MachineErrorDetailAll = MachineErrorDetail + " / "
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var textRefundChannelX = "textRefundChannel1.png"
|
||||
Var xRefundChannelX = 249
|
||||
|
||||
If PayWithQR = 0 Then
|
||||
|
||||
If StoreCreditFlag = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel2.png"
|
||||
Var xRefundChannelX = 249
|
||||
EndIf
|
||||
|
||||
If CodeChannel = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel3.png"
|
||||
Var xRefundChannelX = 60
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var textRefundChannelX = "textRefundChannel3.png"
|
||||
Var xRefundChannelX = 60
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var textRefundChannelX = "textRefundChannel1.png"
|
||||
Var xRefundChannelX = 204
|
||||
|
||||
If PayWithQR = 0 Then
|
||||
|
||||
If StoreCreditFlag = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel2.png"
|
||||
Var xRefundChannelX = 256
|
||||
EndIf
|
||||
|
||||
If CodeChannel = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel3.png"
|
||||
Var xRefundChannelX = 162
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var textRefundChannelX = "textRefundChannel3.png"
|
||||
Var xRefundChannelX = 162
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 120 Then
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1281 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1281 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1281 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1395 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1395 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1395 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1507 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1507 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1507 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumberProblem 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1620 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var TelephoneNumberProblem = TelephoneNumberProblem + "0"
|
||||
Trim TelephoneNumberProblem 10
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1620 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bns_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bps_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim TelephoneNumberProblem -1
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Filename> Var( DirImage + "/bn_back2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
||||
Else
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 750 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm2.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm2.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_confirm2.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
|
||||
Var ChooseProblem = "taobin purchasing problems"
|
||||
PROBLEM TelephoneNumberProblem ChooseProblem
|
||||
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> xRefundChannelX </X>
|
||||
<Y> 960 </Y>
|
||||
<Filename> Var( DirImage + textRefundChannelX ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 47 </X>
|
||||
<Y> 428 </Y>
|
||||
<Filename> Var( DirImage + "/text22.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 341 </X>
|
||||
<Y> 524 </Y>
|
||||
<Filename> Var( DirImage + "/Businessman_sorry.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 262 </X>
|
||||
<Y> 1119 </Y>
|
||||
<Filename> Var( DirImage + "/img5.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 400 </X>
|
||||
<Y> 1160 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text15.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 293 </X>
|
||||
<Y> 1140 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/Group.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1140 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumberProblem </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
117
xml/page_drinkfail3.xml
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing/"
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var Door_Open_State="Invisible"
|
||||
Var Door_Open_flagBlink = 0
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
;If Timeout > 240 Then
|
||||
If Timeout > 10 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
If Door_Open_flagBlink = 0 Then
|
||||
Var Door_Open_flagBlink = 1
|
||||
Var Door_Open_State="Enable"
|
||||
Else
|
||||
Var Door_Open_flagBlink = 0
|
||||
Var Door_Open_State="Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
|
||||
Else
|
||||
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 53 </X>
|
||||
<Y> 473 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup12.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<Filename> Var( DirImage + "/bn_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;Machine RemoveCup
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 212 </X>
|
||||
<Y> 1661 </Y>
|
||||
<State> Door_Open_State </State>
|
||||
<Filename> Var( DirImage + "/bp_door_open.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_door_open.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -273,6 +273,8 @@
|
|||
EndIf
|
||||
|
||||
If ReqPayInfoFlag = 1 Then
|
||||
Var CashTextWarning = ""
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QRCODE99 = SessionID
|
||||
Var QRCODE99 = QRCODE99 + Ext1a
|
||||
SAVELOG Ext1a
|
||||
|
|
@ -303,6 +305,7 @@
|
|||
|
||||
If Timeout >= 120 Then
|
||||
Var alphaState = "Invisible"
|
||||
Var PayState3 = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -750,20 +753,28 @@
|
|||
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
;CoinVending OFF
|
||||
VendingQR ON
|
||||
Refresh
|
||||
|
||||
If CoinAmount > 0 Then
|
||||
Change CoinAmount
|
||||
Var ChangeOK = 0
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var NoGotoMenupage = "true"
|
||||
|
||||
EndIf
|
||||
Var FlagQROpened = 1
|
||||
Var alphaState = "Enable"
|
||||
;CoinVending OFF
|
||||
VendingQR ON
|
||||
If QRCODE99 = "" Then
|
||||
Var CashTextWarning = "ระบบ Promtpay ไม่สามารถใช้งานได้ในขณะนี้"
|
||||
Var QRErrorState = "Enable"
|
||||
Else
|
||||
Var CashTextWarning = ""
|
||||
Var QRErrorState = "Invisible"
|
||||
EndIf
|
||||
Refresh
|
||||
|
||||
If CoinAmount > 0 Then
|
||||
Change CoinAmount
|
||||
Var ChangeOK = 0
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var NoGotoMenupage = "true"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -820,6 +831,7 @@
|
|||
|
||||
;VendingQR OFF
|
||||
|
||||
|
||||
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
|
|
@ -912,6 +924,7 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var QRErrorState = "Invisible"
|
||||
Var alphaState = "Invisible"
|
||||
;CoinVending ON
|
||||
;VendingQR OFF
|
||||
|
|
@ -1040,7 +1053,17 @@
|
|||
;</Text>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 270 </X>
|
||||
<Y> 1000 </Y>
|
||||
<Width>550</Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 30 </Size>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> alphaState </State>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> CashTextWarning </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<QRCode>
|
||||
|
|
@ -1052,6 +1075,18 @@
|
|||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
|
||||
<Button>
|
||||
<X> 490 </X>
|
||||
<Y> 1050 </Y>
|
||||
<State>QRErrorState</State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/QRError.png" </Filename>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var FreeVendingCampaign = 0
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,11 @@
|
|||
If pageStoreCredit0 = 1 Then
|
||||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
Else
|
||||
CoinVending BILLREJECT
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
|
@ -572,7 +576,11 @@
|
|||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
Var TNumberTaobinCredit = ""
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
Else
|
||||
CoinVending BILLREJECT
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,11 @@
|
|||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -116,7 +120,11 @@
|
|||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -41,7 +41,12 @@
|
|||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -116,12 +116,20 @@
|
|||
|
||||
Else
|
||||
If StoreCreditFlag = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
Else
|
||||
If GotoStoreCredit0 = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit0.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If FreeVendingCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
|
|||