DO
This commit is contained in:
parent
976e3f3f39
commit
d8d906f978
33 changed files with 4456 additions and 9 deletions
118
menu/components/menu_catalog_default_init.lxml
Normal file
118
menu/components/menu_catalog_default_init.lxml
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
DEBUGVAR LanguageShow
|
||||
DEBUGVAR CountryName
|
||||
|
||||
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 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_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 ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "Enable"
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
|
||||
105
menu/components/menu_catalog_default_init.xml
Normal file
105
menu/components/menu_catalog_default_init.xml
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
|
||||
Var NextPage = "-"
|
||||
|
||||
DEBUGVAR ICE_PROCESS_STATUS
|
||||
DEBUGVAR ICE_PROCESS_TXT
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showthaiText = "Invisible"
|
||||
Var showengText = "Enable"
|
||||
Var DirImage = "ROOT/taobin_project/image/page3_en"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "Ice will be ready at "
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
|
||||
|
||||
Else
|
||||
Var showengText = "Invisible"
|
||||
Var showthaiText = "Enable"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page3"
|
||||
Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png"
|
||||
|
||||
Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา "
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
EndIf
|
||||
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
Var ice_tab_process_show = "Enable"
|
||||
Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
|
||||
|
||||
; SpiralOnline
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
|
||||
Var Menu1Selected2 = "Invisible"
|
||||
Var Menu2Selected2 = "Invisible"
|
||||
Var Menu3Selected2 = "Invisible"
|
||||
Var Menu4Selected2 = "Invisible"
|
||||
|
||||
Var Menu6Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
|
||||
Var Menu21Selected2 = "Invisible"
|
||||
|
||||
Var MenuVSelected2 = "Invisible"
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Var MenuVSelected2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; init default
|
||||
Var Menu1Selected = "Enable"
|
||||
Var Menu2Selected = "Enable"
|
||||
Var Menu3Selected = "Enable"
|
||||
Var Menu4Selected = "Enable"
|
||||
; 5 fruit
|
||||
Var Menu5Selected = "Invisible"
|
||||
Var Menu6Selected = "Enable"
|
||||
Var Menu7Selected = "Enable"
|
||||
; 8 cocktail
|
||||
Var Menu8Selected = "Invisible"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu8Selected = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "Enable"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
If MenuKidEnable = "true" Then
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Enable"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Var Menu7Selected = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
Var Menu7Selected = "Invisible"
|
||||
EndIf
|
||||
|
||||
If RecipeTag1 = "HealthTurnOn" Then
|
||||
Var Menu22Selected = "Enable"
|
||||
Else
|
||||
Var Menu22Selected = "Invisible"
|
||||
EndIf
|
||||
;
|
||||
346
menu/components/menu_catalog_new.lxml
Normal file
346
menu/components/menu_catalog_new.lxml
Normal file
|
|
@ -0,0 +1,346 @@
|
|||
|
||||
; 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
|
||||
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 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
|
||||
|
||||
SAVELOG "EventLanguageOnChange menu -list"
|
||||
|
||||
Refresh
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 438 - 38
|
||||
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 430 - 38
|
||||
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 = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
|
||||
</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"
|
||||
|
||||
</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"
|
||||
|
||||
</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"
|
||||
</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"
|
||||
|
||||
</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"
|
||||
</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"
|
||||
</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"
|
||||
</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"
|
||||
</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"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
379
menu/components/menu_catalog_new.xml
Normal file
379
menu/components/menu_catalog_new.xml
Normal file
|
|
@ -0,0 +1,379 @@
|
|||
|
||||
; 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
|
||||
|
||||
|
||||
; zone cup on arm
|
||||
If CupOnArm = "true" Then
|
||||
If CheckCupStateDoorCupClose = "" Then
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
|
||||
Else
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
EndIf
|
||||
|
||||
If CheckCupStateDoorCupClose = "done" Then
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
|
||||
Else
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
If buttonRemoveCup = "Enable" Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 494 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/tab_line_bottom.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; under line
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 358 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page3/bg1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow_2.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If SpiralOnline = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_with_vending.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 1000 </X>
|
||||
<Y> 381 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
EndIf
|
||||
|
||||
|
||||
Open CurrentXMLFileName2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;
|
||||
<ListView1>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
<X> 0 </X>
|
||||
<Y> 395 </Y>
|
||||
<Row2>
|
||||
<State>"Enable"</State>
|
||||
<Width> 896 </Width>
|
||||
<Height> 102 </Height>
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu1Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_recommend2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_recommend2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Click rec"
|
||||
Var NextPage = "-"
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu2Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_coffee2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_coffee2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_coffee.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu3Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_tea2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_tea2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_tea.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu4Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cho_ca2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cho_ca2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_milk.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu7Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_protein2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_protein2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_whey.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink7.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu11Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_appfast2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_appfast2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_appfast.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink11.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu21Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu22Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_health.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_health.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_health.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu8Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_cocktail.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> Menu6Selected </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_sodada2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_sodada2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
If new_layout = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<Layout> "linear" </Layout>
|
||||
<State> MenuVSelected2 </State>
|
||||
<Filename> Var( DirImageAlter + "/bn_vending2.png") </Filename>
|
||||
<FilenamePress> Var( DirImageAlter + "/bp_vending2.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/taobin_project/spiral/xml/page_catalog_vending_machine.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
</Row2>
|
||||
</ListView1>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
9
menu/components/menu_catalog_new_menu.lxml
Normal file
9
menu/components/menu_catalog_new_menu.lxml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
9
menu/components/menu_catalog_new_menu.xml
Normal file
9
menu/components/menu_catalog_new_menu.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/"
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/drink_option/"
|
||||
Var DirImageAlter = "ROOT/taobin_project/image/page3_2/"
|
||||
EndIf
|
||||
40
menu/lang-display-config.yaml
Normal file
40
menu/lang-display-config.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# --- LangDisplayConfig.yaml ---
|
||||
#
|
||||
#
|
||||
#
|
||||
# Set languages to display in order
|
||||
|
||||
# Preset: if provided, the target preset will be used.
|
||||
# Otherwise, if not provided, default will be used.
|
||||
|
||||
# Replace 'Default' with your preset
|
||||
Use: NoChina
|
||||
|
||||
# Preset Structure
|
||||
|
||||
# PresetName:
|
||||
# Languages:
|
||||
# - Language1
|
||||
# - Language2
|
||||
|
||||
Default:
|
||||
Languages:
|
||||
- English
|
||||
- Thai
|
||||
- China
|
||||
- Japan
|
||||
- Malay
|
||||
|
||||
Preset1:
|
||||
Languages:
|
||||
-
|
||||
|
||||
Preset2:
|
||||
Languages:
|
||||
|
||||
NoChina:
|
||||
Languages:
|
||||
- English
|
||||
- Thai
|
||||
- Japan
|
||||
- Malay
|
||||
48
menu/page_catalog_group_appfast.skt
Normal file
48
menu/page_catalog_group_appfast.skt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "PressForever"
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
42
menu/page_catalog_group_cocktail.skt
Normal file
42
menu/page_catalog_group_cocktail.skt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu8Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
42
menu/page_catalog_group_coffee.skt
Normal file
42
menu/page_catalog_group_coffee.skt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu2Selected = "PressForever"
|
||||
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
51
menu/page_catalog_group_forkid.skt
Normal file
51
menu/page_catalog_group_forkid.skt
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
; protein
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu21Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Var Menu21Selected = "PressForever"
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
42
menu/page_catalog_group_health.skt
Normal file
42
menu/page_catalog_group_health.skt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu22Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
2815
menu/page_catalog_group_melon.skt
Normal file
2815
menu/page_catalog_group_melon.skt
Normal file
File diff suppressed because it is too large
Load diff
42
menu/page_catalog_group_milk.skt
Normal file
42
menu/page_catalog_group_milk.skt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu4Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
34
menu/page_catalog_group_oreo.skt
Normal file
34
menu/page_catalog_group_oreo.skt
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
</Popup>
|
||||
43
menu/page_catalog_group_other.skt
Normal file
43
menu/page_catalog_group_other.skt
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
; soda and other
|
||||
Var Menu6Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
34
menu/page_catalog_group_pepsi_pro.skt
Normal file
34
menu/page_catalog_group_pepsi_pro.skt
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
</Popup>
|
||||
70
menu/page_catalog_group_recommend.skt
Normal file
70
menu/page_catalog_group_recommend.skt
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu1Selected = "PressForever"
|
||||
|
||||
Var OreoBigButtonEnable = "Enable"
|
||||
|
||||
If $12-01-01-0001.Button = "Invisible" Then
|
||||
Var esp102101001Enable = "Invisible"
|
||||
Var esp122101001Enable = "Enable"
|
||||
|
||||
Else
|
||||
Var esp102101001Enable = "Enable"
|
||||
Var esp122101001Enable = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
|
||||
Var text_unavailable = "UNAVAILABLE###size=16"
|
||||
Else
|
||||
Var text_unavailable = "หมด###size=32"
|
||||
|
||||
EndIf
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
34
menu/page_catalog_group_songkran.skt
Normal file
34
menu/page_catalog_group_songkran.skt
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
</Popup>
|
||||
42
menu/page_catalog_group_tea.skt
Normal file
42
menu/page_catalog_group_tea.skt
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
Var Menu3Selected = "PressForever"
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
48
menu/page_catalog_group_whey.skt
Normal file
48
menu/page_catalog_group_whey.skt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
<?hurr
|
||||
#include=components/menu_catalog_default_init.xml
|
||||
?>
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "PressForever"
|
||||
EndIf
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=components/menu_catalog_new.xml
|
||||
?>
|
||||
|
||||
|
||||
<?hurr
|
||||
#generate_layout=menu_new_v2
|
||||
?>
|
||||
|
||||
<EventUnitTest4>
|
||||
RefreshAll
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
Loading…
Add table
Add a link
Reference in a new issue