add skt multi-instance
This commit is contained in:
commit
f5d8b03363
193 changed files with 124580 additions and 11885 deletions
41
xml/event/multi_promotion_config_melon_coffee.json
Normal file
41
xml/event/multi_promotion_config_melon_coffee.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[
|
||||
{
|
||||
"name": "coffee_drink_1_bath",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/coffee_drink_1_bath/1_baht_coffee_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "wednesday_melon",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_wednesday_melon.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
41
xml/event/multi_promotion_config_melon_energy.json
Normal file
41
xml/event/multi_promotion_config_melon_energy.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[
|
||||
{
|
||||
"name": "energy_drink_1_bath",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/energy_drink_1_bath/1_baht_energy_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/event/energy_drink_1_bath/page_energy_drink_1_bath_catalog.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monday_banana",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "wednesday_melon",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_wednesday_melon.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_powerup_free_1.xml
|
||||
/event/promotion_wednesday_melon.xml
|
||||
|
|
@ -12556,7 +12556,7 @@ LIMENADE SODA" </Value>
|
|||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
|
|
@ -12565,7 +12565,7 @@ LIMENADE SODA" </Value>
|
|||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
|
|
@ -12574,7 +12574,7 @@ LIMENADE SODA" </Value>
|
|||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_en.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png"
|
||||
EndIf
|
||||
|
|
@ -12582,7 +12582,7 @@ LIMENADE SODA" </Value>
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/page_catalog_group_pro_monday_banana.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml"
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_wednesday_melon.xml"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/powerup_free_1/page_powerup_bridge.xml"
|
||||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
|
|||
13120
xml/event/promotion_wednesday_melon.xml
Normal file
13120
xml/event/promotion_wednesday_melon.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -11,6 +11,7 @@ DEBUGVAR FreeEnergyDrink
|
|||
DEBUGVAR EnergyDrinkEnable
|
||||
DEBUGVAR EnergyDrink1BathPro
|
||||
DEBUGVAR CoffeeDrink1BathPro
|
||||
DEBUGVAR WednesdayMelonPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -37,55 +38,73 @@ Else
|
|||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If LipitPro = 1 Then
|
||||
If TeaTimePro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
If EnableFreeEnergyDrink = "true" Then
|
||||
If FreeEnergyDrink = 1 Then
|
||||
Var FreePowerup = "Enable"
|
||||
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
If CoffeeDrink1BathPro = 1 Then
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_lipit_and_monday_banana_and_free_energy_drink.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_tea_time_and_energy_drink_1_bath_and_coffee_drink_1_bath.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_lipit.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_tea_time.xml"
|
||||
EndIf
|
||||
Else
|
||||
If TeaTimePro = 1 Then
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CoffeeDrink1BathPro = 1 Then
|
||||
|
||||
If WednesdayMelonPro = 1 Then
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_tea_time_and_energy_drink_1_bath_and_coffee_drink_1_bath.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_energy_drink_1_bath_and_monday_banana_and_wednesday_melon.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_tea_time.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_energy_drink_1_bath.xml"
|
||||
EndIf
|
||||
Else
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_energy_drink_1_bath.xml"
|
||||
Else
|
||||
If CoffeeDrink1BathPro = 1 Then
|
||||
If CoffeeDrink1BathPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If MondayBananaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If WednesdayMelonPro = 1 Then
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_coffee_drink_1_bath.xml"
|
||||
EndIf
|
||||
Else
|
||||
If MondayBananaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_monday_banana.xml"
|
||||
EndIf
|
||||
|
||||
If WednesdayMelonPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_wednesday_melon.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -99,6 +99,10 @@ Var FromEnergyDrink1BathPro = 0
|
|||
Var CoffeeDrink1BathPro = 0
|
||||
Var FromCoffeeDrink1BathPro = 0
|
||||
|
||||
; Enable Wednesday melon, 15, 22, 29 May - 5, 12 June
|
||||
Var WednesdayMelonPro = 0
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
|
||||
Var NewFlowPaymentCode = 0
|
||||
|
|
@ -253,6 +257,39 @@ If SystemDateMonthInt = 5 Then
|
|||
Var EnergyDrink1BathPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 15 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 22 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 29 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 13 Then
|
||||
Var MondayBananaPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 20 Then
|
||||
Var MondayBananaPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 27 Then
|
||||
Var MondayBananaPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 6 Then
|
||||
If SystemDateDayInt = 5 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 12 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -263,7 +300,7 @@ If BoxID = 173149 Then
|
|||
Var PepsiSecondCup30DiscountEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
;Var EnableFreeEnergyDrink = "true"
|
||||
Var CoffeeDrink1BathPro = 1
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -352,6 +389,7 @@ If InternationalEnable = 1 Then
|
|||
Var ProPeachEnable = 0
|
||||
Var ProBadValentineEnable = 0
|
||||
Var FreeEnergyDrink = 0
|
||||
Var WednesdayMelonPro = 0
|
||||
EndIf
|
||||
|
||||
STRCONTAIN "taobin_nopro" XMLProfile taobin_nopro
|
||||
|
|
@ -384,11 +422,19 @@ If taobin_nopro = "true" Then
|
|||
|
||||
Var LipitPro = 0
|
||||
|
||||
Var WednesdayMelonPro = 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"
|
||||
|
||||
EndIf
|
||||
|
||||
If MelonSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var WednesdayMelonPro = 0
|
||||
EndIf
|
||||
|
||||
If BananaSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -178,6 +178,59 @@
|
|||
else:
|
||||
from_tea_time_pro = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_wednesday_melon.skt":
|
||||
wednesday_melon_prices = {
|
||||
"12-03-01-0022": 25,
|
||||
"12-03-02-0022": 30,
|
||||
"12-03-03-0022": 35,
|
||||
"12-01-01-0039": 30,
|
||||
"12-01-02-0039": 35,
|
||||
"12-21-01-0039": 30,
|
||||
"12-21-02-0039": 35,
|
||||
"12-03-03-0028": 40,
|
||||
"12-05-02-0044": 20,
|
||||
"12-05-02-0047": 15,
|
||||
"12-05-03-0047": 20,
|
||||
"12-05-02-0105": 15,
|
||||
"12-05-03-0105": 20,
|
||||
"12-99-02-0011": 20,
|
||||
"12-99-02-0013": 30,
|
||||
"12-99-02-0014": 20,
|
||||
"12-99-02-0015": 15,
|
||||
"12-99-02-0016": 20,
|
||||
"12-99-02-0018": 25,
|
||||
"12-99-03-0016": 35
|
||||
}
|
||||
|
||||
wednesday_melon_original_prices = {
|
||||
"12-03-01-0022": 35,
|
||||
"12-03-02-0022": 40,
|
||||
"12-03-03-0022": 45,
|
||||
"12-01-01-0039": 40,
|
||||
"12-01-02-0039": 45,
|
||||
"12-21-01-0039": 40,
|
||||
"12-21-02-0039": 45,
|
||||
"12-03-03-0028": 50,
|
||||
"12-05-02-0044": 30,
|
||||
"12-05-02-0047": 25,
|
||||
"12-05-03-0047": 30,
|
||||
"12-05-02-0105": 25,
|
||||
"12-05-03-0105": 30,
|
||||
"12-99-02-0011": 30,
|
||||
"12-99-02-0013": 40,
|
||||
"12-99-02-0014": 30,
|
||||
"12-99-02-0015": 25,
|
||||
"12-99-02-0016": 30,
|
||||
"12-99-02-0018": 35,
|
||||
"12-99-03-0016": 45
|
||||
}
|
||||
|
||||
wednesday_melon_fix_price = True
|
||||
else:
|
||||
wednesday_melon_prices = {}
|
||||
wednesday_melon_original_prices = {}
|
||||
wednesday_melon_fix_price = False
|
||||
|
||||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
|
|
@ -380,7 +433,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(monday_banana_original_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(monday_banana_original_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(monday_banana_original_prices, pd_code_3)) + '\r\n')
|
||||
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(wednesday_melon_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(wednesday_melon_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(wednesday_melon_prices, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_3)) + '\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
|
|
@ -472,6 +531,9 @@
|
|||
if monday_banana_fix_price:
|
||||
out_xml( '\t\tVar FromMondayBananaPro = 1 \r\n')
|
||||
|
||||
if wednesday_melon_fix_price:
|
||||
out_xml( '\t\tVar FromWednesdayMelonPro = 1 \r\n')
|
||||
|
||||
if from_my_mint_promotion:
|
||||
out_xml( '\t\tVar FromMyMintPro = 1 \r\n')
|
||||
|
||||
|
|
@ -621,6 +683,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(monday_banana_prices, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif wednesday_melon_prices:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[4] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -630,6 +694,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + '" </Value>\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(monday_banana_prices, spl[4])) + '" </Value>\r\n')
|
||||
elif wednesday_melon_prices:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[4])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -684,6 +750,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(monday_banana_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -693,6 +761,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + '" </Value>\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(monday_banana_prices, spl[5])) + '" </Value>\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[5])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -763,6 +833,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(monday_banana_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -772,6 +844,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice_Old(rerun_prices, pd_code_1, pd_code_2, pd_code_3)) + '" </Value>\r\n')
|
||||
elif monday_banana_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(monday_banana_prices, spl[6])) + '" </Value>\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[6])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -961,9 +1035,17 @@
|
|||
|
||||
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
|
||||
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
if wednesday_melon_fix_price:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(wednesday_melon_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(wednesday_melon_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(wednesday_melon_prices, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_3)) + '\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
|
||||
out_xml( '\t\tVar PD_CODE1 = "' + pd_code_1 + '"\r\n')
|
||||
out_xml( '\t\tVar PD_CODE2 = "' + pd_code_2 + '"\r\n')
|
||||
|
|
@ -1056,6 +1138,9 @@
|
|||
if from_tea_time_pro:
|
||||
out_xml( '\t\tVar FromTeaTimePro = 1 \r\n')
|
||||
|
||||
if wednesday_melon_fix_price:
|
||||
out_xml( '\t\tVar FromWednesdayMelonPro = 1 \r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
|
||||
|
|
@ -1164,9 +1249,15 @@
|
|||
if "free" in param:
|
||||
out_xml( '\t<Value> "Free" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[8] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[8])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[8] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price ) </Value>\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[8])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price ) </Value>\r\n')
|
||||
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
|
@ -1211,9 +1302,15 @@
|
|||
if "free" in param:
|
||||
out_xml( '\t<Value> "Free" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[9] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[9])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[9] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price ) </Value>\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[9])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price ) </Value>\r\n')
|
||||
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
|
@ -1257,9 +1354,15 @@
|
|||
if "free" in param:
|
||||
out_xml( '\t<Value> "Free" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[10] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[10])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[10] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price ) </Value>\r\n')
|
||||
if wednesday_melon_prices:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[10])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price ) </Value>\r\n')
|
||||
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
||||
|
|
|
|||
1
xml/menutab/event/out_put_file1.txt
Normal file
1
xml/menutab/event/out_put_file1.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
/event/promotion_energy_drink_1_bath.xml
|
||||
1
xml/menutab/event/out_put_file2.txt
Normal file
1
xml/menutab/event/out_put_file2.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
/event/promotion_coffee_drink_1_bath.xml
|
||||
1
xml/menutab/event/out_put_file3.txt
Normal file
1
xml/menutab/event/out_put_file3.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
/event/promotion_tea_time.xml
|
||||
1
xml/menutab/event/out_put_file4.txt
Normal file
1
xml/menutab/event/out_put_file4.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
/event/promotion_wednesday_melon.xml
|
||||
13198
xml/menutab/event/promotion_energy_drink_1_bath.xml
Normal file
13198
xml/menutab/event/promotion_energy_drink_1_bath.xml
Normal file
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
61
xml/menutab/page_catalog_group_pro_buble_tea.skt
Normal file
61
xml/menutab/page_catalog_group_pro_buble_tea.skt
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
606
xml/menutab/page_catalog_group_pro_buble_tea.xml
Normal file
606
xml/menutab/page_catalog_group_pro_buble_tea.xml
Normal file
|
|
@ -0,0 +1,606 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "Enable"
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
SetInstanceIgnoreTouch
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
; notice enable heathy menu
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
GetVisible inst_show
|
||||
;DEBUGVAR inst_show
|
||||
|
||||
InstanceGetString SaveStringInst
|
||||
;DEBUGVAR SaveStringInst
|
||||
|
||||
If inst_show = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; setvarint SlientRefreshEnable 1
|
||||
;DEBUGVAR SlientRefreshEnable
|
||||
|
||||
If SlientRefreshEnable = 1 Then
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
|
||||
If show_eng = "true" Then
|
||||
InstanceSetString "ShowEng"
|
||||
Else
|
||||
InstanceSetString "ShowThai"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventUnitTest1>
|
||||
SAVELOG " EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 EventUnitTest1 "
|
||||
RefreshAll
|
||||
</EventUnitTest1>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG " Back multi inst"
|
||||
TabMenuVisibleInst 99
|
||||
OpenInst 2 "ROOT/taobin_project/xml/menutab/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
InstanceSetString "ShowThai"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
InstanceSetString "ShowEng"
|
||||
EndIf
|
||||
|
||||
Var RequestChangeLang = 1
|
||||
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventOnShow>
|
||||
InstanceGetString SaveStringInst
|
||||
DEBUGVAR SaveStringInst
|
||||
DEBUGVAR show_eng
|
||||
|
||||
If SaveStringInst = "RefreshNow" Then
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
If SaveStringInst = "ShowThai" Then
|
||||
|
||||
InstanceSetString "ShowEng"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
Else
|
||||
If SaveStringInst = "ShowEng" Then
|
||||
|
||||
InstanceSetString "ShowThai"
|
||||
GetXMLFileNameCurrentRunning CurrentOpenFile
|
||||
Open CurrentOpenFile
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOnShow>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
Var OpenFromMulti = 1
|
||||
Var OpenFromPageBoard = 1
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 2
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 3
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 4
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 5
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
TabMenuVisibleInst 6
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu6Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
TabMenuVisibleInst 7
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_instance2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuBSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_bakery.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_bakery.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/bakery/xml/page_catalog_vending_machine.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuTaoTimSelect </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_taotimtap.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_taotimtap.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
|
||||
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||
TabMenuVisibleInst 99
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 0
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
;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>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
61
xml/menutab/page_catalog_group_pro_nam_hom_coconut.skt
Normal file
61
xml/menutab/page_catalog_group_pro_nam_hom_coconut.skt
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
3901
xml/menutab/page_catalog_group_pro_nam_hom_coconut.xml
Normal file
3901
xml/menutab/page_catalog_group_pro_nam_hom_coconut.xml
Normal file
File diff suppressed because it is too large
Load diff
63
xml/menutab/page_catalog_group_pro_wednesday_melon.skt
Normal file
63
xml/menutab/page_catalog_group_pro_wednesday_melon.skt
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
3914
xml/menutab/page_catalog_group_pro_wednesday_melon.xml
Normal file
3914
xml/menutab/page_catalog_group_pro_wednesday_melon.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -8,7 +8,11 @@
|
|||
Var CheckCupStateDoorCupClose = ""
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
|
||||
If CountryName = "Australia" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/page_show_error.lxml"
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -21,7 +21,11 @@
|
|||
If InternationalEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_list.xml"
|
||||
Else
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/top_spender.xml"
|
||||
If TeaTimePro = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/top_spender.xml"
|
||||
Else
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_list.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
|
|
|||
|
|
@ -975,40 +975,23 @@
|
|||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
If stop_now = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
If InternationalEnable = 1 Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
|
||||
EndIf
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
|
||||
If RoadShow = "true" Then
|
||||
|
|
@ -1108,37 +1091,21 @@
|
|||
|
||||
If NoWaitMachineEnable = 1 Then
|
||||
If RecoveryRunning = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
|
||||
EndIf
|
||||
If stop_now = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
Else
|
||||
If MachineStage = "close-maintenance" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1148,11 +1115,7 @@
|
|||
Var stop_now = "true"
|
||||
Var MachineErrorDetailAll = "???"
|
||||
SAVELOG "NETCORE_LOST_CNT"
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1179,11 +1142,7 @@
|
|||
Var MachineErrorDetailAll = "Netcore Lost"
|
||||
SAVELOG "Netcore Lost NCIC07_EVENT_CNT"
|
||||
DEBUGVAR NCIC07_EVENT_CNT
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
|
@ -1196,11 +1155,7 @@
|
|||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1222,11 +1177,7 @@
|
|||
Var stop_now = "true"
|
||||
Var stop_now_from_door_cup = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
Else
|
||||
If DoorCupPosition = "Bottom" Then
|
||||
|
|
@ -1240,11 +1191,7 @@
|
|||
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
TRY "ROOT/taobin_project/xml/sometime/script_open_page_show_error.ev"
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton > 0 Then
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
61
xml/page_catalog_group_pro_buble_tea.skt
Normal file
61
xml/page_catalog_group_pro_buble_tea.skt
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
577
xml/page_catalog_group_pro_buble_tea.xml
Normal file
577
xml/page_catalog_group_pro_buble_tea.xml
Normal file
|
|
@ -0,0 +1,577 @@
|
|||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "Enable"
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
; notice enable heathy menu
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Color> "0xeae6e1" </Color>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;DEBUGVAR ICE_PROCESS_STATUS
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
If NextPage = "-" Then
|
||||
|
||||
Else
|
||||
If CupOnArm = "true" Then
|
||||
If Timeout > 9 Then
|
||||
SAVELOG "COA9"
|
||||
Open NextPage
|
||||
EndIf
|
||||
Else
|
||||
If Timeout > 30 Then
|
||||
SAVELOG "COA30"
|
||||
Open NextPage
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If Timeout > 60 Then
|
||||
SAVELOG "Timeout"
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
SAVELOG "Back"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If BrewCommand = "RefreshAll" Then
|
||||
Var BrewCommand = "-"
|
||||
Open CurrentXMLFileName2
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If DoorCupPosition = "bottom" Then
|
||||
; It normal
|
||||
Var EmergencyStop = "false"
|
||||
Else
|
||||
Var EmergencyStop = "true"
|
||||
|
||||
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If IgnoreNetCore = "true" Then
|
||||
|
||||
Else
|
||||
;stop_now
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
; zone cup on arm
|
||||
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
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
EndIf
|
||||
|
||||
|
||||
Open CurrentXMLFileName2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu6Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
; Handle penetrator
|
||||
|
||||
If Only18 = "true" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
|
||||
Else
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 0
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
;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>
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load diff
61
xml/page_catalog_group_pro_nam_hom_coconut.skt
Normal file
61
xml/page_catalog_group_pro_nam_hom_coconut.skt
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
3846
xml/page_catalog_group_pro_nam_hom_coconut.xml
Normal file
3846
xml/page_catalog_group_pro_nam_hom_coconut.xml
Normal file
File diff suppressed because it is too large
Load diff
63
xml/page_catalog_group_pro_wednesday_melon.skt
Normal file
63
xml/page_catalog_group_pro_wednesday_melon.skt
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=menu_catalog_default_init.py
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.py
|
||||
?>
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new.py
|
||||
?>
|
||||
|
||||
|
||||
<?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>
|
||||
|
||||
|
||||
3911
xml/page_catalog_group_pro_wednesday_melon.xml
Normal file
3911
xml/page_catalog_group_pro_wednesday_melon.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -80,25 +80,23 @@
|
|||
If FromRerunPro = 1 Then
|
||||
Var PromoPriceDrink = PriceDrink
|
||||
Var PriceDrink = OldPrice
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PromoPriceDrink
|
||||
EndIf
|
||||
|
||||
If FromMondayBananaPro = 1 Then
|
||||
Var PriceDrink = OriginalPrice
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PromotionPriceDrink
|
||||
If FromWednesdayMelonPro = 1 Then
|
||||
Var PriceDrink = OriginalPrice
|
||||
EndIf
|
||||
|
||||
If FromPowerUpPro = 1 Then
|
||||
Var PriceDrink = OriginalPrice
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PromotionPriceDrink
|
||||
|
||||
Var PriceFromCatalog = PromotionPriceDrink
|
||||
|
||||
;Var AdultFlag = 1
|
||||
|
|
@ -321,6 +319,17 @@
|
|||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
If FromWednesdayMelonPro = 1 Then
|
||||
Var PriceDiff = PriceDrink - PromotionPriceDrink
|
||||
Var Seeker.VendingCode = "PMD10"
|
||||
Var Seeker.IntVendingCampaign = PriceDiff
|
||||
Var Seeker.FreeVendingCampaign = 0
|
||||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.CodeNumber = IDNum
|
||||
Var Seeker.VendingCampaignRI3 = PriceDiff
|
||||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
If NightTime = 1 Then
|
||||
If SelectDrink = "12-99-03-0066" Then
|
||||
Var PriceDrink = 60
|
||||
|
|
|
|||
|
|
@ -1497,6 +1497,10 @@ If alphaState = "Invisible" Then
|
|||
Var QRCODE99 = ""
|
||||
Var Timeout = 0
|
||||
Var QRErrorState = "Invisible"
|
||||
|
||||
;add-pd-to-ref
|
||||
Var CreditCardRef = CreditCardRef + "/"
|
||||
Var CreditCardRef = CreditCardRef + SelectDrink
|
||||
|
||||
;Var QR_POPUP = "/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
|
|
|
|||
13
xml/sometime/script_open_page_show_error.ev
Normal file
13
xml/sometime/script_open_page_show_error.ev
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
If InternationalEnable = 1 Then
|
||||
If MachineStage = "close-maintenance" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
Open "ROOT/taobin_project/inter/aus/xml/page_show_error.lxml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_show_error.xml"
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue