106 lines
2.2 KiB
Promela
106 lines
2.2 KiB
Promela
<?hurr
|
|
#include=menu_head.py
|
|
?>
|
|
|
|
<?hurr
|
|
|
|
product_code = []
|
|
|
|
product_code.append('best_seller_1')
|
|
product_code.append('best_seller_2')
|
|
product_code.append('best_seller_3')
|
|
product_code.append('best_seller_4')
|
|
product_code.append('best_seller_5')
|
|
product_code.append('best_seller_6')
|
|
product_code.append('best_seller_7')
|
|
product_code.append('best_seller_8')
|
|
product_code.append('best_seller_9')
|
|
product_code.append('best_seller_10')
|
|
product_code.append('best_seller_11')
|
|
product_code.append('best_seller_12')
|
|
product_code.append('best_seller_13')
|
|
product_code.append('best_seller_14')
|
|
product_code.append('best_seller_15')
|
|
product_code.append('best_seller_16')
|
|
|
|
menu_count = len( product_code)
|
|
?>
|
|
|
|
<Popup>
|
|
<Cache> "Enable" </Cache>
|
|
<Width> 1080 </Width>
|
|
<Height> 1920 </Height>
|
|
;<Background> "0xeae6e1" </Background>
|
|
<Volume> SoundVolume </Volume>
|
|
<EventOpen>
|
|
; On open
|
|
<?hurr
|
|
#include=menu_catalog_default_init.xml
|
|
?>
|
|
If SpiralOnline = "true" Then
|
|
Var Menu1Selected2 = "PressForever"
|
|
Else
|
|
; coffee show
|
|
Var Menu1Selected = "PressForever"
|
|
EndIf
|
|
|
|
|
|
|
|
SAVELOG PreviseXMLFileName2
|
|
|
|
Var Timeout = 0
|
|
|
|
Var showCart = "Invisible"
|
|
If MultiPayEnable = "true" Then
|
|
|
|
If CART_COUNT = 1 Then
|
|
Var showCart = "Enable"
|
|
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
|
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
|
|
EndIf
|
|
|
|
If CART_COUNT = 2 Then
|
|
Var showCart = "Enable"
|
|
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
|
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
|
|
EndIf
|
|
|
|
|
|
|
|
If CART_COUNT = 3 Then
|
|
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
</EventOpen>
|
|
|
|
|
|
<?hurr
|
|
#include=menu_catalog.xml
|
|
?>
|
|
|
|
<?hurr
|
|
#include=menu_gen.py
|
|
?>
|
|
|
|
|
|
|
|
<Button>
|
|
<X> 780 </X>
|
|
<Y> 500 </Y>
|
|
<State> buttonRemoveCup </State>
|
|
;<Color> "0x00BDFF" </Color>
|
|
<Interval> 500 </Interval>
|
|
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
|
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
|
<EventClick>
|
|
Machine RemoveCup
|
|
Machine DoorLidOpen
|
|
</EventClick>
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
</Popup>
|