THAI: Added ธันวาทันใจ, 4 เมนูรูปจริง, 3 เมนูชา
BIN
image/event/12_day_12_menu/12_day_12_menu_en.png
Normal file
|
After Width: | Height: | Size: 132 KiB |
BIN
image/event/12_day_12_menu/12_day_12_menu_th.png
Normal file
|
After Width: | Height: | Size: 130 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
normal_eng=ROOT/taobin_project/image/event/jemila/jemila.png
|
normal_eng=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png
|
||||||
normal_thai=ROOT/taobin_project/image/event/jemila/jemila.png
|
normal_thai=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png
|
||||||
press_eng=ROOT/taobin_project/image/event/jemila/jemila.png
|
press_eng=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png
|
||||||
press_thai=ROOT/taobin_project/image/event/jemila/jemila.png
|
press_thai=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png
|
||||||
disable_eng=ROOT/taobin_project/image/event/jemila/jemila.png
|
disable_eng=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_en.png
|
||||||
disable_thai=ROOT/taobin_project/image/event/jemila/jemila.png
|
disable_thai=ROOT/taobin_project/image/event/12_day_12_menu/12_day_12_menu_th.png
|
||||||
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_disable_n2/bn_Super_cocoa_X3_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_disable_n2/bn_choco_snow_flake_smoothie.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
image/page_drink_disable_n2/bn_iced_ESPRESSO_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_drink_disable_n2/bn_iced_americano_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
BIN
image/page_drink_disable_n2/bn_iced_christmas_cafe_latte.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_disable_n2/bn_reindeer_peppermint_smoothie.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
image/page_drink_disable_n2/bn_royal_milk_tea.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/page_drink_disable_n2/bn_santa_ginger.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_disable_n2/bn_southern_fusion_tea.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_disable_n2/bn_traditional_green_tea.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_n/bn_Super_cocoa_X3_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_n/bn_Thai_milk_tea_smoothie_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_n/bn_choco_snow_flake_smoothie.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
image/page_drink_n/bn_iced_ESPRESSO_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8 KiB |
BIN
image/page_drink_n/bn_iced_Gingerlime_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_n/bn_iced_americano_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8 KiB |
BIN
image/page_drink_n/bn_iced_christmas_cafe_latte.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_n/bn_iced_ume_lime_soda_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image/page_drink_n/bn_iced_นมชมพู_smoothie_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_n/bn_reindeer_peppermint_smoothie.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
image/page_drink_n/bn_royal_milk_tea.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/page_drink_n/bn_santa_ginger.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
image/page_drink_n/bn_smoothie_coconut_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_n/bn_southern_fusion_tea.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_n/bn_traditional_green_tea.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 35 KiB |
BIN
image/page_drink_picture2_n/bn_Super_cocoa_X3_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 24 KiB |
BIN
image/page_drink_picture2_n/bn_choco_snow_flake_smoothie.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
image/page_drink_picture2_n/bn_iced_ESPRESSO_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 31 KiB |
BIN
image/page_drink_picture2_n/bn_iced_americano_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_drink_picture2_n/bn_iced_christmas_cafe_latte.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 26 KiB |
BIN
image/page_drink_picture2_n/bn_reindeer_peppermint_smoothie.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
image/page_drink_picture2_n/bn_royal_milk_tea.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
image/page_drink_picture2_n/bn_santa_ginger.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 30 KiB |
BIN
image/page_drink_picture2_n/bn_southern_fusion_tea.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
image/page_drink_picture2_n/bn_traditional_green_tea.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_press_n/bn_Super_cocoa_X3_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_press_n/bn_choco_snow_flake_smoothie.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
image/page_drink_press_n/bn_iced_ESPRESSO_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
image/page_drink_press_n/bn_iced_Gingerlime_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/bn_iced_americano_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
image/page_drink_press_n/bn_iced_christmas_cafe_latte.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_press_n/bn_reindeer_peppermint_smoothie.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
image/page_drink_press_n/bn_royal_milk_tea.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/page_drink_press_n/bn_santa_ginger.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
image/page_drink_press_n/bn_smoothie_coconut_12_day_12_menu.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_press_n/bn_southern_fusion_tea.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_press_n/bn_traditional_green_tea.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
|
@ -1 +1 @@
|
||||||
/event/promotion_jemila.xml
|
/event/promotion_12_day_12_menu.xml
|
||||||
17424
xml/event/promotion_12_day_12_menu.xml
Normal file
|
|
@ -1 +1 @@
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_jemila.xml"
|
Open "ROOT/taobin_project/xml/page_catalog_group_pro_12_day_12_menu.xml"
|
||||||
|
|
|
||||||
|
|
@ -6,46 +6,28 @@
|
||||||
<State> BigButtonEnable </State>
|
<State> BigButtonEnable </State>
|
||||||
<Filename>
|
<Filename>
|
||||||
eval(
|
eval(
|
||||||
If JemilaRewardOutOfStock = 1 Then
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila_prize_out_of_stock"
|
|
||||||
Else
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = return + "_en.png"
|
Var return = ###normal_eng
|
||||||
Else
|
Else
|
||||||
Var return = return + "_th.png"
|
Var return = ###normal_thai
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</Filename>
|
</Filename>
|
||||||
<FilenamePress>
|
<FilenamePress>
|
||||||
eval(
|
eval(
|
||||||
If JemilaRewardOutOfStock = 1 Then
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila_prize_out_of_stock"
|
|
||||||
Else
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = return + "_en.png"
|
Var return = ###normal_eng
|
||||||
Else
|
Else
|
||||||
Var return = return + "_th.png"
|
Var return = ###normal_thai
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</FilenamePress>
|
</FilenamePress>
|
||||||
<FilenameDisable>
|
<FilenameDisable>
|
||||||
eval(
|
eval(
|
||||||
If JemilaRewardOutOfStock = 1 Then
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila_prize_out_of_stock"
|
|
||||||
Else
|
|
||||||
Var return = "ROOT/taobin_project/image/event/jemila/jemila"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If show_eng = "true" Then
|
If show_eng = "true" Then
|
||||||
Var return = return + "_en.png"
|
Var return = ###normal_eng
|
||||||
Else
|
Else
|
||||||
Var return = return + "_th.png"
|
Var return = ###normal_thai
|
||||||
EndIf
|
EndIf
|
||||||
)
|
)
|
||||||
</FilenameDisable>
|
</FilenameDisable>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ DEBUGVAR WeekdayDiscountProEventOn
|
||||||
DEBUGVAR OreoDiscount11Pro
|
DEBUGVAR OreoDiscount11Pro
|
||||||
DEBUGVAR HappyTriosPro
|
DEBUGVAR HappyTriosPro
|
||||||
|
|
||||||
|
DEBUGVAR 12Day12MenuPro
|
||||||
|
|
||||||
Var PromotionState1 = "Invisible"
|
Var PromotionState1 = "Invisible"
|
||||||
Var PromotionState2 = "Invisible"
|
Var PromotionState2 = "Invisible"
|
||||||
Var PromotionState3 = "Invisible"
|
Var PromotionState3 = "Invisible"
|
||||||
|
|
@ -89,6 +91,9 @@ Else
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If 12Day12MenuPro = 1 Then
|
||||||
|
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If OpenFromPageBoard = 1 Then
|
If OpenFromPageBoard = 1 Then
|
||||||
|
|
|
||||||
|
|
@ -291,6 +291,44 @@
|
||||||
from_happy_trios = True
|
from_happy_trios = True
|
||||||
else:
|
else:
|
||||||
from_happy_trios = False
|
from_happy_trios = False
|
||||||
|
if current_file_name == "page_catalog_group_pro_12_day_12_menu.skt":
|
||||||
|
from_12_day_12_menu = True
|
||||||
|
price_12_day_12_menu = {
|
||||||
|
"12-03-03-0067": 40,
|
||||||
|
"12-02-03-0058": 40,
|
||||||
|
"12-03-03-0058": 30,
|
||||||
|
"12-03-03-0006": 30,
|
||||||
|
"12-01-02-0001": 25,
|
||||||
|
"12-21-02-0001": 25,
|
||||||
|
"12-03-03-0011": 30,
|
||||||
|
"12-03-03-0010": 30,
|
||||||
|
"12-31-02-0001": 30,
|
||||||
|
"12-11-02-0001": 30,
|
||||||
|
"12-02-02-0064": 30,
|
||||||
|
"12-02-02-0039": 30,
|
||||||
|
"12-02-02-0042": 25,
|
||||||
|
"12-05-02-0025": 15,
|
||||||
|
}
|
||||||
|
original_price_12_day_12_menu = {
|
||||||
|
"12-03-03-0067": 55,
|
||||||
|
"12-02-03-0058": 60,
|
||||||
|
"12-03-03-0058": 40,
|
||||||
|
"12-03-03-0006": 40,
|
||||||
|
"12-01-02-0001": 35,
|
||||||
|
"12-21-02-0001": 35,
|
||||||
|
"12-03-03-0011": 45,
|
||||||
|
"12-03-03-0010": 45,
|
||||||
|
"12-31-02-0001": 45,
|
||||||
|
"12-11-02-0001": 45,
|
||||||
|
"12-02-02-0064": 45,
|
||||||
|
"12-02-02-0039": 45,
|
||||||
|
"12-02-02-0042": 35,
|
||||||
|
"12-05-02-0025": 25,
|
||||||
|
}
|
||||||
|
else:
|
||||||
|
from_12_day_12_menu = False
|
||||||
|
price_12_day_12_menu = {}
|
||||||
|
original_price_12_day_12_menu = {}
|
||||||
|
|
||||||
#print ("######################################################################################################")
|
#print ("######################################################################################################")
|
||||||
idx_of_eng = 2
|
idx_of_eng = 2
|
||||||
|
|
@ -515,6 +553,13 @@
|
||||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\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 OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(price_12_day_12_menu, pd_code_1)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(price_12_day_12_menu, pd_code_2)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(price_12_day_12_menu, pd_code_3)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_1)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_2)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_3)) + '\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||||
|
|
@ -648,6 +693,9 @@
|
||||||
if from_happy_trios:
|
if from_happy_trios:
|
||||||
out_xml( '\t\tVar FromHappyTriosPro = 1 \r\n')
|
out_xml( '\t\tVar FromHappyTriosPro = 1 \r\n')
|
||||||
|
|
||||||
|
if from_12_day_12_menu:
|
||||||
|
out_xml( '\t\tVar From12Day12MenuPro = 1 \r\n')
|
||||||
|
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
out_xml( '\t\t'+ button_add_string +'\r\n')
|
out_xml( '\t\t'+ button_add_string +'\r\n')
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n')
|
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n')
|
||||||
|
|
@ -862,6 +910,8 @@
|
||||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
elif passion_mint:
|
elif passion_mint:
|
||||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(price_12_day_12_menu, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
else:
|
else:
|
||||||
|
|
@ -877,6 +927,8 @@
|
||||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
||||||
elif passion_mint:
|
elif passion_mint:
|
||||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[5])) + '" </Value>\r\n')
|
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[5])) + '" </Value>\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t<Value> "฿' + str(GetPrice(price_12_day_12_menu, spl[5])) + '" </Value>\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
||||||
out_xml( '\t</Text>\r\n')
|
out_xml( '\t</Text>\r\n')
|
||||||
|
|
@ -953,6 +1005,8 @@
|
||||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
elif passion_mint:
|
elif passion_mint:
|
||||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(price_12_day_12_menu, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||||
else:
|
else:
|
||||||
|
|
@ -968,6 +1022,8 @@
|
||||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
||||||
elif passion_mint:
|
elif passion_mint:
|
||||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[6])) + '" </Value>\r\n')
|
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[6])) + '" </Value>\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t<Value> "฿' + str(GetPrice(price_12_day_12_menu, spl[6])) + '" </Value>\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
||||||
out_xml( '\t</Text>\r\n')
|
out_xml( '\t</Text>\r\n')
|
||||||
|
|
@ -1178,6 +1234,13 @@
|
||||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\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 OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||||
|
elif from_12_day_12_menu:
|
||||||
|
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(price_12_day_12_menu, pd_code_1)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(price_12_day_12_menu, pd_code_2)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(price_12_day_12_menu, pd_code_3)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_1)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_2)) + '\r\n')
|
||||||
|
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(original_price_12_day_12_menu, pd_code_3)) + '\r\n')
|
||||||
else:
|
else:
|
||||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\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 PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||||
|
|
@ -1301,6 +1364,9 @@
|
||||||
if from_happy_trios:
|
if from_happy_trios:
|
||||||
out_xml( '\t\tVar FromHappyTriosPro = 1 \r\n')
|
out_xml( '\t\tVar FromHappyTriosPro = 1 \r\n')
|
||||||
|
|
||||||
|
if from_12_day_12_menu:
|
||||||
|
out_xml( '\t\tVar From12Day12MenuPro = 1 \r\n')
|
||||||
|
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
out_xml( '\t\t\r\n')
|
out_xml( '\t\t\r\n')
|
||||||
|
|
||||||
|
|
|
||||||
54
xml/menutab/page_catalog_group_pro_12_day_12_menu.skt
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?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 From12Day12MenuPro = 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>
|
||||||
|
|
||||||
|
|
||||||
3627
xml/menutab/page_catalog_group_pro_12_day_12_menu.xml
Normal file
|
|
@ -7035,6 +7035,779 @@ LIMENADE" </Value>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,$Sum120201008312020200831202030083) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008312020200831202030083 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "SOUTHERN FUSION TEA"
|
||||||
|
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "MATCHA , THAI TEA, MILK CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $12-02-01-0083.Price
|
||||||
|
Var PriceD2 = $12-02-02-0083.Price
|
||||||
|
Var PriceD3 = $12-02-03-0083.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0083"
|
||||||
|
Var PD_CODE2 = "12-02-02-0083"
|
||||||
|
Var PD_CODE3 = "12-02-03-0083"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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" "12-02-02-0083"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0083"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0083"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0083.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_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> "SOUTHERN FUSION
|
||||||
|
TEA" </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> "MATCHA , THAI TEA, MILK CARAMEL SYRUP" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> $12-02-01-0083.Button </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "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> $12-02-01-0083.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-01-0083.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-02-0083.Button </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> $12-02-02-0083.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-02-0083.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0083.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-02-03-0083.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0083.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008312020200831202030083 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008412020200841202030084 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "TRADITIONAL GREEN TEA"
|
||||||
|
Var NameDrinkTH = "ชาเขียวโบราณ"
|
||||||
|
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $12-02-01-0084.Price
|
||||||
|
Var PriceD2 = $12-02-02-0084.Price
|
||||||
|
Var PriceD3 = $12-02-03-0084.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0084"
|
||||||
|
Var PD_CODE2 = "12-02-02-0084"
|
||||||
|
Var PD_CODE3 = "12-02-03-0084"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0084.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0084.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0084.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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" "12-02-02-0084"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0084"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0084"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0084.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0084.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0084.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0084.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0084.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0084.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0084.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0084.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0084.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_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> "TRADITIONAL GREEN
|
||||||
|
TEA" </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> "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> $12-02-01-0084.Button </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "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> $12-02-01-0084.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-01-0084.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-02-0084.Button </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> $12-02-02-0084.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-02-0084.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0084.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-02-03-0084.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0084.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008412020200841202030084 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008412020200841202030084 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008512020200851202030085 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "ROYAL MILK TEA"
|
||||||
|
Var NameDrinkTH = "ชานมชาววัง"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
GetInstanceIDMenuTab OpenFromInstMenuTab
|
||||||
|
Var PriceD1 = $12-02-01-0085.Price
|
||||||
|
Var PriceD2 = $12-02-02-0085.Price
|
||||||
|
Var PriceD3 = $12-02-03-0085.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0085"
|
||||||
|
Var PD_CODE2 = "12-02-02-0085"
|
||||||
|
Var PD_CODE3 = "12-02-03-0085"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0085.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0085.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0085.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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" "12-02-02-0085"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0085"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0085"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0085.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0085.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0085.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0085.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0085.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0085.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0085.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0085.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0085.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_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> "ROYAL MILK TEA" </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> "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> $12-02-01-0085.Button </State>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "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> $12-02-01-0085.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-01-0085.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-02-0085.Button </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> $12-02-02-0085.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-02-0085.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImageDrinkOption + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImageDrinkOption + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-02-03-0085.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-02-03-0085.Button </State>
|
||||||
|
<Value> Var( "฿" + $12-02-03-0085.Price ) </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008512020200851202030085 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008512020200851202030085 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; - - -
|
; - - -
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
|
|
|
||||||
54
xml/page_catalog_group_pro_12_day_12_menu.skt
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?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 From12Day12MenuPro = 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>
|
||||||
|
|
||||||
|
|
||||||
3655
xml/page_catalog_group_pro_12_day_12_menu.xml
Normal file
|
|
@ -6417,6 +6417,773 @@ LIMENADE" </Value>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,$Sum120201008312020200831202030083) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008312020200831202030083 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "SOUTHERN FUSION TEA"
|
||||||
|
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||||
|
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "MATCHA , THAI TEA, MILK CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $12-02-01-0083.Price
|
||||||
|
Var PriceD2 = $12-02-02-0083.Price
|
||||||
|
Var PriceD3 = $12-02-03-0083.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0083"
|
||||||
|
Var PD_CODE2 = "12-02-02-0083"
|
||||||
|
Var PD_CODE3 = "12-02-03-0083"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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" "12-02-02-0083"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0083"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0083"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0083.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> "SOUTHERN FUSION
|
||||||
|
TEA" </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> "MATCHA , THAI TEA, MILK CARAMEL 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> $12-02-01-0083.Button </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> $12-02-01-0083.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-01-0083.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> $12-02-02-0083.Button </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> $12-02-02-0083.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008312020200831202030083 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0084 12-02-02-0084 12-02-03-0084
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0084.Button,12-02-02-0084.Button,12-02-03-0084.Button,$Sum120201008412020200841202030084) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008412020200841202030084 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_traditional_green_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_traditional_green_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_traditional_green_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0084, "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 = "TRADITIONAL GREEN TEA"
|
||||||
|
Var NameDrinkTH = "ชาเขียวโบราณ"
|
||||||
|
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $12-02-01-0084.Price
|
||||||
|
Var PriceD2 = $12-02-02-0084.Price
|
||||||
|
Var PriceD3 = $12-02-03-0084.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0084"
|
||||||
|
Var PD_CODE2 = "12-02-02-0084"
|
||||||
|
Var PD_CODE3 = "12-02-03-0084"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0084.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0084.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0084.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0084, "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" "12-02-02-0084"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0084"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0084"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0084.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0084.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0084.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0084.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0084.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0084.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0084.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0084.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0084.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0084.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0084.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0084.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> "TRADITIONAL GREEN
|
||||||
|
TEA" </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> "JASMINE TEA, MATCHA, MILK, CARAMEL 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> $12-02-01-0084.Button </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> $12-02-01-0084.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-01-0084.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> $12-02-02-0084.Button </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> $12-02-02-0084.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-02-0084.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-02-03-0084.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-02-03-0084.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0084.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008412020200841202030084 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008412020200841202030084 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0084.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0084.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0084.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> $Sum120201008412020200841202030084 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; - - -
|
||||||
|
; ==================> Len = 12
|
||||||
|
; 12-02-01-0085 12-02-02-0085 12-02-03-0085
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-02-01-0085.Button,12-02-02-0085.Button,12-02-03-0085.Button,$Sum120201008512020200851202030085) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum120201008512020200851202030085 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_royal_milk_tea.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_royal_milk_tea.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_royal_milk_tea.png" </FilenameDisable>
|
||||||
|
<OverlayImage> xmlpro( 12-02-01-0085, "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 = "ROYAL MILK TEA"
|
||||||
|
Var NameDrinkTH = "ชานมชาววัง"
|
||||||
|
Var DrinkDescriptionTH = "ชาไทย ชามะลิ นม และน้ำเชื่อมคาราเมล"
|
||||||
|
Var DrinkDescription = "THAI TEA, JASMINE TEA, MILK, CARAMEL SYRUP"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_royal_milk_tea.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $12-02-01-0085.Price
|
||||||
|
Var PriceD2 = $12-02-02-0085.Price
|
||||||
|
Var PriceD3 = $12-02-03-0085.Price
|
||||||
|
Var PD_CODE1 = "12-02-01-0085"
|
||||||
|
Var PD_CODE2 = "12-02-02-0085"
|
||||||
|
Var PD_CODE3 = "12-02-03-0085"
|
||||||
|
Var PD_STAGE_1 = $12-02-01-0085.Button
|
||||||
|
Var PD_STAGE_2 = $12-02-02-0085.Button
|
||||||
|
Var PD_STAGE_3 = $12-02-03-0085.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0085, "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" "12-02-02-0085"
|
||||||
|
Else
|
||||||
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
Topping "Load" "12-02-01-0085"
|
||||||
|
Else
|
||||||
|
Topping "Load" "12-02-03-0085"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Var menu_name_eng_hot = $12-02-01-0085.NameE
|
||||||
|
Var menu_desc_eng_hot = $12-02-01-0085.descriptionE
|
||||||
|
Var menu_name_thai_hot = $12-02-01-0085.Name
|
||||||
|
Var menu_desc_thai_hot = $12-02-01-0085.description
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = $12-02-02-0085.NameE
|
||||||
|
Var menu_desc_eng_cold = $12-02-02-0085.descriptionE
|
||||||
|
Var menu_name_thai_cold = $12-02-02-0085.Name
|
||||||
|
Var menu_desc_thai_cold = $12-02-02-0085.description
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = $12-02-03-0085.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-02-03-0085.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-02-03-0085.Name
|
||||||
|
Var menu_desc_thai_blender = $12-02-03-0085.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> "ROYAL MILK TEA" </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> "THAI TEA, JASMINE TEA, MILK, CARAMEL 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> $12-02-01-0085.Button </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> $12-02-01-0085.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-01-0085.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> $12-02-02-0085.Button </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> $12-02-02-0085.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-02-0085.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-02-03-0085.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-02-03-0085.Button </State>
|
||||||
|
<Value> StringFmt( $12-02-03-0085.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
If $Sum120201008512020200851202030085 = "Disable" Then
|
||||||
|
Var ice_tab_process_show = "Disable"
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
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 $Sum120201008512020200851202030085 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $12-02-01-0085.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-02-0085.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-02-03-0085.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> $Sum120201008512020200851202030085 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; - - -
|
; - - -
|
||||||
; ==================> Len = 12
|
; ==================> Len = 12
|
||||||
|
|
|
||||||
|
|
@ -71,39 +71,15 @@
|
||||||
DEBUGVAR CustomerFilterType
|
DEBUGVAR CustomerFilterType
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If NightTime = 1 Then
|
|
||||||
If SelectDrink = "12-99-03-0066" Then
|
|
||||||
Var PriceDrink = 60
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If From15THBPro = 1 Then
|
|
||||||
Var PriceDrink = OriginalPrice
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If FromRerunPro = 1 Then
|
|
||||||
Var PromoPriceDrink = PriceDrink
|
|
||||||
Var PriceDrink = OldPrice
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If FromMondayBananaPro = 1 Then
|
|
||||||
Var PriceDrink = OriginalPrice
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If FromWednesdayMelonPro = 1 Then
|
|
||||||
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If FromOreoDiscount11Pro = 1 Then
|
If FromOreoDiscount11Pro = 1 Then
|
||||||
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If FromPowerUpPro = 1 Then
|
If From12Day12MenuPro = 1 Then
|
||||||
Var PriceDrink = OriginalPrice
|
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR PriceDrink
|
DEBUGVAR PriceDrink
|
||||||
DEBUGVAR PromotionPriceDrink
|
DEBUGVAR PromotionPriceDrink
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,13 @@
|
||||||
Var WalletEnable = "Disable"
|
Var WalletEnable = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var SendDiscountCampaign = 0
|
||||||
|
|
||||||
|
;If Seeker.IntVendingCampaign > 0 Then
|
||||||
|
; SAVELOG "Have discount enable send discount campaign"
|
||||||
|
; Var SendDiscountCampaign = 1
|
||||||
|
;EndIf
|
||||||
|
|
||||||
If From15THBPro = 1 Then
|
If From15THBPro = 1 Then
|
||||||
DEBUGVAR "Discount Disable Wallet"
|
DEBUGVAR "Discount Disable Wallet"
|
||||||
Var WalletEnable = "Disable"
|
Var WalletEnable = "Disable"
|
||||||
|
|
@ -209,13 +216,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "TWN:2/"
|
Var ECommerceQR = ECommerceQR + "TWN:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -278,13 +285,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -346,13 +353,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "LPY:2/"
|
Var ECommerceQR = ECommerceQR + "LPY:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -417,13 +424,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "AIR:2/"
|
Var ECommerceQR = ECommerceQR + "AIR:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -485,13 +492,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "MAX:2/"
|
Var ECommerceQR = ECommerceQR + "MAX:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -553,13 +560,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "WEC:2/"
|
Var ECommerceQR = ECommerceQR + "WEC:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -622,13 +629,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -692,13 +699,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "ALP:2/"
|
Var ECommerceQR = ECommerceQR + "ALP:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -761,13 +768,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "UNP:2/"
|
Var ECommerceQR = ECommerceQR + "UNP:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
@ -832,13 +839,13 @@
|
||||||
Var ECommerceQR = ECommerceQR + "/"
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
Var ECommerceQR = ECommerceQR + "ACU:2/"
|
Var ECommerceQR = ECommerceQR + "ACU:2/"
|
||||||
|
|
||||||
;If Seeker.IntVendingCampaign > 0 Then
|
If SendDiscountCampaign = 1 Then
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||||
; Var ECommerceQR = ECommerceQR + ":"
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||||
;EndIf
|
EndIf
|
||||||
|
|
||||||
Var ServiceParameter = "max"
|
Var ServiceParameter = "max"
|
||||||
Var ServiceCharge = 0
|
Var ServiceCharge = 0
|
||||||
|
|
|
||||||
|
|
@ -80,6 +80,7 @@
|
||||||
Var showShotEnable = "Invisible"
|
Var showShotEnable = "Invisible"
|
||||||
Var ShotCoffeePremium = "Invisible"
|
Var ShotCoffeePremium = "Invisible"
|
||||||
Var showOreoAddEnable = "Invisible"
|
Var showOreoAddEnable = "Invisible"
|
||||||
|
Var CollagenState = "Invisible"
|
||||||
|
|
||||||
Var showCustomCoffee = "Invisible"
|
Var showCustomCoffee = "Invisible"
|
||||||
|
|
||||||
|
|
@ -1147,37 +1148,47 @@
|
||||||
|
|
||||||
DEBUGVAR TOPPING3
|
DEBUGVAR TOPPING3
|
||||||
If TOPPING3 = "Collagen(mix)" Then
|
If TOPPING3 = "Collagen(mix)" Then
|
||||||
If CollagenState = "Enable" Then
|
If JemilaToppingFlag = 1 Then
|
||||||
|
|
||||||
Else
|
If hot_button_state = "PressForever" Then
|
||||||
If CollagenState = "Press" Then
|
Var CollagenState = "Disable"
|
||||||
|
|
||||||
Else
|
|
||||||
Var CollagenState = "Enable"
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
|
||||||
Var ExtraTopping = "Enable"
|
|
||||||
Else
|
|
||||||
Var CollagenState = "Invisible"
|
|
||||||
Var ShowCollagenOnly = "Invisible"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If JemilaToppingFlag = 1 Then
|
If cold_button_state = "PressForever" Then
|
||||||
If CollagenState = "Disable" Then
|
If CollagenState = "Invisible" Then
|
||||||
|
Var CollagenState = "Enable"
|
||||||
|
EndIf
|
||||||
|
If CollagenState = "Disable" Then
|
||||||
|
Var CollagenState = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If blend_button_state = "PressForever" Then
|
||||||
|
If CollagenState = "Invisible" Then
|
||||||
|
Var CollagenState = "Enable"
|
||||||
|
EndIf
|
||||||
|
If CollagenState = "Disable" Then
|
||||||
|
Var CollagenState = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
Else
|
|
||||||
If JemilaToppingFreeFlag = 1 Then
|
If JemilaToppingFreeFlag = 1 Then
|
||||||
Var CollagenToppingBg = "/bg_top_jemila_free.png"
|
Var CollagenToppingBg = "/bg_top_jemila_free.png"
|
||||||
Var CollagenToppingPrice = 0
|
Var CollagenToppingPrice = 0
|
||||||
Else
|
Else
|
||||||
Var CollagenToppingBg = "/bg_top_jemila.png"
|
Var CollagenToppingBg = "/bg_top_jemila.png"
|
||||||
Var CollagenToppingPrice = 5
|
Var CollagenToppingPrice = 5
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
Else
|
||||||
|
Var CollagenState = "Invisible"
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
Var CollagenState = "Invisible"
|
Var CollagenState = "Invisible"
|
||||||
|
Var ShowCollagenOnly = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR CollagenState
|
||||||
|
|
||||||
|
|
||||||
Var PriceCustomCoffeeFormat = "%.0f฿"
|
Var PriceCustomCoffeeFormat = "%.0f฿"
|
||||||
|
|
||||||
|
|
@ -1399,7 +1410,7 @@
|
||||||
|
|
||||||
|
|
||||||
If TOPPING8 = "tampping-espv2" Then
|
If TOPPING8 = "tampping-espv2" Then
|
||||||
SAVELOG " tampping-espv2 enable"
|
SAVELOG "tampping-espv2 enable"
|
||||||
Var CustomCoffeeEnable = "True"
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
var showCoffeeTamping = "Enable"
|
var showCoffeeTamping = "Enable"
|
||||||
|
|
@ -1441,9 +1452,6 @@
|
||||||
If showOreoAddEnable = "Press" Then
|
If showOreoAddEnable = "Press" Then
|
||||||
Var showOreoAddEnable = "Disable"
|
Var showOreoAddEnable = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var CollagenState = "Disable"
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; i f cold menu disable away
|
; i f cold menu disable away
|
||||||
|
|
@ -1455,16 +1463,11 @@
|
||||||
If showOreoAddEnable = "Press" Then
|
If showOreoAddEnable = "Press" Then
|
||||||
Var showOreoAddEnable = "Disable"
|
Var showOreoAddEnable = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
If CollagenState = "Disable" Then
|
|
||||||
Var CollagenState = "Enable"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; first time.
|
; first time.
|
||||||
If blend_button_state = "PressForever" Then
|
If blend_button_state = "PressForever" Then
|
||||||
If CollagenState = "Disable" Then
|
|
||||||
Var CollagenState = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
Else
|
||||||
If SubMenuGroupIDSlot6_1 = 300 Then
|
If SubMenuGroupIDSlot6_1 = 300 Then
|
||||||
Var showOreoAddEnable = "Disable"
|
Var showOreoAddEnable = "Disable"
|
||||||
|
|
@ -5672,6 +5675,8 @@
|
||||||
|
|
||||||
SAVELOG "Press add jemila"
|
SAVELOG "Press add jemila"
|
||||||
|
|
||||||
|
DEBUGVAR CollagenState
|
||||||
|
|
||||||
If CollagenState = "Press" Then
|
If CollagenState = "Press" Then
|
||||||
Var CollagenState = "Enable"
|
Var CollagenState = "Enable"
|
||||||
Else
|
Else
|
||||||
|
|
|
||||||