Release 6.50
This commit is contained in:
parent
cb1725654d
commit
9cc9fe2fc5
6 changed files with 6283 additions and 2 deletions
443
xml/page_catalog_cocktail.xml_bkn
Normal file
443
xml/page_catalog_cocktail.xml_bkn
Normal file
|
|
@ -0,0 +1,443 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
TopView "show"
|
||||
; On open
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
Var web_readyOK = "false"
|
||||
Var web_telnumOK = ""
|
||||
|
||||
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
|
||||
|
||||
|
||||
;Machine DoorLidClose
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var countDownRetrun = 30
|
||||
|
||||
CoinVending OFF
|
||||
|
||||
; Clear value
|
||||
Topping "clear" "-"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/What_would_you_like_to_drink_today.mp3"
|
||||
Play PlaySoundLag
|
||||
|
||||
Var DirImageCart = "ROOT/taobin_project/image/cart_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page2"
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/taobin_sawade.mp3"
|
||||
Play PlaySoundLag
|
||||
|
||||
Var DirImageCart = "ROOT/taobin_project/image/cart_th"
|
||||
EndIf
|
||||
|
||||
|
||||
Var StrawAutoRelease1 = "false"
|
||||
Var StrawAutoRelease2 = "false"
|
||||
|
||||
|
||||
If NetworkStatus = "ACTIVATE" Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Else
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If NetworkStatus = "ACTIVATE" Then
|
||||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
|
||||
GenHashWithTimeStamp QRCODE99
|
||||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
; 1035 is Coke.
|
||||
STRCONTAIN "1035" MaterialAvailable CokeUI
|
||||
|
||||
Var bnSodaAndOther = DirImage + "/bn_soda_coke.png"
|
||||
Var bpSodaAndOther = DirImage + "/bp_soda_coke.png"
|
||||
|
||||
|
||||
Var countClick = 0
|
||||
|
||||
|
||||
DEBUGVAR CART_COUNT
|
||||
|
||||
|
||||
Var QRCODE99_Y = 1718
|
||||
|
||||
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"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
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"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If CART_COUNT = 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;SAVELOG SoundPlaying
|
||||
|
||||
If countDownRetrun > 0 Then
|
||||
Var countDownRetrun = countDownRetrun - 1
|
||||
EndIf
|
||||
|
||||
If countDownRetrun = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventChangeStatus>
|
||||
;If ChangeStatus = "payout-end" Then
|
||||
; Var ChangeOK = 1
|
||||
;EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99 Then
|
||||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
; back
|
||||
<Button>
|
||||
<X> 19 </X>
|
||||
<Y> 420 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page2/bn_back_arrow.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 438 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
Open CurrentXMLFileName2
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 70 </X>
|
||||
<Y> 583 </Y>
|
||||
<Filename> Var(DirImage + "/text1.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
; menu row 1
|
||||
<Button>
|
||||
<X> 205 </X>
|
||||
<Y> 849 </Y>
|
||||
<Filename> Var(DirImage + "/bn_diy.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_diy.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink1.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 579 </X>
|
||||
<Y> 849 </Y>
|
||||
<Filename> Var(DirImage + "/bn_coffee.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_coffee.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; menu row 2
|
||||
<Button>
|
||||
<X> 205 </X>
|
||||
<Y> 1191 </Y>
|
||||
<Filename> Var(DirImage + "/bn_tea.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_tea.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 579 </X>
|
||||
<Y> 1191 </Y>
|
||||
<Filename> Var(DirImage + "/bn_cho_caramel.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_cho_caramel.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink4.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
; menu row 3
|
||||
;<Button>
|
||||
;<X> 205 </X>
|
||||
;<Y> 1533 </Y>
|
||||
;<Filename> Var(DirImage + "/bn_fruit.png") </Filename>
|
||||
;<FilenamePress> Var(DirImage + "/bp_fruit.png") </FilenamePress>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
;<EventClick>
|
||||
; Open "ROOT/taobin_project/xml/page_catalog_choose_drink5.xml"
|
||||
;</EventClick>
|
||||
;</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 205 </X>
|
||||
<Y> 1533 </Y>
|
||||
<Filename> Var(DirImage + "/bn_cocktail.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_cocktail.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink8.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 579 </X>
|
||||
<Y> 1533 </Y>
|
||||
<Filename> bnSodaAndOther </Filename>
|
||||
<FilenamePress> bpSodaAndOther </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink6.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 225 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ShowButtonClick2 </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
Open "ROOT/taobin_project/xml/page_check_member.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 696 </X>
|
||||
<Y> 424 </Y>
|
||||
<State> ShowButtonClick2 </State>
|
||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1870 </Y>
|
||||
<State> ShowNetworkProblem </State>
|
||||
<Color> "0xFF0000" </Color>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 60 </Height>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 1880 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> ShowNetworkProblemText </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 1860 </Y>
|
||||
<Width> 200 </Width>
|
||||
<Height> 50 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var countClick = countClick + 1
|
||||
If countClick = 3 Then
|
||||
|
||||
;Var TestLoopMakeDrink = 1
|
||||
|
||||
EndIf
|
||||
DEBUGVAR countClick
|
||||
|
||||
If countClick = 5 Then
|
||||
If ToppingNewEnable = "false" Then
|
||||
Var ToppingNewEnable = "true"
|
||||
Else
|
||||
Var ToppingNewEnable = "false"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_catalog_choose_drink3.xml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
;<QRCode>
|
||||
;<X> 895 </X>
|
||||
;<Y> QRCODE99_Y</Y>
|
||||
;<Width> 178 </Width>
|
||||
;<Height> 178 </Height>
|
||||
;<State> "Enable" </State>
|
||||
;<Service> testservice </Service>
|
||||
;</QRCode>
|
||||
|
||||
|
||||
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<Filename> cart_image_bp </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Interval> 400</Interval>
|
||||
<EventClick>
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<EventWebApp>
|
||||
|
||||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99x Then
|
||||
|
||||
Var web_readyOK = web_ready
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
Var web_app_prepar = "true"
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
EndIf
|
||||
|
||||
</EventWebApp>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
1844
xml/page_catalog_group_appfast.xml
Normal file
1844
xml/page_catalog_group_appfast.xml
Normal file
File diff suppressed because it is too large
Load diff
65
xml/page_catalog_group_cocktail.skt
Normal file
65
xml/page_catalog_group_cocktail.skt
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
touch_less_gen = False
|
||||
?>
|
||||
|
||||
<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
|
||||
?>
|
||||
|
||||
; protein
|
||||
If SpiralOnline = "true" Then
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected2 = "PressForever"
|
||||
Var Menu7Selected2 = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected2 = "Invisible"
|
||||
Var Menu7Selected2 = "PressForever"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If AppFastEnable = "true" Then
|
||||
Var Menu11Selected = "PressForever"
|
||||
Var Menu7Selected = "Invisible"
|
||||
Else
|
||||
Var Menu11Selected = "Invisible"
|
||||
Var Menu7Selected = "PressForever"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
SAVELOG PreviseXMLFileName2
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog_new_menu.xml
|
||||
?>
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_catalog.xml
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
</Popup>
|
||||
3471
xml/page_catalog_group_cocktail.xml
Normal file
3471
xml/page_catalog_group_cocktail.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue