THAI: Added script catalog layout v3

This commit is contained in:
Kenta420 2025-03-06 16:03:56 +07:00
parent 4df9405451
commit 3c966ee66d
124 changed files with 137793 additions and 15 deletions

View file

@ -42,6 +42,10 @@ Else
EndIf
EndIf
If CatalogLayoutV3 = 1 Then
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/v3/event/script_open_promotion_v3.ev"
EndIf
If OpenFromPageBoard = 1 Then

View file

@ -519,6 +519,7 @@
DEBUGVAR LangProcess
Var CatalogLayoutV3 = 0
; Check POS machine flag
Var ConnectWithPOSMachine = 0
@ -2138,7 +2139,11 @@ PRICE "Reset" "-"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
EndIf
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
If CatalogLayoutV3 = 1 Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
EndIf
EndIf
Else
If InternationalEnable = 1 Then
@ -2236,7 +2241,11 @@ PRICE "Reset" "-"
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
EndIf
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
If CatalogLayoutV3 = 1 Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.xml"
Else
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
EndIf
EndIf
Else
If InternationalEnable = 1 Then

View file

@ -12,22 +12,27 @@
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
EndIf
If SpiralOnline = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
If Seeker = "next" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog3.xml"
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
EndIf
If CatalogLayoutV3 = 1 Then
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/v3/open_catalog.ev"
Else
If SpiralOnline = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog3.xml"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
If Seeker = "next" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog3.xml"
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_with_vending.xml"
EndIf
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog3.xml"
EndIf
EndIf
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
TopView "show"

0
xml/v3/dummy_layout.py Normal file
View file

View file

@ -0,0 +1,31 @@
if "v3" in param and "promotion" in param:
file_template = open(directory_to_process + "/page_catalog_group_recommend.xml", 'r')
template_content = file_template.read()
file_template.close()
pro_template = open(directory_to_process + "/event/event_v3/promotion_template.inc")
pro_template_content = pro_template.read()
pro_template.close()
all_active_pro = ""
files = os.listdir(directory_to_process + "/event/event_v3")
files = [f for f in files if f.endswith(".json")]
for filename in files:
pro_json_file = open(directory_to_process + "/event/event_v3/"+ filename)
pro_json = json.load(pro_json_file)
start_time = datetime.datetime.strptime(pro_json["start"], "%Y-%m-%dT%H:%M:%S")
end_time = datetime.datetime.strptime(pro_json["end"], "%Y-%m-%dT%H:%M:%S")
if start_time > datetime.datetime.now() or datetime.datetime.now() < end_time:
pro_content = str(pro_template_content)
pro_content = pro_content.replace("#State", pro_json["state"])
pro_content = pro_content.replace("#Type", pro_json["type"])
pro_content = pro_content.replace("#MediaThai", pro_json["media_thai"])
pro_content = pro_content.replace("#MediaEng", pro_json["media_eng"])
pro_content = pro_content.replace("#EventClick", pro_json["event_click"])
all_active_pro += pro_content + "\n\t"
pro_output_file = open(directory_to_process + "/event/event_v3/active_promotions.xml", 'w')
pro_output_file.write(template_content.replace(";banners", all_active_pro))
pro_output_file.close()

View file

@ -0,0 +1,9 @@
{
"start": "2025-03-10T00:00:00",
"end": "2025-03-31T00:00:00",
"state": "MatchaEveryDayProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png",
"media_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day.png",
"event_click": "Open \"ROOT/taobin_project/xml/v3/page_catalog_group_pro_matcha_every_day.xml\""
}

View file

