THAI: Added ธันวาทันใจ, 4 เมนูรูปจริง, 3 เมนูชา
This commit is contained in:
parent
a84aafb73c
commit
46e333b5e4
101 changed files with 37248 additions and 155 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_jemila.xml
|
||||
/event/promotion_12_day_12_menu.xml
|
||||
17424
xml/event/promotion_12_day_12_menu.xml
Normal file
17424
xml/event/promotion_12_day_12_menu.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -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>
|
||||
<Filename>
|
||||
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
|
||||
Var return = return + "_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = return + "_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
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
|
||||
Var return = return + "_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = return + "_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
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
|
||||
Var return = return + "_en.png"
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = return + "_th.png"
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ DEBUGVAR WeekdayDiscountProEventOn
|
|||
DEBUGVAR OreoDiscount11Pro
|
||||
DEBUGVAR HappyTriosPro
|
||||
|
||||
DEBUGVAR 12Day12MenuPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
Var PromotionState3 = "Invisible"
|
||||
|
|
@ -89,6 +91,9 @@ Else
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If 12Day12MenuPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_12_day_12_menu.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
|
|
|||
|
|
@ -291,6 +291,44 @@
|
|||
from_happy_trios = True
|
||||
else:
|
||||
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 ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
|
|
@ -515,6 +553,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||
elif 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:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
|
|
@ -648,6 +693,9 @@
|
|||
if from_happy_trios:
|
||||
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'+ button_add_string +'\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')
|
||||
elif passion_mint:
|
||||
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:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -877,6 +927,8 @@
|
|||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[5])) + '" </Value>\r\n')
|
||||
elif from_12_day_12_menu:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(price_12_day_12_menu, spl[5])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\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')
|
||||
elif passion_mint:
|
||||
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:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -968,6 +1022,8 @@
|
|||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[6])) + '" </Value>\r\n')
|
||||
elif from_12_day_12_menu:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(price_12_day_12_menu, spl[6])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\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 OriginalPriceD2 = $' + spl[9] + '.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:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
|
|
@ -1301,6 +1364,9 @@
|
|||
if from_happy_trios:
|
||||
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')
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
54
xml/menutab/page_catalog_group_pro_12_day_12_menu.skt
Normal file
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
3627
xml/menutab/page_catalog_group_pro_12_day_12_menu.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -7035,6 +7035,779 @@ LIMENADE" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</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>
|
||||
; - - -
|
||||
; ==================> Len = 12
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
54
xml/page_catalog_group_pro_12_day_12_menu.skt
Normal file
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
3655
xml/page_catalog_group_pro_12_day_12_menu.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -6417,6 +6417,773 @@ LIMENADE" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</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>
|
||||
; - - -
|
||||
; ==================> Len = 12
|
||||
|
|
|
|||
|
|
@ -71,39 +71,15 @@
|
|||
DEBUGVAR CustomerFilterType
|
||||
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
|
||||
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
||||
EndIf
|
||||
|
||||
If FromPowerUpPro = 1 Then
|
||||
Var PriceDrink = OriginalPrice
|
||||
If From12Day12MenuPro = 1 Then
|
||||
Var PriceDrink = OriginalPrice + TOPPING_PRICE
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
DEBUGVAR PromotionPriceDrink
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,13 @@
|
|||
Var WalletEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
Var SendDiscountCampaign = 0
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; SAVELOG "Have discount enable send discount campaign"
|
||||
; Var SendDiscountCampaign = 1
|
||||
;EndIf
|
||||
|
||||
If From15THBPro = 1 Then
|
||||
DEBUGVAR "Discount Disable Wallet"
|
||||
Var WalletEnable = "Disable"
|
||||
|
|
@ -209,13 +216,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "TWN:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -278,13 +285,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -346,13 +353,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "LPY:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -417,13 +424,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "AIR:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -485,13 +492,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "MAX:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -553,13 +560,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "WEC:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -622,13 +629,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -692,13 +699,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "ALP:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -761,13 +768,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "UNP:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
@ -832,13 +839,13 @@
|
|||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "ACU:2/"
|
||||
|
||||
;If Seeker.IntVendingCampaign > 0 Then
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
; Var ECommerceQR = ECommerceQR + ":"
|
||||
; Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
;EndIf
|
||||
If SendDiscountCampaign = 1 Then
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCode
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.CodeNumber
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + Seeker.VendingCampaignRI3
|
||||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@
|
|||
Var showShotEnable = "Invisible"
|
||||
Var ShotCoffeePremium = "Invisible"
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
Var CollagenState = "Invisible"
|
||||
|
||||
Var showCustomCoffee = "Invisible"
|
||||
|
||||
|
|
@ -1147,37 +1148,47 @@
|
|||
|
||||
DEBUGVAR TOPPING3
|
||||
If TOPPING3 = "Collagen(mix)" Then
|
||||
If CollagenState = "Enable" Then
|
||||
If JemilaToppingFlag = 1 Then
|
||||
|
||||
Else
|
||||
If CollagenState = "Press" Then
|
||||
|
||||
Else
|
||||
Var CollagenState = "Enable"
|
||||
If hot_button_state = "PressForever" Then
|
||||
Var CollagenState = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var CollagenState = "Invisible"
|
||||
Var ShowCollagenOnly = "Invisible"
|
||||
EndIf
|
||||
|
||||
If JemilaToppingFlag = 1 Then
|
||||
If CollagenState = "Disable" Then
|
||||
If cold_button_state = "PressForever" 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
|
||||
Var CollagenToppingBg = "/bg_top_jemila_free.png"
|
||||
Var CollagenToppingPrice = 0
|
||||
Else
|
||||
Var CollagenToppingBg = "/bg_top_jemila.png"
|
||||
Var CollagenToppingPrice = 5
|
||||
Var CollagenToppingPrice = 5
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
Var CollagenState = "Invisible"
|
||||
EndIf
|
||||
Else
|
||||
Var CollagenState = "Invisible"
|
||||
Var ShowCollagenOnly = "Invisible"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CollagenState
|
||||
|
||||
|
||||
Var PriceCustomCoffeeFormat = "%.0f฿"
|
||||
|
||||
|
|
@ -1399,7 +1410,7 @@
|
|||
|
||||
|
||||
If TOPPING8 = "tampping-espv2" Then
|
||||
SAVELOG " tampping-espv2 enable"
|
||||
SAVELOG "tampping-espv2 enable"
|
||||
Var CustomCoffeeEnable = "True"
|
||||
Var showCustomCoffee = "Enable"
|
||||
var showCoffeeTamping = "Enable"
|
||||
|
|
@ -1441,9 +1452,6 @@
|
|||
If showOreoAddEnable = "Press" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
Var CollagenState = "Disable"
|
||||
|
||||
EndIf
|
||||
|
||||
; i f cold menu disable away
|
||||
|
|
@ -1455,16 +1463,11 @@
|
|||
If showOreoAddEnable = "Press" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
If CollagenState = "Disable" Then
|
||||
Var CollagenState = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; first time.
|
||||
If blend_button_state = "PressForever" Then
|
||||
If CollagenState = "Disable" Then
|
||||
Var CollagenState = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If SubMenuGroupIDSlot6_1 = 300 Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
|
|
@ -5672,6 +5675,8 @@
|
|||
|
||||
SAVELOG "Press add jemila"
|
||||
|
||||
DEBUGVAR CollagenState
|
||||
|
||||
If CollagenState = "Press" Then
|
||||
Var CollagenState = "Enable"
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
|
||||
If From12Day12MenuPro = 1 Then
|
||||
Var PriceDiff = OriginalPrice - PromotionPriceDrink
|
||||
Var Seeker.VendingCode = "PMD" + PriceDiff
|
||||
Var Seeker.CodeNumber = "00000000"
|
||||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.FreeVendingCampaign = 0
|
||||
Var Seeker.IntVendingCampaign = PriceDiff
|
||||
Var Seeker.VendingCampaignRI3 = PriceDiff
|
||||
EndIf
|
||||
|
||||
If FromOreoDiscount11Pro = 1 Then
|
||||
Var Seeker.VendingCode = "PMD11"
|
||||
Var Seeker.CodeNumber = "00000000"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue