Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece
This commit is contained in:
commit
c57f182579
8 changed files with 887 additions and 1305 deletions
File diff suppressed because it is too large
Load diff
BIN
inter/aus/image/page_drink_fail/contact_text.png
Normal file
BIN
inter/aus/image/page_drink_fail/contact_text.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
inter/aus/image/page_drink_fail/person_img.png
Normal file
BIN
inter/aus/image/page_drink_fail/person_img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
BIN
inter/aus/image/page_drink_fail/qr_code.png
Normal file
BIN
inter/aus/image/page_drink_fail/qr_code.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
|
|
@ -79,6 +79,41 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
; zone cup on arm
|
||||
If Seeker = "curr" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
If CheckCupStateDoorCupClose = "" Then
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
|
||||
Else
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
|
||||
EndIf
|
||||
|
||||
If CheckCupStateDoorCupClose = "done" Then
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
|
||||
Else
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
|
|||
|
|
@ -2739,15 +2739,15 @@
|
|||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 3
|
||||
; - 51-05-02-0091 51-05-02-0091
|
||||
; - 51-05-02-0091 -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 51-05-02-0091.Button,51-05-02-0091.Button,$Sum51050200915105020091) </State>
|
||||
<State> Flag( 51-05-02-0091.Button,$Sum5105020091) </State>
|
||||
<Button>
|
||||
<State> $Sum51050200915105020091 </State>
|
||||
<State> $Sum5105020091 </State>
|
||||
<Filename> "ROOT/taobin_project/inter/aus/image/page_drink_n//bn_COCONUT_PEPSI.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/inter/aus/image/page_drink_press_n//bn_COCONUT_PEPSI.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/inter/aus/image/page_drink_disable_n2//bn_COCONUT_PEPSI.png" </FilenameDisable>
|
||||
|
|
@ -2758,10 +2758,10 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $51-05-02-0091.Price
|
||||
Var PriceD3 = $51-05-02-0091.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "51-05-02-0091"
|
||||
Var PD_CODE3 = "51-05-02-0091"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
; begin lang
|
||||
Var aliasName[0] = "COCONUT PEPSI"
|
||||
Var aliasDesc[0] = "Coconut Syrup, Pepsi and Soda"
|
||||
|
|
@ -2799,13 +2799,13 @@
|
|||
Var DescLang[1][3] = ""
|
||||
Var DescLang[1][4] = ""
|
||||
Var DescLang[1][5] = ""
|
||||
Var NameLang[2][0] = "ICED COCONUT PEPSI"
|
||||
Var NameLang[2][0] = ""
|
||||
Var NameLang[2][1] = ""
|
||||
Var NameLang[2][2] = ""
|
||||
Var NameLang[2][3] = ""
|
||||
Var NameLang[2][4] = ""
|
||||
Var NameLang[2][5] = ""
|
||||
Var DescLang[2][0] = "Coconut Syrup, Pepsi and Soda"
|
||||
Var DescLang[2][0] = ""
|
||||
Var DescLang[2][1] = ""
|
||||
Var DescLang[2][2] = ""
|
||||
Var DescLang[2][3] = ""
|
||||
|
|
@ -2814,7 +2814,7 @@
|
|||
; end lang
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $51-05-02-0091.Button
|
||||
Var PD_STAGE_3 = $51-05-02-0091.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
|
|
@ -2835,7 +2835,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "51-05-02-0091"
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2928,7 +2928,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $51-05-02-0091.Button </State>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> TextPriceMenuBlendX </X>
|
||||
|
|
@ -2938,8 +2938,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $51-05-02-0091.Button </State>
|
||||
<Value> StringFmt( $51-05-02-0091.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -2964,10 +2964,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum51050200915105020091 = "Disable" Then
|
||||
If $Sum5105020091 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $51-05-02-0091.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $51-05-02-0091.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3001,7 +3001,7 @@
|
|||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum51050200915105020091 </State>
|
||||
<State> $Sum5105020091 </State>
|
||||
<Language>
|
||||
<ID> 000013 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
Var Seeker.TNumberTaobinMember = ""
|
||||
|
||||
|
||||
|
||||
DEBUGVAR TelephoneNumberProblem
|
||||
DEBUGVAR Seeker.PromotionIDCurrentOrder
|
||||
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
DEBUGVAR ERROR_BREW_CAUSE_THAI
|
||||
|
||||
|
||||
If FailedCount > 0 Then
|
||||
If FailedCount > 0 Then
|
||||
Var ERROR_PAY_TIMEOUT = "false"
|
||||
DEBUGVAR FailedCount
|
||||
DEBUGVAR ERROR_PAY_TIMEOUT
|
||||
|
|
@ -40,13 +40,13 @@
|
|||
|
||||
|
||||
If ERROR_PAY_TIMEOUT = "true" Then
|
||||
|
||||
|
||||
If NumberFailed = "false" Then
|
||||
|
||||
If show_eng = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var TextErrorShow = ERROR_BREW_CAUSE_ENG
|
||||
Else
|
||||
If show_japan = "true" Then
|
||||
If show_japan = "true" Then
|
||||
Var TextErrorShow = ERROR_BREW_CAUSE_JAPAN
|
||||
Else
|
||||
Var TextErrorShow = ERROR_BREW_CAUSE_THAI
|
||||
|
|
@ -54,53 +54,53 @@
|
|||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail4.xml"
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail4.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2-2.xml"
|
||||
|
||||
Var ErrorPayTimeoutFlag = 1
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail2-2.xml"
|
||||
Var ErrorPayTimeoutFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
StopLongPlay
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var MachineErrorDetailAll = MachineErrorDetail + " / "
|
||||
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var textRefundChannelX = "textRefundChannel1.png"
|
||||
Var xRefundChannelX = 249
|
||||
|
||||
If Seeker.PayWithQR = 0 Then
|
||||
If Seeker.PayWithQR = 0 Then
|
||||
|
||||
If Seeker.StoreCreditFlag = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel2.png"
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
Var textRefundChannelX = "textRefundChannel1.png"
|
||||
Var xRefundChannelX = 204
|
||||
|
||||
If Seeker.PayWithQR = 0 Then
|
||||
If Seeker.PayWithQR = 0 Then
|
||||
|
||||
If Seeker.StoreCreditFlag = 1 Then
|
||||
Var textRefundChannelX = "textRefundChannel2.png"
|
||||
|
|
@ -149,11 +149,11 @@
|
|||
|
||||
DEBUGVAR CountryName
|
||||
DEBUGVAR MaxPhoneNumber
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
<EventTimeout>
|
||||
|
||||
SAVELOG MachineStage
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
|
@ -161,26 +161,69 @@
|
|||
If Timeout > 15 Then
|
||||
|
||||
If MachineStage = "remove-cup" Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail3.xml"
|
||||
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"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If ErrorPayTimeoutFlag = 1 Then
|
||||
If Timeout > 9 Then
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
|
@ -189,444 +232,58 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</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"
|
||||
Trim TelephoneNumberProblem MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</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 MaxPhoneNumber
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</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
|
||||
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
|
||||
If TelNumLen < 10 Then
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
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
|
||||
|
||||
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>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 750 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
StrLen TelephoneNumberProblem TelNumLen
|
||||
If TelNumLen >= MinPhoneNumber Then
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<Image>
|
||||
;<X> xRefundChannelX </X>
|
||||
;<Y> 960 </Y>
|
||||
;<Filename> Var( DirImage + textRefundChannelX ) </Filename>
|
||||
;</Image>
|
||||
|
||||
<Image>
|
||||
<Text>
|
||||
<X> 47 </X>
|
||||
<Y> 408 </Y>
|
||||
<Filename> Var( DirImage + text22 ) </Filename>
|
||||
</Image>
|
||||
|
||||
;<Image>
|
||||
;<X> 410 </X>
|
||||
;<Y> 524 </Y>
|
||||
;<Filename> Var( DirImage + "/Businessman_sorry.png" ) </Filename>
|
||||
;</Image>
|
||||
|
||||
|
||||
<Y> 428 </Y>
|
||||
<Width> 986 </Width>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Font> KanitSemiBoldTTF </Font>
|
||||
<Size> 64 </Size>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> "We are sorry, this is unexpected" </Value>
|
||||
</Text>
|
||||
|
||||
<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>
|
||||
<X> 372 </X>
|
||||
<Y> 543 </Y>
|
||||
<Filename> Var( DirImage + "person_img.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1140 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<X> 17 </X>
|
||||
<Y> 1118 </Y>
|
||||
<Width> 1040 </Width>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Size> 32 </Size>
|
||||
<Color> 0x513C2F </Color>
|
||||
|
||||
<Value> TelephoneNumberProblem </Value>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
<Value> "You will receive a code via sms shortly if you entered you\nmobile number.\n\nIf you did not enter phone number, Let us know the machine location and time of transaction,\nand we will send you FREE coupon." </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 1364 </Y>
|
||||
<Filename> Var( DirImage + "contact_text.png") </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 426 </X>
|
||||
<Y> 1498 </Y>
|
||||
<Filename> Var( DirImage + "qr_code.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 94 </X>
|
||||
<Y> 1795 </Y>
|
||||
<Width> 891 </Width>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Size> 24 </Size>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> "Coupon can redeem a drink and topping of any value" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
|
|
|
|||
|
|
@ -318,6 +318,8 @@
|
|||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
Var Caution = "Caution: Food Allergy Notice"
|
||||
Var Allergy = "Drinks ordered from this machine may have come in contact or contain MILK, SOY, GLUTEN or WHEAT"
|
||||
|
||||
Var EnoughChange = "yes"
|
||||
|
||||
|
|
@ -330,9 +332,10 @@
|
|||
EndIf
|
||||
|
||||
If SELLONLINE = 0 Then
|
||||
SAVELOG "Credit card only NetworkStatus down"
|
||||
;SAVELOG "Credit card only NetworkStatus down"
|
||||
SAVELOG "NetworkStatus down"
|
||||
|
||||
Var PayWithCreditCardState = "Enable"
|
||||
Var PayWithCreditCardState = "Disable"
|
||||
Var PayWithTaoCreditState = "Disable"
|
||||
Var PayWithCouponState = "Disable"
|
||||
Var PayWithAUBState = "Disable"
|
||||
|
|
@ -2397,24 +2400,6 @@ EndIf
|
|||
<Filename> Var( DirImage + "/CancelOrder.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
;<GIF>
|
||||
;<X> 493 </X>
|
||||
;<Y> 960 </Y>
|
||||
;<Width> 94 </Width>
|
||||
;<Height> 94 </Height>
|
||||
;<State> cancelState </State>
|
||||
;<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
||||
;</GIF>
|
||||
|
||||
;<GIF>
|
||||
;<X> 493 </X>
|
||||
;<Y> 1195 </Y>
|
||||
;<Width> 94 </Width>
|
||||
;<Height> 94 </Height>
|
||||
;<State> AdultState2 </State>
|
||||
;<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
||||
;</GIF>
|
||||
|
||||
<GIF>
|
||||
<X> 493 </X>
|
||||
<Y> 968 </Y>
|
||||
|
|
@ -2425,6 +2410,29 @@ EndIf
|
|||
</GIF>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1590 </Y>
|
||||
<Size> 36 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x8B0000 </Color>
|
||||
<Value> Caution </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1660 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> Allergy </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue