First start TaoBin
This commit is contained in:
commit
a497d17fc2
54 changed files with 27396 additions and 0 deletions
135
xml/menu_board_original2.xml
Normal file
135
xml/menu_board_original2.xml
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
<Page>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1312 </Height>
|
||||
<Background> "ROOT/image/select_first.jpg" </Background>
|
||||
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
TopView "show"
|
||||
; On open
|
||||
|
||||
Var ServiceSuccess = "no"
|
||||
|
||||
|
||||
|
||||
Var p6OpenBG = "ROOT/image/BG_Menu_Page6_Open.bmp"
|
||||
Var p6OpenGIF = "ROOT/image/Page6_Open.gif"
|
||||
Var pCleanBG = "ROOT/image/BG_Clean.bmp"
|
||||
Var pCleanGIF = "ROOT/image/CleanMachine.gif"
|
||||
Var pUpgradeBG = "ROOT/image/BG_Clean.bmp"
|
||||
Var pUpgradeGIF = "ROOT/image/UpgradeMachine.gif"
|
||||
Var pMaintenanceBG = "ROOT/image/BG_CloseMaintenance.jpg"
|
||||
Var p7LidGIF = "ROOT/image/gif_thank_lid.gif"
|
||||
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
;Open "ROOT/xml/menu_closeMaintenance.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "clean-machine" Then
|
||||
Open "ROOT/xml/menu_cleanMachine.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
Open "ROOT/xml/menu_upgradeMCU.xml"
|
||||
EndIf
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
Open "ROOT/xml/menu_upgrading.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
If HaveCup = "true" Then
|
||||
Open "ROOT/xml/menu_Page6_Open.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Var DiscountDrink = 0
|
||||
Var SelectSlot = "0"
|
||||
|
||||
Var rootMenu = "ROOT/image/"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
Var TMenuLang = 0
|
||||
Var MenuLangTH = 0
|
||||
|
||||
If BrewCommand = "RefreshAll" Then
|
||||
SAVELOG "Brew command RefreshAll"
|
||||
Var BrewCommand = ""
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/xml/menu_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/xml/menu_list_show_all.xml"
|
||||
Open "/mnt/sdcard/coffeevending/xml/menu_main_blank.xml"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Open "/mnt/sdcard/coffeevending/xml/menu_board.xml"
|
||||
|
||||
|
||||
|
||||
If BrewCommand = "RefreshAll" Then
|
||||
SAVELOG "Brew command RefreshAll"
|
||||
Var BrewCommand = ""
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/xml/menu_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/xml/menu_list_show_all.xml"
|
||||
Open "/mnt/sdcard/coffeevending/xml/menu_main_blank.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "close-maintenance" Then
|
||||
;Open "ROOT/xml/menu_closeMaintenance.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "clean-machine" Then
|
||||
Open "ROOT/xml/menu_cleanMachine.xml"
|
||||
EndIf
|
||||
|
||||
If MachineStage = "mcu-upgrade" Then
|
||||
Open "ROOT/xml/menu_upgradeMCU.xml"
|
||||
EndIf
|
||||
|
||||
If NeedUpgrade = "true" Then
|
||||
Open "ROOT/xml/menu_upgrading.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
|
||||
TimerReset
|
||||
;Refresh
|
||||
</EventTimeout>
|
||||
<EventNetDown>
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDown>
|
||||
<EventNetDeactive>
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
</EventNetDeactive>
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 170 </Y>
|
||||
<Animation> "Shake3" </Animation>
|
||||
<Filename> "ROOT/image/cup_left.png" </Filename>
|
||||
<EventClick>
|
||||
|
||||
Var MenuLangTH = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/xml/menu_advert.xml"
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/xml/menu_list_show_less.xml"
|
||||
Open "/mnt/sdcard/coffeevending/xml/menu_main_blank.xml"
|
||||
|
||||
</EventClick>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 540 </X>
|
||||
<Y> 100 </Y>
|
||||
<Visible> False </Visible>
|
||||
<EventClick> Open "/ROOT/xml/service_menu.xml" </EventClick>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
</Page>
|
||||
Loading…
Add table
Add a link
Reference in a new issue