add new collect point
BIN
image/display_get_discount/alpha.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
image/display_get_discount/bn_accept.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/display_get_discount/bp_accept.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
image/display_get_discount/img_popup1.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
image/display_get_discount/img_popup2.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
image/display_get_discount/img_popup3.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
image/display_get_discount/img_popup4.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
image/display_get_discount/img_popup_15discount_error.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
image/display_get_discount/img_popup_drink5baht_error.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
image/display_get_discount_en/alpha.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
image/display_get_discount_en/bn_accept.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/display_get_discount_en/bp_accept.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/display_get_discount_en/img_popup1.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
image/display_get_discount_en/img_popup2.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
image/display_get_discount_en/img_popup3.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
image/display_get_discount_en/img_popup4.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
image/display_get_discount_en/img_popup_15discount_error.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
image/display_get_discount_en/img_popup_drink5baht_error.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
image/display_point/bn_get15discount.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
image/display_point/bn_keep.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/display_point/bp_get15discount.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
image/display_point/bp_keep.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/display_point/disable2_get15discount.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
image/display_point/taobinPoint28.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
image/display_point/text8_28.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
image/display_point_en/bn_get15discount.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
image/display_point_en/bn_keep.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
image/display_point_en/bp_get15discount.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
image/display_point_en/bp_keep.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
image/display_point_en/disable2_get15discount.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
image/display_point_en/taobinPoint28.png
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
image/display_point_en/text8_28.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
|
@ -53,6 +53,8 @@ Var From15THBPro = 0
|
|||
Var MyMintEnable = 0
|
||||
Var FromMyMintPro = 0
|
||||
|
||||
Var NewCollectPoint = 0;
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
|
||||
|
||||
|
|
@ -123,6 +125,7 @@ If ConfigNumer = 1581 Then
|
|||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var NewCollectPoint = 1
|
||||
Var MyMintEnable = 1
|
||||
Var pro15THBEnable = 0
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -207,7 +207,12 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If NewCollectPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_3_28.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_3.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
Else
|
||||
|
||||
|
|
|
|||
1187
xml/page_collect_point_3_28.xml
Normal file
158
xml/page_display_get_15_discrount.xml
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var Timeout = 0
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_discount_en"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_discount"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Discount15Timeout
|
||||
|
||||
Var PopUpState1 = "Enable"
|
||||
Var PopUpState2 = "Invisible"
|
||||
Var PopUpErrorState = "Invisible"
|
||||
|
||||
If Discount15Timeout = 1 Then
|
||||
Var PopUpState2 = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var PopUpErrorState = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Invisible
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
; goto lid straw
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> Var( DirImage + "/alpha.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpState1 </State>
|
||||
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpState2 </State>
|
||||
<Filename> Var( DirImage + "/img_popup2.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpErrorState </State>
|
||||
<Filename> Var( DirImage + "/img_popup_15discount_error.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 220 </X>
|
||||
<Y> 1680 </Y>
|
||||
<State>PopUpState2</State>
|
||||
<Filename> Var( DirImage + "/bn_get15discount.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_get15discount.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_get15discount.png" )</FilenameDisable>
|
||||
<FilenameDisable2> Var( DirImage + "/disable2_get15discount.png" )</FilenameDisable2>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 560 </X>
|
||||
<Y> 1680 </Y>
|
||||
<State>PopUpState2</State>
|
||||
<Filename> Var( DirImage + "/bn_keep.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_keep.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Discount15Timeout = 0
|
||||
Open "ROOT/taobin_project/xml/page_display_get_15_discount.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1680 </Y>
|
||||
<State>PopUpState1</State>
|
||||
<Filename> Var( DirImage + "/bn_accept.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_accept.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
144
xml/page_display_get_drink_5_baht.xml
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
Var Timeout = 0
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_discount_en"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/display_get_discount"
|
||||
EndIf
|
||||
|
||||
Var PopUpState1 = "Enable"
|
||||
Var PopUpState2 = "Invisible"
|
||||
Var PopUpErrorState = "Invisible"
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var PopUpErrorState = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Invisible
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
; goto lid straw
|
||||
If PopUpState1 = "Enable" Then
|
||||
Var Timeout = 0
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Enable"
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var PopUpErrorState = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Invisible
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
;
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> Var( DirImage + "/alpha.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpState1 </State>
|
||||
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpState2 </State>
|
||||
<Filename> Var( DirImage + "/img_popup4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<State> PopUpErrorState </State>
|
||||
<Filename> Var( DirImage + "/img_popup_drink5baht_error.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1680 </Y>
|
||||
<Filename> Var( DirImage + "/bn_accept.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_accept.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
If PopUpState1 = "Enable" Then
|
||||
Var Timeout = 0
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Enable"
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var PopUpErrorState = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Invisible
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||