taobin_project/xml/page_catalog_choose_drink1.pml
2020-11-15 23:14:16 +07:00

82 lines
1.9 KiB
Promela

<?hurr
#include=menu_head.py
?>
<?hurr
product_code = []
product_code.append('11-99-01-0001')
product_code.append('11-99-01-0002')
product_code.append('11-99-01-0003')
product_code.append('11-99-02-0005')
product_code.append('11-99-02-0013')
product_code.append('11-99-02-0014')
product_code.append('11-99-02-0018')
product_code.append('11-99-02-0020')
product_code.append('11-99-02-0017')
product_code.append('11-99-02-0023')
product_code.append('11-99-02-0024')
product_code.append('11-99-02-0033')
product_code.append('11-99-02-0051')
product_code.append('11-99-02-0039')
product_code.append('11-99-02-0038')
product_code.append('11-99-02-0035')
menu_count = len( product_code)
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/selectDrink.wav" </Sound>
<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 = "Enable"
Var Menu6Selected = "Enable"
</EventOpen>
<Timeout> 60000 </Timeout>
<EventTimeout>
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
TimerReset
</EventTimeout>
<?hurr
#include=menu_catalog.xml
?>
<?hurr
#include=menu_gen.py
?>
</Popup>