@ -0,0 +1,9 @@
{
"start": "2025-03-1T00:00:00",
"end": "2025-03-31T00:00:00",
"state": "CoconutMilkProState",
"type": "VIDEO",
"media_thai": "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.mp4",
"media_eng": "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.mp4",
"event_click": "Open \"ROOT/taobin_project/xml/v3/page_catalog_group_pro_coconut_milk.xml\""
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,16 @@
<Banner>
<State> #State </State>
<Type> #Type </Type>
<Media>
eval(
If show_eng = "true" Then
Var return = "#MediaEng"
Else
Var return = "#MediaThai"
EndIf
)
</Media>
<EventOnClick>
#EventClick
</EventOnClick>
</Banner>

View file

@ -0,0 +1,15 @@
Var FileRecommendToOpen = "ROOT/taobin_project/xml/v3/event/event_v3/active_promotions.xml"
Var MatchaEveryDayProState = "Invisible"
Var CoconutMilkProState = "Invisible"
If CoconutMilkPro = 1 Then
Var CoconutMilkProState = "Enable"
EndIf
If MatchaEveryDayPro = 1 Then
Var MatchaEveryDayProState = "Enable"
EndIf

View file

@ -0,0 +1,122 @@
Var NextPage = "-"
DEBUGVAR ICE_PROCESS_STATUS
DEBUGVAR ICE_PROCESS_TXT
If show_eng = "true" Then
Var showthaiText = "Invisible"
Var showengText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3_en"
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
Var ice_tab_text = "Ice will be ready at "
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var showengText = "Invisible"
Var showthaiText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3"
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
Var text_unavailable = "หมด###size=32"
EndIf
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
; SpiralOnline
Var MenuVSelected2 = "Invisible"
Var Menu1Selected2 = "Invisible"
Var Menu2Selected2 = "Invisible"
Var Menu3Selected2 = "Invisible"
Var Menu4Selected2 = "Invisible"
Var Menu6Selected2 = "Invisible"
Var Menu7Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
Var Menu11Selected2 = "Invisible"
Var Menu21Selected2 = "Invisible"
Var MenuVSelected2 = "Invisible"
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Var MenuVSelected2 = "Enable"
EndIf
EndIf
; init default
Var Menu1Selected = "Enable"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
; 5 fruit
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
; 8 cocktail
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
EndIf
If AppFastEnable = "true" Then
Var Menu11Selected = "Enable"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Invisible"
Else
If MenuKidEnable = "true" Then
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Enable"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu21Selected = "Invisible"
Var Menu7Selected = "Enable"
EndIf
EndIf
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
EndIf
If RecipeTag1 = "HealthTurnOn" Then
Var Menu22Selected = "Enable"
Else
Var Menu22Selected = "Invisible"
EndIf
Var Menu6Selected = "Invisible"
Var Menu61Selected = "Enable"
Var Menu62Selected = "Enable"
;
RootLayoutVisible 3 "hide"
RootLayoutVisible 13 "hide"

458
xml/v3/menu_catalog_new.xml Normal file
View file

@ -0,0 +1,458 @@
; notice enable heathy menu
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
If ICE_PROCESS_STATUS = 2 Then
Var ice_tab_process_show = "Enable"
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
Else
Var ice_tab_process_show = "Invisible"
EndIf
If NextPage = "-" Then
Else
If CupOnArm = "true" Then
If Timeout > 9 Then
SAVELOG "COA9"
Open NextPage
EndIf
Else
If Timeout > 30 Then
SAVELOG "COA30"
Open NextPage
EndIf
EndIf
EndIf
If Timeout > 60 Then
SAVELOG "Timeout"
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
SAVELOG "Back"
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
If BrewCommand = "RefreshAll" Then
Var BrewCommand = "-"
Open CurrentXMLFileName2
EndIf
If Seeker = "curr" Then
If DoorCupPosition = "bottom" Then
; It normal
Var EmergencyStop = "false"
Else
Var EmergencyStop = "true"
;Open "ROOT/taobin_project/xml/page_back_to_error.xml"
EndIf
EndIf
If IgnoreNetCore = "true" Then
Else
;stop_now
EndIf
; zone cup on arm
If Seeker = "curr" Then
If CupOnArm = "true" Then
If CheckCupStateDoorCupClose = "" Then
If buttonRemoveCup = "Enable" Then
Else
Refresh
EndIf
Var buttonRemoveCup = "Enable"
EndIf
If CheckCupStateDoorCupClose = "done" Then
If buttonRemoveCup = "Enable" Then
Else
Refresh
EndIf
Var buttonRemoveCup = "Enable"
EndIf
Else
If buttonRemoveCup = "Enable" Then
Var buttonRemoveCup = "Invisible"
Refresh
EndIf
EndIf
Else
Var buttonRemoveCup = "Invisible"
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
; under line
<Image>
<X> 0 </X>
<Y> 494 </Y>
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
</Image>
; under line
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 381 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If SpiralOnline = "true" Then
If Seeker = "curr" Then
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_catalog.xml"
EndIf
</EventClick>
</Button>
<Button>
<X> 1000 </X>
<Y> 381 </Y>
<Filename> show_btn </Filename>
<FilenamePress> show_btp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
If show_eng = "true" Then
Var show_eng = "false"
Var text_unavailable = "หมด###size=32"
Else
Var show_eng = "true"
Var text_unavailable = "UNAVAILABLE###size=16"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
;
<ListView1>
<Width> 1080 </Width>
<Height> "auto" </Height>
<X> 0 </X>
<Y> 395 </Y>
<Row2>
<State>"Enable"</State>
<Width> 896 </Width>
<Height> 102 </Height>
<Button>
<Layout> "linear" </Layout>
<State> Menu1Selected </State>
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
SAVELOG "Click rec"
Var NextPage = "-"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu2Selected </State>
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 2
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_coffee.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu3Selected </State>
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 3
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_tea.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu4Selected </State>
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 4
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_milk.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu7Selected </State>
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 5
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_whey.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu11Selected </State>
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 5
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_appfast.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 5
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_forkid.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu22Selected </State>
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 5
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_health.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu8Selected </State>
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 5
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_cocktail.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu61Selected </State>
<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 8
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_pepsi_7up.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu62Selected </State>
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
If EnableMultiInstance = "true" Then
TabMenuVisibleInst 7
Var OpenFileXML = CountryRootPath + "/xml/multi/page_instance2.xml"
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/v3/page_catalog_group_other_other.xml"
EndIf
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> MenuVSelected2 </State>
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
</EventClick>
</Button>
</Row2>
</ListView1>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99x Then
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Var web_app_prepar = "true"
; Handle penetrator
If Only18 = "true" Then
Open "ROOT/taobin_project/xml/page_identity18_verification.xml"
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>

View file

@ -0,0 +1,9 @@
If show_eng = "true" Then
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
Else
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
EndIf

106
xml/v3/menu_head.py Normal file
View file

@ -0,0 +1,106 @@
RoadShow = False
default_dir = 'ROOT/taobin_project/image/page_drink/'
default_dir2 = 'ROOT/taobin_project/image/page_drink_select/'
default_dir_press = 'ROOT/taobin_project/image/page_drink_press/'
default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable/'
new_default_dir = 'ROOT/taobin_project/image/page_drink_n/'
new_default_dir2 = 'ROOT/taobin_project/image/page_drink_picture2_n/'
new_default_dir_press = 'ROOT/taobin_project/image/page_drink_press_n/'
new_default_dir_disable = 'ROOT/taobin_project/image/page_drink_disable_n2/'
menu_count = 0
x1 = 44
x2 = 301
x3 = 558
x4 = 815
ystep = 899 - 571
y1 = 20
y2 = y1 + ystep*1
y3 = y1 + ystep*2
y4 = y1 + ystep*3
y5 = y1 + ystep*4
y6 = y1 + ystep*5
y7 = y1 + ystep*6
x_button = [
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4,
x1,
x2,
x3,
x4
]
y_button = [
y1,
y1,
y1,
y1,
y2,
y2,
y2,
y2,
y3,
y3,
y3,
y3,
y4,
y4,
y4,
y4,
y5,
y5,
y5,
y5,
y6,
y6,
y6,
y6,
y7,
y7,
y7,
y7
]

View file

@ -0,0 +1,514 @@
if "v3" in param:
if current_file_name == "page_catalog_group_recommend.skt":
recommend_page = True
button_add_string = "Var OpenFromInstMenuTab = 0"
else:
recommend_page = False
button_add_string = ""
out_xml('<ScrollableCatalog>\n')
out_xml('\t<X> 0 </X>\n')
out_xml('\t<Y> 497 </Y>\n')
out_xml('\t<Width> 1080 </Width>\n')
out_xml('\t<Height> 1423 </Height>\n')
out_xml('\t<Configuration>\n')
out_xml('\t\t<MenuNameTextConfiguration>\n')
out_xml('\t\t\t<Font> KanitMediumTTF </Font>\n')
out_xml('\t\t\t<Color> 0x322B26 </Color>\n')
out_xml('\t\t\t<ColorDisable> 0xEAE6E1 </ColorDisable>\n')
out_xml('\t\t\t<AutoResizeConfiguration>\n')
out_xml('\t\t\t\t<Min> 16 </Min>\n')
out_xml('\t\t\t\t<Max> 22 </Max>\n')
out_xml('\t\t\t\t<AdjustStep> 1 </AdjustStep>\n')
out_xml('\t\t\t</AutoResizeConfiguration>\n')
out_xml('\t\t</MenuNameTextConfiguration>\n')
out_xml('\t\t<MenuDescriptionTextConfiguration>\n')
out_xml('\t\t\t<Font> KanitMediumTTF </Font>\n')
out_xml('\t\t\t<Color> 0x322B26 </Color>\n')
out_xml('\t\t\t<ColorDisable> 0xEAE6E1 </ColorDisable>\n')
out_xml('\t\t\t<AutoResizeConfiguration>\n')
out_xml('\t\t\t\t<Min> 10 </Min>\n')
out_xml('\t\t\t\t<Max> 14 </Max>\n')
out_xml('\t\t\t\t<AdjustStep> 1 </AdjustStep>\n')
out_xml('\t\t\t</AutoResizeConfiguration>\n')
out_xml('\t\t</MenuDescriptionTextConfiguration>\n')
out_xml('\t\t<MenuPriceTextConfiguration>\n')
out_xml('\t\t\t<Font> KanitRegularTTF </Font>\n')
out_xml('\t\t\t<Color> 0x6F5F51 </Color>\n')
out_xml('\t\t\t<ColorDisable> 0xEAE6E1 </ColorDisable>\n')
out_xml('\t\t\t<AutoResizeConfiguration>\n')
out_xml('\t\t\t\t<Min> 4 </Min>\n')
out_xml('\t\t\t\t<Max> 20 </Max>\n')
out_xml('\t\t\t\t<AdjustStep> 1 </AdjustStep>\n')
out_xml('\t\t\t</AutoResizeConfiguration>\n')
out_xml('\t\t</MenuPriceTextConfiguration>\n')
out_xml('\t\t<MenuHotPriceLabel>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "Hot"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "ร้อน"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</MenuHotPriceLabel>\n')
out_xml('\t\t<MenuIcePriceLabel>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "Ice"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "เย็น"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</MenuIcePriceLabel>\n')
out_xml('\t\t<MenuBlendPriceLabel>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return ="Blend"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "ปั่น"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</MenuBlendPriceLabel>\n')
out_xml('\t\t<MenuUnavailableLabel>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return ="UNAVAILABLE"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "หมด"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</MenuUnavailableLabel>\n')
out_xml('\t</Configuration>\n')
out_xml('\t<Menus>\n')
out_xml(';banners\n')
count_test = 0
count = 0
pd_code_available = '##-##-##-####'
def GenMenuV3(spl):
out_xml( '\t\t; ==================> Len = ' + str(len(spl)) + '\n')
menu_img = spl[7]
out_xml( '\t\t; '+ spl[4] + ' ' + spl[5] + ' ' + spl[6]+ ' \n')
str_con = ""
str_con_var = ""
if spl[4] != '-':
str_con += spl[4] + '.Button,'
if spl[5] != '-':
str_con += spl[5] + '.Button,'
if spl[6] != '-':
str_con += spl[6] + '.Button,'
if spl[4] != '-':
str_con_var += spl[4] + '-'
if spl[5] != '-':
str_con_var += spl[5] + '-'
if spl[6] != '-':
str_con_var += spl[6] + '-'
str_con_var = str_con_var.replace("-", "")
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
str_con += f'DateTimeStart="{spl[12].strip()}",'
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
str_con += f'DateTimeEnd="{spl[13].strip()}",'
if re.match(r'^\w.*', spl[14].strip()):
str_con += f'Var={spl[14].strip()},'
if recommend_page:
str_con += "Disable=Invisible,"
str_con += "$Sum" + str_con_var
out_xml('\t\t<Menu>\n')
out_xml('\t\t<State> Flag( '+ str_con + ') </State>\n')
pd_code_1 = spl[4]
pd_stage1 = '$' + spl[4] + '.Button'
if spl[4] == "-" or len(spl[4]) == 0 :
pd_code_1 = pd_code_available
pd_stage1 = '"Disable2"'
pd_code_2 = spl[5]
pd_stage2 = '$' + spl[5] + '.Button'
if spl[5] == "-" or len(spl[5]) == 0:
pd_code_2 = pd_code_available
pd_stage2 = '"Disable2"'
pd_code_3 = spl[6]
pd_stage3 = '$' + spl[6] + '.Button'
if spl[6] == "-" or len(spl[6]) == 0:
pd_code_3 = pd_code_available
pd_stage3 = '"Disable2"'
if menu_img.startswith("#"):
out_xml( '\t\t<IdleImage> '+ menu_img[1:] + '_resting </IdleImage>\n')
out_xml( '\t\t<PressImage> '+ menu_img[1:] + '_press </PressImage>\n')
out_xml( '\t\t<DisableImage> '+ menu_img[1:] + '_disable </DisableImage>\n')
else:
out_xml( '\t\t<IdleImage> "' + new_default_dir + '/'+ menu_img +'" </IdleImage>\n')
out_xml( '\t\t<PressImage> "' + new_default_dir_press + '/'+ menu_img +'" </PressImage>\n')
out_xml( '\t\t<DisableImage> "' + new_default_dir_disable + '/'+ menu_img +'" </DisableImage>\n')
if spl[1] != "None":
out_xml('\t\t<Name>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "' + spl[1] + '"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "' + spl[0] + '"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</Name>\n')
out_xml('\t\t<Description>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "' + spl[3] + '"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "' + spl[2] + '"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</Description>\n')
out_xml('\t\t<HotState> ' + pd_stage1 + ' </HotState>\n')
out_xml('\t\t<IceState> ' + pd_stage2 + ' </IceState>\n')
out_xml('\t\t<BlendState> ' + pd_stage3 + ' </BlendState>\n')
out_xml('\t\t<HotPrice> StringFmt( $' + pd_code_1 + '.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>\n')
out_xml('\t\t<IcePrice> StringFmt( $' + pd_code_2 + '.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>\n')
out_xml('\t\t<BlendPrice> StringFmt( $' + pd_code_3 + '.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>\n')
out_xml('\t\t<IceProcessingState>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf ICE_PROCESS_STATUS = 2 Then\n')
out_xml('\t\t\t\t\tIf $Sum510201003951020200395102030039 = "Disable" Then\n')
out_xml('\t\t\t\t\t\tVar ice_tab_process_show = "Disable"\n')
out_xml('\t\t\t\t\tElse\n')
out_xml('\t\t\t\t\t\tVar ice_tab_process_show = "Enable"\n')
out_xml('\t\t\t\t\tEndIf\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar ice_tab_process_show = "Invisible"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t\tVar return = ice_tab_process_show\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</IceProcessingState>\n')
out_xml('\t\t<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>\n')
out_xml('\t\t<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>\n')
out_xml('\t\t<EventOnClick>\n')
if menu_img.startswith("#"):
out_xml( '\t\tVar PictureDrink = bn_oreo_vo_get1_full_path\r\n')
else:
out_xml( '\t\tVar PictureDrink = "' + new_default_dir2 + '" + \"' + menu_img + '\"\r\n')
out_xml('\t\t\tVar OpenFromXML = CurrentXMLFileName2\n')
out_xml('\t\t\tVar PriceD1 = $' + pd_code_1 + '.Price\n')
out_xml('\t\t\tVar PriceD2 = $' + pd_code_2 + '.Price\n')
out_xml('\t\t\tVar PriceD3 = $' + pd_code_3 + '.Price\n')
out_xml('\t\t\tVar PD_CODE1 = "' + pd_code_1 + '"\n')
out_xml('\t\t\tVar PD_CODE2 = "' + pd_code_2 + '"\n')
out_xml('\t\t\tVar PD_CODE3 = "' + pd_code_3 + '"\n')
out_xml('\t\t\tVar PD_STAGE_1 = ' + pd_stage1 + '\n')
out_xml('\t\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\n')
out_xml('\t\t\tVar PD_STAGE_3 = ' + pd_stage3 + '\n')
if len( spl) > 11:
if spl[4] != '-':
menu_xml_var = 'xmlpro( '+spl[4]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
elif spl[6] != '-':
menu_xml_var = 'xmlpro( '+spl[6]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
else:
menu_xml_var = 'xmlpro( '+spl[5]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
if len( menu_xml_var) > 0:
out_xml( '\t\t\tVar OverlayMenuFilter !assigned ' + menu_xml_var + '\n')
out_xml( '\t\t\tDEBUGVAR OverlayMenuFilter\n')
out_xml( '\t\t\tVar SelectCountDrinkType = 0\n')
out_xml( '\t\t\tVar DefaultDrinkType = 0\n')
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 1\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_2 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 2\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_3 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 3\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_2 = "Enable" Then\n')
#out_xml( \t'\t\t\tVar PD_STAGE_2 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[5].replace("-alter", "") +'"\n')
out_xml( '\t\t\tElse\n')
out_xml( '\t\t\t\tIf PD_STAGE_1 = "Enable" Then\n')
#out_xml( \t'\t\t\t\tVar PD_STAGE_1 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[4].replace("-alter", "") +'"\n')
out_xml( '\t\t\t\tElse\n')
#out_xml( \t'\t\t\t\tVar PD_STAGE_3 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[6].replace("-alter", "") +'"\n')
out_xml( '\t\t\t\tEndIf\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tVar menu_name_eng_hot = $' + pd_code_1 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_hot = $' + pd_code_1 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_hot = $' + pd_code_1 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_hot = $' + pd_code_1 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tVar menu_name_eng_cold = $' + pd_code_2 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_cold = $' + pd_code_2 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_cold = $' + pd_code_2 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_cold = $' + pd_code_2 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tVar menu_name_eng_blender = $' + pd_code_3 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_blender = $' + pd_code_3 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_blender = $' + pd_code_3 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_blender = $' + pd_code_3 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_1\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_2\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_3\n')
out_xml( '\t\t\tVar SelectDrinkType = 0\n')
out_xml( '\t\t\t'+ button_add_string +'\n')
out_xml( '\t\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\n')
out_xml('\t\t</EventOnClick>\n')
out_xml('\t\t</Menu>\n\n')
if spl[8] != '-' or spl[9] != '-' or spl[10] != '-':
menu_img = spl[7]
out_xml( '\t\t; '+ spl[8] + ' ' + spl[9] + ' ' + spl[10]+ ' \n')
str_con = ""
str_con_var = ""
if spl[8] != '-':
str_con += spl[8] + '.Button,'
if spl[9] != '-':
str_con += spl[9] + '.Button,'
if spl[10] != '-':
str_con += spl[10] + '.Button,'
if spl[8] != '-':
str_con_var += spl[8] + '-'
if spl[9] != '-':
str_con_var += spl[9] + '-'
if spl[10] != '-':
str_con_var += spl[10] + '-'
str_con_var = str_con_var.replace("-", "")
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
str_con += f'DateTimeStart="{spl[12].strip()}",'
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
str_con += f'DateTimeEnd="{spl[13].strip()}",'
if re.match(r'^\w.*', spl[14].strip()):
str_con += f'Var={spl[14].strip()},'
if recommend_page:
str_con += "Disable=Invisible,"
str_con += "$Sum" + str_con_var
out_xml('\t\t<Menu>\n')
out_xml('\t\t<State> Flag( '+ str_con + ') </State>\n')
pd_code_1 = spl[8]
pd_stage1 = '$' + spl[8] + '.Button'
if spl[8] == "-" or len(spl[8]) == 0 :
pd_code_1 = pd_code_available
pd_stage1 = '"Disable2"'
pd_code_2 = spl[9]
pd_stage2 = '$' + spl[9] + '.Button'
if spl[9] == "-" or len(spl[9]) == 0:
pd_code_2 = pd_code_available
pd_stage2 = '"Disable2"'
pd_code_3 = spl[10]
pd_stage3 = '$' + spl[10] + '.Button'
if spl[10] == "-" or len(spl[10]) == 0:
pd_code_3 = pd_code_available
pd_stage3 = '"Disable2"'
if menu_img.startswith("#"):
out_xml( '\t\t<IdleImage> '+ menu_img[1:] + '_resting </IdleImage>\n')
out_xml( '\t\t<PressImage> '+ menu_img[1:] + '_press </PressImage>\n')
out_xml( '\t\t<DisableImage> '+ menu_img[1:] + '_disable </DisableImage>\n')
else:
out_xml( '\t\t<IdleImage> "' + new_default_dir + '/'+ menu_img +'" </IdleImage>\n')
out_xml( '\t\t<PressImage> "' + new_default_dir_press + '/'+ menu_img +'" </PressImage>\n')
out_xml( '\t\t<DisableImage> "' + new_default_dir_disable + '/'+ menu_img +'" </DisableImage>\n')
if spl[1] != "None":
out_xml('\t\t<Name>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "' + spl[1] + '"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "' + spl[0] + '"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</Name>\n')
out_xml('\t\t<Description>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf show_eng = "true" Then\n')
out_xml('\t\t\t\t\tVar return = "' + spl[3] + '"\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar return = "' + spl[2] + '"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</Description>\n')
out_xml('\t\t<HotState> ' + pd_stage1 + ' </HotState>\n')
out_xml('\t\t<IceState> ' + pd_stage2 + ' </IceState>\n')
out_xml('\t\t<BlendState> ' + pd_stage3 + ' </BlendState>\n')
out_xml('\t\t<HotPrice> StringFmt( $' + pd_code_1 + '.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>\n')
out_xml('\t\t<IcePrice> StringFmt( $' + pd_code_2 + '.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>\n')
out_xml('\t\t<BlendPrice> StringFmt( $' + pd_code_3 + '.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>\n')
out_xml('\t\t<IceProcessingState>\n')
out_xml('\t\t\teval(\n')
out_xml('\t\t\t\tIf ICE_PROCESS_STATUS = 2 Then\n')
out_xml('\t\t\t\t\tIf $Sum510201003951020200395102030039 = "Disable" Then\n')
out_xml('\t\t\t\t\t\tVar ice_tab_process_show = "Disable"\n')
out_xml('\t\t\t\t\tElse\n')
out_xml('\t\t\t\t\t\tVar ice_tab_process_show = "Enable"\n')
out_xml('\t\t\t\t\tEndIf\n')
out_xml('\t\t\t\tElse\n')
out_xml('\t\t\t\t\tVar ice_tab_process_show = "Invisible"\n')
out_xml('\t\t\t\tEndIf\n')
out_xml('\t\t\t\tVar return = ice_tab_process_show\n')
out_xml('\t\t\t)\n')
out_xml('\t\t</IceProcessingState>\n')
out_xml('\t\t<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>\n')
out_xml('\t\t<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>\n')
out_xml('\t\t<EventOnClick>\n')
if menu_img.startswith("#"):
out_xml( '\t\tVar PictureDrink = bn_oreo_vo_get1_full_path\r\n')
else:
out_xml( '\t\tVar PictureDrink = "' + new_default_dir2 + '" + \"' + menu_img + '\"\r\n')
out_xml('\t\t\tVar OpenFromXML = CurrentXMLFileName2\n')
out_xml('\t\t\tVar PriceD1 = $' + pd_code_1 + '.Price\n')
out_xml('\t\t\tVar PriceD2 = $' + pd_code_2 + '.Price\n')
out_xml('\t\t\tVar PriceD3 = $' + pd_code_3 + '.Price\n')
out_xml('\t\t\tVar PD_CODE1 = "' + pd_code_1 + '"\n')
out_xml('\t\t\tVar PD_CODE2 = "' + pd_code_2 + '"\n')
out_xml('\t\t\tVar PD_CODE3 = "' + pd_code_3 + '"\n')
out_xml('\t\t\tVar PD_STAGE_1 = ' + pd_stage1 + '\n')
out_xml('\t\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\n')
out_xml('\t\t\tVar PD_STAGE_3 = ' + pd_stage3 + '\n')
if len( spl) > 11:
if spl[8] != '-':
menu_xml_var = 'xmlpro( '+spl[8]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
elif spl[9] != '-':
menu_xml_var = 'xmlpro( '+spl[9]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
else:
menu_xml_var = 'xmlpro( '+spl[10]+', "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_'+ spl[11] +'.png")'
if len( menu_xml_var) > 0:
out_xml( '\t\t\tVar OverlayMenuFilter !assigned ' + menu_xml_var + '\n')
out_xml( '\t\t\tDEBUGVAR OverlayMenuFilter\n')
out_xml( '\t\t\tVar SelectCountDrinkType = 0\n')
out_xml( '\t\t\tVar DefaultDrinkType = 0\n')
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 1\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_2 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 2\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_3 = "Enable" Then\n')
out_xml( '\t\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\n')
out_xml( '\t\t\t\tVar DefaultDrinkType = 3\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tIf PD_STAGE_2 = "Enable" Then\n')
#out_xml( \t'\t\t\tVar PD_STAGE_2 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[10].replace("-alter", "") +'"\n')
out_xml( '\t\t\tElse\n')
out_xml( '\t\t\t\tIf PD_STAGE_1 = "Enable" Then\n')
#out_xml( \t'\t\t\t\tVar PD_STAGE_1 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[8].replace("-alter", "") +'"\n')
out_xml( '\t\t\t\tElse\n')
#out_xml( \t'\t\t\t\tVar PD_STAGE_3 = "Enable"\n')
out_xml( '\t\t\t\tTopping "Load" "'+ spl[9].replace("-alter", "") +'"\n')
out_xml( '\t\t\t\tEndIf\n')
out_xml( '\t\t\tEndIf\n')
out_xml( '\t\t\tVar menu_name_eng_hot = $' + pd_code_1 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_hot = $' + pd_code_1 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_hot = $' + pd_code_1 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_hot = $' + pd_code_1 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tVar menu_name_eng_cold = $' + pd_code_2 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_cold = $' + pd_code_2 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_cold = $' + pd_code_2 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_cold = $' + pd_code_2 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tVar menu_name_eng_blender = $' + pd_code_3 + '.NameE\n')
out_xml( '\t\t\tVar menu_desc_eng_blender = $' + pd_code_3 + '.descriptionE\n')
out_xml( '\t\t\tVar menu_name_thai_blender = $' + pd_code_3 + '.Name\n')
out_xml( '\t\t\tVar menu_desc_thai_blender = $' + pd_code_3 + '.description\n')
out_xml( '\t\t\t\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_1\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_2\n')
out_xml( '\t\t\tDEBUGVAR PD_STAGE_3\n')
out_xml( '\t\t\tVar SelectDrinkType = 0\n')
out_xml( '\t\t\t'+ button_add_string +'\n')
out_xml( '\t\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\n')
out_xml('\t\t</EventOnClick>\n')
out_xml('\t\t</Menu>\n\n')
def GenListMenu():
for spl in menu_new_list:
#product_code = s
if spl[0] == "IGNORE":
continue
if spl[0].startswith("TAG"):
out_xml( '\t;' + spl[0] + '\r\n')
continue
GenMenuV3(spl)
out_xml('\t\t; menu_new_list '+ str(len(menu_new_list))+'\n')
GenListMenu()
out_xml('</ScrollableCatalog>\n')

14
xml/v3/open_catalog.ev Normal file
View file

@ -0,0 +1,14 @@
If SpiralOnline = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/v3/page_catalog_with_vending.xml"
If Seeker = "next" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/v3/page_catalog3.xml"
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/v3/page_catalog_with_vending.xml"
EndIf
Else
Open "/mnt/sdcard/coffeevending/taobin_project/xml/v3/page_catalog3.xml"
EndIf

752
xml/v3/page_catalog3.xml Normal file
View file

@ -0,0 +1,752 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
; page_catalog3 split menu group _other.skt to _pepsi_7up.skt and _other_other.skt
TopView "show"
; On open
Var IgnoreCollectPointByMe = 0
Var ChildrenFree = 0
Var NightTime = 0
Machine WakeUp
Machine OrderCheck
DEBUGVAR ToppingNewShow
Var NextPage = "-"
Var Seeker.thankLidFlag = 0
Var Seeker.thankStrawFlag = 0
WEB "DISABLE"
Var web_readyOK = "false"
Var web_telnumOK = ""
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
If CocktailShow = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
EndIf
If TermTemOnline = "true" Then
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
EndIf
If Seeker = "curr" Then
Machine DoorLidClose
EndIf
Var GetPayInfoFlag = 0
Var countDownRetrun = 30
CoinVending OFF
Var text_price_6 = ""
; zone sound
; Clear value
Topping "clear" "-"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
Play PlaySoundLag
Var DirImageCart = "ROOT/taobin_project/image/cart_en"
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var DirImage = "ROOT/taobin_project/image/page2"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
; Play Sound #zone
If SoundBackToSchoolEnable = 1 Then
If SoundBackToSchoolType = 1 Then
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
EndIf
If SoundBackToSchoolType = 2 Then
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
EndIf
Var PlaySoundLag = RootPathSoundBackToSchool + "taobin_sawade.wav"
EndIf
Play PlaySoundLag
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
Var text_unavailable = "หมด###size=32"
EndIf
Var StrawAutoRelease1 = "false"
Var StrawAutoRelease2 = "false"
Var SELLONLINE = 0
If SELLSTATUS = "SELLONLINE" Then
Var SELLONLINE = 1
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLSTATUS = "DEACTIVE" Then
SAVELOG "DEACTIVE in catalog2.xml"
;include="ROOT/taobin_project/inc/return_condition.ev"
EndIf
If SELLONLINE = 1 Then
Var ShowButtonClick2 = "Enable"
Else
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLONLINE = 1 Then
Var ShowNetworkProblem = "Invisible"
Var ShowNetworkProblemText = ""
;GenHashWithTimeStamp QRCODE99x
WEB "ENABLE"
Else
Var ShowNetworkProblem = "Enable"
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Invisible"
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
Var QRCODE99 = ""
WEB "DISABLE"
EndIf
; 1035 is Coke.
STRCONTAIN "1035" MaterialAvailable CokeUI
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
Var countClick = 0
DEBUGVAR CART_COUNT
Var QRCODE99_Y = 1718
Var showCart = "Invisible"
If MultiPayEnable = "true" Then
If CART_COUNT = 1 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
Var QRCODE99_Y = 1580
EndIf
If CART_COUNT = 2 Then
Var showCart = "Enable"
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
Var QRCODE99_Y = 1580
EndIf
If CART_COUNT = 3 Then
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
EndIf
EndIf
If Seeker = "next" Then
Var ShowButtonClick2 = "Invisible"
Var ButtontoTopupMenu = "Invisible"
EndIf
If XMLProfile = "taobin_notopup" Then
Var ButtontoTopupMenu = "Invisible"
EndIf
Var menu_name_eng_hot = ""
Var menu_desc_eng_hot = ""
Var menu_name_thai_hot = ""
Var menu_desc_thai_hot = ""
Var menu_name_eng_cold = ""
Var menu_desc_eng_cold = ""
Var menu_name_thai_cold = ""
Var menu_desc_thai_cold = ""
Var menu_name_eng_blender = ""
Var menu_desc_eng_blender = ""
Var menu_name_thai_blender = ""
Var menu_desc_thai_blender = ""
If BoxID = 0 Then
RebootWithCause "BoxID was zero"
EndIf
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
TRY "ROOT/taobin_project/xml/sometime/RoadShow.ev"
; zone cup on arm
If Seeker = "curr" Then
If CupOnArm = "true" Then
If CheckCupStateDoorCupClose = "" Then
Var buttonRemoveCup = "Enable"
EndIf
If CheckCupStateDoorCupClose = "done" Then
Var buttonRemoveCup = "Enable"
EndIf
Else
If buttonRemoveCup = "Enable" Then
Var buttonRemoveCup = "Invisible"
EndIf
EndIf
Else
Var buttonRemoveCup = "Invisible"
EndIf
If CounterEnable = 1 Then
If OnTaobinVending = 1 Then
Open "ROOT/taobin_project/xml/counter/taobinvd/page_wait_order.xml"
EndIf
EndIf
If EnableMultiInstance = "true" Then
Open "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
EndIf
Var Price5Active = 0
</EventOpen>
<EventLanguageChange>
;
DEBUGVAR LangEng
If LangEng = "true" Then
EndIf
DEBUGVAR LangThai
If LangThai = "true" Then
EndIf
</EventLanguageChange>
<Timeout> 1000 </Timeout>
<EventTimeout>
;SAVELOG SoundPlaying
If countDownRetrun > 0 Then
Var countDownRetrun = countDownRetrun - 1
EndIf
If countDownRetrun = 0 Then
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
; zone cup on arm
If Seeker = "curr" Then
If CupOnArm = "true" Then
If CheckCupStateDoorCupClose = "" Then
Var buttonRemoveCup = "Enable"
EndIf
If CheckCupStateDoorCupClose = "done" Then
Var buttonRemoveCup = "Enable"
EndIf
Else
If buttonRemoveCup = "Enable" Then
Var buttonRemoveCup = "Invisible"
EndIf
EndIf
Else
Var buttonRemoveCup = "Invisible"
EndIf
Refresh
TimerReset
</EventTimeout>
<EventChangeStatus>
;If ChangeStatus = "payout-end" Then
; Var ChangeOK = 1
;EndIf
</EventChangeStatus>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99 Then
Cart "DeleteMenuID" "ALL"
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Width> 1080 </Width>
<Height> 1540 </Height>
<Color> "0xeae6e1" </Color>
</Image>
; back
<Button>
<X> 19 </X>
<Y> 420 </Y>
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
</EventClick>
</Button>
<Button>
<X> 990 </X>
<Y> 438 </Y>
<Filename> show_btn </Filename>
<FilenamePress> show_btp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
If show_eng = "true" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
Open CurrentXMLFileName2
</EventClick>
</Button>
<Image>
<X> 70 </X>
<Y> 583 </Y>
<Filename> Var(DirImage + "/text1.png") </Filename>
</Image>
; menu row 1
<Button>
<X> 220 </X>
<Y> 844 </Y>
<Filename> Var(DirImage + "/bn_diy.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
; zone promote
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
</EventClick>
</Button>
<Button>
<X> 564 </X>
<Y> 844 </Y>
<Filename> Var(DirImage + "/bn_coffee.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_coffee.xml"
</EventClick>
</Button>
; menu row 2
<Button>
<X> 47 </X>
<Y> 1188 </Y>
<Filename> Var(DirImage + "/bn_tea.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_tea.xml"
</EventClick>
</Button>
<Button>
<X> 391 </X>
<Y> 1188 </Y>
<Filename> Var(DirImage + "/bn_cho_caramel.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_milk.xml"
</EventClick>
</Button>
<Button>
<X> 748 </X>
<Y> 1188 </Y>
<Filename> bnSodaAndOther </Filename>
<FilenamePress> bpSodaAndOther </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_other_other.xml"
</EventClick>
</Button>
;=============================================================================
<Button>
<X> 48 </X>
<Y> 1532 </Y>
<Filename> Var(DirImage + "/bn_Pepsi_7up.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_Pepsi_7up.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_pepsi_7up.xml"
</EventClick>
</Button>
<Button>
<X> 392 </X>
<Y> 1532 </Y>
<State>WheyButtonState</State>
<Filename> Var(DirImage + "/bn_protein.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_protein.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_whey.xml"
</EventClick>
</Button>
<Button>
<X> 392 </X>
<Y> 1532 </Y>
<State>MenuKidButtonState</State>
<Filename> Var(DirImage + "/bn_kidmenu.png") </Filename>
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_forkid.xml"
</EventClick>
</Button>
<Button>
<X> 392 </X>
<Y> 1532 </Y>
<State>AppFastButtonState</State>
<Filename> Var(DirImage + "/bn_appfast.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_appfast.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_appfast.xml"
</EventClick>
</Button>
;=============================================================================
<Button>
<X> 736 </X>
<Y> 1532 </Y>
<State> "Enable" </State>
<Filename> Var(DirImage + "/bn_HealthyOption.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_HealthyOption.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/v3/page_catalog_group_health.xml"
</EventClick>
</Button>
<Button>
<X> 225 </X>
<Y> 424 </Y>
<State> ShowButtonClick2 </State>
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
</EventClick>
</Button>
<Button>
<X> 696 </X>
<Y> 424 </Y>
<State> ButtontoTopupMenu </State>
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; eng
Var PayDetail=""
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
</EventClick>
</Button>
<Button>
<X> 0 </X>
<Y> 1870 </Y>
<State> ShowNetworkProblem </State>
<Color> "0xFF0000" </Color>
<Width> 1080 </Width>
<Height> 60 </Height>
</Button>
<Text>
<X> 5 </X>
<Y> 1880 </Y>
<Size> 24 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> RobotoRegular </Font>
<Color> 0xFFFFFF </Color>
<Value> ShowNetworkProblemText </Value>
</Text>
<Button>
<X> 0 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Volume> SoundVolume </Volume>
<EventClick>
Var countClick = countClick + 1
If countClick = 3 Then
;Var TestLoopMakeDrink = 1
EndIf
DEBUGVAR countClick
If countClick = 5 Then
If ToppingNewEnable = "false" Then
Var ToppingNewEnable = "true"
Else
Var ToppingNewEnable = "false"
EndIf
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
EndIf
Refresh
</EventClick>
</Button>
;<QRCode>
;<X> 895 </X>
;<Y> QRCODE99_Y</Y>
;<Width> 178 </Width>
;<Height> 178 </Height>
;<State> "Enable" </State>
;<Service> testservice </Service>
;</QRCode>
<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 CheckCupStateDoorCupClose = "reset"
Var buttonRemoveCup = "Invisible"
</EventClick>
</Button>
; Cart
<Button>
<X> 915 </X>
<Y> 1769 </Y>
<State> showCart </State>
<Filename> cart_image_bn </Filename>
<Filename> cart_image_bp </Filename>
<FilenamePress> cart_image_bp </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<Interval> 400</Interval>
<EventClick>
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
</EventClick>
</Button>
<EventWebApp>
DEBUGVAR web_ready
If web_ready = "true" Then
If web_ref = QRCODE99x Then
Var web_readyOK = web_ready
Var web_telnumOK = web_telnum
Var web_app_prepar = "true"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
EndIf
Else
EndIf
</EventWebApp>
<EventUnitTest1>
SAVELOG "MENU TAB ENTRY"
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_catalog.xml"
</EventUnitTest1>
<EventUnitTest2>
Open "ROOT/taobin_project/xml/page_before_check_member.xml"
</EventUnitTest2>
<EventUnitTest3>
Open "/mnt/sdcard/coffeevending/taobin_project/xml/v3/page_catalog_group_soft_serve.xml"
</EventUnitTest3>
<EventUnitTest4>
Open "/mnt/sdcard/coffeevending/taobin_project/xml/menutab/page_catalog.xml"
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,48 @@
<?hurr
#include=menu_head.py
echo param
?>
<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"
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,660 @@
<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"
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 5
; ==================> Len = 20
; - 12-04-02-1018 -
<Menu>
<State> Flag( 12-04-02-1018.Button,$Sum1204021018) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_original_BDMS.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_original_BDMS.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_original_BDMS.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "App Fast Original"
Else
Var return = "แอพ ฟาสท์ \nวานิลลา (Original)"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Plant-Based Protein with \nEssential nutrients"
Else
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-04-02-1018.Button </IceState>
<BlendState> "Disable2" </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-04-02-1018.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_original_BDMS.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-04-02-1018.Price
Var PriceD3 = $##-##-##-####.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-1018"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-1018.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1018, "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-04-02-1018"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-1018.NameE
Var menu_desc_eng_cold = $12-04-02-1018.descriptionE
Var menu_name_thai_cold = $12-04-02-1018.Name
Var menu_desc_thai_cold = $12-04-02-1018.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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>
</Menu>
; ==================> Len = 20
; - 12-04-02-1019 -
<Menu>
<State> Flag( 12-04-02-1019.Button,$Sum1204021019) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_espresso_BDMS.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_espresso_BDMS.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_espresso_BDMS.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "App Fast Espresso"
Else
Var return = "แอพ ฟาสท์ กาแฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Plant-Based Protein with \nEssential nutrients"
Else
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-04-02-1019.Button </IceState>
<BlendState> "Disable2" </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-04-02-1019.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_espresso_BDMS.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-04-02-1019.Price
Var PriceD3 = $##-##-##-####.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-1019"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-1019.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1019, "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-04-02-1019"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-1019.NameE
Var menu_desc_eng_cold = $12-04-02-1019.descriptionE
Var menu_name_thai_cold = $12-04-02-1019.Name
Var menu_desc_thai_cold = $12-04-02-1019.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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>
</Menu>
; ==================> Len = 20
; - 12-04-02-1020 -
<Menu>
<State> Flag( 12-04-02-1020.Button,$Sum1204021020) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Chocolate_BDMS.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Chocolate_BDMS.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Chocolate_BDMS.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "App Fast \nChocolate"
Else
Var return = "แอพ ฟาสท์ ช็อกโก"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Plant-Based Protein with \nEssential nutrients"
Else
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-04-02-1020.Button </IceState>
<BlendState> "Disable2" </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-04-02-1020.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Chocolate_BDMS.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-04-02-1020.Price
Var PriceD3 = $##-##-##-####.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-1020"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-1020.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1020, "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-04-02-1020"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-1020.NameE
Var menu_desc_eng_cold = $12-04-02-1020.descriptionE
Var menu_name_thai_cold = $12-04-02-1020.Name
Var menu_desc_thai_cold = $12-04-02-1020.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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>
</Menu>
; ==================> Len = 20
; - 12-04-02-1021 -
<Menu>
<State> Flag( 12-04-02-1021.Button,$Sum1204021021) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Thaitea_BDMS.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Thaitea_BDMS.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Thaitea_BDMS.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "App Fast \nThai Tea"
Else
Var return = "แอพ ฟาสท์ ชาไทย"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Plant-Based Protein with \nEssential nutrients"
Else
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-04-02-1021.Button </IceState>
<BlendState> "Disable2" </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-04-02-1021.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Thaitea_BDMS.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-04-02-1021.Price
Var PriceD3 = $##-##-##-####.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-1021"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-1021.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1021, "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-04-02-1021"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-1021.NameE
Var menu_desc_eng_cold = $12-04-02-1021.descriptionE
Var menu_name_thai_cold = $12-04-02-1021.Name
Var menu_desc_thai_cold = $12-04-02-1021.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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>
</Menu>
; ==================> Len = 20
; - 12-04-02-1022 -
<Menu>
<State> Flag( 12-04-02-1022.Button,$Sum1204021022) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_protein_Matcha_BDMS.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_protein_Matcha_BDMS.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_protein_Matcha_BDMS.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "App Fast \nMatcha"
Else
Var return = "แอพ ฟาสท์ ชาเขียว"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Plant-Based Protein with \nEssential nutrients"
Else
Var return = "โปรตีนจากพืชคุณภาพสูง \nพร้อมสารอาหารที่มีประโยชน์"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-04-02-1022.Button </IceState>
<BlendState> "Disable2" </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-04-02-1022.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_protein_Matcha_BDMS.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-04-02-1022.Price
Var PriceD3 = $##-##-##-####.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-04-02-1022"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-04-02-1022.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-04-02-1022, "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-04-02-1022"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-04-02-1022.NameE
Var menu_desc_eng_cold = $12-04-02-1022.descriptionE
Var menu_name_thai_cold = $12-04-02-1022.Name
Var menu_desc_thai_cold = $12-04-02-1022.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,38 @@
<?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 Menu8Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,39 @@
<?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 Menu2Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,430 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; TAOTIM - 12-51-01-0001
<Menu>
<State> Flag( TAOTIM.Button,12-51-01-0001.Button,$SumTAOTIM1251010001) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_chicken.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_chicken.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_chicken.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Chicken Fire"
Else
Var return = "ไก่ทอด"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Delicious burnt fried chicken that no one wants"
Else
Var return = "ไก่ทอดไหม้ๆ อร่อยที่ไม่มีใครอยากเหมือน"
EndIf
)
</Description>
<HotState> $TAOTIM.Button </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-51-01-0001.Button </BlendState>
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-51-01-0001.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_chicken.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $TAOTIM.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-51-01-0001.Price
Var PD_CODE1 = "TAOTIM"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-51-01-0001"
Var PD_STAGE_1 = $TAOTIM.Button
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-51-01-0001.Button
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "TAOTIM"
Else
Topping "Load" "12-51-01-0001"
EndIf
EndIf
Var menu_name_eng_hot = $TAOTIM.NameE
Var menu_desc_eng_hot = $TAOTIM.descriptionE
Var menu_name_thai_hot = $TAOTIM.Name
Var menu_desc_thai_hot = $TAOTIM.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-51-01-0001.NameE
Var menu_desc_eng_blender = $12-51-01-0001.descriptionE
Var menu_name_thai_blender = $12-51-01-0001.Name
Var menu_desc_thai_blender = $12-51-01-0001.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>
</Menu>
; ==================> Len = 15
; TAOTIM - 12-51-01-0002
<Menu>
<State> Flag( TAOTIM.Button,12-51-01-0002.Button,$SumTAOTIM1251010002) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_meatball.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_meatball.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_meatball.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Meatball"
Else
Var return = "ลูกชิ้นทอด"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Crispy meatballs, chew until several teeth fall out"
Else
Var return = "ลูกชิ้นกรอบๆ เคี้ยวจนฟันหลุดออกมาหลายซี่"
EndIf
)
</Description>
<HotState> $TAOTIM.Button </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-51-01-0002.Button </BlendState>
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-51-01-0002.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_meatball.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $TAOTIM.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-51-01-0002.Price
Var PD_CODE1 = "TAOTIM"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-51-01-0002"
Var PD_STAGE_1 = $TAOTIM.Button
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-51-01-0002.Button
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "TAOTIM"
Else
Topping "Load" "12-51-01-0002"
EndIf
EndIf
Var menu_name_eng_hot = $TAOTIM.NameE
Var menu_desc_eng_hot = $TAOTIM.descriptionE
Var menu_name_thai_hot = $TAOTIM.Name
Var menu_desc_thai_hot = $TAOTIM.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-51-01-0002.NameE
Var menu_desc_eng_blender = $12-51-01-0002.descriptionE
Var menu_name_thai_blender = $12-51-01-0002.Name
Var menu_desc_thai_blender = $12-51-01-0002.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>
</Menu>
; ==================> Len = 15
; TAOTIM - 12-51-01-0003
<Menu>
<State> Flag( TAOTIM.Button,12-51-01-0003.Button,$SumTAOTIM1251010003) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_deep_fried_nugget.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_deep_fried_nugget.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_deep_fried_nugget.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Nugget"
Else
Var return = "นักเก็ตทอด"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Great recipe for nuggets Mix with cat meat"
Else
Var return = "นักเก๊ตสูตรเด็ด ผสมเนื้อแมวเหมียว"
EndIf
)
</Description>
<HotState> $TAOTIM.Button </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-51-01-0003.Button </BlendState>
<HotPrice> StringFmt( $TAOTIM.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-51-01-0003.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_deep_fried_nugget.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $TAOTIM.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-51-01-0003.Price
Var PD_CODE1 = "TAOTIM"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-51-01-0003"
Var PD_STAGE_1 = $TAOTIM.Button
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-51-01-0003.Button
Var OverlayMenuFilter !assigned xmlpro( TAOTIM, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "TAOTIM"
Else
Topping "Load" "12-51-01-0003"
EndIf
EndIf
Var menu_name_eng_hot = $TAOTIM.NameE
Var menu_desc_eng_hot = $TAOTIM.descriptionE
Var menu_name_thai_hot = $TAOTIM.Name
Var menu_desc_thai_hot = $TAOTIM.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-51-01-0003.NameE
Var menu_desc_eng_blender = $12-51-01-0003.descriptionE
Var menu_name_thai_blender = $12-51-01-0003.Name
Var menu_desc_thai_blender = $12-51-01-0003.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,48 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<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"
; protein
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,35 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<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 Menu22Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,30 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,44 @@
<?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 Menu4Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<?hurr
#include=./event/dummy_layout_promotion.py
?>
<EventUnitTest4>
RefreshAll
</EventUnitTest4>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,37 @@
<?hurr
#include=menu_head.py
echo param
?>
<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"
; soda and other
Var Menu62Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,37 @@
<?hurr
#include=menu_head.py
echo param
?>
<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"
; soda and other
Var Menu62Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,36 @@
<?hurr
#include=menu_head.py
echo param
?>
<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"
; pepsi 7up
Var Menu61Selected = "PressForever"
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
Var From12Day12MenuPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,78 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
<?hurr
#include=menu_catalog_default_init.xml
?>
Var Menu1Selected = "PressForever"
Var OreoBigButtonEnable = "Enable"
Var From15THBPro = 0
If $12-01-01-0001.Button = "Invisible" Then
Var esp102101001Enable = "Invisible"
Var esp122101001Enable = "Enable"
Else
Var esp102101001Enable = "Enable"
Var esp122101001Enable = "Invisible"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
If show_eng = "true" Then
Var text_unavailable = "UNAVAILABLE###size=16"
Else
Var text_unavailable = "หมด###size=32"
EndIf
<?hurr
#include=menu_catalog_new_menu.xml
?>
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<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>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,46 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromBadValentinePro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,45 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,57 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
Var FromWednesdayMelonPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
If show_eng = "true" Then
Var extension = "_en.png"
Else
Var extension = ".png"
EndIf
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,753 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 5
; ==================> Len = 15
; - - 12-03-03-0103
<Menu>
<State> Flag( 12-03-03-0103.Button,$Sum1203030103) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nIce Cream"
Else
Var return = "เต่าบินไอติมถัง\nกะทิ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Milk, Sugar\nAnd Ice"
Else
Var return = "มะพร้าว, คาราเมล, นม, น้ำตาล\nและ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0103.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0103.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0103.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0103"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0103.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0103, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0103"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0103.NameE
Var menu_desc_eng_blender = $12-03-03-0103.descriptionE
Var menu_name_thai_blender = $12-03-03-0103.Name
Var menu_desc_thai_blender = $12-03-03-0103.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0104
<Menu>
<State> Flag( 12-03-03-0104.Button,$Sum1203030104) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Strawberry_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Strawberry_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Strawberry_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nStrawberry Ice Cream"
Else
Var return = "เต่าบินไอติมถัง\nสตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Strawberry,\nMilk, Sugar And Ice"
Else
Var return = "มะพร้าว, คาราเมล, สตรอเบอรี, นม,\nน้ำตาล และ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0104.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0104.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Strawberry_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0104.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0104"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0104.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0104, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0104"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0104.NameE
Var menu_desc_eng_blender = $12-03-03-0104.descriptionE
Var menu_name_thai_blender = $12-03-03-0104.Name
Var menu_desc_thai_blender = $12-03-03-0104.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0105
<Menu>
<State> Flag( 12-03-03-0105.Button,$Sum1203030105) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Cocoa_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Cocoa_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Cocoa_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nCocoa Ice Cream"
Else
Var return = "เต่าบินไอติมถัง\nโกโก้"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Cocoa, Milk,\nSugar And Ice"
Else
Var return = "มะพร้าว, คาราเมล, โกโก้, นม, น้ำตาล\nและ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0105.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0105.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Cocoa_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0105.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0105"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0105.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0105"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0105.NameE
Var menu_desc_eng_blender = $12-03-03-0105.descriptionE
Var menu_name_thai_blender = $12-03-03-0105.Name
Var menu_desc_thai_blender = $12-03-03-0105.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0106
<Menu>
<State> Flag( 12-03-03-0106.Button,$Sum1203030106) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Matcha_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Matcha_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Matcha_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nMatcha Ice Cream"
Else
Var return = "เต่าบินไอติมถัง\nมัทฉะญี่ปุ่น"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Matcha, Milk,\nSugar And Ice"
Else
Var return = "มะพร้าว, คาราเมล, มัทฉะ, นม, น้ำตาล\nและ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0106.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0106.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Matcha_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0106.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0106"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0106.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0106"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0106.NameE
Var menu_desc_eng_blender = $12-03-03-0106.descriptionE
Var menu_name_thai_blender = $12-03-03-0106.Name
Var menu_desc_thai_blender = $12-03-03-0106.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>
</Menu>
; ==================> Len = 15
; - - 12-01-03-0090
<Menu>
<State> Flag( 12-01-03-0090.Button,$Sum1201030090) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nCoffee Ice Cream"
Else
Var return = "เต่าบินไอติมถัง\nกาแฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Coffee, Milk,\nSugar And Ice"
Else
Var return = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล\nและ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-01-03-0090.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-01-03-0090.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-01-03-0090.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-01-03-0090"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-01-03-0090.Button
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0090, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-01-03-0090"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-01-03-0090.NameE
Var menu_desc_eng_blender = $12-01-03-0090.descriptionE
Var menu_name_thai_blender = $12-01-03-0090.Name
Var menu_desc_thai_blender = $12-01-03-0090.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>
</Menu>
; - - 12-21-03-0090
<Menu>
<State> Flag( 12-21-03-0090.Button,$Sum1221030090) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Coconut_Milk_Coffee_Smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Coconut_Milk_Coffee_Smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Coconut_Milk_Coffee_Smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Coconut Milk\nCoffee Ice Cream"
Else
Var return = "เต่าบินไอติมถัง\nกาแฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coconut, Caramel, Coffee, Milk,\nSugar And Ice"
Else
Var return = "มะพร้าว, คาราเมล, กาแฟ, นม, น้ำตาล\nและ น้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-21-03-0090.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-21-03-0090.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Coconut_Milk_Coffee_Smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-21-03-0090.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-21-03-0090"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-21-03-0090.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0090, "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-21-03-0090"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-21-03-0090.NameE
Var menu_desc_eng_blender = $12-21-03-0090.descriptionE
Var menu_name_thai_blender = $12-21-03-0090.Name
Var menu_desc_thai_blender = $12-21-03-0090.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var FromMyMintPro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

View file

@ -0,0 +1,448 @@
<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 FromMyMintPro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; - - 12-99-03-0026
<Menu>
<State> Flag( 12-99-03-0026.Button,$Sum1299030026) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_freefire.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_freefire.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_freefire.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = ""
Else
Var return = "คาเพลล่าสวีทดริ๊งค์"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Milk,\nSugar, Oreo"
Else
Var return = "สตรอเบอรี นม น้ำตาล \n Oreo"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-99-03-0026.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-99-03-0026.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_freefire.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-99-03-0026.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0026"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-99-03-0026.Button
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0026, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-99-03-0026"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-99-03-0026.NameE
Var menu_desc_eng_blender = $12-99-03-0026.descriptionE
Var menu_name_thai_blender = $12-99-03-0026.Name
Var menu_desc_thai_blender = $12-99-03-0026.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>
</Menu>
; ==================> Len = 15
; - - 12-99-03-0067
<Menu>
<State> Flag( 12-99-03-0067.Button,$Sum1299030067) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Chocolate_Milk_freefire.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Maxim's Booster"
Else
Var return = "แม๊กซิมบูสเตอร์ "
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Pepsi, Cocoa, Milk, Oreo and Ice"
Else
Var return = "เป๊ปซี่ โกโก้ นม และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-99-03-0067.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-99-03-0067.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Chocolate_Milk_freefire.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-99-03-0067.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0067"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-99-03-0067.Button
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0067, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-99-03-0067"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-99-03-0067.NameE
Var menu_desc_eng_blender = $12-99-03-0067.descriptionE
Var menu_name_thai_blender = $12-99-03-0067.Name
Var menu_desc_thai_blender = $12-99-03-0067.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>
</Menu>
; ==================> Len = 15
; - - 12-99-03-0066
<Menu>
<State> Flag( 12-99-03-0066.Button,$Sum1299030066) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_smoothie_oreo_Pepsi_Milk_freefire.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Kelly's Secret Recipe"
Else
Var return = "สูตรลับเคลลี่"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "pepsi, Milk,\nSugar, Oreo"
Else
Var return = "เป๊ปซี่ นม และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-99-03-0066.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-99-03-0066.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_smoothie_oreo_Pepsi_Milk_freefire.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-99-03-0066.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0066"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-99-03-0066.Button
Var OverlayMenuFilter !assigned xmlpro( 12-99-03-0066, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-99-03-0066"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-99-03-0066.NameE
Var menu_desc_eng_blender = $12-99-03-0066.descriptionE
Var menu_name_thai_blender = $12-99-03-0066.Name
Var menu_desc_thai_blender = $12-99-03-0066.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>
</Menu>
</ScrollableCatalog>
;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>

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var FromHalloweenPro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<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>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromHappyTriosPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,538 @@
<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 FromHappyTriosPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; - - 12-01-03-0078
<Menu>
<State> Flag( 12-01-03-0078.Button,$Sum1201030078) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Premium Espresso\nCaramel Oreo"
Else
Var return = "พรีเมียมเอสเพรสโซ่\nคาราเมลโอรีโอ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coffee, Milk, Caramel , Oreo"
Else
Var return = "กาแฟ นม คาราเมล และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-01-03-0078.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-01-03-0078.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-01-03-0078.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-01-03-0078"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-01-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-01-03-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-01-03-0078"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-01-03-0078.NameE
Var menu_desc_eng_blender = $12-01-03-0078.descriptionE
Var menu_name_thai_blender = $12-01-03-0078.Name
Var menu_desc_thai_blender = $12-01-03-0078.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>
</Menu>
; - - 12-21-03-0078
<Menu>
<State> Flag( 12-21-03-0078.Button,$Sum1221030078) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Caramel_happy_trios.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Caramel_happy_trios.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Premium Espresso\nCaramel Oreo"
Else
Var return = "พรีเมียมเอสเพรสโซ่\nคาราเมลโอรีโอ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Coffee, Milk, Caramel , Oreo"
Else
Var return = "กาแฟ นม คาราเมล และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-21-03-0078.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-21-03-0078.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Caramel_happy_trios.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-21-03-0078.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-21-03-0078"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-21-03-0078.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0078, "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-21-03-0078"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-21-03-0078.NameE
Var menu_desc_eng_blender = $12-21-03-0078.descriptionE
Var menu_name_thai_blender = $12-21-03-0078.Name
Var menu_desc_thai_blender = $12-21-03-0078.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>
</Menu>
; ==================> Len = 15
; - - 12-02-03-0057
<Menu>
<State> Flag( 12-02-03-0057.Button,$Sum1202030057) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_Matcha_happy_trios.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_Matcha_happy_trios.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Premium Matcha\nCaramel Oreo"
Else
Var return = "พรีเมียมมัทฉะ\nคาราเมลโอรีโอ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Matcha, Milk, Caramel , Oreo"
Else
Var return = "มัทฉะ นม คาราเมล และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-02-03-0057.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-02-03-0057.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_Matcha_happy_trios.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-02-03-0057.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-02-03-0057"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-02-03-0057.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-02-03-0057"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-02-03-0057.NameE
Var menu_desc_eng_blender = $12-02-03-0057.descriptionE
Var menu_name_thai_blender = $12-02-03-0057.Name
Var menu_desc_thai_blender = $12-02-03-0057.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>
</Menu>
; ==================> Len = 15
; - - 12-02-03-0058
<Menu>
<State> Flag( 12-02-03-0058.Button,$Sum1202030058) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_super_oreo_volcano_ThaiTea_happy_trios.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Premium Thai Tea\nCaramel Oreo"
Else
Var return = "พรีเมียมชาไทย\nคาราเมลโอรีโอ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Thai Tea, Milk, Caramel , Oreo"
Else
Var return = "ชาไทย นม คาราเมล และโอรีโอ"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-02-03-0058.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-02-03-0058.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_super_oreo_volcano_ThaiTea_happy_trios.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-02-03-0058.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-02-03-0058"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-02-03-0058.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-02-03-0058"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-02-03-0058.NameE
Var menu_desc_eng_blender = $12-02-03-0058.descriptionE
Var menu_name_thai_blender = $12-02-03-0058.Name
Var menu_desc_thai_blender = $12-02-03-0058.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,52 @@
<?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 FromMyMintPro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<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"
Refresh
</EventClick>
</Button>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromLipitPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,30 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,45 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromMondayBananaPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,431 @@
<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 FromMondayBananaPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; - 12-03-02-0024 12-03-03-0024
<Menu>
<State> Flag( 12-03-02-0024.Button,12-03-03-0024.Button,$Sum12030200241203030024) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_ChocoBanana_milk_monday_banana.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_ChocoBanana_milk_monday_banana.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_ChocoBanana_milk_monday_banana.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "A Positive Leave\nIs Relieve"
Else
Var return = "ลาที่ดีคือลาออก"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Tokyo Banana , Milk, Sugar"
Else
Var return = "โกโก้ โตเกียวบานาน่า นมและน้ำตาล"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-03-02-0024.Button </IceState>
<BlendState> $12-03-03-0024.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-03-02-0024.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0024.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_ChocoBanana_milk_monday_banana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-03-02-0024.Price
Var PriceD3 = $12-03-03-0024.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-03-02-0024"
Var PD_CODE3 = "12-03-03-0024"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-03-02-0024.Button
Var PD_STAGE_3 = $12-03-03-0024.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0024, "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-03-02-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0024"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-03-02-0024.NameE
Var menu_desc_eng_cold = $12-03-02-0024.descriptionE
Var menu_name_thai_cold = $12-03-02-0024.Name
Var menu_desc_thai_cold = $12-03-02-0024.description
Var menu_name_eng_blender = $12-03-03-0024.NameE
Var menu_desc_eng_blender = $12-03-03-0024.descriptionE
Var menu_name_thai_blender = $12-03-03-0024.Name
Var menu_desc_thai_blender = $12-03-03-0024.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0029
<Menu>
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_BananaOreo_smoothie_monday_banana.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_BananaOreo_smoothie_monday_banana.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_BananaOreo_smoothie_monday_banana.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "A Perfect App\nIs Approve"
Else
Var return = "แอพที่ดีคือแอพพรูฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Banana , Milk,\nSugar, Oreo"
Else
Var return = "กล้วย นม น้ำตาล Oreo"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0029.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0029.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_BananaOreo_smoothie_monday_banana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0029.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0029"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0029.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0029"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0029.NameE
Var menu_desc_eng_blender = $12-03-03-0029.descriptionE
Var menu_name_thai_blender = $12-03-03-0029.Name
Var menu_desc_thai_blender = $12-03-03-0029.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
</EventOnClick>
</Menu>
; ==================> Len = 15
; - 12-03-02-0023 12-03-03-0023
<Menu>
<State> Flag( 12-03-02-0023.Button,12-03-03-0023.Button,$Sum12030200231203030023) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Banana_milk_monday_banana.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Banana_milk_monday_banana.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Banana_milk_monday_banana.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "A Favorable Boost\nIs A Money Boost"
Else
Var return = "โบที่ดีคือโบนัส\nสิบสองเดือน"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Banana , milk And Ice"
Else
Var return = "กล้วย นม และน้ำแข็ง"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-03-02-0023.Button </IceState>
<BlendState> $12-03-03-0023.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-03-02-0023.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0023.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Banana_milk_monday_banana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-03-02-0023.Price
Var PriceD3 = $12-03-03-0023.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-03-02-0023"
Var PD_CODE3 = "12-03-03-0023"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-03-02-0023.Button
Var PD_STAGE_3 = $12-03-03-0023.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0023, "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-03-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-03-02-0023.NameE
Var menu_desc_eng_cold = $12-03-02-0023.descriptionE
Var menu_name_thai_cold = $12-03-02-0023.Name
Var menu_desc_thai_cold = $12-03-02-0023.description
Var menu_name_eng_blender = $12-03-03-0023.NameE
Var menu_desc_eng_blender = $12-03-03-0023.descriptionE
Var menu_name_thai_blender = $12-03-03-0023.Name
Var menu_desc_thai_blender = $12-03-03-0023.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var FromMyMintPro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<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>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var FromOreoDiscount11Pro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
<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>
;BigLogoLayout
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,430 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; 12-03-01-0019 12-03-02-0019 12-03-03-0019
<Menu>
<State> Flag( 12-03-01-0019.Button,12-03-02-0019.Button,12-03-03-0019.Button,$Sum120301001912030200191203030019) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_ovaltine.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_ovaltine.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_ovaltine.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Ovaltine"
Else
Var return = "โอวัลติน"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
Else
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
EndIf
)
</Description>
<HotState> $12-03-01-0019.Button </HotState>
<IceState> $12-03-02-0019.Button </IceState>
<BlendState> $12-03-03-0019.Button </BlendState>
<HotPrice> StringFmt( $12-03-01-0019.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-03-02-0019.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0019.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_ovaltine.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0019.Price
Var PriceD2 = $12-03-02-0019.Price
Var PriceD3 = $12-03-03-0019.Price
Var PD_CODE1 = "12-03-01-0019"
Var PD_CODE2 = "12-03-02-0019"
Var PD_CODE3 = "12-03-03-0019"
Var PD_STAGE_1 = $12-03-01-0019.Button
Var PD_STAGE_2 = $12-03-02-0019.Button
Var PD_STAGE_3 = $12-03-03-0019.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0019, "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-03-02-0019"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0019"
Else
Topping "Load" "12-03-03-0019"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0019.NameE
Var menu_desc_eng_hot = $12-03-01-0019.descriptionE
Var menu_name_thai_hot = $12-03-01-0019.Name
Var menu_desc_thai_hot = $12-03-01-0019.description
Var menu_name_eng_cold = $12-03-02-0019.NameE
Var menu_desc_eng_cold = $12-03-02-0019.descriptionE
Var menu_name_thai_cold = $12-03-02-0019.Name
Var menu_desc_thai_cold = $12-03-02-0019.description
Var menu_name_eng_blender = $12-03-03-0019.NameE
Var menu_desc_eng_blender = $12-03-03-0019.descriptionE
Var menu_name_thai_blender = $12-03-03-0019.Name
Var menu_desc_thai_blender = $12-03-03-0019.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0094
<Menu>
<State> Flag( 12-03-03-0094.Button,$Sum1203030094) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_cocoa_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_cocoa_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Mini Bus Ovaltine\nVolcano"
Else
Var return = "โอวัลตินรถโรงเรียน\nภูเขาไฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
Else
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0094.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0094.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_cocoa_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0094.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0094"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0094.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0094"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0094.NameE
Var menu_desc_eng_blender = $12-03-03-0094.descriptionE
Var menu_name_thai_blender = $12-03-03-0094.Name
Var menu_desc_thai_blender = $12-03-03-0094.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0095
<Menu>
<State> Flag( 12-03-03-0095.Button,$Sum1203030095) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Mini Bus Ovaltine\nSuper Volcano"
Else
Var return = "โอวัลตินรถโรงเรียน\nซุปเปอร์ภูเขาไฟ"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Ovaltine, Milk, Cocoa,\nand Sugar"
Else
Var return = "โอวัลติน นม โกโก้ และน้ำตาล "
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0095.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0095.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0095.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0095"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0095.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0095"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0095.NameE
Var menu_desc_eng_blender = $12-03-03-0095.descriptionE
Var menu_name_thai_blender = $12-03-03-0095.Name
Var menu_desc_thai_blender = $12-03-03-0095.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,48 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromPepsiSecondCup30 = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,62 @@
<?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"
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
Var NightTime = 0
If SystemTimeHourInt >= 19 Then
Var NightTime = 1
Else
If SystemTimeHourInt < 5 Then
Var NightTime = 1
Else
Var NightTime = 0
EndIf
EndIf
DEBUGVAR SystemTimeHourInt
If NightTime = 1 Then
Var Haunted7price = 30
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
Else
Var Haunted7price = $12-99-03-0066.Price
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
EndIf
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,135 @@
<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"
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween_fixed.xml"
Var NightTime = 0
If SystemTimeHourInt >= 19 Then
Var NightTime = 1
Else
If SystemTimeHourInt < 5 Then
Var NightTime = 1
Else
Var NightTime = 0
EndIf
EndIf
DEBUGVAR SystemTimeHourInt
If NightTime = 1 Then
Var Haunted7price = 30
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods_50.png"
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods_50.png"
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods_50.png"
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods_50.png"
Else
Var Haunted7price = $12-99-03-0066.Price
Var Haunted7PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n//bn_haunted_woods.png"
Var Haunted7Image = "ROOT/taobin_project/image/page_drink_n//bn_haunted_woods.png"
Var Haunted7ImagePress = "ROOT/taobin_project/image/page_drink_press_n//bn_haunted_woods.png"
Var Haunted7ImageDisable = "ROOT/taobin_project/image/page_drink_disable_n2//bn_haunted_woods.png"
EndIf
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 14
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,430 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 3
; ==================> Len = 15
; - - 12-03-03-0100
<Menu>
<State> Flag( 12-03-03-0100.Button,$Sum1203030100) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Chemistry Love"
Else
Var return = "เพียงพบสบตารัก"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry, Milk, Cocoa,\nLime, Ovaltine"
Else
Var return = "สตรอเบอรี นม โกโก้\nมะนาว และโอวัลติน"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0100.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0100.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_milk_Strawberry_Cocoa_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0100.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0100"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0100.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0100, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0100"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0100.NameE
Var menu_desc_eng_blender = $12-03-03-0100.descriptionE
Var menu_name_thai_blender = $12-03-03-0100.Name
Var menu_desc_thai_blender = $12-03-03-0100.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0101
<Menu>
<State> Flag( 12-03-03-0101.Button,$Sum1203030101) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_milk_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_milk_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_milk_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Sweet Romance"
Else
Var return = "วิวาห์หวาน"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Ovaltine, Milk, Lime"
Else
Var return = "โอวัลติน นม และมะนาว"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0101.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0101.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_milk_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0101.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0101"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0101.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0101, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0101"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0101.NameE
Var menu_desc_eng_blender = $12-03-03-0101.descriptionE
Var menu_name_thai_blender = $12-03-03-0101.Name
Var menu_desc_thai_blender = $12-03-03-0101.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0102
<Menu>
<State> Flag( 12-03-03-0102.Button,$Sum1203030102) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Endless Love"
Else
Var return = "ดั่งรักนิรันดร์"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry, Ginger, Lime,\nOvaltine"
Else
Var return = "สตรอเบอรี ขิง มะนาว\nและโอวัลติน"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0102.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0102.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_lime_ginger_Strawberry_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0102.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0102"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0102.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0102, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0102"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0102.NameE
Var menu_desc_eng_blender = $12-03-03-0102.descriptionE
Var menu_name_thai_blender = $12-03-03-0102.Name
Var menu_desc_thai_blender = $12-03-03-0102.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,35 @@
<?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 RerunProCode = ""
Var FromRerunPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,34 @@
<?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 FromRobinsonBeautyPro = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

View file

@ -0,0 +1,969 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<ScrollableCatalog>
<X> 0 </X>
<Y> 497 </Y>
<Width> 1080 </Width>
<Height> 1423 </Height>
<Configuration>
<MenuNameTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 16 </Min>
<Max> 22 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuNameTextConfiguration>
<MenuDescriptionTextConfiguration>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 10 </Min>
<Max> 14 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuDescriptionTextConfiguration>
<MenuPriceTextConfiguration>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<AutoResizeConfiguration>
<Min> 4 </Min>
<Max> 20 </Max>
<AdjustStep> 1 </AdjustStep>
</AutoResizeConfiguration>
</MenuPriceTextConfiguration>
<MenuHotPriceLabel>
eval(
If show_eng = "true" Then
Var return = "Hot"
Else
Var return = "ร้อน"
EndIf
)
</MenuHotPriceLabel>
<MenuIcePriceLabel>
eval(
If show_eng = "true" Then
Var return = "Ice"
Else
Var return = "เย็น"
EndIf
)
</MenuIcePriceLabel>
<MenuBlendPriceLabel>
eval(
If show_eng = "true" Then
Var return ="Blend"
Else
Var return = "ปั่น"
EndIf
)
</MenuBlendPriceLabel>
<MenuUnavailableLabel>
eval(
If show_eng = "true" Then
Var return ="UNAVAILABLE"
Else
Var return = "หมด"
EndIf
)
</MenuUnavailableLabel>
</Configuration>
<Menus>
;banners
; menu_new_list 7
; ==================> Len = 15
; - 12-05-02-0023 12-05-03-0023
<Menu>
<State> Flag( 12-05-02-0023.Button,12-05-03-0023.Button,$Sum12050200231205030023) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_strawberry_lime_soda.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_strawberry_lime_soda.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_strawberry_lime_soda.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry\nLimenade Soda"
Else
Var return = "สตรอเบอรีมะนาว\nโซดา"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Lime,\nSugar, Soda"
Else
Var return = "สตรอเบอรี มะนาว\nน้ำตาล และโซดา"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-05-02-0023.Button </IceState>
<BlendState> $12-05-03-0023.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-05-02-0023.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-05-03-0023.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_strawberry_lime_soda.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-05-02-0023.Price
Var PriceD3 = $12-05-03-0023.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0023"
Var PD_CODE3 = "12-05-03-0023"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0023.Button
Var PD_STAGE_3 = $12-05-03-0023.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0023, "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-05-02-0023"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0023"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-05-02-0023.NameE
Var menu_desc_eng_cold = $12-05-02-0023.descriptionE
Var menu_name_thai_cold = $12-05-02-0023.Name
Var menu_desc_thai_cold = $12-05-02-0023.description
Var menu_name_eng_blender = $12-05-03-0023.NameE
Var menu_desc_eng_blender = $12-05-03-0023.descriptionE
Var menu_name_thai_blender = $12-05-03-0023.Name
Var menu_desc_thai_blender = $12-05-03-0023.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>
</Menu>
; ==================> Len = 15
; 12-02-01-0022 12-02-02-0022 12-02-03-0022
<Menu>
<State> Flag( 12-02-01-0022.Button,12-02-02-0022.Button,12-02-03-0022.Button,$Sum120201002212020200221202030022) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_strawberry_tea.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_strawberry_tea.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_strawberry_tea.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry Tea"
Else
Var return = "ชาสตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry ,\nJasmine Tea, Sugar"
Else
Var return = "สตรอเบอรี ชามะลิ\nและน้ำตาล"
EndIf
)
</Description>
<HotState> $12-02-01-0022.Button </HotState>
<IceState> $12-02-02-0022.Button </IceState>
<BlendState> $12-02-03-0022.Button </BlendState>
<HotPrice> StringFmt( $12-02-01-0022.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-02-02-0022.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-02-03-0022.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_strawberry_tea.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-02-01-0022.Price
Var PriceD2 = $12-02-02-0022.Price
Var PriceD3 = $12-02-03-0022.Price
Var PD_CODE1 = "12-02-01-0022"
Var PD_CODE2 = "12-02-02-0022"
Var PD_CODE3 = "12-02-03-0022"
Var PD_STAGE_1 = $12-02-01-0022.Button
Var PD_STAGE_2 = $12-02-02-0022.Button
Var PD_STAGE_3 = $12-02-03-0022.Button
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0022, "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-0022"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0022"
Else
Topping "Load" "12-02-03-0022"
EndIf
EndIf
Var menu_name_eng_hot = $12-02-01-0022.NameE
Var menu_desc_eng_hot = $12-02-01-0022.descriptionE
Var menu_name_thai_hot = $12-02-01-0022.Name
Var menu_desc_thai_hot = $12-02-01-0022.description
Var menu_name_eng_cold = $12-02-02-0022.NameE
Var menu_desc_eng_cold = $12-02-02-0022.descriptionE
Var menu_name_thai_cold = $12-02-02-0022.Name
Var menu_desc_thai_cold = $12-02-02-0022.description
Var menu_name_eng_blender = $12-02-03-0022.NameE
Var menu_desc_eng_blender = $12-02-03-0022.descriptionE
Var menu_name_thai_blender = $12-02-03-0022.Name
Var menu_desc_thai_blender = $12-02-03-0022.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>
</Menu>
; ==================> Len = 15
; - 12-05-02-0041 12-05-03-0041
<Menu>
<State> Flag( 12-05-02-0041.Button,12-05-03-0041.Button,$Sum12050200411205030041) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberry_soda.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberry_soda.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_strawberry_soda.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry Soda"
Else
Var return = "สตรอเบอรีโซดา"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Sugar,\nSoda"
Else
Var return = "สตรอเบอรี น้ำตาล\nและโซดา"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> $12-05-02-0041.Button </IceState>
<BlendState> $12-05-03-0041.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-05-02-0041.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-05-03-0041.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberry_soda.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $12-05-02-0041.Price
Var PriceD3 = $12-05-03-0041.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0041"
Var PD_CODE3 = "12-05-03-0041"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0041.Button
Var PD_STAGE_3 = $12-05-03-0041.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0041, "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-05-02-0041"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0041"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $12-05-02-0041.NameE
Var menu_desc_eng_cold = $12-05-02-0041.descriptionE
Var menu_name_thai_cold = $12-05-02-0041.Name
Var menu_desc_thai_cold = $12-05-02-0041.description
Var menu_name_eng_blender = $12-05-03-0041.NameE
Var menu_desc_eng_blender = $12-05-03-0041.descriptionE
Var menu_name_thai_blender = $12-05-03-0041.Name
Var menu_desc_thai_blender = $12-05-03-0041.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>
</Menu>
; ==================> Len = 15
; 12-05-01-0040 12-05-02-0040 12-05-03-0040
<Menu>
<State> Flag( 12-05-01-0040.Button,12-05-02-0040.Button,12-05-03-0040.Button,$Sum120501004012050200401205030040) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberry.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberry.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_strawberry.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry"
Else
Var return = "น้ำสตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Sugar"
Else
Var return = "สตรอเบอรี และน้ำตาล"
EndIf
)
</Description>
<HotState> $12-05-01-0040.Button </HotState>
<IceState> $12-05-02-0040.Button </IceState>
<BlendState> $12-05-03-0040.Button </BlendState>
<HotPrice> StringFmt( $12-05-01-0040.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-05-02-0040.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-05-03-0040.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberry.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-05-01-0040.Price
Var PriceD2 = $12-05-02-0040.Price
Var PriceD3 = $12-05-03-0040.Price
Var PD_CODE1 = "12-05-01-0040"
Var PD_CODE2 = "12-05-02-0040"
Var PD_CODE3 = "12-05-03-0040"
Var PD_STAGE_1 = $12-05-01-0040.Button
Var PD_STAGE_2 = $12-05-02-0040.Button
Var PD_STAGE_3 = $12-05-03-0040.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-01-0040, "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-05-02-0040"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-05-01-0040"
Else
Topping "Load" "12-05-03-0040"
EndIf
EndIf
Var menu_name_eng_hot = $12-05-01-0040.NameE
Var menu_desc_eng_hot = $12-05-01-0040.descriptionE
Var menu_name_thai_hot = $12-05-01-0040.Name
Var menu_desc_thai_hot = $12-05-01-0040.description
Var menu_name_eng_cold = $12-05-02-0040.NameE
Var menu_desc_eng_cold = $12-05-02-0040.descriptionE
Var menu_name_thai_cold = $12-05-02-0040.Name
Var menu_desc_thai_cold = $12-05-02-0040.description
Var menu_name_eng_blender = $12-05-03-0040.NameE
Var menu_desc_eng_blender = $12-05-03-0040.descriptionE
Var menu_name_thai_blender = $12-05-03-0040.Name
Var menu_desc_thai_blender = $12-05-03-0040.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>
</Menu>
; ==================> Len = 15
; 12-03-01-0010 12-03-02-0010 12-03-03-0010
<Menu>
<State> Flag( 12-03-01-0010.Button,12-03-02-0010.Button,12-03-03-0010.Button,$Sum120301001012030200101203030010) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_iced_Strawberry_cocoa.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Strawberry_cocoa.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Strawberry_cocoa.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Cocoa Strawberry"
Else
Var return = "โกโก้สตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Millk,\nCocoa, Sugar"
Else
Var return = "สตรอเบอรี นม โกโก้\nและน้ำตาล"
EndIf
)
</Description>
<HotState> $12-03-01-0010.Button </HotState>
<IceState> $12-03-02-0010.Button </IceState>
<BlendState> $12-03-03-0010.Button </BlendState>
<HotPrice> StringFmt( $12-03-01-0010.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-03-02-0010.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0010.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Strawberry_cocoa.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-03-01-0010.Price
Var PriceD2 = $12-03-02-0010.Price
Var PriceD3 = $12-03-03-0010.Price
Var PD_CODE1 = "12-03-01-0010"
Var PD_CODE2 = "12-03-02-0010"
Var PD_CODE3 = "12-03-03-0010"
Var PD_STAGE_1 = $12-03-01-0010.Button
Var PD_STAGE_2 = $12-03-02-0010.Button
Var PD_STAGE_3 = $12-03-03-0010.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0010, "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-03-02-0010"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0010"
Else
Topping "Load" "12-03-03-0010"
EndIf
EndIf
Var menu_name_eng_hot = $12-03-01-0010.NameE
Var menu_desc_eng_hot = $12-03-01-0010.descriptionE
Var menu_name_thai_hot = $12-03-01-0010.Name
Var menu_desc_thai_hot = $12-03-01-0010.description
Var menu_name_eng_cold = $12-03-02-0010.NameE
Var menu_desc_eng_cold = $12-03-02-0010.descriptionE
Var menu_name_thai_cold = $12-03-02-0010.Name
Var menu_desc_thai_cold = $12-03-02-0010.description
Var menu_name_eng_blender = $12-03-03-0010.NameE
Var menu_desc_eng_blender = $12-03-03-0010.descriptionE
Var menu_name_thai_blender = $12-03-03-0010.Name
Var menu_desc_thai_blender = $12-03-03-0010.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>
</Menu>
; ==================> Len = 15
; 12-01-01-0074 12-01-02-0074 12-01-03-0074
<Menu>
<State> Flag( 12-01-01-0074.Button,12-01-02-0074.Button,12-01-03-0074.Button,$Sum120101007412010200741201030074) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry\nCafe Latte"
Else
Var return = "กาแฟสตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Millk,\nCoffee, Sugar"
Else
Var return = "สตรอเบอรี นม กาแฟ\nและน้ำตาล"
EndIf
)
</Description>
<HotState> $12-01-01-0074.Button </HotState>
<IceState> $12-01-02-0074.Button </IceState>
<BlendState> $12-01-03-0074.Button </BlendState>
<HotPrice> StringFmt( $12-01-01-0074.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-01-02-0074.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-01-03-0074.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-01-01-0074.Price
Var PriceD2 = $12-01-02-0074.Price
Var PriceD3 = $12-01-03-0074.Price
Var PD_CODE1 = "12-01-01-0074"
Var PD_CODE2 = "12-01-02-0074"
Var PD_CODE3 = "12-01-03-0074"
Var PD_STAGE_1 = $12-01-01-0074.Button
Var PD_STAGE_2 = $12-01-02-0074.Button
Var PD_STAGE_3 = $12-01-03-0074.Button
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0074, "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-01-02-0074"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-01-01-0074"
Else
Topping "Load" "12-01-03-0074"
EndIf
EndIf
Var menu_name_eng_hot = $12-01-01-0074.NameE
Var menu_desc_eng_hot = $12-01-01-0074.descriptionE
Var menu_name_thai_hot = $12-01-01-0074.Name
Var menu_desc_thai_hot = $12-01-01-0074.description
Var menu_name_eng_cold = $12-01-02-0074.NameE
Var menu_desc_eng_cold = $12-01-02-0074.descriptionE
Var menu_name_thai_cold = $12-01-02-0074.Name
Var menu_desc_thai_cold = $12-01-02-0074.description
Var menu_name_eng_blender = $12-01-03-0074.NameE
Var menu_desc_eng_blender = $12-01-03-0074.descriptionE
Var menu_name_thai_blender = $12-01-03-0074.Name
Var menu_desc_thai_blender = $12-01-03-0074.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>
</Menu>
; 12-21-01-0074 12-21-02-0074 12-21-03-0074
<Menu>
<State> Flag( 12-21-01-0074.Button,12-21-02-0074.Button,12-21-03-0074.Button,$Sum122101007412210200741221030074) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_hot_Strawberry_caramel_latte.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_Strawberry_caramel_latte.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_Strawberry_caramel_latte.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry\nCafe Latte"
Else
Var return = "กาแฟสตรอเบอรี"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Millk,\nCoffee, Sugar"
Else
Var return = "สตรอเบอรี นม กาแฟ\nและน้ำตาล"
EndIf
)
</Description>
<HotState> $12-21-01-0074.Button </HotState>
<IceState> $12-21-02-0074.Button </IceState>
<BlendState> $12-21-03-0074.Button </BlendState>
<HotPrice> StringFmt( $12-21-01-0074.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $12-21-02-0074.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-21-03-0074.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_Strawberry_caramel_latte.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-21-01-0074.Price
Var PriceD2 = $12-21-02-0074.Price
Var PriceD3 = $12-21-03-0074.Price
Var PD_CODE1 = "12-21-01-0074"
Var PD_CODE2 = "12-21-02-0074"
Var PD_CODE3 = "12-21-03-0074"
Var PD_STAGE_1 = $12-21-01-0074.Button
Var PD_STAGE_2 = $12-21-02-0074.Button
Var PD_STAGE_3 = $12-21-03-0074.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0074, "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-21-03-0074"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-21-01-0074"
Else
Topping "Load" "12-21-02-0074"
EndIf
EndIf
Var menu_name_eng_hot = $12-21-01-0074.NameE
Var menu_desc_eng_hot = $12-21-01-0074.descriptionE
Var menu_name_thai_hot = $12-21-01-0074.Name
Var menu_desc_thai_hot = $12-21-01-0074.description
Var menu_name_eng_cold = $12-21-02-0074.NameE
Var menu_desc_eng_cold = $12-21-02-0074.descriptionE
Var menu_name_thai_cold = $12-21-02-0074.Name
Var menu_desc_thai_cold = $12-21-02-0074.description
Var menu_name_eng_blender = $12-21-03-0074.NameE
Var menu_desc_eng_blender = $12-21-03-0074.descriptionE
Var menu_name_thai_blender = $12-21-03-0074.Name
Var menu_desc_thai_blender = $12-21-03-0074.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>
</Menu>
; ==================> Len = 15
; - - 12-03-03-0027
<Menu>
<State> Flag( 12-03-03-0027.Button,$Sum1203030027) </State>
<IdleImage> "ROOT/taobin_project/image/page_drink_n//bn_Strawberr_milk_Oreo_smoothie.png" </IdleImage>
<PressImage> "ROOT/taobin_project/image/page_drink_press_n//bn_Strawberr_milk_Oreo_smoothie.png" </PressImage>
<DisableImage> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Strawberr_milk_Oreo_smoothie.png" </DisableImage>
<Name>
eval(
If show_eng = "true" Then
Var return = "Strawberry Milk\nOreo Smoothie"
Else
Var return = "สตรอเบอรีโอริโอ้ปั่น"
EndIf
)
</Name>
<Description>
eval(
If show_eng = "true" Then
Var return = "Strawberry , Millk,\nCoffee, Sugar"
Else
Var return = "สตรอเบอรี นม โอริโอ้\nและน้ำตาล"
EndIf
)
</Description>
<HotState> "Disable2" </HotState>
<IceState> "Disable2" </IceState>
<BlendState> $12-03-03-0027.Button </BlendState>
<HotPrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </HotPrice>
<IcePrice> StringFmt( $##-##-##-####.Price , DisplayFormat, PreScaleConvertShow) </IcePrice>
<BlendPrice> StringFmt( $12-03-03-0027.Price , DisplayFormat, PreScaleConvertShow) </BlendPrice>
<IceProcessingState>
eval(
If ICE_PROCESS_STATUS = 2 Then
If $Sum510201003951020200395102030039 = "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
)
</IceProcessingState>
<IceProcessingImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </IceProcessingImage>
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
<EventOnClick>
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Strawberr_milk_Oreo_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $##-##-##-####.Price
Var PriceD2 = $##-##-##-####.Price
Var PriceD3 = $12-03-03-0027.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-03-03-0027"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-03-03-0027.Button
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-03-03-0027"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
Var menu_name_thai_hot = $##-##-##-####.Name
Var menu_desc_thai_hot = $##-##-##-####.description
Var menu_name_eng_cold = $##-##-##-####.NameE
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-03-03-0027.NameE
Var menu_desc_eng_blender = $12-03-03-0027.descriptionE
Var menu_name_thai_blender = $12-03-03-0027.Name
Var menu_desc_thai_blender = $12-03-03-0027.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>
</Menu>
</ScrollableCatalog>
</Popup>

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var FromTeaTimePro = 0
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v3.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>

Some files were not shown because too many files have changed in this diff Show more