Before pull

This commit is contained in:
wanlop run 2024-08-13 14:19:07 +07:00
parent 737ff9cf8f
commit adcfb7273b
21 changed files with 68313 additions and 18324 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,48 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
;BigLogoLayout
<Button>
<X> 780 </X>
<Y> 500 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
</EventClick>
</Button>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,48 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
;BigLogoLayout
<Button>
<X> 780 </X>
<Y> 500 </Y>
<State> buttonRemoveCup </State>
;<Color> "0x00BDFF" </Color>
<Interval> 500 </Interval>
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
<EventClick>
Machine RemoveCup
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
</EventClick>
</Button>
</Popup>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -870,95 +870,6 @@
<Value> "Enable CreditCard" </Value>
</Text>
;EnableNewBrewUI
<Image>
<X> info2_startX </X>
<Y> info_13Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<State> eval(
If EnableNewBrewUI = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<EventClick>
Open "/mnt/sdcard/coffeevending/taobin_project/xml/vending_info2.xml"
</EventClick>
</Image>
<Text>
<X> info2_text_startX </X>
<Y> info_text_13Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<State> eval(
If EnableNewBrewUI = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<Value> "New ui V2" </Value>
</Text>
;EnableNewBrewUI
<Image>
<X> info_startX </X>
<Y> info_14Y </Y>
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
<EventClick>
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
If str_sim_on = "1" Then
WRITE_FILE "/mnt/sdcard/coffeevending/sim_on" ""
RebootWithCause "Turn off Sim mode"
Else
WRITE_FILE "/mnt/sdcard/coffeevending/sim_on" "1"
RebootWithCause "Turn on Sim mode"
EndIf
</EventClick>
</Image>
<Text>
<X> info_text_startX </X>
<Y> info_text_14Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<State> eval(
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
If str_sim_on = "1" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<Value> "DisableSimMode" </Value>
</Text>
<Text>
<X> info_text_startX </X>
<Y> info_text_14Y </Y>
<Size> 30 </Size>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<State> eval(
READ_FILE "/mnt/sdcard/coffeevending/sim_on" str_sim_on
If str_sim_on = "1" Then
Var return = "Invisible"
Else
Var return = "Enable"
EndIf
) </State>
<Value> "EnableSimMode" </Value>
</Text>
;<QRCode>
;<X> 930 </X>