taobin_project/xml/page_catalog_choose_drink.pml
2021-11-15 21:59:48 +07:00

111 lines
2.6 KiB
Promela

<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('best_seller_1')
product_code.append('12-01-01-0003')
product_code.append('12-01-01-0004')
product_code.append('12-01-02-0003')
product_code.append('12-03-02-0002')
product_code.append('12-03-02-0004')
product_code.append('12-02-02-0002')
product_code.append('12-02-02-0004')
product_code.append('12-02-02-0001')
product_code.append('12-02-02-0007')
product_code.append('12-02-02-0008')
product_code.append('12-05-02-0007')
product_code.append('12-05-02-0021')
product_code.append('12-05-02-0013')
product_code.append('12-05-02-0012')
product_code.append('12-05-02-0009')
menu_count = len( product_code)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
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/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Else
Var showengText = "Invisible"
Var showthaiText = "Enable"
Var DirImage = "ROOT/taobin_project/image/page3"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
Var Menu1Selected = "PressForever"
Var Menu2Selected = "Enable"
Var Menu3Selected = "Enable"
Var Menu4Selected = "Enable"
Var Menu5Selected = "Invisible"
Var Menu6Selected = "Enable"
Var Menu7Selected = "Enable"
Var Menu8Selected = "Invisible"
If CocktailShow = "true" Then
Var Menu7Selected = "Invisible"
Var Menu8Selected = "Enable"
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
?>
</Popup>