Clean file and fix page_catalog_group_other_other_pro.xml
This commit is contained in:
parent
3ab9585a58
commit
c176acb460
24 changed files with 323 additions and 1649 deletions
BIN
image/page_drink_disable_n2/blended_mango_only.png
Normal file
BIN
image/page_drink_disable_n2/blended_mango_only.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 55 KiB |
BIN
image/page_drink_n/blended_mango_only.png
Normal file
BIN
image/page_drink_n/blended_mango_only.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_picture2_n/blended_mango_only.png
Normal file
BIN
image/page_drink_picture2_n/blended_mango_only.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
image/page_drink_press_n/blended_mango_only.png
Normal file
BIN
image/page_drink_press_n/blended_mango_only.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
|
|
@ -8,7 +8,7 @@
|
||||||
Var EnableMultiInstanceFromBoxID = 1
|
Var EnableMultiInstanceFromBoxID = 1
|
||||||
EndIf
|
EndIf
|
||||||
If BoxID = 105005 Then
|
If BoxID = 105005 Then
|
||||||
|
Var EnableMultiInstanceFromBoxID = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If BoxID = 176277 Then
|
If BoxID = 176277 Then
|
||||||
|
|
@ -31,4 +31,5 @@
|
||||||
If BoxID = 201729 Then
|
If BoxID = 201729 Then
|
||||||
Var EnableMultiInstanceFromBoxID = 1
|
Var EnableMultiInstanceFromBoxID = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -171,8 +171,15 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
|
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
|
||||||
000200 Use/Check coupon ใช้/ดูคูปองสะสม 使用 / 查看优惠券 Use/Check coupon ကူပွန်ကို အသုံးပြု/စစ်ဆေးပါ။
|
000200 Use/Check coupon ใช้/ดูคูปองสะสม 使用 / 查看优惠券 Use/Check coupon ကူပွန်ကို အသုံးပြု/စစ်ဆေးပါ။
|
||||||
|
Page payment
|
||||||
|
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center
|
||||||
|
000250 Order summary สรุปคำสั่งซื้อ 订单摘要 အမှာစာအကျဉ်း
|
||||||
|
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Kanit,Type=Medium,Size=36,Color=0x513C2F Font=Kanit,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F
|
||||||
|
000251 Subtotal รวมทั้งหมด 小计 စုစုပေါင်းငွေခန့်မှန်း
|
||||||
|
|
||||||
|
|
||||||
Page brewing
|
Page brewing
|
||||||
|
|
@ -1256,7 +1263,7 @@
|
||||||
1300003 Beans module ชุดเมล็ดกาแฟ
|
1300003 Beans module ชุดเมล็ดกาแฟ
|
||||||
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
||||||
1300005 Switch tray : สวิตซ์ถาด :
|
1300005 Switch tray : สวิตซ์ถาด :
|
||||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
|
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
|
||||||
1300007 Pay beans จ่ายถั่ว
|
1300007 Pay beans จ่ายถั่ว
|
||||||
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
||||||
1300009 2. Select direction 2. เลือกทิศทาง
|
1300009 2. Select direction 2. เลือกทิศทาง
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 22.
|
|
|
@ -1,132 +0,0 @@
|
||||||
Var NextPage = "-"
|
|
||||||
|
|
||||||
DEBUGVAR ICE_PROCESS_STATUS
|
|
||||||
DEBUGVAR ICE_PROCESS_TXT
|
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR LanguageShow
|
|
||||||
DEBUGVAR CountryName
|
|
||||||
|
|
||||||
;inter-image
|
|
||||||
If LanguageShow = "ENG" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "THAI" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
|
||||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "MYANMAR" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_mmr/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_mmr/"
|
|
||||||
Var ice_tab_text = "ရေခဲပြင်မှာ ထားမယ်။ "
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "MSC" Then
|
|
||||||
Var show_eng = "true"
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/drink_option_msc/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/inter/hkg/image/page3_2_msc/"
|
|
||||||
EndIf
|
|
||||||
If CountryName = "Malaysia" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
|
||||||
EndIf
|
|
||||||
If CountryName = "Australia" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_aus/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
|
||||||
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"
|
|
||||||
;pepsi & 7up
|
|
||||||
Var Menu61Selected = "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
|
|
||||||
|
|
||||||
If WinterWarmersCatalogFlag = 1 Then
|
|
||||||
Var MenuWinterWarmersCatalogState = "Enable"
|
|
||||||
Else
|
|
||||||
Var MenuWinterWarmersCatalogState = "Invisible"
|
|
||||||
EndIf
|
|
||||||
DEBUGVAR WinterWarmersCatalogFlag
|
|
||||||
DEBUGVAR MenuWinterWarmersCatalogState
|
|
||||||
;
|
|
||||||
|
|
||||||
|
|
@ -1,463 +0,0 @@
|
||||||
|
|
||||||
; 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
|
|
||||||
If NETCORE_LOST_CNT > 120 Then
|
|
||||||
Var stop_now = "true"
|
|
||||||
Var MachineErrorDetailAll = "???"
|
|
||||||
SAVELOG "NETCORE_LOST_CNT"
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
|
||||||
TimerReset
|
|
||||||
</EventTimeout>
|
|
||||||
|
|
||||||
<EventLanguageOnChange>
|
|
||||||
DEBUGVAR LanguageShow
|
|
||||||
;inter-image
|
|
||||||
If LanguageShow = "ENG" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "THAI" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "MYANMAR" Then
|
|
||||||
Var show_eng = "true"
|
|
||||||
DEBUGVAR show_eng
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_mmr/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_mmr/"
|
|
||||||
EndIf
|
|
||||||
If LanguageShow = "MSC" Then
|
|
||||||
Var show_eng = "true"
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/drink_option_msc/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/inter/hkg/image/page3_2_msc/"
|
|
||||||
EndIf
|
|
||||||
If CountryName = "Malaysia" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_myr/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
|
||||||
EndIf
|
|
||||||
If CountryName = "australia" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_aus/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
Var DirImageAlterMilk = "ROOT/taobin_project/inter/aus/image/page3_2_en/"
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
|
||||||
Var ice_tab_text = "Ice will be ready at "
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
SAVELOG "EventLanguageOnChange menu -list"
|
|
||||||
|
|
||||||
RefreshAll
|
|
||||||
|
|
||||||
Var LanguageButtonEnable = "Enable"
|
|
||||||
|
|
||||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
|
||||||
|
|
||||||
|
|
||||||
</EventLanguageOnChange>
|
|
||||||
|
|
||||||
|
|
||||||
; under line
|
|
||||||
<Image>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 494 </Y>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
; under line
|
|
||||||
<Image>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 358 </Y>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
; back
|
|
||||||
<Button>
|
|
||||||
<X> 19 </X>
|
|
||||||
<Y> 381 </Y>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
If SpiralOnline = "true" Then
|
|
||||||
If Seeker = "curr" Then
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog.lxml"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Open "ROOT/taobin_project/xml/page_catalog.lxml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
|
||||||
TRY OpenFileXML
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> Menu2Selected </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_coffee.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_coffee.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_tea.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_tea.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_milk.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_milk.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_whey.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_whey.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
</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 = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_appfast.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_appfast.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> Menu21Selected </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_forkid.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_forkid.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> Menu22Selected </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_health.lxml"
|
|
||||||
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_health.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> Menu8Selected </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.lxml"
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_cocktail.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</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 = "-"
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_pepsi_7up.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> Menu6Selected </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_other.lxml"
|
|
||||||
|
|
||||||
DEBUGVAR CountryRootPath
|
|
||||||
DEBUGVAR OpenFileXML
|
|
||||||
Open OpenFileXML
|
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> MenuVSelected2 </State>
|
|
||||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
|
||||||
<Layout> "linear" </Layout>
|
|
||||||
<State> MenuWinterWarmersCatalogState </State>
|
|
||||||
<Filename> "ROOT/taobin_project/inter/tha/image/page3_2_en/bn_winter_warmers.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/inter/tha/image/page3_2_en/bp_winter_warmers.png" </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
Var NextPage = "-"
|
|
||||||
Var OpenFileXML = CountryRootPath + "xml/page_catalog_group_winter_warmers_ignore.lxml"
|
|
||||||
Open OpenFileXML
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
</Row2>
|
|
||||||
</ListView1>
|
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 940 </X>
|
|
||||||
<Y> 462 </Y>
|
|
||||||
<Size> 22 </Size>
|
|
||||||
<Width> 170 </Width>
|
|
||||||
<Height> 30 </Height>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<Value> PriceUnitText </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
|
|
||||||
print("directory_to_process =" + directory_to_process)
|
|
||||||
if param == "old":
|
|
||||||
print("old layout catalog enable.")
|
|
||||||
f = open( directory_to_process + "/menu_catalog.xml", "r")
|
|
||||||
#print(f.read())
|
|
||||||
out_xml(f.read())
|
|
||||||
f.close()
|
|
||||||
else:
|
|
||||||
if "v2" in param:
|
|
||||||
print("new layout catalog ============================> inter.")
|
|
||||||
f = open( directory_to_process + "/menu_catalog_new.lxml", "r")
|
|
||||||
#print(f.read())
|
|
||||||
out_xml(f.read())
|
|
||||||
f.close()
|
|
||||||
else:
|
|
||||||
print("new layout catalog enable.")
|
|
||||||
f = open( directory_to_process + "/menu_catalog_new.xml", "r")
|
|
||||||
#print(f.read())
|
|
||||||
out_xml(f.read())
|
|
||||||
f.close()
|
|
||||||
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
|
|
||||||
If show_eng = "true" Then
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
|
||||||
|
|
||||||
Else
|
|
||||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
|
||||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
|
||||||
EndIf
|
|
||||||
|
|
@ -1,149 +0,0 @@
|
||||||
|
|
||||||
out_xml('<FrameScroll> \r\n')
|
|
||||||
out_xml('<X> 10 </X>\r\n')
|
|
||||||
out_xml('<Y> 497 </Y>\r\n')
|
|
||||||
out_xml('<Width> 1080 </Width>\r\n')
|
|
||||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
|
||||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
|
||||||
out_xml('<Column> 4 </Column>\r\n')
|
|
||||||
|
|
||||||
for i in range( menu_count):
|
|
||||||
i_str = str(i + 1)
|
|
||||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
|
||||||
|
|
||||||
out_xml( '<Block>\r\n')
|
|
||||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
|
||||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
|
||||||
out_xml('\t<Width> 225 </Width>\r\n')
|
|
||||||
out_xml('\t<Height> 296 </Height>\r\n')
|
|
||||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Button>\r\n')
|
|
||||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
|
||||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
|
||||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
|
||||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
|
||||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
|
||||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
|
||||||
out_xml( '\t<EventOnClick> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t\tVar SelectDrink = $'+ product_code[i] +'.Self\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
|
||||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
|
||||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
|
||||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
|
||||||
out_xml( '\t\tSAVELOG NameDrink\r\n')
|
|
||||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
|
||||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
|
|
||||||
out_xml( '\t\tSTRCONTAIN "Smoothie" $' + product_code[i] + '.Button IsSmoRet\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select.xml"\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t</EventOnClick>\r\n')
|
|
||||||
out_xml( '\t</Button>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 182 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
|
||||||
out_xml( '\t<Width>150</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
|
||||||
#out_xml( '\t<Value> eval( STRCONTAIN "Smoothie" $' + product_code[i] + '.Button SmoRet \n If SmoRet = "true" Then\n Var return = "Enable"\n Else\n Var return = "Invisible"\n EndIf\n) </Value> \r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 164 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Width>20</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Image>\r\n')
|
|
||||||
out_xml( '\t<X> 2 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 2 </Y>\r\n')
|
|
||||||
out_xml( '\t<State> eval( STRCONTAIN "Smoothie" $' + product_code[i] + '.Button SmoRet \n If SmoRet = "true" Then\n Var return = "Enable"\n Else\n Var return = "Invisible"\n EndIf\n) </State> \r\n')
|
|
||||||
out_xml( '\t<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>\r\n')
|
|
||||||
out_xml( '\t</Image>\r\n')
|
|
||||||
|
|
||||||
out_xml( '</Block>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml('</FrameScroll>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml('; Cart\r\n')
|
|
||||||
out_xml('<Button>\r\n')
|
|
||||||
out_xml('<X> 915 </X>\r\n')
|
|
||||||
out_xml('<Y> 1769 </Y>\r\n')
|
|
||||||
out_xml('<State> showCart </State>\r\n')
|
|
||||||
out_xml('<Filename> cart_image_bn </Filename>\r\n')
|
|
||||||
out_xml('<FilenamePress> cart_image_bp </FilenamePress>\r\n')
|
|
||||||
out_xml('<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
|
||||||
out_xml('<Volume> SoundVolume </Volume>\r\n')
|
|
||||||
out_xml('<EventClick> \r\n')
|
|
||||||
out_xml('\tOpen "ROOT/taobin_project/xml/page_payment_multi.xml"\r\n')
|
|
||||||
out_xml('</EventClick>\r\n')
|
|
||||||
out_xml('</Button>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,118 +0,0 @@
|
||||||
|
|
||||||
out_xml('<FrameScroll> \r\n')
|
|
||||||
out_xml('<X> 10 </X>\r\n')
|
|
||||||
out_xml('<Y> 497 </Y>\r\n')
|
|
||||||
out_xml('<Width> 1080 </Width>\r\n')
|
|
||||||
out_xml('<ScrollHeight> "auto" </ScrollHeight>\r\n')
|
|
||||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
|
||||||
out_xml('<Column> 4 </Column>\r\n')
|
|
||||||
|
|
||||||
for i in range( menu_count):
|
|
||||||
i_str = str(i + 1)
|
|
||||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
|
||||||
|
|
||||||
out_xml( '<Block>\r\n')
|
|
||||||
out_xml('\t<MarginLeft> 33 </MarginLeft>\r\n')
|
|
||||||
out_xml('\t<MarginTop> 22 </MarginTop>\r\n')
|
|
||||||
out_xml('\t<Width> 225 </Width>\r\n')
|
|
||||||
out_xml('\t<Height> 296 </Height>\r\n')
|
|
||||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Button>\r\n')
|
|
||||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
|
||||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
|
||||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
|
||||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
|
||||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
|
||||||
out_xml( '\t<EventOnClick> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
|
||||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
|
||||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
|
||||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
|
||||||
out_xml( '\t\tSAVELOG NameDrink\r\n')
|
|
||||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
|
||||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t</EventOnClick>\r\n')
|
|
||||||
out_xml( '\t</Button>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 182 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
|
||||||
out_xml( '\t<Width>150</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 164 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 12 </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Width>20</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 190 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> 16 </X>\r\n')
|
|
||||||
out_xml( '\t<Y> 246 </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '</Block>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml('</FrameScroll>\r\n')
|
|
||||||
|
|
@ -1,132 +0,0 @@
|
||||||
if menu_count >= 16:
|
|
||||||
scroll_height = 1670
|
|
||||||
else:
|
|
||||||
scroll_height = 1400
|
|
||||||
|
|
||||||
out_xml('<FrameScroll> \r\n')
|
|
||||||
out_xml('<X> 0 </X>\r\n')
|
|
||||||
out_xml('<Y> 497 </Y>\r\n')
|
|
||||||
out_xml('<Width> 1080 </Width>\r\n')
|
|
||||||
out_xml('<Height> 1500 </Height>\r\n')
|
|
||||||
out_xml('<ScrollHeight> ' + str(scroll_height) + ' </ScrollHeight>\r\n')
|
|
||||||
out_xml('<Scroll> "Vertical" </Scroll>\r\n')
|
|
||||||
|
|
||||||
for i in range( menu_count):
|
|
||||||
i_str = str(i + 1)
|
|
||||||
out_xml( '\t; button i='+ i_str + ' ' + product_code[i]+ ' \r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t<Button>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i]) + ' </X> \r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i]) + ' </Y> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<State> $' + product_code[i] + '.Button </State> \r\n')
|
|
||||||
out_xml( '\t<Filename> Var( "' + default_dir + '" + $'+ product_code[i] +'.image ) </Filename>\r\n')
|
|
||||||
out_xml( '\t<FilenamePress> Var( "' + default_dir_press + '" + $'+ product_code[i] +'.image ) " </FilenamePress>\r\n')
|
|
||||||
out_xml( '\t<FilenameDisable> Var( "' + default_dir_disable + '" + $'+ product_code[i] +'.image ) " </FilenameDisable>\r\n')
|
|
||||||
out_xml( '\t<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>\r\n')
|
|
||||||
out_xml( '\t<Volume> SoundVolume </Volume>\r\n')
|
|
||||||
out_xml( '\t<EventOnClick> \r\n')
|
|
||||||
|
|
||||||
out_xml( '\t\tVar SelectDrink = "'+ product_code[i] +'"\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrink = $' + product_code[i] + '.NameE\r\n')
|
|
||||||
out_xml( '\t\tVar NameDrinkTH = $' + product_code[i] + '.Name\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescriptionTH = $' + product_code[i] + '.description\r\n')
|
|
||||||
out_xml( '\t\tVar DrinkDescription = $' + product_code[i] + '.descriptionE\r\n')
|
|
||||||
out_xml( '\t\tVar PriceDrink = $' + product_code[i] + '.Price\r\n')
|
|
||||||
out_xml( '\t\tVar PictureDrink = "' + default_dir2 + '" + $'+ product_code[i] +'.image\r\n')
|
|
||||||
out_xml( '\t\tTopping "Load" SelectDrink\r\n')
|
|
||||||
#out_xml( '\t\tSAVELOG NameDrink\r\n')
|
|
||||||
out_xml( '\t\tVar PriceShowValue = charOfBaht + PriceDrink\r\n')
|
|
||||||
#out_xml( '\t\tVar PriceShowValue = "Free"\r\n')
|
|
||||||
out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_alter.xml"\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t</EventOnClick>\r\n')
|
|
||||||
out_xml( '\t</Button>\r\n')
|
|
||||||
|
|
||||||
for i in range( menu_count):
|
|
||||||
if RoadShow :
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<Width>200</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> "Free!" </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
else:
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 182) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Align> "Hurr" </Align>\r\n')
|
|
||||||
out_xml( '\t<Width>150</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Price </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 164) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 12) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<State> ShowPrice </State>\r\n')
|
|
||||||
out_xml( '\t<Width>20</Width>\r\n')
|
|
||||||
out_xml( '\t<Size> 27 </Size>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0xB78F24 </Color>\r\n')
|
|
||||||
out_xml( '\t<Value> "฿"" </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 24 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.Name </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showthaiText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.description </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 190) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 22 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Mode> "multi2" </Mode>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x322B26 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.NameE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
out_xml( '\t<Text>\r\n')
|
|
||||||
out_xml( '\t<X> ' + str(x_button[i] + 16) + ' </X>\r\n')
|
|
||||||
out_xml( '\t<Y> ' + str(y_button[i] + 246) + ' </Y>\r\n')
|
|
||||||
out_xml( '\t<Size> 14 </Size>\r\n')
|
|
||||||
out_xml( '\t<Width>220</Width>\r\n')
|
|
||||||
out_xml( '\t<Font> KanitMediumTTF </Font>\r\n')
|
|
||||||
out_xml( '\t<Color> 0x6F5F51 </Color>\r\n')
|
|
||||||
out_xml( '\t<State> showengText </State>\r\n')
|
|
||||||
out_xml( '\t<Value> $' + product_code[i] + '.descriptionE </Value>\r\n')
|
|
||||||
out_xml( '\t</Text>\r\n')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
out_xml('</FrameScroll>\r\n')
|
|
||||||
|
|
@ -1,106 +0,0 @@
|
||||||
|
|
||||||
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/inter/tha/image/page_drink_n/'
|
|
||||||
new_default_dir2 = 'ROOT/taobin_project/inter/tha/image/page_drink_picture2_n/'
|
|
||||||
new_default_dir_press = 'ROOT/taobin_project/inter/tha/image/page_drink_press_n/'
|
|
||||||
new_default_dir_disable = 'ROOT/taobin_project/inter/tha/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
|
|
||||||
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
@ -161,6 +161,10 @@
|
||||||
Var MenuVSelected2 = "Enable"
|
Var MenuVSelected2 = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SpiralModeGoods = 0 Then
|
||||||
|
Var MenuVSelected2 = "Invisible"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If SpiralModeFrozenFruit = 1 Then
|
If SpiralModeFrozenFruit = 1 Then
|
||||||
If SpiralModeGoods = 1 Then
|
If SpiralModeGoods = 1 Then
|
||||||
|
|
@ -168,7 +172,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR MenuVSelected2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,12 @@
|
||||||
|
|
||||||
If BoxID = 123456 Then
|
If BoxID = 123456 Then
|
||||||
Var SpiralModeGoods = 0
|
Var SpiralModeGoods = 0
|
||||||
Var ButtonSpiralStage = "Enable"
|
Var ButtonSpiralStage = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
If SpiralModeFrozenFruit = 1 Then
|
||||||
|
Var SpiralModeGoods = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR SpiralModeGoods
|
DEBUGVAR SpiralModeGoods
|
||||||
DEBUGVAR SpiralModeFrozenFruit
|
DEBUGVAR SpiralModeFrozenFruit
|
||||||
|
|
@ -252,10 +255,7 @@
|
||||||
Var MultiProcess = "Invisible"
|
Var MultiProcess = "Invisible"
|
||||||
|
|
||||||
; setvar SpiralOnline true
|
; setvar SpiralOnline true
|
||||||
Var ButtonSpiralStage = "Invisible"
|
|
||||||
If SpiralOnline = "true" Then
|
|
||||||
Var ButtonSpiralStage = "Enable"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
DEBUGVAR SpiralOnline
|
DEBUGVAR SpiralOnline
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,12 +35,6 @@
|
||||||
|
|
||||||
DEBUGVAR Menu1Selected
|
DEBUGVAR Menu1Selected
|
||||||
|
|
||||||
If SpiralOnline = "true" Then
|
|
||||||
If Seeker = "curr" Then
|
|
||||||
Var MenuVSelected2 = "Enable"
|
|
||||||
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 10000 </Timeout>
|
<Timeout> 10000 </Timeout>
|
||||||
|
|
|
||||||
|
|
@ -458,7 +458,9 @@
|
||||||
count_test = 0
|
count_test = 0
|
||||||
count = 0
|
count = 0
|
||||||
pd_code_available = '##-##-##-####'
|
pd_code_available = '##-##-##-####'
|
||||||
#
|
#
|
||||||
|
print('menu_new_list=' + str(menu_new_list))
|
||||||
|
|
||||||
for spl in menu_new_list:
|
for spl in menu_new_list:
|
||||||
#product_code = s
|
#product_code = s
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,9 +138,9 @@
|
||||||
<Menus>
|
<Menus>
|
||||||
;banners
|
;banners
|
||||||
; ==================> Len = 3
|
; ==================> Len = 3
|
||||||
; - - 12-00-07-0001
|
; - - 12-00-07-0000
|
||||||
<Menu>
|
<Menu>
|
||||||
<State> Flag( 12-00-07-0001.Button,$Sum1200070001) </State>
|
<State> Flag( 12-00-07-0000.Button,$Sum1200070000) </State>
|
||||||
<IdleImage> "ROOT/taobin_project/inter/tha/image/page_drink_n//bn_frozen_mango.png" </IdleImage>
|
<IdleImage> "ROOT/taobin_project/inter/tha/image/page_drink_n//bn_frozen_mango.png" </IdleImage>
|
||||||
<PressImage> "ROOT/taobin_project/inter/tha/image/page_drink_press_n//bn_frozen_mango.png" </PressImage>
|
<PressImage> "ROOT/taobin_project/inter/tha/image/page_drink_press_n//bn_frozen_mango.png" </PressImage>
|
||||||
<DisableImage> "ROOT/taobin_project/inter/tha/image/page_drink_disable_n2//bn_frozen_mango.png" </DisableImage>
|
<DisableImage> "ROOT/taobin_project/inter/tha/image/page_drink_disable_n2//bn_frozen_mango.png" </DisableImage>
|
||||||
|
|
@ -164,12 +164,12 @@
|
||||||
<LanguageSlot6>-</LanguageSlot6>
|
<LanguageSlot6>-</LanguageSlot6>
|
||||||
</LanguageGroup>
|
</LanguageGroup>
|
||||||
</Description>
|
</Description>
|
||||||
<BlendState> $12-00-07-0001.Button </BlendState>
|
<BlendState> $12-00-07-0000.Button </BlendState>
|
||||||
<BlendPrice> eval(
|
<BlendPrice> eval(
|
||||||
If $12-00-07-0001.Price = -1 Then
|
If $12-00-07-0000.Price = -1 Then
|
||||||
Var return = "Free"
|
Var return = "Free"
|
||||||
Else
|
Else
|
||||||
Var return !assigned StringFmt( $12-00-07-0001.Price , DisplayFormat, PreScaleConvertShow)
|
Var return !assigned StringFmt( $12-00-07-0000.Price , DisplayFormat, PreScaleConvertShow)
|
||||||
EndIf
|
EndIf
|
||||||
) </BlendPrice>
|
) </BlendPrice>
|
||||||
<IceProcessingState>
|
<IceProcessingState>
|
||||||
|
|
@ -190,31 +190,31 @@
|
||||||
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
<IceProcessingDisableImage> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </IceProcessingDisableImage>
|
||||||
<ConditionalDisable>
|
<ConditionalDisable>
|
||||||
<Script>
|
<Script>
|
||||||
If $Sum1200070001 = "Disable" Then
|
If $Sum1200070000 = "Disable" Then
|
||||||
STRCONTAIN "STG=CLOSE" $12-00-07-0001.TAG tag3_is_disable
|
STRCONTAIN "STG=CLOSE" $12-00-07-0000.TAG tag3_is_disable
|
||||||
If tag1_is_disable = "true" Then
|
If tag1_is_disable = "true" Then
|
||||||
Var $Sum1200070001Tag = $##-##-##-####.TAG
|
Var $Sum1200070000Tag = $##-##-##-####.TAG
|
||||||
EndIf
|
EndIf
|
||||||
If tag2_is_disable = "true" Then
|
If tag2_is_disable = "true" Then
|
||||||
Var $Sum1200070001Tag = $##-##-##-####.TAG
|
Var $Sum1200070000Tag = $##-##-##-####.TAG
|
||||||
EndIf
|
EndIf
|
||||||
If tag3_is_disable = "true" Then
|
If tag3_is_disable = "true" Then
|
||||||
Var $Sum1200070001Tag = $12-00-07-0001.TAG
|
Var $Sum1200070000Tag = $12-00-07-0000.TAG
|
||||||
EndIf
|
EndIf
|
||||||
Var $Sum1200070001TextValue !assigned GETS($Sum1200070001Tag,"MSG")
|
Var $Sum1200070000TextValue !assigned GETS($Sum1200070000Tag,"MSG")
|
||||||
Var $Sum1200070001TextID !assigned GETS($Sum1200070001Tag,"TextID")
|
Var $Sum1200070000TextID !assigned GETS($Sum1200070000Tag,"TextID")
|
||||||
If $Sum1200070001TextID != "" Then
|
If $Sum1200070000TextID != "" Then
|
||||||
Var $Sum1200070001TextValue = ""
|
Var $Sum1200070000TextValue = ""
|
||||||
EndIf
|
EndIf
|
||||||
If $Sum1200070001TextValue = "" Then
|
If $Sum1200070000TextValue = "" Then
|
||||||
If $Sum1200070001TextID = "" Then
|
If $Sum1200070000TextID = "" Then
|
||||||
Var $Sum1200070001TextID = "000013"
|
Var $Sum1200070000TextID = "000013"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
</Script>
|
</Script>
|
||||||
<ID> $Sum1200070001TextID </ID>
|
<ID> $Sum1200070000TextID </ID>
|
||||||
<Value> $Sum1200070001TextValue </Value>
|
<Value> $Sum1200070000TextValue </Value>
|
||||||
</ConditionalDisable>
|
</ConditionalDisable>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
Var PictureDrink = "ROOT/taobin_project/inter/tha/image/page_drink_picture2_n/" + "bn_frozen_mango.png"
|
Var PictureDrink = "ROOT/taobin_project/inter/tha/image/page_drink_picture2_n/" + "bn_frozen_mango.png"
|
||||||
|
|
@ -222,219 +222,10 @@
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
Var PriceD1 = $##-##-##-####.Price
|
Var PriceD1 = $##-##-##-####.Price
|
||||||
Var PriceD2 = $##-##-##-####.Price
|
Var PriceD2 = $##-##-##-####.Price
|
||||||
Var PriceD3 = $12-00-07-0001.Price
|
Var PriceD3 = $12-00-07-0000.Price
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
Var PD_CODE2 = "##-##-##-####"
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
Var PD_CODE3 = "12-00-07-0001"
|
Var PD_CODE3 = "12-00-07-0000"
|
||||||
; begin lang
|
|
||||||
Var aliasName[0] = "Mango Smoothie"
|
|
||||||
Var aliasDesc[0] = "Frozen mango smoothies"
|
|
||||||
Var aliasName[1] = "มะม่วงปั่น"
|
|
||||||
Var aliasDesc[1] = "มะม่วงปั่น แช่แข็ง"
|
|
||||||
Var aliasName[2] = "-"
|
|
||||||
Var aliasDesc[2] = "-"
|
|
||||||
Var aliasName[3] = "-"
|
|
||||||
Var aliasDesc[3] = "-"
|
|
||||||
Var aliasName[4] = "-"
|
|
||||||
Var aliasDesc[4] = "-"
|
|
||||||
Var aliasName[5] = "-"
|
|
||||||
Var aliasDesc[5] = "-"
|
|
||||||
Var NameLang[0][0] = ""
|
|
||||||
Var NameLang[0][1] = ""
|
|
||||||
Var NameLang[0][2] = ""
|
|
||||||
Var NameLang[0][3] = ""
|
|
||||||
Var NameLang[0][4] = ""
|
|
||||||
Var NameLang[0][5] = ""
|
|
||||||
Var DescLang[0][0] = ""
|
|
||||||
Var DescLang[0][1] = ""
|
|
||||||
Var DescLang[0][2] = ""
|
|
||||||
Var DescLang[0][3] = ""
|
|
||||||
Var DescLang[0][4] = ""
|
|
||||||
Var DescLang[0][5] = ""
|
|
||||||
Var NameLang[1][0] = ""
|
|
||||||
Var NameLang[1][1] = ""
|
|
||||||
Var NameLang[1][2] = ""
|
|
||||||
Var NameLang[1][3] = ""
|
|
||||||
Var NameLang[1][4] = ""
|
|
||||||
Var NameLang[1][5] = ""
|
|
||||||
Var DescLang[1][0] = ""
|
|
||||||
Var DescLang[1][1] = ""
|
|
||||||
Var DescLang[1][2] = ""
|
|
||||||
Var DescLang[1][3] = ""
|
|
||||||
Var DescLang[1][4] = ""
|
|
||||||
Var DescLang[1][5] = ""
|
|
||||||
Var NameLang[2][0] = "Mango Smoothie SMOOTHIE"
|
|
||||||
Var NameLang[2][1] = "มะม่วงปั่น"
|
|
||||||
Var NameLang[2][2] = "-"
|
|
||||||
Var NameLang[2][3] = "-"
|
|
||||||
Var NameLang[2][4] = "-"
|
|
||||||
Var NameLang[2][5] = "-"
|
|
||||||
Var DescLang[2][0] = "Frozen mango smoothies"
|
|
||||||
Var DescLang[2][1] = "มะม่วงปั่น แช่แข็ง"
|
|
||||||
Var DescLang[2][2] = "-"
|
|
||||||
Var DescLang[2][3] = "-"
|
|
||||||
Var DescLang[2][4] = "-"
|
|
||||||
Var DescLang[2][5] = "-"
|
|
||||||
; end lang
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = "Disable2"
|
|
||||||
Var PD_STAGE_3 = $12-00-07-0001.Button
|
|
||||||
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-00-07-0001"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
|
||||||
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_catalog_group_frozen_fruit.lxml"
|
|
||||||
|
|
||||||
|
|
||||||
TabMenuVisibleInst 99
|
|
||||||
DEBUGVAR RedirectToNormalVersion
|
|
||||||
DEBUGVAR ToppingNewUINewSystem
|
|
||||||
If RedirectToNormalVersion = 1 Then
|
|
||||||
Var menu_name_eng_hot = NameLang[0][0]
|
|
||||||
Var menu_desc_eng_hot = DescLang[0][0]
|
|
||||||
Var menu_name_eng_cold = NameLang[1][0]
|
|
||||||
Var menu_desc_eng_cold = DescLang[1][0]
|
|
||||||
Var menu_name_eng_blender = NameLang[2][0]
|
|
||||||
Var menu_desc_eng_blender = DescLang[2][0]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var menu_name_thai_hot = NameLang[0][1]
|
|
||||||
Var menu_desc_thai_hot = DescLang[0][1]
|
|
||||||
Var menu_name_thai_cold = NameLang[1][1]
|
|
||||||
Var menu_desc_thai_cold = DescLang[1][1]
|
|
||||||
Var menu_name_thai_blender = NameLang[2][1]
|
|
||||||
Var menu_desc_thai_blender = DescLang[2][1]
|
|
||||||
DEBUGVAR menu_name_thai_cold
|
|
||||||
DEBUGVAR menu_desc_thai_cold
|
|
||||||
Var NameDrink = aliasName[0]
|
|
||||||
Var DrinkDescription = aliasDesc[0]
|
|
||||||
Var NameDrinkTH = aliasName[1]
|
|
||||||
Var DrinkDescriptionTH = aliasDesc[1]
|
|
||||||
If LanguageShow = "THAI" Then
|
|
||||||
Var show_eng = "false"
|
|
||||||
Else
|
|
||||||
Var show_eng = "true"
|
|
||||||
EndIf
|
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.xml"
|
|
||||||
Else
|
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</EventOnClick>
|
|
||||||
</Menu>
|
|
||||||
|
|
||||||
; ==================> Len = 3
|
|
||||||
; None None None
|
|
||||||
<Menu>
|
|
||||||
<State> Flag( None.Button,None.Button,None.Button,$SumNoneNoneNone) </State>
|
|
||||||
<IdleImage> "ROOT/taobin_project/inter/tha/image/page_drink_n//bn_frozen_mango.png" </IdleImage>
|
|
||||||
<PressImage> "ROOT/taobin_project/inter/tha/image/page_drink_press_n//bn_frozen_mango.png" </PressImage>
|
|
||||||
<DisableImage> "ROOT/taobin_project/inter/tha/image/page_drink_disable_n2//bn_frozen_mango.png" </DisableImage>
|
|
||||||
<Name>
|
|
||||||
<LanguageGroup>
|
|
||||||
<LanguageSlot1>Mango Smoothie</LanguageSlot1>
|
|
||||||
<LanguageSlot2>มะม่วงปั่น</LanguageSlot2>
|
|
||||||
<LanguageSlot3>-</LanguageSlot3>
|
|
||||||
<LanguageSlot4>-</LanguageSlot4>
|
|
||||||
<LanguageSlot5>-</LanguageSlot5>
|
|
||||||
<LanguageSlot6>-</LanguageSlot6>
|
|
||||||
</LanguageGroup>
|
|
||||||
</Name>
|
|
||||||
<Description>
|
|
||||||
<LanguageGroup>
|
|
||||||
<LanguageSlot1>Frozen mango smoothies</LanguageSlot1>
|
|
||||||
<LanguageSlot2>มะม่วงปั่น แช่แข็ง</LanguageSlot2>
|
|
||||||
<LanguageSlot3>-</LanguageSlot3>
|
|
||||||
<LanguageSlot4>-</LanguageSlot4>
|
|
||||||
<LanguageSlot5>-</LanguageSlot5>
|
|
||||||
<LanguageSlot6>-</LanguageSlot6>
|
|
||||||
</LanguageGroup>
|
|
||||||
</Description>
|
|
||||||
<BlendState> $None.Button </BlendState>
|
|
||||||
<BlendPrice> eval(
|
|
||||||
If $None.Price = -1 Then
|
|
||||||
Var return = "Free"
|
|
||||||
Else
|
|
||||||
Var return !assigned StringFmt( $None.Price , DisplayFormat, PreScaleConvertShow)
|
|
||||||
EndIf
|
|
||||||
) </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>
|
|
||||||
<ConditionalDisable>
|
|
||||||
<Script>
|
|
||||||
If $SumNoneNoneNone = "Disable" Then
|
|
||||||
STRCONTAIN "STG=CLOSE" $None.TAG tag3_is_disable
|
|
||||||
If tag1_is_disable = "true" Then
|
|
||||||
Var $SumNoneNoneNoneTag = $None.TAG
|
|
||||||
EndIf
|
|
||||||
If tag2_is_disable = "true" Then
|
|
||||||
Var $SumNoneNoneNoneTag = $None.TAG
|
|
||||||
EndIf
|
|
||||||
If tag3_is_disable = "true" Then
|
|
||||||
Var $SumNoneNoneNoneTag = $None.TAG
|
|
||||||
EndIf
|
|
||||||
Var $SumNoneNoneNoneTextValue !assigned GETS($SumNoneNoneNoneTag,"MSG")
|
|
||||||
Var $SumNoneNoneNoneTextID !assigned GETS($SumNoneNoneNoneTag,"TextID")
|
|
||||||
If $SumNoneNoneNoneTextID != "" Then
|
|
||||||
Var $SumNoneNoneNoneTextValue = ""
|
|
||||||
EndIf
|
|
||||||
If $SumNoneNoneNoneTextValue = "" Then
|
|
||||||
If $SumNoneNoneNoneTextID = "" Then
|
|
||||||
Var $SumNoneNoneNoneTextID = "000013"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
</Script>
|
|
||||||
<ID> $SumNoneNoneNoneTextID </ID>
|
|
||||||
<Value> $SumNoneNoneNoneTextValue </Value>
|
|
||||||
</ConditionalDisable>
|
|
||||||
<EventOnClick>
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/inter/tha/image/page_drink_picture2_n/" + "bn_frozen_mango.png"
|
|
||||||
GetInstanceIDMenuTab OpenFromInstMenuTab
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $None.Price
|
|
||||||
Var PriceD2 = $None.Price
|
|
||||||
Var PriceD3 = $None.Price
|
|
||||||
Var PD_CODE1 = "None"
|
|
||||||
Var PD_CODE2 = "None"
|
|
||||||
Var PD_CODE3 = "None"
|
|
||||||
; begin lang
|
; begin lang
|
||||||
Var aliasName[0] = "Mango Smoothie"
|
Var aliasName[0] = "Mango Smoothie"
|
||||||
Var aliasDesc[0] = "Frozen mango smoothies"
|
Var aliasDesc[0] = "Frozen mango smoothies"
|
||||||
|
|
@ -485,9 +276,9 @@
|
||||||
Var DescLang[2][4] = ""
|
Var DescLang[2][4] = ""
|
||||||
Var DescLang[2][5] = ""
|
Var DescLang[2][5] = ""
|
||||||
; end lang
|
; end lang
|
||||||
Var PD_STAGE_1 = $None.Button
|
Var PD_STAGE_1 = "Disable2"
|
||||||
Var PD_STAGE_2 = $None.Button
|
Var PD_STAGE_2 = "Disable2"
|
||||||
Var PD_STAGE_3 = $None.Button
|
Var PD_STAGE_3 = $12-00-07-0000.Button
|
||||||
Var SelectCountDrinkType = 0
|
Var SelectCountDrinkType = 0
|
||||||
Var DefaultDrinkType = 0
|
Var DefaultDrinkType = 0
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
|
|
@ -503,12 +294,12 @@
|
||||||
Var DefaultDrinkType = 3
|
Var DefaultDrinkType = 3
|
||||||
EndIf
|
EndIf
|
||||||
If PD_STAGE_2 = "Enable" Then
|
If PD_STAGE_2 = "Enable" Then
|
||||||
Topping "Load" "None"
|
Topping "Load" "-"
|
||||||
Else
|
Else
|
||||||
If PD_STAGE_1 = "Enable" Then
|
If PD_STAGE_1 = "Enable" Then
|
||||||
Topping "Load" "None"
|
Topping "Load" "-"
|
||||||
Else
|
Else
|
||||||
Topping "Load" "None"
|
Topping "Load" "12-00-07-0000"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||||
|
|
@ -545,9 +336,9 @@
|
||||||
Else
|
Else
|
||||||
Var show_eng = "true"
|
Var show_eng = "true"
|
||||||
EndIf
|
EndIf
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.xml"
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml"
|
||||||
Else
|
Else
|
||||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.xml"
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_topping_frozen_fruit_select.lxml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1363,14 +1363,14 @@ Name=bubble tea,file=page_catalog_group_pro_buble_tea.skt
|
||||||
เต่าติมไข่มุก Tao Tim Bubble Tea ไอศครีมนม คาราเมล และบุกไข่มุก Icecream, Caramel and Pearl Carrageenan 12-41-03-0028 - - - -
|
เต่าติมไข่มุก Tao Tim Bubble Tea ไอศครีมนม คาราเมล และบุกไข่มุก Icecream, Caramel and Pearl Carrageenan 12-41-03-0028 - - - -
|
||||||
|
|
||||||
|
|
||||||
Name=FrozenFruit,file=page_catalog_group_frozen_fruit.skt,topping_xml_file=page_topping_frozen_fruit_select.xml,parameter=show-blend-only
|
Name=FrozenFruit,file=page_catalog_group_frozen_fruit.skt,topping_xml_file=page_topping_frozen_fruit_select.lxml,parameter=show-blend-only
|
||||||
มะม่วงปั่น Mango Smoothie มะม่วงปั่น แช่แข็ง Frozen mango smoothies - - 12-00-07-0000 bn_frozen_mango.png - - - -
|
มะม่วงปั่น Mango Smoothie มะม่วงปั่น แช่แข็ง Frozen mango smoothies - - 12-00-07-0000 bn_frozen_mango.png - - - -
|
||||||
12-06-03-0001
|
มะม่วงเต่าปั่น Mango Tao Pun มะม่วง Real Mango - - 12-06-03-0001 blended_mango_only.png
|
||||||
12-06-03-0002 blended_mango_lychee.png
|
มะม่่วงลิ้นจี่เต่าปั่น Mango Lychee Tao Pun มะม่วง ลิ้นจี่ Real Mango Lychee - - 12-06-03-0002 blended_mango_lychee.png
|
||||||
12-06-03-0003 blended_mango_strawberry.png
|
มะม่วงสตรอเบอรีเต่าปั่น Mango Strawberry Tao Pun มะม่วง สตรอเบอรี Real Mango Strawberry - - 12-06-03-0003 blended_mango_strawberry.png
|
||||||
12-06-03-0004 blended_mango_sala.png
|
มะม่วงสละเต่าปั่น Mango Salak Tao Pun มะม่วง สละ Real Mango Salak - - 12-06-03-0004 blended_mango_sala.png
|
||||||
12-06-03-0005 blended_mango_greentea.png
|
มะม่วงมัทฉะเต่าปั่น Mango Pure Matcha Tao Pun มะม่วง มัทฉะ Real Mango Matcha - - 12-06-03-0005 blended_mango_greentea.png
|
||||||
12-06-03-0006 blended_mango_taiwanese_tea.png
|
มะม่วงชาไต้หวันเต่าปั่น Mango Taiwanese Tea Tao Pun มะม่วง ชาไต้หวัน Real Mango TaiwaneseTea - - 12-06-03-0006 blended_mango_taiwanese_tea.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 3.
|
|
|
@ -171,8 +171,15 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
|
Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253 Font=Kanit,Type=Regular,Size=46,Color=0xFFFFFF,PressColor=0x746253
|
||||||
000200 Use/Check coupon ใช้/ดูคูปองสะสม 使用 / 查看优惠券 Use/Check coupon ကူပွန်ကို အသုံးပြု/စစ်ဆေးပါ။
|
000200 Use/Check coupon ใช้/ดูคูปองสะสม 使用 / 查看优惠券 Use/Check coupon ကူပွန်ကို အသုံးပြု/စစ်ဆေးပါ။
|
||||||
|
Page payment
|
||||||
|
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=36,Color=0x513C2F,Align=Center Font=Kanit,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F,Align=Center
|
||||||
|
000250 Order summary สรุปคำสั่งซื้อ 订单摘要 အမှာစာအကျဉ်း
|
||||||
|
Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Kanit,Type=Medium,Size=36,Color=0x513C2F Font=Kanit,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F Font=Montserrat,Type=Bold,Size=36,Color=0x513C2F
|
||||||
|
000251 Subtotal รวมทั้งหมด 小计 စုစုပေါင်းငွေခန့်မှန်း
|
||||||
|
|
||||||
|
|
||||||
Page brewing
|
Page brewing
|
||||||
|
|
@ -1256,7 +1263,7 @@
|
||||||
1300003 Beans module ชุดเมล็ดกาแฟ
|
1300003 Beans module ชุดเมล็ดกาแฟ
|
||||||
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
1300004 Bean tray ถาดใส่เมล็ดกาแฟ
|
||||||
1300005 Switch tray : สวิตซ์ถาด :
|
1300005 Switch tray : สวิตซ์ถาด :
|
||||||
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด
|
1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
|
||||||
1300007 Pay beans จ่ายถั่ว
|
1300007 Pay beans จ่ายถั่ว
|
||||||
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
|
||||||
1300009 2. Select direction 2. เลือกทิศทาง
|
1300009 2. Select direction 2. เลือกทิศทาง
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 22.
|
|
|
@ -2849,9 +2849,9 @@ Soda" </Value>
|
||||||
<State> Flag( 12-05-02-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020148) </State>
|
<State> Flag( 12-05-02-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020148) </State>
|
||||||
<Button>
|
<Button>
|
||||||
<State> $Sum1205020148 </State>
|
<State> $Sum1205020148 </State>
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical_boost_energy.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical_boost_energy.png" </FilenamePress>
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical_boost_energy.png" </FilenameDisable>
|
||||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
|
|
@ -2860,7 +2860,7 @@ Soda" </Value>
|
||||||
Var NameDrinkTH = "เป๊ปซี่ทรอปิคอล"
|
Var NameDrinkTH = "เป๊ปซี่ทรอปิคอล"
|
||||||
Var DrinkDescriptionTH = "เป๊ปซี่ เครื่องดื่มเต่าทรงพลัง มะพร้าว/n(มีคาเฟอีน)"
|
Var DrinkDescriptionTH = "เป๊ปซี่ เครื่องดื่มเต่าทรงพลัง มะพร้าว/n(มีคาเฟอีน)"
|
||||||
Var DrinkDescription = "Pepsi Medicine Drink Coconut Soda"
|
Var DrinkDescription = "Pepsi Medicine Drink Coconut Soda"
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Tropical.png"
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Tropical_boost_energy.png"
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
Var PriceD1 = $-.Price
|
Var PriceD1 = $-.Price
|
||||||
Var PriceD2 = $12-05-02-0148.Price
|
Var PriceD2 = $12-05-02-0148.Price
|
||||||
|
|
@ -4595,257 +4595,7 @@ Soda" </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
; - - -
|
|
||||||
; ==================> Len = 16
|
|
||||||
; - 12-05-02-0148 -
|
|
||||||
<Block>
|
|
||||||
<MarginLeft> 33 </MarginLeft>
|
|
||||||
<MarginTop> 22 </MarginTop>
|
|
||||||
<Width> 225 </Width>
|
|
||||||
<Height> 296 </Height>
|
|
||||||
<State> Flag( 12-05-02-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020148) </State>
|
|
||||||
<Button>
|
|
||||||
<State> $Sum1205020148 </State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
|
||||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
|
||||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventOnClick>
|
|
||||||
Var NameDrink = "Pepsi Tropical"
|
|
||||||
Var NameDrinkTH = "เป๊ปซี่ทรอปิคอล"
|
|
||||||
Var DrinkDescriptionTH = "เป๊ปซี่ เครื่องดื่มเต่าทรงพลัง มะพร้าว/n(มีคาเฟอีน)"
|
|
||||||
Var DrinkDescription = "Pepsi Medicine Drink Coconut Soda"
|
|
||||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Tropical.png"
|
|
||||||
Var OpenFromXML = CurrentXMLFileName2
|
|
||||||
Var PriceD1 = $-.Price
|
|
||||||
Var PriceD2 = $12-05-02-0148.Price
|
|
||||||
Var PriceD3 = $-.Price
|
|
||||||
Var PD_CODE1 = "##-##-##-####"
|
|
||||||
Var PD_CODE2 = "12-05-02-0148"
|
|
||||||
Var PD_CODE3 = "##-##-##-####"
|
|
||||||
Var PD_STAGE_1 = "Disable2"
|
|
||||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
|
||||||
Var PD_STAGE_3 = "Disable2"
|
|
||||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "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-0148"
|
|
||||||
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-05-02-0148.NameE
|
|
||||||
Var menu_desc_eng_cold = $12-05-02-0148.descriptionE
|
|
||||||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
|
||||||
Var menu_desc_thai_cold = $12-05-02-0148.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>
|
|
||||||
</Button>
|
|
||||||
<Text>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 164 </Y>
|
|
||||||
<Size> 24 </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Mode> "multi2" </Mode>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<State> showthaiText </State>
|
|
||||||
<Value> "เป๊ปซี่ทรอปิคอล" </Value>
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 220 </Y>
|
|
||||||
<Size> 14 </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<State> showthaiText </State>
|
|
||||||
<Value> "เป๊ปซี่ เครื่องดื่มเต่าทรงพลัง มะพร้าว/n(มีคาเฟอีน)" </Value>
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 164 </Y>
|
|
||||||
<Size> 22 </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Mode> "multi2" </Mode>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x322B26 </Color>
|
|
||||||
<State> showengText </State>
|
|
||||||
<Value> "Pepsi Tropical" </Value>
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 220 </Y>
|
|
||||||
<Size> 14 </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<State> showengText </State>
|
|
||||||
<Value> "Pepsi Medicine Drink Coconut Soda" </Value>
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
|
||||||
</Image>
|
|
||||||
<Image>
|
|
||||||
<X> 16 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<State> "Invisible" </State>
|
|
||||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
|
||||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
|
||||||
</Image>
|
|
||||||
<Text>
|
|
||||||
<X> 50 </X>
|
|
||||||
<Y> TextPriceMenuY </Y>
|
|
||||||
<Size> TextPriceMenuSize </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<State> "Invisible" </State>
|
|
||||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 81 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
|
||||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
|
||||||
<State> $12-05-02-0148.Button </State>
|
|
||||||
</Image>
|
|
||||||
<Text>
|
|
||||||
<X> 115 </X>
|
|
||||||
<Y> TextPriceMenuY </Y>
|
|
||||||
<Size> TextPriceMenuSize </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<State> $12-05-02-0148.Button </State>
|
|
||||||
<Value> StringFmt( $12-05-02-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 146 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
|
||||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
|
||||||
<State> "Invisible" </State>
|
|
||||||
</Image>
|
|
||||||
<Text>
|
|
||||||
<X> 180 </X>
|
|
||||||
<Y> TextPriceMenuY </Y>
|
|
||||||
<Size> TextPriceMenuSize </Size>
|
|
||||||
<Width>220</Width>
|
|
||||||
<Font> KanitRegularTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
|
||||||
<State> "Invisible" </State>
|
|
||||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
|
||||||
</Text>
|
|
||||||
<Image>
|
|
||||||
<X> 81 </X>
|
|
||||||
<Y> 264 </Y>
|
|
||||||
<State>
|
|
||||||
eval(
|
|
||||||
If ICE_PROCESS_STATUS = 2 Then
|
|
||||||
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
|
|
||||||
Else
|
|
||||||
Var ice_tab_process_show = "Invisible"
|
|
||||||
EndIf
|
|
||||||
Var return = ice_tab_process_show
|
|
||||||
)
|
|
||||||
</State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
|
||||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
|
||||||
</Image>
|
|
||||||
<Image>
|
|
||||||
<X> 49 </X>
|
|
||||||
<Y> 117 </Y>
|
|
||||||
<State>
|
|
||||||
eval(
|
|
||||||
If $Sum1205020148 = "Disable" Then
|
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
|
||||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
|
||||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
|
||||||
Var return = "Invisible"
|
|
||||||
If tag1_is_disable = "true" Then
|
|
||||||
Var return = "Enable"
|
|
||||||
EndIf
|
|
||||||
If tag2_is_disable = "true" Then
|
|
||||||
Var return = "Enable"
|
|
||||||
EndIf
|
|
||||||
If tag3_is_disable = "true" Then
|
|
||||||
Var return = "Enable"
|
|
||||||
EndIf
|
|
||||||
Else
|
|
||||||
Var return = "Invisible"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</State>
|
|
||||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
<Text>
|
|
||||||
<X> 84 </X>
|
|
||||||
<Y> 266 </Y>
|
|
||||||
<Size> 10 </Size>
|
|
||||||
<Font> OpunMediumTTF </Font>
|
|
||||||
<Color> 0xDE794E </Color>
|
|
||||||
<State> ice_tab_process_show </State>
|
|
||||||
<Value> ice_show_open </Value>
|
|
||||||
</Text>
|
|
||||||
<Text>
|
|
||||||
<X> 48 </X>
|
|
||||||
<Y> 116 </Y>
|
|
||||||
<Size> 32 </Size>
|
|
||||||
<Width>128</Width>
|
|
||||||
<Height>64</Height>
|
|
||||||
<Font> MITRegularTTF </Font>
|
|
||||||
<Color> 0x5A5A5A </Color>
|
|
||||||
<Mode> "disable-show" </Mode>
|
|
||||||
<State> $Sum1205020148 </State>
|
|
||||||
<Value> text_unavailable </Value>
|
|
||||||
<Align> center-vertical-horizontal </Align>
|
|
||||||
</Text>
|
|
||||||
</Block>
|
|
||||||
; - - -
|
; - - -
|
||||||
; ==================> Len = 16
|
; ==================> Len = 16
|
||||||
; - 12-05-02-0150 -
|
; - 12-05-02-0150 -
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
;banner_shifting
|
;banner_shifting
|
||||||
</Script>
|
</Script>
|
||||||
;dummy_layout.inc
|
;dummy_layout.inc
|
||||||
; menu_new_list 17
|
; menu_new_list 23
|
||||||
; ==================> Len = 16
|
; ==================> Len = 16
|
||||||
; - 12-21-62-0002 12-21-63-0002
|
; - 12-21-62-0002 12-21-63-0002
|
||||||
<Block>
|
<Block>
|
||||||
|
|
@ -8527,6 +8527,255 @@ Soda & Ice" </Value>
|
||||||
<Value> text_unavailable </Value>
|
<Value> text_unavailable </Value>
|
||||||
<Align> center-vertical-horizontal </Align>
|
<Align> center-vertical-horizontal </Align>
|
||||||
</Text>
|
</Text>
|
||||||
|
</Block>
|
||||||
|
; ==================> Len = 8
|
||||||
|
; - - 12-06-03-0001
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> Flag( 12-06-03-0001.Button,$Sum1206030001) </State>
|
||||||
|
<Button>
|
||||||
|
<State> $Sum1206030001 </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_drink_n//blended_mango_only.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//blended_mango_only.png" </FilenamePress>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//blended_mango_only.png" </FilenameDisable>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var NameDrink = "Mango Tao Pun"
|
||||||
|
Var NameDrinkTH = "มะม่วงเต่าปั่น"
|
||||||
|
Var DrinkDescriptionTH = "มะม่วง"
|
||||||
|
Var DrinkDescription = "Real Mango"
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "blended_mango_only.png"
|
||||||
|
Var OpenFromXML = CurrentXMLFileName2
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = $12-06-03-0001.Price
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = "12-06-03-0001"
|
||||||
|
Var PD_STAGE_1 = "Disable2"
|
||||||
|
Var PD_STAGE_2 = "Disable2"
|
||||||
|
Var PD_STAGE_3 = $12-06-03-0001.Button
|
||||||
|
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_.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-06-03-0001"
|
||||||
|
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-06-03-0001.NameE
|
||||||
|
Var menu_desc_eng_blender = $12-06-03-0001.descriptionE
|
||||||
|
Var menu_name_thai_blender = $12-06-03-0001.Name
|
||||||
|
Var menu_desc_thai_blender = $12-06-03-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>
|
||||||
|
</Button>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มะม่วงเต่าปั่น" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> "มะม่วง" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 164 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x322B26 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Mango Tao Pun" </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 220 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> "Real Mango" </Value>
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 50 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 115 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> "Invisible" </State>
|
||||||
|
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 146 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||||
|
<State> $12-06-03-0001.Button </State>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 180 </X>
|
||||||
|
<Y> TextPriceMenuY </Y>
|
||||||
|
<Size> TextPriceMenuSize </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitRegularTTF </Font>
|
||||||
|
<Color> 0x6F5F51 </Color>
|
||||||
|
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||||
|
<State> $12-06-03-0001.Button </State>
|
||||||
|
<Value> StringFmt( $12-06-03-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||||
|
</Text>
|
||||||
|
<Image>
|
||||||
|
<X> 81 </X>
|
||||||
|
<Y> 264 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If ICE_PROCESS_STATUS = 2 Then
|
||||||
|
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ice_tab_process_show = "Invisible"
|
||||||
|
EndIf
|
||||||
|
Var return = ice_tab_process_show
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||||
|
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||||
|
</Image>
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $Sum1206030001 = "Disable" Then
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||||
|
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||||
|
STRCONTAIN "ERR" $12-06-03-0001.TAG tag3_is_disable
|
||||||
|
Var return = "Invisible"
|
||||||
|
If tag1_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag2_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
If tag3_is_disable = "true" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
<Text>
|
||||||
|
<X> 84 </X>
|
||||||
|
<Y> 266 </Y>
|
||||||
|
<Size> 10 </Size>
|
||||||
|
<Font> OpunMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> ice_tab_process_show </State>
|
||||||
|
<Value> ice_show_open </Value>
|
||||||
|
</Text>
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $Sum1206030001 </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
</Block>
|
</Block>
|
||||||
</FrameScroll>
|
</FrameScroll>
|
||||||
; Cart
|
; Cart
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue