Fix img
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -7,45 +7,8 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
TopView "show"
|
TopView "show"
|
||||||
; On open
|
; On open
|
||||||
|
Var Timeout = 0
|
||||||
If CocktailShow = "true" Then
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If TermTemOnline = "true" Then
|
|
||||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_tt_catalog.xml"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
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
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
|
||||||
Var StrawAutoRelease1 = "false"
|
|
||||||
Var StrawAutoRelease2 = "false"
|
|
||||||
|
|
||||||
Machine DoorClose
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
@ -60,6 +23,12 @@
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
DEBUGVAR Timeout
|
||||||
|
If Timeout = 5 Then
|
||||||
|
ShutterInSide
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
@ -111,11 +80,11 @@
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Camera>
|
<Camera>
|
||||||
<X> 10 </X>
|
<X> 40 </X>
|
||||||
<Y> 480 </Y>
|
<Y> 520 </Y>
|
||||||
<Rotation>90</Rotation>
|
<Rotation>90</Rotation>
|
||||||
<Width> 600 </Width>
|
<Width> 1280 </Width>
|
||||||
<Height> 1024 </Height>
|
<Height> 720 </Height>
|
||||||
</Camera>
|
</Camera>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -444,6 +444,12 @@
|
||||||
<Color> "0xFF0000" </Color>
|
<Color> "0xFF0000" </Color>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 60 </Height>
|
<Height> 60 </Height>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_camera.xml"
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,16 @@
|
||||||
Var AdultFlag = 1
|
Var AdultFlag = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SelectDrink = "12-02-01-0017" Then
|
||||||
|
Var AdultFlag = 1
|
||||||
|
EndIf
|
||||||
|
If SelectDrink = "12-05-02-0027" Then
|
||||||
|
Var AdultFlag = 1
|
||||||
|
EndIf
|
||||||
|
If SelectDrink = "12-05-03-0027" Then
|
||||||
|
Var AdultFlag = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var QRCODE1 = "A000000677010112"
|
Var QRCODE1 = "A000000677010112"
|
||||||
Var QRCODE2 = "010755600066301"
|
Var QRCODE2 = "010755600066301"
|
||||||
Var QRCODE3 = "VDGN"
|
Var QRCODE3 = "VDGN"
|
||||||
|
|
|
||||||
|
|
@ -557,7 +557,15 @@
|
||||||
Var StrawState = MAT_ID_9701
|
Var StrawState = MAT_ID_9701
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
DEBUGVAR StrawState
|
||||||
|
|
||||||
|
If StrawState = "Press" Then
|
||||||
|
Var Seeker.thankStrawFlag = 1
|
||||||
|
Else
|
||||||
|
Var Seeker.thankStrawFlag = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If LidState = "Enable" Then
|
If LidState = "Enable" Then
|
||||||
If MAT_ID_9601 = "Enable" Then
|
If MAT_ID_9601 = "Enable" Then
|
||||||
Var LidState = MAT_ID_9601
|
Var LidState = MAT_ID_9601
|
||||||
|
|
|
||||||