...
This commit is contained in:
parent
271d219278
commit
df040290dd
83 changed files with 3883 additions and 0 deletions
31
xml/page_back_to_addpoint.xml
Normal file
31
xml/page_back_to_addpoint.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<Popup>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
|
||||
|
||||
TopView "hide"
|
||||
|
||||
If TNumberTaobinMember = "" Then
|
||||
|
||||
Else
|
||||
Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
|
||||
Var PointCrm = "pdpa1"
|
||||
Var GetScore = ""
|
||||
AddData 4 TNumberTaobinMember BmiYear PointCrm GetScore
|
||||
Var TNumberTaobinMember = ""
|
||||
EndIf
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Var menu_status = "stop"
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
</Popup>
|
||||
438
xml/page_check_member.xml
Normal file
438
xml/page_check_member.xml
Normal file
|
|
@ -0,0 +1,438 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xEFEDEA" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TelephoneNumber = ""
|
||||
|
||||
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
|
||||
|
||||
Var FlagWaitUpdateCoinAmount = 0
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_check_memeber2.xml"
|
||||
|
||||
Else
|
||||
|
||||
Var ShowErrorText = "Enable"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
Var ShowErrorText = "Enable"
|
||||
Refresh
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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 TelephoneNumber = TelephoneNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "0"
|
||||
Trim TelephoneNumber 10
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
EndIf
|
||||
|
||||
;Var ShowErrorText = "Invisible"
|
||||
TimerReset
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 44 </X>
|
||||
<Y> 1783 </Y>
|
||||
<Filename> Var( DirImage + "/bn_back.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_back.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> 750 </X>
|
||||
<Y> 1783 </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>
|
||||
|
||||
GETACCEXT TelephoneNumber 14
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 784 </Y>
|
||||
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 349 </X>
|
||||
<Y> 825 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text15.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 248 </X>
|
||||
<Y> 800 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/Group.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 797 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 62 </Size>
|
||||
<Font> RobotoBlack </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Value> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 260 </X>
|
||||
<Y> 521 </Y>
|
||||
<Filename> Var( DirImage + "/text_19.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 430 </X>
|
||||
<Y> 942 </Y>
|
||||
<State> ShowErrorText </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
</EventMachine>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
296
xml/page_check_member2.xml
Normal file
296
xml/page_check_member2.xml
Normal file
|
|
@ -0,0 +1,296 @@
|
|||
<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
|
||||
|
||||
|
||||
Var PointDiff = 400 - CoffeePointRank
|
||||
|
||||
Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าเดิน จนถึง "
|
||||
Var TaobinLevelDesc2 = "สะสมแสตมป์อีก "
|
||||
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + PointDiff
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " ดวง ก่อน "
|
||||
|
||||
|
||||
Var TaobinLevelDesc3 = "ตอนนี้คุณมีคูปองแลกเครื่องดื่มฟรีเหลืออยู่ "
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + " ใบ"
|
||||
|
||||
|
||||
Var TaobinExpireDay = ""
|
||||
Var TaobinExpireMonth = ""
|
||||
Var TaobinExpireYear = ""
|
||||
|
||||
|
||||
|
||||
SPLIT TaobinExpire "/" 1 TaobinExpireDay
|
||||
SPLIT TaobinExpire "/" 2 TaobinExpireMonth
|
||||
SPLIT TaobinExpire "/" 3 TaobinExpireYear
|
||||
|
||||
If TaobinExpireMonth = "01" Then
|
||||
Var TaobinExpireMonth = "ม.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "02" Then
|
||||
Var TaobinExpireMonth = "ก.พ."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "03" Then
|
||||
Var TaobinExpireMonth = "มี.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "04" Then
|
||||
Var TaobinExpireMonth = "เม.ย."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "05" Then
|
||||
Var TaobinExpireMonth = "พ.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "06" Then
|
||||
Var TaobinExpireMonth = "มิ.ย."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "07" Then
|
||||
Var TaobinExpireMonth = "ก.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "08" Then
|
||||
Var TaobinExpireMonth = "ส.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "09" Then
|
||||
Var TaobinExpireMonth = "ก.ย."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "10" Then
|
||||
Var TaobinExpireMonth = "ต.ค."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "11" Then
|
||||
Var TaobinExpireMonth = "พ.ย."
|
||||
EndIf
|
||||
|
||||
If TaobinExpireMonth = "12" Then
|
||||
Var TaobinExpireMonth = "ธ.ค."
|
||||
EndIf
|
||||
|
||||
INT TaobinExpireYear
|
||||
INT TaobinExpireDay
|
||||
|
||||
Var TaobinExpireYear = TaobinExpireYear + 543
|
||||
|
||||
|
||||
Var ExpireStrTmp = ""
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
|
||||
Var ExpireStrTmp = ExpireStrTmp + " "
|
||||
Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
|
||||
|
||||
Var TaobinLevelDesc1 = TaobinLevelDesc1 + ExpireStrTmp
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + ExpireStrTmp
|
||||
Var TaobinLevelDesc2 = TaobinLevelDesc2 + " เพื่อเลื่อนขั้นเป็นเต่าบิน"
|
||||
|
||||
|
||||
</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>
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
;<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> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 722 </Y>
|
||||
<Filename> Var( DirImage + "/text5.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 857 </Y>
|
||||
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 624 </X>
|
||||
<Y> 734 </Y>
|
||||
<Filename> Var( DirImage + "/taoLevel1.png" )</Filename>
|
||||
</Image>
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 745 </Y>
|
||||
<Size> 35 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> TaobinName </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 800 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TNumberTaobinMemberXXX </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 890 </Y>
|
||||
<Size> 50 </Size>
|
||||
<Width> 120 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeePointRank </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 990 </Y>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinLevelDesc1 </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 1020 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TaobinLevelDesc2 </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1597 </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>
|
||||
; goto lid straw
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
202
xml/page_check_member3.xml
Normal file
202
xml/page_check_member3.xml
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
Var TNumberTaobinMember = TelephoneNumber
|
||||
|
||||
Var CoffeePointStr = CoffeePoint
|
||||
|
||||
SAVELOG TelephoneNumber
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 20 Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
;<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> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 722 </Y>
|
||||
<Filename> Var( DirImage + "/text5.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 857 </Y>
|
||||
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 624 </X>
|
||||
<Y> 734 </Y>
|
||||
<Filename> Var( DirImage + "/taoLevel1.png" )</Filename>
|
||||
</Image>
|
||||
;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 398 </X>
|
||||
<Y> 1597 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancle2.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancle2.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
;<Text>
|
||||
;<X> 420 </X>
|
||||
;<Y> 638 </Y>
|
||||
;<Size> 56 </Size>
|
||||
;<Font> KanitBoldTTF </Font>
|
||||
;<Color> 0x513C2F </Color>
|
||||
;<Value> TelephoneNumber </Value>
|
||||
;<Format> Telnum </Format>
|
||||
;</Text>
|
||||
;
|
||||
;
|
||||
;<Text>
|
||||
;<X> 323 </X>
|
||||
;<Y> 865 </Y>
|
||||
;<Width> 434 </Width>
|
||||
;<Align> Center </Align>
|
||||
;<Size> 64 </Size>
|
||||
;<Font> KanitSemiBoldTTF </Font>
|
||||
;<Color> 0xDE794E </Color>
|
||||
;<Value> CoffeePoint </Value>
|
||||
;</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 1241 </Y>
|
||||
<Width> 434 </Width>
|
||||
<Size> 64 </Size>
|
||||
<Font> KanitSemiBoldTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> pointStr </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 243 </X>
|
||||
<Y> 902 </Y>
|
||||
<Size> 50 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeePointRank </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
449
xml/page_payment_credit.xml
Normal file
449
xml/page_payment_credit.xml
Normal file
|
|
@ -0,0 +1,449 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
VendingQR OFF
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TelephoneNumber = ""
|
||||
|
||||
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
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var PayState1 = "PressForever"
|
||||
Var PayState2 = "Enable"
|
||||
Var QRChannel = 0
|
||||
Var CodeChannel = 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
;Open "ROOT/taobin_project/xml/page_payment_credit2.xml"
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
Open "ROOT/taobin_project/xml/page_payment_credit2.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
Var ShowErrorText = "Enable"
|
||||
Refresh
|
||||
</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 TelephoneNumber = TelephoneNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "0"
|
||||
Trim TelephoneNumber 10
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber -1
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
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>
|
||||
Var PayState1 = "PressForever"
|
||||
Var PayState2 = "Enable"
|
||||
Var QRChannel = 0
|
||||
Var CodeChannel = 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.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>
|
||||
|
||||
|
||||
GETACCEXT TelephoneNumber 13
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 802 </Y>
|
||||
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 244 </X>
|
||||
<Y> 817 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text14.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 248 </X>
|
||||
<Y> 836 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/Group.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> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 626 </Y>
|
||||
<Filename> Var( DirImage + "/text_13.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 444 </X>
|
||||
<Y> 945 </Y>
|
||||
<State> ShowErrorText </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.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> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
738
xml/page_payment_credit2.xml
Normal file
738
xml/page_payment_credit2.xml
Normal file
|
|
@ -0,0 +1,738 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
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 = ""
|
||||
|
||||
|
||||
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>
|
||||
;Open "ROOT/xml/page_board.xml"
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var PayState1 = "PressForever"
|
||||
Var PayState2 = "Enable"
|
||||
Var QRChannel = 0
|
||||
Var CodeChannel = 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
|
||||
|
||||
|
||||
|
||||
</EventIDCard>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_credit3.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
Var PinNumber = ""
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
Var ShowErrorText = "Enable"
|
||||
Refresh
|
||||
|
||||
|
||||
</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"
|
||||
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> 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>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/bn_getPin.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_getPin.png" </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var Timeout = 0
|
||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
|
||||
Var ShowSentSmsText = "Enable"
|
||||
|
||||
|
||||
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 = "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"
|
||||
|
||||
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_credit.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 ShowSentSmsText = "Invisible"
|
||||
|
||||
Var DataTmp = TelephoneNumber + "/"
|
||||
Var DataTmp = DataTmp + PinNumber
|
||||
|
||||
GETACCEXT DataTmp 13
|
||||
|
||||
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> 626 </Y>
|
||||
<Filename> Var( DirImage + "/text_16.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 444 </X>
|
||||
<Y> 945 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 246 </X>
|
||||
<Y> 945 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowSentSmsText </State>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/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> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
167
xml/page_payment_credit3.xml
Normal file
167
xml/page_payment_credit3.xml
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
||||
Var CoffeeCredit = Ext1b
|
||||
INT CoffeeCredit
|
||||
|
||||
Var SumCreditAmount = CoffeeCredit
|
||||
|
||||
If SumCreditAmount >= PayAmount Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
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>
|
||||
;Open "ROOT/xml/page_board.xml"
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
Var PayState1 = "PressForever"
|
||||
Var PayState2 = "Enable"
|
||||
Var QRChannel = 0
|
||||
Var CodeChannel = 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
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> 182 </X>
|
||||
<Y> 748 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup11.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1041 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> SumCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 261 </X>
|
||||
<Y> 1345 </Y>
|
||||
<Filename> Var( DirImage + "/bn_cancel2.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png") </FilenamePress>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var PayState1 = "PressForever"
|
||||
Var PayState2 = "Enable"
|
||||
Var QRChannel = 0
|
||||
Var CodeChannel = 0
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 624 </X>
|
||||
<Y> 1345 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> Tel_Confirm_State </State>
|
||||
<Filename> Var( DirImage + "/bn_useCredit.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_useCredit.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_useCredit.png" )</FilenameDisable>
|
||||
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
|
||||
CoinVending OFF
|
||||
|
||||
|
||||
Var TNumberTaobinCredit = TelephoneNumber
|
||||
Var CoffeePinNumber = PinNumber
|
||||
|
||||
Var StoreCreditFlag = 1
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;<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> "ROOT/taobin_project/video/taobin_adv2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
513
xml/page_payment_storeCredit.xml
Normal file
513
xml/page_payment_storeCredit.xml
Normal file
|
|
@ -0,0 +1,513 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TelephoneNumber = ""
|
||||
|
||||
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
|
||||
|
||||
Var FlagWaitUpdateCoinAmount = 0
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
If pageStoreCredit0 = 1 Then
|
||||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
Else
|
||||
CoinVending BILLREJECT
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
||||
EndIf
|
||||
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>
|
||||
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
Var CoffeeCredit = Ext1b
|
||||
INT CoffeeCredit
|
||||
Var CoffeePinNumber = Ext1c
|
||||
|
||||
Var TNumberTaobinCredit = TelephoneNumber
|
||||
|
||||
If pageStoreCredit0 = 1 Then
|
||||
|
||||
Var StoreCreditFlag = 1
|
||||
|
||||
|
||||
|
||||
Var CoffeeCreditKeep = StoreCreditAmount + CoffeeCredit
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
|
||||
Else
|
||||
|
||||
Var StoreCreditFlag = 1
|
||||
|
||||
|
||||
If ViewBill < RemainAmount Then
|
||||
|
||||
CoinVending BILLSTACKALL
|
||||
|
||||
Var FlagWaitUpdateCoinAmount = 1
|
||||
Var Timeout = 0
|
||||
Else
|
||||
|
||||
CoinVending BILLSTACKALL
|
||||
|
||||
Var CoffeeCreditKeep = RemainAmountKeep + CoffeeCredit
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If Ext1a = "new customer" Then
|
||||
Var CoffeeCreditKeep = 0
|
||||
Var TNumberTaobinCredit = TelephoneNumber
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit2.xml"
|
||||
Else
|
||||
Var ShowErrorText = "Enable"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
Var ShowErrorText = "Enable"
|
||||
Refresh
|
||||
</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 TelephoneNumber = TelephoneNumber + "1"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "2"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "3"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "4"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "5"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "6"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "7"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "8"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "9"
|
||||
Var ShowTextNumber = "Invisible"
|
||||
Trim TelephoneNumber 10
|
||||
TimerReset
|
||||
Refresh
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber = TelephoneNumber + "0"
|
||||
Trim TelephoneNumber 10
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
If TelNumLen >= 10 Then
|
||||
Var Tel_Confirm_State = "Enable"
|
||||
EndIf
|
||||
Var ShowTextNumber = "Invisible"
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
Var ShowErrorText = "Invisible"
|
||||
</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 TelephoneNumber -1
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
||||
StrLen TelephoneNumber TelNumLen
|
||||
|
||||
If TelNumLen = 0 Then
|
||||
Var ShowTextNumber = "Enable"
|
||||
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>
|
||||
|
||||
|
||||
If pageStoreCredit0 = 1 Then
|
||||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
Else
|
||||
CoinVending BILLREJECT
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
EndIf
|
||||
|
||||
</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>
|
||||
|
||||
GETACCEXT TelephoneNumber 13
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 217 </X>
|
||||
<Y> 802 </Y>
|
||||
<Filename> Var( DirImage + "/img3.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 244 </X>
|
||||
<Y> 817 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/text14.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 248 </X>
|
||||
<Y> 836 </Y>
|
||||
<State> ShowTextNumber </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + "/Group.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> TelephoneNumber </Value>
|
||||
<Format> Telnum </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 626 </Y>
|
||||
<Filename> Var( DirImage + "/text_17.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 330 </X>
|
||||
<Y> 942 </Y>
|
||||
<State> ShowErrorText </State>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </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>
|
||||
170
xml/page_payment_storeCredit0.xml
Normal file
170
xml/page_payment_storeCredit0.xml
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var TelephoneNumber = ""
|
||||
|
||||
Var ShowTextNumber = "Enable"
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var GetCreditFlag = 0
|
||||
Var clickedChangeFlag = 0
|
||||
|
||||
Var pageStoreCredit0 = 1
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
|
||||
|
||||
EndIf
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 30 Then
|
||||
|
||||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventIDCard>
|
||||
</EventIDCard>
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
<EventActionError>
|
||||
</EventActionError>
|
||||
|
||||
|
||||
|
||||
<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_popup14.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1041 </Y>
|
||||
<Size> 100 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> StoreCreditAmount </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 327 </X>
|
||||
<Y> 1208 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 327 </X>
|
||||
<Y> 1335 </Y>
|
||||
<Filename> Var( DirImage2 + "/bn_cancel3.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage2 + "/bp_cancel3.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If clickedChangeFlag = 0 Then
|
||||
|
||||
Var clickedChangeFlag = 1
|
||||
|
||||
Change StoreCreditAmount
|
||||
Var ChangeFlag2 = 1
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 380 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_adv2.mp4" </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>
|
||||
725
xml/page_payment_storeCredit2.xml
Normal file
725
xml/page_payment_storeCredit2.xml
Normal file
|
|
@ -0,0 +1,725 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
Var ShowTextNumber1 = "Invisible"
|
||||
Var ShowTextNumber2 = "Invisible"
|
||||
Var ShowTextNumber3 = "Invisible"
|
||||
Var ShowTextNumber4 = "Invisible"
|
||||
|
||||
Var ShowErrorText = "Invisible"
|
||||
Var Tel_Confirm_State = "Invisible"
|
||||
|
||||
Var PinNumber = ""
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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> 626 </Y>
|
||||
<Filename> Var( DirImage + "/text_16.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 330 </X>
|
||||
<Y> 942 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<State> ShowErrorText </State>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/text_show_notfound.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> "ROOT/taobin_project/video/taobin_adv2.mp4" </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>
|
||||
154
xml/page_payment_storeCredit3.xml
Normal file
154
xml/page_payment_storeCredit3.xml
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
<Popup>
|
||||
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Sound> "ROOT/sounds/Code8digit.m4a" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Refresh> "Partial" </Refresh>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/collectiing"
|
||||
EndIf
|
||||
|
||||
If pageStoreCredit0 = 1 Then
|
||||
|
||||
|
||||
Else
|
||||
VendingQR OFF
|
||||
CoinVending OFF
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Open "ROOT/xml/page_board.xml"
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
|
||||
If pageStoreCredit0 = 1 Then
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||
Else
|
||||
|
||||
|
||||
;Var TNumberTaobinCredit = TelephoneNumber
|
||||
;Var CoffeePinNumber = PinNumber
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.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> 182 </X>
|
||||
<Y> 748 </Y>
|
||||
<Filename> "ROOT/taobin_project/image/collectiing/img_popup11.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1041 </Y>
|
||||
<Size> 144 </Size>
|
||||
<Align> Center </Align>
|
||||
<Width> 1080 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeeCreditKeep </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
;<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> "ROOT/taobin_project/video/taobin_adv2.mp4" </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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue