Merge branch 'masterpiece' into masterpiece_omakase
This commit is contained in:
commit
f1d30da71c
332 changed files with 90124 additions and 6727 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_coffee_drink_1_bath.xml
|
||||
/event/promotion_7up_lucky_draw_x2.xml
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_nam_hom_coconut.xml
|
||||
/event/promotion_passion_mint.xml
|
||||
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -12806,91 +12806,6 @@ LIMENADE SODA" </Value>
|
|||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_cocoa_77_ignore.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/cocoa77/cocoa77.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/cocoa77/cocoa77.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
|
|
|
|||
12912
xml/event/promotion_passion_mint.xml
Normal file
12912
xml/event/promotion_passion_mint.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_7up_lucky_draw_x2.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_nam_hom_coconut.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_passion_mint.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
|
||||
DEBUGVAR NamHomCoconutPro
|
||||
DEBUGVAR Cocoa77Pro
|
||||
DEBUGVAR PassionMintPro
|
||||
DEBUGVAR 7UpLuckyDrawX2Pro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -21,43 +20,37 @@ If CocktailShow = "true" Then
|
|||
EndIf
|
||||
|
||||
Else
|
||||
; check profile to enable free energy drink promotion
|
||||
STRCONTAIN "ProEnergyDrinkFreePerCardID" XMLProfile EnableFreeEnergyDrink
|
||||
Var BigButtonEnable = "Enable"
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
;Var FreeEnergyDrink = 1
|
||||
;Var EnableFreeEnergyDrink = "true"
|
||||
DEBUGVAR EnableFreeEnergyDrink
|
||||
|
||||
Var CountEnablePromotion = 0
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If Cocoa77Pro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_cocoa_77_and_nam_hom_coconut.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_cocoa77.xml"
|
||||
EndIf
|
||||
If PassionMintPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_passion_mint.xml"
|
||||
Else
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/ignore_gen_promotion_nam_hom_coconut.xml"
|
||||
If 7UpLuckyDrawX2Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_7up_lucky_draw_x2.xml"
|
||||
EndIf
|
||||
|
||||
If Cocoa77Pro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_cocoa_77_and_nam_hom_coconut.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_cocoa77.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
|
|
|||
|
|
@ -112,6 +112,13 @@ Var NamHomCoconutRewardOutOfStock = 0
|
|||
Var Cocoa77Pro = 0
|
||||
Var FromCocoa77Pro = 0
|
||||
|
||||
; Enable Passion Mint promotion, 15 - 17 Jul
|
||||
Var PassionMintPro = 0
|
||||
Var FromPassionMintPro = 0
|
||||
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aus
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var ShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -201,6 +208,17 @@ If SystemDateMonthInt = 7 Then
|
|||
Var Cocoa77Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 15 Then
|
||||
If SystemDateDayInt <= 17 Then
|
||||
Var PassionMintPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 22 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt >= 7 Then
|
||||
|
|
@ -208,13 +226,19 @@ If SystemDateMonthInt >= 7 Then
|
|||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var ProBadValentineEnable = 0
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var EnergyDrink1BathPro = 1
|
||||
Var CoffeeDrink1BathPro = 0
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -226,8 +250,10 @@ EndIf
|
|||
|
||||
If BoxID = 105005 Then
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var Cocoa77Pro = 1
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -314,6 +340,10 @@ If taobin_nopro = "true" Then
|
|||
|
||||
Var WednesdayMelonPro = 0
|
||||
Var NamHomCoconutPro = 0
|
||||
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 0
|
||||
|
||||
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||
|
||||
|
|
@ -358,6 +388,18 @@ Else
|
|||
Var Cocoa77Pro = 0
|
||||
EndIf
|
||||
|
||||
If 7UpSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
EndIf
|
||||
|
||||
If MintSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var PassionMintPro = 0
|
||||
EndIf
|
||||
|
||||
|
||||
Var CurrentMainVideoTemp = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -242,6 +242,30 @@
|
|||
else:
|
||||
from_cocoa77 = False
|
||||
cocoa77_fix_price = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_passion_mint.skt":
|
||||
passion_mint = True
|
||||
passion_mint_fix_price = {
|
||||
"12-01-02-0057": 29,
|
||||
"12-21-02-0057": 29,
|
||||
"12-01-02-0058": 19,
|
||||
"12-21-02-0058": 19,
|
||||
"12-02-03-0050": 39,
|
||||
"12-01-02-0064": 29,
|
||||
"12-21-02-0064": 29,
|
||||
"12-03-02-0035": 29,
|
||||
"12-03-03-0034": 39,
|
||||
"12-03-03-0037": 29,
|
||||
"12-05-02-0063": 19,
|
||||
"12-05-02-0064": 19,
|
||||
"12-05-02-0067": 19
|
||||
}
|
||||
else:
|
||||
passion_mint = False
|
||||
passion_mint_fix_price = {}
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_7up_lucky_draw_x2.skt":
|
||||
menu_white_color_catalog = True
|
||||
|
||||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
|
|
@ -459,6 +483,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(passion_mint_fix_price, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(passion_mint_fix_price, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(passion_mint_fix_price, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
|
|
@ -573,6 +604,10 @@
|
|||
|
||||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
if passion_mint:
|
||||
out_xml( '\t\tVar FromPassionMintPro = 1 \r\n')
|
||||
|
||||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
|
|
@ -712,6 +747,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[4] + '.Price - 7 , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[4] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -725,6 +762,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[4])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[4])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -783,6 +822,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -796,6 +837,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[5])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[5])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -870,6 +913,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -883,6 +928,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[6])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[6])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -1086,6 +1133,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(passion_mint_fix_price, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(passion_mint_fix_price, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(passion_mint_fix_price, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
|
|
@ -1191,6 +1245,9 @@
|
|||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
if passion_mint:
|
||||
out_xml( '\t\tVar FromPassionMintPro = 1 \r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
|
||||
|
|
@ -1303,6 +1360,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[8])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[8] + '.Price - 7 , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[8])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[8] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1310,6 +1369,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[8])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[8])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
@ -1360,6 +1421,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[9])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[9] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[9])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[9] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1367,6 +1430,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[9])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[9])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
@ -1416,6 +1481,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[10])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[10] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[10])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[10] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1423,6 +1490,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[10])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[10])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
36
xml/menutab/page_catalog_group_pro_.skt
Normal file
36
xml/menutab/page_catalog_group_pro_.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
3347
xml/menutab/page_catalog_group_pro_.xml
Normal file
3347
xml/menutab/page_catalog_group_pro_.xml
Normal file
File diff suppressed because it is too large
Load diff
36
xml/menutab/page_catalog_group_pro_7up_lucky_draw_x2.skt
Normal file
36
xml/menutab/page_catalog_group_pro_7up_lucky_draw_x2.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
10197
xml/menutab/page_catalog_group_pro_7up_lucky_draw_x2.xml
Normal file
10197
xml/menutab/page_catalog_group_pro_7up_lucky_draw_x2.xml
Normal file
File diff suppressed because it is too large
Load diff
60
xml/menutab/page_catalog_group_pro_cocoa_77.skt
Normal file
60
xml/menutab/page_catalog_group_pro_cocoa_77.skt
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var extension = "_en.png"
|
||||
Else
|
||||
Var extension = ".png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
5451
xml/menutab/page_catalog_group_pro_cocoa_77.xml
Normal file
5451
xml/menutab/page_catalog_group_pro_cocoa_77.xml
Normal file
File diff suppressed because it is too large
Load diff
36
xml/menutab/page_catalog_group_pro_passion_mint.skt
Normal file
36
xml/menutab/page_catalog_group_pro_passion_mint.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
3347
xml/menutab/page_catalog_group_pro_passion_mint.xml
Normal file
3347
xml/menutab/page_catalog_group_pro_passion_mint.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -568,7 +568,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 24
|
||||
; menu_new_list 25
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0001
|
||||
<Block>
|
||||
|
|
@ -4109,6 +4109,259 @@
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0018
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-41-03-0018.Button,$Sum1241030018) </State>
|
||||
<Button>
|
||||
<State> $Sum1241030018 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Slushy.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Slushy.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Slushy.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-41-03-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Tao Tim Slushy"
|
||||
Var NameDrinkTH = "เต่าติมสลัชชี่"
|
||||
Var DrinkDescriptionTH = "ไอศครีมนม และเป๊ปซี่"
|
||||
Var DrinkDescription = "Icecream, Pepsi syrup"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Slushy.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-41-03-0018.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-41-03-0018"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-41-03-0018.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-41-03-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-41-03-0018"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-41-03-0018.NameE
|
||||
Var menu_desc_eng_blender = $12-41-03-0018.descriptionE
|
||||
Var menu_name_thai_blender = $12-41-03-0018.Name
|
||||
Var menu_desc_thai_blender = $12-41-03-0018.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/.page_topping_select_icream.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าติมสลัชชี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ไอศครีมนม และเป๊ปซี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Tao Tim Slushy" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Icecream, Pepsi syrup" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> 265 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> Var( "฿" + $-.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> 265 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> Var( "฿" + $-.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-41-03-0018.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<Y> 264 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-41-03-0018.Button </State>
|
||||
<Value> Var( "฿" + $12-41-03-0018.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1241030018 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-41-03-0018.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1241030018 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
|
|
@ -4870,6 +5123,259 @@ Banana" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0029
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-41-03-0029.Button,$Sum1241030029) </State>
|
||||
<Button>
|
||||
<State> $Sum1241030029 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_7up.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_7up.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_7up.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-41-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Tao Tim 7up"
|
||||
Var NameDrinkTH = "เต่าติมโฮจิฉะ"
|
||||
Var DrinkDescriptionTH = "ไอศครีมนม และ 7up"
|
||||
Var DrinkDescription = "Icecream, 7up"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_7up.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-41-03-0029.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-41-03-0029"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-41-03-0029.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-41-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-41-03-0029"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-41-03-0029.NameE
|
||||
Var menu_desc_eng_blender = $12-41-03-0029.descriptionE
|
||||
Var menu_name_thai_blender = $12-41-03-0029.Name
|
||||
Var menu_desc_thai_blender = $12-41-03-0029.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/.page_topping_select_icream.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าติมโฮจิฉะ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ไอศครีมนม และ 7up" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Tao Tim 7up" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Icecream, 7up" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> 265 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> Var( "฿" + $-.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> 265 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> Var( "฿" + $-.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-41-03-0029.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<Y> 264 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-41-03-0029.Button </State>
|
||||
<Value> Var( "฿" + $12-41-03-0029.Price ) </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1241030029 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-41-03-0029.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1241030029 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 17
|
||||
; menu_new_list 20
|
||||
; ==================> Len = 17
|
||||
; - 12-04-02-0001 -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -181,38 +181,73 @@ Else
|
|||
Var showMultiAds = "true"
|
||||
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Var video_menu_0 = "00"
|
||||
Var video_menu2_1 = "00"
|
||||
Var a_video_menu[0] = video_menu_0
|
||||
Var a_video_menu[1] = video_menu_0
|
||||
Var a_video_menu[2] = video_menu_0
|
||||
Var a_video_menu[3] = video_menu_0
|
||||
Var a_video_menu[4] = video_menu_0
|
||||
Var a_video_menu[5] = video_menu_0
|
||||
Var a_video_menu[6] = video_menu_0
|
||||
Var a_video_menu[7] = video_menu_0
|
||||
Var a_video_menu[8] = video_menu_0
|
||||
Var a_video_menu[9] = video_menu_0
|
||||
Var a_video_menu[10] = video_menu_0
|
||||
Var a_video_menu[11] = video_menu_0
|
||||
Var a_video_menu[12] = video_menu_0
|
||||
Var a_video_menu[13] = video_menu_0
|
||||
Var a_video_menu[14] = video_menu_0
|
||||
Var a_video_menu[15] = video_menu_0
|
||||
Var a_video_menu[16] = video_menu_0
|
||||
Var a_video_menu[17] = video_menu_0
|
||||
Var a_video_menu[18] = video_menu_0
|
||||
Var a_video_menu[19] = video_menu_0
|
||||
Var a_video_menu[20] = video_menu_0
|
||||
Var a_video_menu[21] = video_menu_0
|
||||
Var a_video_menu[22] = video_menu_0
|
||||
Var a_video_menu[23] = video_menu_0
|
||||
Var a_video_menu[24] = video_menu_0
|
||||
Var a_video_menu[25] = video_menu_0
|
||||
Var a_video_menu[26] = video_menu_0
|
||||
Var a_video_menu[27] = video_menu_0
|
||||
Var a_video_menu[28] = video_menu_0
|
||||
Var a_video_menu[29] = video_menu_0
|
||||
Else
|
||||
SPLIT AdvertiseProfile "/" 1 a_video_menu[0]
|
||||
SPLIT AdvertiseProfile "/" 2 a_video_menu[1]
|
||||
SPLIT AdvertiseProfile "/" 3 a_video_menu[2]
|
||||
SPLIT AdvertiseProfile "/" 4 a_video_menu[3]
|
||||
SPLIT AdvertiseProfile "/" 5 a_video_menu[4]
|
||||
SPLIT AdvertiseProfile "/" 6 a_video_menu[5]
|
||||
SPLIT AdvertiseProfile "/" 7 a_video_menu[6]
|
||||
SPLIT AdvertiseProfile "/" 8 a_video_menu[7]
|
||||
SPLIT AdvertiseProfile "/" 9 a_video_menu[8]
|
||||
SPLIT AdvertiseProfile "/" 10 a_video_menu[9]
|
||||
SPLIT AdvertiseProfile "/" 11 a_video_menu[10]
|
||||
SPLIT AdvertiseProfile "/" 12 a_video_menu[11]
|
||||
SPLIT AdvertiseProfile "/" 13 a_video_menu[12]
|
||||
SPLIT AdvertiseProfile "/" 14 a_video_menu[13]
|
||||
SPLIT AdvertiseProfile "/" 15 a_video_menu[14]
|
||||
SPLIT AdvertiseProfile "/" 16 a_video_menu[15]
|
||||
SPLIT AdvertiseProfile "/" 17 a_video_menu[16]
|
||||
SPLIT AdvertiseProfile "/" 18 a_video_menu[17]
|
||||
SPLIT AdvertiseProfile "/" 19 a_video_menu[18]
|
||||
SPLIT AdvertiseProfile "/" 20 a_video_menu[19]
|
||||
SPLIT AdvertiseProfile "/" 21 a_video_menu[20]
|
||||
SPLIT AdvertiseProfile "/" 22 a_video_menu[21]
|
||||
SPLIT AdvertiseProfile "/" 23 a_video_menu[22]
|
||||
SPLIT AdvertiseProfile "/" 24 a_video_menu[23]
|
||||
SPLIT AdvertiseProfile "/" 25 a_video_menu[24]
|
||||
SPLIT AdvertiseProfile "/" 26 a_video_menu[25]
|
||||
SPLIT AdvertiseProfile "/" 27 a_video_menu[26]
|
||||
SPLIT AdvertiseProfile "/" 28 a_video_menu[27]
|
||||
SPLIT AdvertiseProfile "/" 29 a_video_menu[28]
|
||||
SPLIT AdvertiseProfile "/" 30 a_video_menu[29]
|
||||
EndIf
|
||||
|
||||
SPLIT AdvertiseProfile "/" 1 a_video_menu[0]
|
||||
SPLIT AdvertiseProfile "/" 2 a_video_menu[1]
|
||||
SPLIT AdvertiseProfile "/" 3 a_video_menu[2]
|
||||
SPLIT AdvertiseProfile "/" 4 a_video_menu[3]
|
||||
SPLIT AdvertiseProfile "/" 5 a_video_menu[4]
|
||||
SPLIT AdvertiseProfile "/" 6 a_video_menu[5]
|
||||
SPLIT AdvertiseProfile "/" 7 a_video_menu[6]
|
||||
SPLIT AdvertiseProfile "/" 8 a_video_menu[7]
|
||||
SPLIT AdvertiseProfile "/" 9 a_video_menu[8]
|
||||
SPLIT AdvertiseProfile "/" 10 a_video_menu[9]
|
||||
SPLIT AdvertiseProfile "/" 11 a_video_menu[10]
|
||||
SPLIT AdvertiseProfile "/" 12 a_video_menu[11]
|
||||
SPLIT AdvertiseProfile "/" 13 a_video_menu[12]
|
||||
SPLIT AdvertiseProfile "/" 14 a_video_menu[13]
|
||||
SPLIT AdvertiseProfile "/" 15 a_video_menu[14]
|
||||
SPLIT AdvertiseProfile "/" 16 a_video_menu[15]
|
||||
SPLIT AdvertiseProfile "/" 17 a_video_menu[16]
|
||||
SPLIT AdvertiseProfile "/" 18 a_video_menu[17]
|
||||
SPLIT AdvertiseProfile "/" 19 a_video_menu[18]
|
||||
SPLIT AdvertiseProfile "/" 20 a_video_menu[19]
|
||||
SPLIT AdvertiseProfile "/" 21 a_video_menu[20]
|
||||
SPLIT AdvertiseProfile "/" 22 a_video_menu[21]
|
||||
SPLIT AdvertiseProfile "/" 23 a_video_menu[22]
|
||||
SPLIT AdvertiseProfile "/" 24 a_video_menu[23]
|
||||
SPLIT AdvertiseProfile "/" 25 a_video_menu[24]
|
||||
SPLIT AdvertiseProfile "/" 26 a_video_menu[25]
|
||||
SPLIT AdvertiseProfile "/" 27 a_video_menu[26]
|
||||
SPLIT AdvertiseProfile "/" 28 a_video_menu[27]
|
||||
SPLIT AdvertiseProfile "/" 29 a_video_menu[28]
|
||||
SPLIT AdvertiseProfile "/" 30 a_video_menu[29]
|
||||
|
||||
|
||||
DEBUGVAR a_video_menu[12]
|
||||
DEBUGVAR a_video_menu[18]
|
||||
|
|
|
|||
|
|
@ -159,9 +159,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
; move to TRY actoin.
|
||||
Var RoadShow = "false"
|
||||
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -209,6 +207,7 @@
|
|||
STRCONTAIN "1206" MaterialAvailable EnergyDrinkEnable
|
||||
STRCONTAIN "1216" MaterialAvailable CoconutSyrupEnable
|
||||
STRCONTAIN "1042" MaterialAvailable CocoaPowderEnable
|
||||
STRCONTAIN "1037" MaterialAvailable 7UpSyrupEnable
|
||||
|
||||
;Var AppFastEnable = "false"
|
||||
If AppFastEnable = "true" Then
|
||||
|
|
@ -830,16 +829,17 @@
|
|||
Var CountryRootPath = "ROOT/taobin_project/inter/sgp/"
|
||||
Var CountryShortName = "sgp"
|
||||
|
||||
ar TextPriceMenuSize = 12
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
Var PriceUnitText = "Price in SGD"
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/main_page_en/bp_main_page_member.png"
|
||||
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page_en/bn_main_page_member.png"
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
|
@ -854,16 +854,20 @@
|
|||
STRCONTAIN "521215" MaterialAvailable SugarZeroCalEnable
|
||||
|
||||
Var SettingDisableTaobinCredit = "true"
|
||||
Var SettingDisableTaobinCode = "false"
|
||||
;Var SettingDisableTaobinCode = "false"
|
||||
|
||||
; Singapore disable point
|
||||
Var SettingIgnoreCollectPoint = 1
|
||||
;Var SettingIgnoreCollectPoint = 1
|
||||
|
||||
Var SettingVideoBrewingUseCommon = 1
|
||||
|
||||
Var MinPhoneNumber = 8
|
||||
Var MaxPhoneNumber = 8
|
||||
|
||||
Var ShowCountDownAsPercent = 1
|
||||
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1104,12 +1108,24 @@
|
|||
|
||||
Var CurrentMainVideo = CurrentMainVideoTemp
|
||||
|
||||
DEBUGVAR SettingDisableTaobinCredit
|
||||
If SettingDisableTaobinCredit = "true" Then
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
Machine OrderCheck
|
||||
|
||||
DEBUGVAR CLOSE_ORDER_NOW
|
||||
|
||||
; move to TRY actoin.
|
||||
; Move to end of EventOpen for override war
|
||||
Var RoadShow = "false"
|
||||
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1214,10 +1230,20 @@
|
|||
</EventUnitTest3>
|
||||
|
||||
<EventUnitTest4>
|
||||
Var XMLProfile = "$School"
|
||||
PRICE "Load" "-"
|
||||
PRICE "Check" XMLProfile
|
||||
PRICE "CheckAndApply" XMLProfile
|
||||
|
||||
DEBUGVAR ProfileIndex[0]
|
||||
DEBUGVAR ProfileIndex[1]
|
||||
DEBUGVAR ProfileIndex[2]
|
||||
|
||||
</EventUnitTest4>
|
||||
|
||||
<EventUnitTest6>
|
||||
PushFile "/sdcard/" "RootManPicture" "scn_240703193755.png"
|
||||
</EventUnitTest6>
|
||||
|
||||
<EventDrink>
|
||||
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
|
||||
</EventDrink>
|
||||
|
|
@ -1372,12 +1398,18 @@
|
|||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
EndIf
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
EndIf
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1672,16 +1704,14 @@
|
|||
|
||||
If InternationalEnable = 1 Then
|
||||
;inter-xml-open
|
||||
If CountryName = "Australia" Then
|
||||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
Else
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
If CountryName = "Malaysia" Then
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
|
|
|
|||
|
|
@ -1128,6 +1128,7 @@
|
|||
|
||||
Var SeekerTmp = "next"
|
||||
Var TelephoneNumber = SeekerTmp.TNumberTaobinCredit
|
||||
Var PayCredit = 1
|
||||
Else
|
||||
Var topupCreditWithCash = "Enable"
|
||||
|
||||
|
|
@ -1135,12 +1136,13 @@
|
|||
Var TelephoneNumber = SeekerTmp.TNumberTaobinCredit
|
||||
|
||||
CoinPause
|
||||
Var PayCredit = 0
|
||||
EndIf
|
||||
|
||||
SAVELOG "User click topup-credit button"
|
||||
Var Seeker = "topupCredit"
|
||||
|
||||
Var PayCredit = 0
|
||||
|
||||
|
||||
If TelephoneNumber = "" Then
|
||||
Open "ROOT/taobin_project/xml/page_topup_credit.xml"
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
DEBUGVAR MachineStage
|
||||
|
||||
Var PayReference = ""
|
||||
Var PayType = ""
|
||||
Var PayType = "newpay"
|
||||
|
||||
|
||||
Var SelectDrink = Seeker.selected_a_drink
|
||||
|
|
|
|||
|
|
@ -10,6 +10,16 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/open_page_catalog.ev"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
DEBUGVAR FromFruityRaya
|
||||
DEBUGVAR FromProThaiTea
|
||||
DEBUGVAR FromProYuzu
|
||||
|
||||
Var FromFruityRaya = 0
|
||||
Var FromProThaiTea = 0
|
||||
Var FromProYuzu = 0
|
||||
EndIf
|
||||
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
|
@ -186,7 +196,7 @@
|
|||
|
||||
DEBUGVAR MenuKidButtonState
|
||||
|
||||
|
||||
Machine OrderCheck
|
||||
|
||||
|
||||
DEBUGVAR $51-03-01-0035.Price
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
Var NightTime = 0
|
||||
|
||||
Machine WakeUp
|
||||
Machine OrderCheck
|
||||
|
||||
DEBUGVAR ToppingNewShow
|
||||
|
||||
|
|
@ -226,6 +227,8 @@
|
|||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
|
||||
|
||||
; zone cup on arm
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
36
xml/page_catalog_group_pro_.skt
Normal file
36
xml/page_catalog_group_pro_.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
3321
xml/page_catalog_group_pro_.xml
Normal file
3321
xml/page_catalog_group_pro_.xml
Normal file
File diff suppressed because it is too large
Load diff
49
xml/page_catalog_group_pro_7up_lucky_draw_x2.skt
Normal file
49
xml/page_catalog_group_pro_7up_lucky_draw_x2.skt
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
10130
xml/page_catalog_group_pro_7up_lucky_draw_x2.xml
Normal file
10130
xml/page_catalog_group_pro_7up_lucky_draw_x2.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
51
xml/page_catalog_group_pro_passion_mint.skt
Normal file
51
xml/page_catalog_group_pro_passion_mint.skt
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
|
||||
|
||||
3388
xml/page_catalog_group_pro_passion_mint.xml
Normal file
3388
xml/page_catalog_group_pro_passion_mint.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -34,7 +34,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 24
|
||||
; menu_new_list 25
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0001
|
||||
<Block>
|
||||
|
|
@ -3547,6 +3547,257 @@
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0018
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-41-03-0018.Button,$Sum1241030018) </State>
|
||||
<Button>
|
||||
<State> $Sum1241030018 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_Slushy.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_Slushy.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_Slushy.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-41-03-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Tao Tim Slushy"
|
||||
Var NameDrinkTH = "เต่าติมสลัชชี่"
|
||||
Var DrinkDescriptionTH = "ไอศครีมนม และเป๊ปซี่"
|
||||
Var DrinkDescription = "Icecream, Pepsi syrup"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_Slushy.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-41-03-0018.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-41-03-0018"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-41-03-0018.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-41-03-0018, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-41-03-0018"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-41-03-0018.NameE
|
||||
Var menu_desc_eng_blender = $12-41-03-0018.descriptionE
|
||||
Var menu_name_thai_blender = $12-41-03-0018.Name
|
||||
Var menu_desc_thai_blender = $12-41-03-0018.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าติมสลัชชี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ไอศครีมนม และเป๊ปซี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Tao Tim Slushy" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Icecream, Pepsi syrup" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-41-03-0018.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-41-03-0018.Button </State>
|
||||
<Value> StringFmt( $12-41-03-0018.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1241030018 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-41-03-0018.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1241030018 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
|
|
@ -4302,6 +4553,257 @@ Banana" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; - - 12-41-03-0029
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-41-03-0029.Button,$Sum1241030029) </State>
|
||||
<Button>
|
||||
<State> $Sum1241030029 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_TAOTIM_7up.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_TAOTIM_7up.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_TAOTIM_7up.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-41-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Tao Tim 7up"
|
||||
Var NameDrinkTH = "เต่าติมโฮจิฉะ"
|
||||
Var DrinkDescriptionTH = "ไอศครีมนม และ 7up"
|
||||
Var DrinkDescription = "Icecream, 7up"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_TAOTIM_7up.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-41-03-0029.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-41-03-0029"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-41-03-0029.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-41-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-41-03-0029"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-41-03-0029.NameE
|
||||
Var menu_desc_eng_blender = $12-41-03-0029.descriptionE
|
||||
Var menu_name_thai_blender = $12-41-03-0029.Name
|
||||
Var menu_desc_thai_blender = $12-41-03-0029.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เต่าติมโฮจิฉะ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ไอศครีมนม และ 7up" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Tao Tim 7up" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Icecream, 7up" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-41-03-0029.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-41-03-0029.Button </State>
|
||||
<Value> StringFmt( $12-41-03-0029.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1241030029 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-41-03-0029.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1241030029 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 17
|
||||
; menu_new_list 20
|
||||
; ==================> Len = 17
|
||||
; - 12-04-02-0001 -
|
||||
<Block>
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@
|
|||
DEBUGVAR FromFruityRaya
|
||||
DEBUGVAR ProThaiTeaEnable
|
||||
DEBUGVAR FromProThaiTea
|
||||
DEBUGVAR FromProYuzu
|
||||
|
||||
If Seeker.TNumberTaobinCredit = "" Then
|
||||
|
||||
|
|
@ -202,6 +203,14 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ProYuzuEnable
|
||||
DEBUGVAR FromProYuzu
|
||||
If ProYuzuEnable = 1 Then
|
||||
If FromProYuzu = 1 Then
|
||||
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If PepweenEnable = 1 Then
|
||||
If PepweenCollectPoint = 0 Then
|
||||
GETACCEXT TelephoneNumber 31
|
||||
|
|
@ -317,6 +326,14 @@
|
|||
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ProYuzuEnable
|
||||
DEBUGVAR FromProYuzu
|
||||
If ProYuzuEnable = 1 Then
|
||||
If FromProYuzu = 1 Then
|
||||
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If ProBadValentineEnable = 1 Then
|
||||
If FromBadValentinePro = 1 Then
|
||||
|
|
@ -845,6 +862,14 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ProYuzuEnable
|
||||
DEBUGVAR FromProYuzu
|
||||
If ProYuzuEnable = 1 Then
|
||||
If FromProYuzu = 1 Then
|
||||
Open "ROOT/taobin_project/inter/mys/xml/event/yuzu/page_get_free_1_yuzu.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MyMintEnable = 1 Then
|
||||
If FromMyMintPro = 1 Then
|
||||
GETACCEXT TelephoneNumber 32
|
||||
|
|
@ -952,7 +977,11 @@
|
|||
If FromProThaiTea = 1 Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
If FromProYuzu = 1 Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> Var( DirImage + "/text_2.png") </Filename>
|
||||
|
|
@ -965,7 +994,11 @@
|
|||
If FromProThaiTea = 1 Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
If FromProYuzu = 1 Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> Var( DirImage + "/edit.png") </Filename>
|
||||
|
|
|
|||
|
|
@ -581,11 +581,8 @@
|
|||
Var VendingTSIDProblem = VendingTSID
|
||||
EndIf
|
||||
|
||||
; server-rm-zero
|
||||
If CountryName = "Singapore" Then
|
||||
Var TelephoneNumberProblem = "0" + TelephoneNumberProblem
|
||||
DEBUGVAR TelephoneNumberProblem
|
||||
EndIf
|
||||
; sgp-server-rm-zero
|
||||
|
||||
|
||||
|
||||
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
|
||||
|
|
|
|||
|
|
@ -296,9 +296,19 @@
|
|||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PriceDrinkTmp
|
||||
DEBUGVAR OriginalPrice
|
||||
DEBUGVAR TOPPING_PRICE
|
||||
|
||||
If FromCocoa77Pro = 1 Then
|
||||
Var PriceDiff = OriginalPrice - PromotionPriceDrink
|
||||
Var OriginalPriceWithTopping = OriginalPrice + TOPPING_PRICE
|
||||
Var PriceDiff = OriginalPriceWithTopping - PromotionPriceDrink
|
||||
Var DiscountDrink = PriceDiff
|
||||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
If FromPassionMintPro = 1 Then
|
||||
Var OriginalPriceWithTopping = OriginalPrice + TOPPING_PRICE
|
||||
Var PriceDiff = OriginalPriceWithTopping - PromotionPriceDrink
|
||||
Var DiscountDrink = PriceDiff
|
||||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
|
@ -447,6 +457,12 @@
|
|||
Var Seeker.FreeVendingCampaign = 0
|
||||
EndIf
|
||||
|
||||
; mys pro yuzu
|
||||
If FromProYuzu = 1 Then
|
||||
Var Seeker.VendingCode = "YZ1F1"
|
||||
Var Seeker.FreeVendingCampaign = 0
|
||||
EndIf
|
||||
|
||||
; Oreo free
|
||||
If PromotionIDOreoBuyTwoSaveMore = 1 Then
|
||||
Var PromotionIDOreoBuyTwoSaveMore = 0
|
||||
|
|
|
|||
|
|
@ -509,6 +509,10 @@
|
|||
Var X_PS6 = 652
|
||||
EndIf
|
||||
|
||||
DEBUGVAR VendingCashless
|
||||
Var VendingCashless = "-"
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@
|
|||
<Sound> PlaySoundLag </Sound>
|
||||
<EventOpen>
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
|
||||
DEBUGVAR str_sim_on
|
||||
|
||||
Var SGPSimMode = "Invisible"
|
||||
|
||||
If str_sim_on = "1" Then
|
||||
Var SGPSimMode = "Enable"
|
||||
EndIf
|
||||
|
||||
Var cash_disable = "0"
|
||||
READ_FILE "/mnt/sdcard/coffeevending/cash_disable" cash_disable
|
||||
DEBUGVAR cash_disable
|
||||
|
|
@ -461,9 +470,7 @@
|
|||
Var TopRowY = 1276
|
||||
Var BotRowY = 1499
|
||||
|
||||
If SettingDisableTaobinCredit = "true" Then
|
||||
Var PayState4 = "Invisible"
|
||||
EndIf
|
||||
Var PayState4 = "Invisible"
|
||||
|
||||
If SettingDisableTaobinCode = "true" Then
|
||||
Var PayState2 = "Invisible"
|
||||
|
|
@ -2454,6 +2461,32 @@ EndIf
|
|||
<Value> ShowNetworkProblemText </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1870 </Y>
|
||||
<State> SGPSimMode </State>
|
||||
<Color> "0xFFBF00" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
<EventClick>
|
||||
DEBUGVAR SGPSimMode
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 1880 </Y>
|
||||
<State> SGPSimMode </State>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> "Test Bypass Payment" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<EventUnitTest1>
|
||||
|
||||
|
|
@ -2471,7 +2504,12 @@ Var PayState1 = "Enable"
|
|||
|
||||
</EventUnitTest2>
|
||||
|
||||
<EventUnitTest3>
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
</EventUnitTest3>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
|
|||
|
|
@ -44,10 +44,7 @@
|
|||
|
||||
LED LedDoorDoor 5 255 255 255 255
|
||||
|
||||
Var TimeoutInstance0 = 0
|
||||
Var CheckCupStateDoorCupClose = "-"
|
||||
Var CheckCupStateDoorCupCloseCnt = 0
|
||||
Var CoundUpDelayCertainStage = 0
|
||||
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -63,102 +60,7 @@
|
|||
;DEBUGVAR CupArmMove
|
||||
;DEBUGVAR buttonRemoveCup
|
||||
|
||||
; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file.
|
||||
If HaveCup = "false" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 15 Then
|
||||
Var Timeout = 0
|
||||
EndIf
|
||||
|
||||
Var TimeoutInstance0 = TimeoutInstance0 + 1
|
||||
|
||||
If TimeoutInstance0 > 600 Then
|
||||
Var TimeoutInstance0 = 0
|
||||
SAVELOG "Check Cup all"
|
||||
Machine CheckCupAll
|
||||
EndIf
|
||||
|
||||
; Logic have differrent drinkfail3.xml
|
||||
; protect lock
|
||||
;
|
||||
|
||||
If CheckCupStateDoorCupCloseCnt > 0 Then
|
||||
Var CheckCupStateDoorCupCloseCnt = CheckCupStateDoorCupCloseCnt - 1
|
||||
DEBUGVAR CheckCupStateDoorCupCloseCnt
|
||||
|
||||
If CheckCupStateDoorCupCloseCnt = 0 Then
|
||||
Var CheckCupStateDoorCupClose = ""
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
If HaveCup = "true" Then
|
||||
|
||||
If CheckCupStateDoorCupClose = "" Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
Var CoundUpDelayCertainStage = 0
|
||||
EndIf
|
||||
|
||||
If CupArmMove = "true" Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = "Please wait."
|
||||
Else
|
||||
Var MachineErrorDetailAll = "กรุณารอสักครู่"
|
||||
EndIf
|
||||
Else
|
||||
If CupArmMove = "false" Then
|
||||
If HaveCup = "true" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If buttonRemoveCup = "Invisible" Then
|
||||
Var CoundUpDelayCertainStage = CoundUpDelayCertainStage + 1
|
||||
If CoundUpDelayCertainStage > 2 Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Else
|
||||
If Timeout = 0 Then
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
If CupChecking = "false" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/remove_cup.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
;include=ROOT/taobin_project/inc/remove_cup_step.inc
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
|
@ -166,20 +68,7 @@
|
|||
|
||||
</EventTimeout>
|
||||
|
||||
<EventDrink>
|
||||
SAVELOG "EventDrink"
|
||||
DEBUGVAR HaveCup
|
||||
DEBUGVAR CupOnArm
|
||||
DEBUGVAR DoorCupPosition
|
||||
DEBUGVAR CupChecking
|
||||
DEBUGVAR CupArmMove
|
||||
|
||||
If HaveCup = "true" Then
|
||||
Var buttonRemoveCup = "Enable"
|
||||
Else
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
</EventDrink>
|
||||
;include=ROOT/taobin_project/inc/remove_cup_tag_event.inc
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
|
|
@ -198,15 +87,8 @@
|
|||
<EventClick>
|
||||
|
||||
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
; protect value update too slow.
|
||||
Var DoorCupPosition = "-"
|
||||
;include=ROOT/taobin_project/inc/remove_cup_button.inc
|
||||
|
||||
Var CheckCupStateDoorCupClose = "reset"
|
||||
Var CheckCupStateDoorCupCloseCnt = 30
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -402,5 +402,8 @@
|
|||
<Value> MachineErrorDetailAll </Value>
|
||||
</Text>
|
||||
|
||||
<EventUnitTest6>
|
||||
PushFile "/sdcard/" "RootManPicture" "scn_240703193755.png"
|
||||
</EventUnitTest6>
|
||||
|
||||
</Page>
|
||||
|
|
@ -363,7 +363,13 @@
|
|||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If Seeker.StoreCreditFlag = 1 Then
|
||||
|
|
@ -409,9 +415,19 @@
|
|||
|
||||
If Seeker.FreeVendingCampaign = 1 Then
|
||||
If Seeker.CollectPointPromotion = 1 Then
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
Else
|
||||
If Seeker.CollectPointMain = 1 Then
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -420,6 +436,11 @@
|
|||
If CART_INDEX >= 2 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
|
|
@ -434,9 +455,19 @@
|
|||
;EndIf
|
||||
|
||||
If Seeker.CollectPointPromotion = 1 Then
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
Else
|
||||
If Seeker.CollectPointMain = 1 Then
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -446,6 +477,11 @@
|
|||
If CART_INDEX >= 2 Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
If CountryName = "Singapore" Then
|
||||
; ask-if-member-yet
|
||||
Var MemberPrompt = CountryRootPath + "/xml/page_member_prompt.lxml"
|
||||
Open MemberPrompt
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -509,6 +509,12 @@
|
|||
DEBUGVAR MenuReady
|
||||
DEBUGVAR CupRemain
|
||||
|
||||
|
||||
If CLOSE_ORDER_NOW = "true" Then
|
||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
DEBUGVAR MachineStage
|
||||
DEBUGVAR ConfirmDrinkButtonState
|
||||
|
|
@ -919,10 +925,7 @@
|
|||
;Open PreviseXMLFileName2
|
||||
DEBUGVAR OpenFromXML
|
||||
|
||||
Var FromPowerUpPro = 0
|
||||
Var FromEnergyDrink1BathPro = 0
|
||||
Var FromCoffeeDrink1BathPro = 0
|
||||
Var FromNamHomCoconutPro = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
|
@ -6247,6 +6250,7 @@
|
|||
|
||||
Var FromPowerUpPro = 0
|
||||
Var FromEnergyDrink1BathPro = 0
|
||||
Var FromCocoa77Pro = 0
|
||||
|
||||
If Seeker = "next" Then
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
|
|
|
|||
|
|
@ -725,14 +725,22 @@
|
|||
Var TelephoneNumber = "0859586589"
|
||||
WRITE_FILE "/mnt/sdcard/config_taobingame.yaml" ""
|
||||
;APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: "http://10.0.16.233:30487/taobingame"\r\n"
|
||||
If CountryName = "Australia" Then
|
||||
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: "http://game.au.taobin.local:26969"\r\n"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: "http://game.au.taobin.local:26969"\r\n"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: "http://game.my.taobin.local:26969"\r\n"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
APPEND_FILE "/mnt/sdcard/config_taobingame.yaml" "API_ENDPOINT: "http://10.0.16.231:30460"\r\n"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var ACCString !assigned SprintFmt("ACC: "%s"\r\n", TelephoneNumber)
|
||||
DEBUGVAR ACCString
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue