topup credit taobin , flow keep credit
BIN
image/collectiing/img_popup15.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/collectiing/text_26.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
image/collectiing/text_27.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/collectiing/text_28.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/collectiing/text_29.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/collectiing/text_show_amountInvalid.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
image/collectiing/text_show_amountInvalid2.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
image/collectiing_en/img_popup15.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/collectiing_en/text_26.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
image/collectiing_en/text_27.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
image/collectiing_en/text_28.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
image/collectiing_en/text_29.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
image/collectiing_en/text_show_amountInvalid.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
image/collectiing_en/text_show_amountInvalid2.png
Normal file
|
After Width: | Height: | Size: 8 KiB |
BIN
image/display_point/bd_confirm.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/display_point/bn_confirm.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/display_point/bn_topup.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
image/display_point/bp_confirm.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/display_point/bp_topup.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
image/display_point/text6.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
image/display_point/text7.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
image/display_point_en/bn_topup.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
image/display_point_en/bp_topup.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/display_point_en/bp_topuppng.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 5.8 KiB |
BIN
image/display_point_en/text6.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/display_point_en/text7.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/page_payment/Exit.png
Normal file
|
After Width: | Height: | Size: 943 B |
BIN
image/page_payment/PaymentSuccess.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_payment/bn_cancel2.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/page_payment/bn_cancel3.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
image/page_payment/bn_confirm2.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/page_payment/bn_drink.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
image/page_payment/bn_edit.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
image/page_payment/bn_main.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment/bp_cancel2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment/bp_cancel3.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
image/page_payment/bp_confirm2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment/bp_drink.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
image/page_payment/bp_edit.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
image/page_payment/bp_main.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment/text_3.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
image/page_payment/text_4.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 21 KiB |
BIN
image/page_payment_cash_extend/img_popup15.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 22 KiB |
BIN
image/page_payment_cash_extend_en/img_popup15.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_payment_en/PaymentSuccess.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_payment_en/bn_drink.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
image/page_payment_en/bn_main.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
image/page_payment_en/bp_drink.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
image/page_payment_en/bp_main.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
image/page_payment_en/page_payment/PaymentSuccess.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_payment_en/page_payment/bn_cancel2.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/page_payment_en/page_payment/bn_cancel3.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/page_payment_en/page_payment/bn_confirm2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment_en/page_payment/bn_drink.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
image/page_payment_en/page_payment/bn_edit.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
image/page_payment_en/page_payment/bn_main.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
image/page_payment_en/page_payment/bp_cancel2.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/page_payment_en/page_payment/bp_cancel3.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
image/page_payment_en/page_payment/bp_confirm2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
image/page_payment_en/page_payment/bp_drink.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
image/page_payment_en/page_payment/bp_edit.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
image/page_payment_en/page_payment/bp_main.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
image/page_payment_en/page_payment/text_3.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_payment_en/page_payment/text_4.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
image/page_payment_en/text_3.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_payment_en/text_4.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
|
|
@ -29,6 +29,17 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var number7 = ""
|
||||
|
|
@ -106,6 +117,16 @@
|
|||
|
||||
Var CouponPage = 1
|
||||
Var MakeDrinkState = 0
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
EndIf
|
||||
|
|
@ -611,7 +632,7 @@
|
|||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
@ -642,6 +663,23 @@
|
|||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,17 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/display_point"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var PointDiff = 150 - CoffeePointRank
|
||||
|
|
@ -260,16 +271,16 @@
|
|||
|
||||
|
||||
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
;Var CouponInfo1 = Ext1a
|
||||
;Var CouponInfo2 = Ext1b
|
||||
;Var CouponInfo3 = Ext1c
|
||||
;Var CouponInfo4 = Ext1d
|
||||
;Var CouponInfo5 = Ext1e
|
||||
;Var CouponInfo6 = Ext1f
|
||||
;Var CouponInfo7 = Ext1g
|
||||
;Var CouponInfo8 = Ext1h
|
||||
;Var CouponInfo9 = Ext1i
|
||||
;Var CouponInfo10 = Ext1j
|
||||
|
||||
Var CouponInfoA = ""
|
||||
Var CouponInfoB = ""
|
||||
|
|
@ -831,6 +842,23 @@
|
|||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </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>
|
||||
|
||||
|
||||
|
||||
|
|
@ -844,6 +872,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topup1.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -870,21 +900,17 @@
|
|||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 648 </Y>
|
||||
<X> 148 </X>
|
||||
<Y> 631 </Y>
|
||||
<Filename> Var( DirImage + "/text5.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 783 </Y>
|
||||
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 650 </X>
|
||||
<Y> 660 </Y>
|
||||
<X> 700 </X>
|
||||
<Y> 600 </Y>
|
||||
<Filename> Var( DirImage + TaobinLeveImg )</Filename>
|
||||
</Image>
|
||||
;
|
||||
|
|
@ -898,7 +924,7 @@
|
|||
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<X> 150 </X>
|
||||
<Y> 684 </Y>
|
||||
<Size> 35 </Size>
|
||||
<Width> 1000 </Width>
|
||||
|
|
@ -908,7 +934,7 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<X> 150 </X>
|
||||
<Y> 725 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
|
|
@ -918,8 +944,8 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 828 </Y>
|
||||
<X> 438 </X>
|
||||
<Y> 684 </Y>
|
||||
<Size> 50 </Size>
|
||||
<Width> 120 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
|
@ -928,8 +954,8 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 898 </Y>
|
||||
<X> 150 </X>
|
||||
<Y> 848 </Y>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
|
@ -938,8 +964,8 @@
|
|||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 935 </Y>
|
||||
<X> 150 </X>
|
||||
<Y> 885 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
|
@ -973,7 +999,7 @@
|
|||
<X> 243 </X>
|
||||
<Y> 1064 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width> 120 </Width>
|
||||
<Width> 240 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> CouponText </Value>
|
||||
|
|
|
|||
|
|
@ -526,7 +526,7 @@
|
|||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
|
|
|
|||
|
|
@ -101,7 +101,8 @@
|
|||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
Trim TNumberTaobinMemberXXX 3
|
||||
Var TNumberTaobinMemberXXX = TNumberTaobinMemberXXX + "-XXX-"
|
||||
;Var TNumberTaobinMemberXXX = TNumberTaobinMemberXXX + "-XXX-"
|
||||
Var TNumberTaobinMemberXXX = "XXX-XXX-"
|
||||
Var TNumberTaobinMemberXXX = TNumberTaobinMemberXXX + number7
|
||||
Var TNumberTaobinMemberXXX = TNumberTaobinMemberXXX + number8
|
||||
Var TNumberTaobinMemberXXX = TNumberTaobinMemberXXX + number9
|
||||
|
|
@ -209,7 +210,7 @@
|
|||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -608,6 +608,16 @@
|
|||
If CheckCoupons = 1 Then
|
||||
Var MakeDrinkState = 1
|
||||
Var CouponPage = 1
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
EndIf
|
||||
|
|
@ -666,16 +676,19 @@
|
|||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 722 </Y>
|
||||
<Filename> Var( DirImage + "/text5.png" )</Filename>
|
||||
<Filename> Var( DirImage + "/text7.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 857 </Y>
|
||||
<Y> 860 </Y>
|
||||
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 624 </X>
|
||||
<Y> 734 </Y>
|
||||
|
|
@ -997,7 +1010,7 @@
|
|||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 800 </Y>
|
||||
<Y> 790 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
|
|
|||
183
xml/page_member_topup1.xml
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
<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_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/display_point"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</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> 117 </X>
|
||||
<Y> 853 </Y>
|
||||
<Filename> Var( DirImage + "/text6.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 99 </X>
|
||||
<Y> 1688 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 695 </X>
|
||||
<Y> 1688 </Y>
|
||||
<Filename> Var( DirImage + "/bn_topup.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_topup.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topup2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
788
xml/page_member_topup2.xml
Normal file
|
|
@ -0,0 +1,788 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowText = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ReqFlag = 0
|
||||
|
||||
Var Xtext = 246
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
Var Ext1a = ""
|
||||
Var GetAccFlag = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
|
||||
If GetAccFlag = 1 Then
|
||||
If Ext1a = "ok" Then
|
||||
Var CoffeeCredit = Ext1b
|
||||
INT CoffeeCredit
|
||||
Open "ROOT/taobin_project/xml/page_member_topup3.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
If GetAccFlag = 1 Then
|
||||
Var ShowErrorText = "Enable"
|
||||
Var ShowText = "Invisible"
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var ShowText = "Enable"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 188 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Filename> Var( DirImage + "/bn_getSMSPage.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_getSMSPage.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var BmiYear = ""
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 13 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Open "ROOT/taobin_project/xml/page_member_topupGetSMS.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 616 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_confirm.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If GetAccFlag = 0 Then
|
||||
|
||||
Var DataTmp = TelephoneNumber + "/"
|
||||
Var DataTmp = DataTmp + PinNumber
|
||||
|
||||
GETACCEXT DataTmp 13
|
||||
|
||||
Var GetAccFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowText </State>
|
||||
<Filename> Var( DirImage + "/text_26.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 638 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_25.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
225
xml/page_member_topup3.xml
Normal file
|
|
@ -0,0 +1,225 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
Var SumCreditAmount = CoffeeCredit
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var PayState1 = "Enable"
|
||||
Var PayState3 = "Enable"
|
||||
Var alphaState2 = "Invisible"
|
||||
|
||||
|
||||
Var PayCreditChannel = "cash"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</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> 70 </X>
|
||||
<Y> 499 </Y>
|
||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1223 </Y>
|
||||
<Filename> Var( DirImage + "/text_4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1280 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 638 </Y>
|
||||
<State> PayState1</State>
|
||||
<Filename> Var( DirImage + "/bn_cash.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cash.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PayCreditChannel = "cash"
|
||||
Open "ROOT/taobin_project/xml/page_member_topupAmount.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 819 </Y>
|
||||
<State> PayState3</State>
|
||||
<Filename> Var( DirImage + "/bn_prompt_pay.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_prompt_pay.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var PayCreditChannel = "credit"
|
||||
Open "ROOT/taobin_project/xml/page_member_topupAmount.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1622 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
676
xml/page_member_topupAmount.xml
Normal file
|
|
@ -0,0 +1,676 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
VendingQR OFF
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var AmountNumber = ""
|
||||
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var GetCreditFlag = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
Var number7 = ""
|
||||
Var number8 = ""
|
||||
Var number9 = ""
|
||||
Var number10 = ""
|
||||
|
||||
Var Ext1a = ""
|
||||
|
||||
Var GetAccFlag = 0
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
|
||||
Var TextWaiting = ""
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topup3.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
</EventIDCard>
|
||||
|
||||
<EventCoin>
|
||||
</EventCoin>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If GetPayInfoFlag = 1 Then
|
||||
Var VendingQRCode = "OK"
|
||||
Var CashTextWarning = ""
|
||||
Var QRErrorState = "Invisible"
|
||||
Var QRCODE99 = SessionID
|
||||
Var QRCODE99 = QRCODE99 + Ext1a
|
||||
Var QRCODE99 = QRCODE99 + Ext21
|
||||
Var QRCODETMP = QRCODE99
|
||||
Var ReqPayInfoFlag = 0
|
||||
Open "ROOT/taobin_project/xml/page_member_topupQR.xml"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
If GetPayInfoFlag = 1 Then
|
||||
Var QRCODE99 = ""
|
||||
If show_eng = "true" Then
|
||||
Var TextWaiting = "Unable to use QR, please try again later."
|
||||
Else
|
||||
Var TextWaiting = "ระบบ QR ขัดข้อง โปรดใช้ใหม่ภายหลัง."
|
||||
EndIf
|
||||
|
||||
|
||||
Var AmountNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim AmountNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
StrLen AmountNumber TelNumLen
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
|
||||
|
||||
|
||||
If TelNumLen < 10 Then
|
||||
Var AmountNumber = AmountNumber + "0"
|
||||
Trim AmountNumber 10
|
||||
StrLen AmountNumber TelNumLen
|
||||
If TelNumLen >= 1 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim AmountNumber -1
|
||||
;Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen AmountNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 218 </X>
|
||||
<Y> 1607 </Y>
|
||||
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topup3.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 577 </X>
|
||||
<Y> 1607 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var Amount = AmountNumber
|
||||
INT Amount
|
||||
If Amount < 20 Then
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
Var AmountNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Var text_show_error = "/text_show_amountInvalid.png"
|
||||
|
||||
Refresh
|
||||
|
||||
Else
|
||||
|
||||
If Amount > 5000 Then
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
Var AmountNumber = ""
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
Var text_show_error = "/text_show_amountInvalid2.png"
|
||||
|
||||
Refresh
|
||||
|
||||
Else
|
||||
If PayCreditChannel = "cash" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topupCash.xml"
|
||||
|
||||
Else
|
||||
|
||||
|
||||
If GetPayInfoFlag = 0 Then
|
||||
|
||||
Var PriceDrink = AmountNumber
|
||||
Var DiscountDrink = 0
|
||||
Var SelectDrink = "00-00-00-0000"
|
||||
Var SelectSlot = "1"
|
||||
|
||||
Var QRCODE1 = "A000000677010112"
|
||||
Var QRCODE2 = "010755600066301"
|
||||
Var QRCODE3 = "VDGN"
|
||||
Var QRCODE4 = BoxID
|
||||
Var QRCODE5 = SelectSlot
|
||||
Var QRCODE6 = SelectDrink
|
||||
Var QRCODE7 = PriceDrink
|
||||
Var QRCODE8 = ""
|
||||
|
||||
|
||||
Var RemainAmount = 0
|
||||
|
||||
|
||||
|
||||
Var SessionID2 = "00" + ":"
|
||||
Var SessionID2 = SessionID2 + ""
|
||||
|
||||
Var CreditAmount1 = ""
|
||||
Var ServiceAmountFlow = ""
|
||||
Var TelephoneNumberQR = "0899999999"
|
||||
Var ServiceType = "coffee"
|
||||
Var ECommerceQR = ""
|
||||
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SessionID2
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + SelectDrink
|
||||
Var ECommerceQR = ECommerceQR + "/"
|
||||
Var ECommerceQR = ECommerceQR + "KBA:2/"
|
||||
Var ECommerceQR = ECommerceQR + "CRX"
|
||||
Var ECommerceQR = ECommerceQR + ":"
|
||||
Var ECommerceQR = ECommerceQR + TelephoneNumber
|
||||
Var ECommerceQR = ECommerceQR + ":0"
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
Var GetScore = ""
|
||||
Var OperatorName = ""
|
||||
Var SessionID = ""
|
||||
|
||||
|
||||
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||
Var Timeout = 0
|
||||
Var GetPayInfoFlag = 1
|
||||
Var ReqPayInfoFlag = 1
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var TextWaiting = "Please wait..."
|
||||
Else
|
||||
Var TextWaiting = "กรุณารอซักครู่..."
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 802 </Y>
|
||||
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_27.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 817 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> AmountNumber </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 145 </X>
|
||||
<Y> 820 </Y>
|
||||
<State> ShowErrorText </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + text_show_error ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 5 </X>
|
||||
<Y> 940 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Size> 30 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> TextWaiting </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
602
xml/page_member_topupCash.xml
Normal file
|
|
@ -0,0 +1,602 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
Var SumCreditAmount = CoffeeCredit
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var PayState1 = "Enable"
|
||||
Var PayState3 = "Enable"
|
||||
Var alphaState = "Invisible"
|
||||
Var alphaState2 = "Enable"
|
||||
|
||||
Var alphaState3 = "Invisible"
|
||||
|
||||
|
||||
INT AmountNumber
|
||||
|
||||
|
||||
Var PayAmount = AmountNumber
|
||||
Var RemainAmount = PayAmount
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
|
||||
Var CoinInFlag = 0
|
||||
Var CoinInOK = 0
|
||||
Var ChangeOK = 0
|
||||
Var PayOK = 0
|
||||
Var CancelFlag = 0
|
||||
Var ChangeFlag2 = 0
|
||||
Var StoreCreditFlag = 0
|
||||
|
||||
CoinVending XBILL
|
||||
|
||||
|
||||
Var ChangeTimeout = 0
|
||||
Var CancelCounter = 0
|
||||
|
||||
|
||||
Var ServiceAmount2 = PayAmount
|
||||
Var ServiceCharge = 0
|
||||
Var Donate = ""
|
||||
Var SuggestID = ""
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 180 Then
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
SAVELOG "ButtonCancleAlpha2 > Timeout Order."
|
||||
CoinVending OFF
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var RemainAmountStr = "คืนเงิน"
|
||||
If CoinAmount = 0 Then
|
||||
Var RemainAmountStr = "ยกเลิก"
|
||||
EndIf
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If ChangeOK = 1 Then
|
||||
|
||||
If CancelFlag = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_member_topupSuccess.xml"
|
||||
Else
|
||||
|
||||
Var TelephoneNumber = TelephoneNumber
|
||||
Var PayO2 = PinNumber
|
||||
|
||||
Var VendingDiscount = 0
|
||||
Var VendingCampaign = 0
|
||||
Var ServiceType = "credit"
|
||||
Var SessionID2 = "00-00-00-0000"
|
||||
Var ServiceCredit = "coffee"
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
If PayOK = 1 Then
|
||||
Var ChangeTimeout = ChangeTimeout + 1
|
||||
If ChangeTimeout > 30 Then
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CoinInOK = 1 Then
|
||||
Var CoinInCounter = CoinInCounter + 1
|
||||
If CoinInCounter = 1 Then
|
||||
Var PayOK = 1
|
||||
|
||||
Var SumCoinAmount = CoinAmount
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout > 0 Then
|
||||
If StoreCreditFlag = 0 Then
|
||||
Change Canout
|
||||
Var ChangeFlag2 = 1
|
||||
Else
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
Else
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CancelFlag = 1 Then
|
||||
|
||||
Var CancelCounter = CancelCounter + 1
|
||||
If CancelCounter = 2 Then
|
||||
;Change CoinAmount
|
||||
If CoinAmount > 0 Then
|
||||
Change CoinAmount
|
||||
Var ChangeFlag2 = 1
|
||||
Else
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var ChangeTimeout = ChangeTimeout + 1
|
||||
If ChangeTimeout > 30 Then
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
<EventChangeStatus>
|
||||
If ChangeStatus = "payout-end" Then
|
||||
If ChangeFlag2 = 1 Then
|
||||
Var ChangeOK = 1
|
||||
EndIf
|
||||
EndIf
|
||||
</EventChangeStatus>
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</EventMachine>
|
||||
|
||||
<EventCoin>
|
||||
TimerReset
|
||||
|
||||
Var CoinInFlag = 1
|
||||
|
||||
|
||||
If ViewBill > 0 Then
|
||||
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
|
||||
|
||||
If ViewBill > RemainAmount Then
|
||||
Var RemainAmountKeep = ViewBill - RemainAmount
|
||||
Var alphaState3 = "Enable"
|
||||
Var alphaState2 = "Disable"
|
||||
Else
|
||||
CoinVending BILLSTACKALL
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
||||
|
||||
|
||||
Else
|
||||
|
||||
|
||||
Var alphaState2 = "Enable"
|
||||
|
||||
|
||||
If CoinInOK = 0 Then
|
||||
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
|
||||
|
||||
Var SumCoinAmount = CoinAmount
|
||||
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
CoinVending OFF
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout = 0 Then
|
||||
Var RemainAmountStr = 0
|
||||
Else
|
||||
Var RemainAmountStr = "ทอน " + Canout
|
||||
EndIf
|
||||
|
||||
|
||||
Var CancleState = "Disable"
|
||||
Var CoinInOK = 1
|
||||
Var CoinInCounter = 0
|
||||
|
||||
|
||||
|
||||
Else
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
</EventCoin>
|
||||
<EventVDCancle>
|
||||
If CoinInFlag = 1 Then
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
SAVELOG "VDCancle > Cancle Order."
|
||||
CoinVending OFF
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var RemainAmountStr = "คืนเงิน"
|
||||
If CoinAmount = 0 Then
|
||||
Var RemainAmountStr = "ยกเลิก"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
EndIf
|
||||
</EventVDCancle>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 70 </X>
|
||||
<Y> 499 </Y>
|
||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1223 </Y>
|
||||
<Filename> Var( DirImage + "/text_4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1280 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 638 </Y>
|
||||
<State> PayState1</State>
|
||||
<Filename> Var( DirImage + "/bn_cash.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cash.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 819 </Y>
|
||||
<State> PayState3</State>
|
||||
<Filename> Var( DirImage + "/bn_prompt_pay.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_prompt_pay.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1622 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; QR popup
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 182 </X>
|
||||
<Y> 748 </Y>
|
||||
<Filename> Var( DirImage2 + "/img_popup11.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1023 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> RemainAmountStr </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1338 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> Var( DirImage + "/bn_edit.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_edit.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topupAmount.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1338 </Y>
|
||||
<State> alphaState2 </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
|
||||
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
SAVELOG "ButtonCancleAlpha2 > Cancle Order."
|
||||
CoinVending OFF
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var RemainAmountStr = "คืนเงิน"
|
||||
If CoinAmount = 0 Then
|
||||
Var RemainAmountStr = "ยกเลิก"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 829 </X>
|
||||
<Y> 777 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
SAVELOG "ButtonCancleAlpha2 > Cancle Order2."
|
||||
CoinVending OFF
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var RemainAmountStr = "คืนเงิน"
|
||||
If CoinAmount = 0 Then
|
||||
Var RemainAmountStr = "ยกเลิก"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 181 </X>
|
||||
<Y> 658 </Y>
|
||||
<State> alphaState3 </State>
|
||||
<Filename> Var( DirImage2 + "/img_popup15.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1010 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> alphaState3 </State>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> RemainAmountKeep </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 330 </X>
|
||||
<Y> 1303 </Y>
|
||||
<State> alphaState3 </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
CoinVending BILLSTACKALL
|
||||
Var StoreCreditFlag = 1
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 330 </X>
|
||||
<Y> 1419 </Y>
|
||||
<State> alphaState3 </State>
|
||||
<Filename> Var( DirImage + "/bn_cancel3.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel3.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If CoinInOK = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
SAVELOG "ButtonCancleAlpha2 > Cancle Order."
|
||||
CoinVending OFF
|
||||
Var CancelFlag = 1
|
||||
Var CancelCounter = 0
|
||||
Var RemainAmountStr = "คืนเงิน"
|
||||
If CoinAmount = 0 Then
|
||||
Var RemainAmountStr = "ยกเลิก"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
|
||||
Var alphaState3 = "Invisible"
|
||||
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
111
xml/page_member_topupGetSMS.xml
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1600 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_continue.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_continue.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_member_topup2.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 189 </X>
|
||||
<Y> 965 </Y>
|
||||
<Filename> Var( DirImage + "/smartphone.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 859 </X>
|
||||
<Y> 628 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
277
xml/page_member_topupQR.xml
Normal file
|
|
@ -0,0 +1,277 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
INT AmountNumber
|
||||
Var PayAmount = AmountNumber
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var PayState1 = "Enable"
|
||||
Var PayState3 = "Enable"
|
||||
Var alphaState2 = "Invisible"
|
||||
Var alphaState = "Enable"
|
||||
|
||||
Var VendingExtResult = ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 180 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topup3.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If VendingExtResult = "" Then
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_member_topupSuccess.xml"
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</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> 70 </X>
|
||||
<Y> 499 </Y>
|
||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1223 </Y>
|
||||
<Filename> Var( DirImage + "/text_4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1280 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 638 </Y>
|
||||
<State> PayState1</State>
|
||||
<Filename> Var( DirImage + "/bn_cash.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cash.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 287 </X>
|
||||
<Y> 819 </Y>
|
||||
<State> PayState3</State>
|
||||
<Filename> Var( DirImage + "/bn_prompt_pay.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_prompt_pay.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_prompt_pay.png") </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1622 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
; QR popup
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
<Y> 748 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1379 </Y>
|
||||
<State> alphaState </State>
|
||||
<Filename> Var( DirImage + "/bn_edit.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_edit.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_member_topupAmount.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
<QRCode>
|
||||
<X> 399 </X>
|
||||
<Y> 912 </Y>
|
||||
<Width> WQR </Width>
|
||||
<Height> HQR </Height>
|
||||
<State> alphaState </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 766 </X>
|
||||
<Y> 777 </Y>
|
||||
<Filename> Var( DirImage + "/Exit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/Exit.png" )</FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
206
xml/page_member_topupSuccess.xml
Normal file
|
|
@ -0,0 +1,206 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
Var SumCreditAmount = CoffeeCredit + PayAmount
|
||||
Var ServiceAmount2 = PayAmount
|
||||
Var ServiceCharge = 0
|
||||
Var Donate = ""
|
||||
Var SuggestID = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
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 show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If PayCreditChannel = "cash" Then
|
||||
Var SumCreditAmount = CoffeeCredit + CoinAmount
|
||||
|
||||
Var TelephoneNumber = TelephoneNumber
|
||||
Var PayO2 = PinNumber
|
||||
|
||||
|
||||
Var VendingDiscount = 0
|
||||
Var VendingCampaign = 0
|
||||
Var ServiceType = "credit"
|
||||
Var SessionID2 = "00-00-00-0000"
|
||||
Var ServiceCredit = "coffee"
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
|
||||
</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> 70 </X>
|
||||
<Y> 741 </Y>
|
||||
<Filename> Var( DirImage + "/PaymentSuccess.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 252 </X>
|
||||
<Y> 1053 </Y>
|
||||
<Filename> Var( DirImage + "/text_4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1123 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
<Button>
|
||||
<X> 99 </X>
|
||||
<Y> 1688 </Y>
|
||||
<Filename> Var( DirImage + "/bn_main.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_main.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> 695 </X>
|
||||
<Y> 1688 </Y>
|
||||
<Filename> Var( DirImage + "/bn_drink.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_drink.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 416 </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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
If ReqFlag = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_payment_changePinFailed.xml"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_changePin1.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
</EventTimeout>
|
||||
|
|
@ -85,7 +85,7 @@ Open "ROOT/taobin_project/xml/page_payment_changePin1.xml"
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
|
|
@ -611,7 +611,7 @@
|
|||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
|
||||
Var CoffeeCreditKeep = StoreCreditAmount + CoffeeCredit
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit2-2.xml"
|
||||
Else
|
||||
|
||||
Var StoreCreditFlag = 1
|
||||
|
|
@ -677,7 +677,7 @@
|
|||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
|
||||
<Button>
|
||||
<X> 253 </X>
|
||||
<X> 327 </X>
|
||||
<Y> 1208 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
||||
|
|
|
|||
831
xml/page_payment_storeCredit2-2.xml
Normal file
|
|
@ -0,0 +1,831 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TimeoutSMS = 0
|
||||
Var StateBGetSMS = "Enable"
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
Var Xtext = 246
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var Xtext = 246
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
Var FlagWaitUpdateCoinAmount = 0
|
||||
|
||||
Var FlagOKButton = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Open "ROOT/xml/page_board.xml"
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
|
||||
EndIf
|
||||
|
||||
If FlagWaitUpdateCoinAmount = 1 Then
|
||||
If Timeout > 2 Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
|
||||
|
||||
|
||||
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
|
||||
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 601 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "1"
|
||||
|
||||
Trim PinNumber 4
|
||||
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1004 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1148 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1292 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim PinNumber 4
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 333 </X>
|
||||
<Y> 1432 </Y>
|
||||
<State> StateBGetSMS </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/bn_getPin.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_getPin.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
Var ShowSentSmsText = "Enable"
|
||||
Var StateBGetSMS = "Disable"
|
||||
|
||||
|
||||
|
||||
Var BmiYear = ""
|
||||
Var PointCrm = ""
|
||||
Var GetScore = ""
|
||||
AddData 13 TNumberTaobinCredit BmiYear PointCrm GetScore
|
||||
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
Var PinNumber = ""
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
|
||||
Var ReqFlag = 1
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 477 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Var PinNumber = PinNumber + "0"
|
||||
Trim PinNumber 4
|
||||
StrLen PinNumber TelNumLen
|
||||
If TelNumLen >= 4 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
|
||||
If TelNumLen > 0 Then
|
||||
Var ShowTextNumber1 = "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 1 Then
|
||||
Var ShowTextNumber2= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 2 Then
|
||||
Var ShowTextNumber3= "Enable"
|
||||
EndIf
|
||||
|
||||
If TelNumLen > 3 Then
|
||||
Var ShowTextNumber4= "Enable"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 620 </X>
|
||||
<Y> 1432 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
Trim PinNumber -1
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
||||
StrLen PinNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
If TelNumLen < 1 Then
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 2 Then
|
||||
Var ShowTextNumber2= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 3 Then
|
||||
Var ShowTextNumber3= "Invisible"
|
||||
EndIf
|
||||
|
||||
If TelNumLen < 4 Then
|
||||
Var ShowTextNumber4= "Invisible"
|
||||
EndIf
|
||||
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 218 </X>
|
||||
<Y> 1607 </Y>
|
||||
<Filename> Var( DirImage + "/bn_back.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bn_back.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 577 </X>
|
||||
<Y> 1607 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bn_confirm.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If FlagOKButton = 0 Then
|
||||
|
||||
Var FlagOKButton = 1
|
||||
|
||||
If CoffeePinNumber = PinNumber Then
|
||||
Var StoreCreditFlag = 1
|
||||
Var CoffeePinNumber = PinNumber
|
||||
If pageStoreCredit0 = 1 Then
|
||||
Var CoffeeCreditKeep = StoreCreditAmount + 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
|
||||
|
||||
Else
|
||||
|
||||
If ViewBill < RemainAmount Then
|
||||
CoinVending BILLSTACKALL
|
||||
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
Var FlagWaitUpdateCoinAmount = 1
|
||||
Var Timeout = 0
|
||||
Else
|
||||
|
||||
CoinVending BILLSTACKALL
|
||||
|
||||
Var CoffeeCreditKeep = RemainAmountKeep + 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
Var FlagOKButton = 0
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 242 </X>
|
||||
<Y> 830 </Y>
|
||||
<Filename> Var( DirImage + "/img4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 289 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber1 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 446 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber2 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 603 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber3 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 758 </X>
|
||||
<Y> 870 </Y>
|
||||
<State> ShowTextNumber4 </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text_X.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 706 </Y>
|
||||
<Filename> Var( DirImage + "/text_29.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 525 </X>
|
||||
<Y> 760 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Size> 30 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TNumberTaobinCredit </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
<X> 444 </X>
|
||||
<Y> 945 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> Var( DirImage + "/text_show_notfound.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> Xtext </X>
|
||||
<Y> 945 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowSentSmsText </State>
|
||||
<Filename> Var( DirImage + "/text_show_sentSMS.png") </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;<Image>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
|
||||
;</Image>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> video_menu_0 </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||