Merge branch 'master' of forthrd.ddns.net:/1TBHDD/ikong/taobin_project
This commit is contained in:
commit
c4b5fc6bf8
5 changed files with 382 additions and 277 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
<Cache> "Enable" </Cache>
|
<Cache> "Enable" </Cache>
|
||||||
<Width> 1080 </Width>
|
<Width> 1080 </Width>
|
||||||
<Height> 1312 </Height>
|
<Height> 1312 </Height>
|
||||||
<Background> "0xEFEDEA" </Background>
|
<Background> "0xFF0000" </Background>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
TopView "hide"
|
TopView "hide"
|
||||||
|
|
@ -119,14 +119,20 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If NetworkStatus = "ACTIVATE" Then
|
If NetworkStatus = "ACTIVATE" Then
|
||||||
|
Var ShowNetworkProblem = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = ""
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
Var ShowNetworkProblem = "Enable"
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Var ShowPrice = "Enable"
|
Var ShowPrice = "Enable"
|
||||||
If RoadShow = "true" Then
|
If RoadShow = "true" Then
|
||||||
Var ShowPrice = "Invisible"
|
Var ShowPrice = "Invisible"
|
||||||
|
|
@ -525,7 +531,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 212 </X>
|
<X> 212 </X>
|
||||||
<Y> 1695 </Y>
|
<Y> 1695 </Y>
|
||||||
<State> ShowButtonClick </State>
|
<State> ShowButtonClick2 </State>
|
||||||
;<Color> "0x00BDFF" </Color>
|
;<Color> "0x00BDFF" </Color>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_member.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_member.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
@ -545,7 +551,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 556 </X>
|
<X> 556 </X>
|
||||||
<Y> 1695 </Y>
|
<Y> 1695 </Y>
|
||||||
<State> ShowButtonClick </State>
|
<State> ShowButtonClick2 </State>
|
||||||
;<Color> "0x00BDFF" </Color>
|
;<Color> "0x00BDFF" </Color>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
@ -595,4 +601,24 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1870 </Y>
|
||||||
|
<State> ShowNetworkProblem </State>
|
||||||
|
<Color> "0xFF0000" </Color>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 60 </Height>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ShowNetworkProblemText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,16 @@
|
||||||
Var ShowButtonClick2 = "Invisible"
|
Var ShowButtonClick2 = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If NetworkStatus = "ACTIVATE" Then
|
||||||
|
Var ShowNetworkProblem = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = ""
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ShowNetworkProblem = "Enable"
|
||||||
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -257,5 +267,25 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1870 </Y>
|
||||||
|
<State> ShowNetworkProblem </State>
|
||||||
|
<Color> "0xFF0000" </Color>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 60 </Height>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ShowNetworkProblemText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,17 @@
|
||||||
SAVELOG PreviseXMLFileName2
|
SAVELOG PreviseXMLFileName2
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
If NetworkStatus = "ACTIVATE" Then
|
||||||
|
Var ShowNetworkProblem = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = ""
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ShowNetworkProblem = "Enable"
|
||||||
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1752,6 +1763,25 @@
|
||||||
</FrameScroll>
|
</FrameScroll>
|
||||||
|
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1870 </Y>
|
||||||
|
<State> ShowNetworkProblem </State>
|
||||||
|
<Color> "0xFF0000" </Color>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Height> 60 </Height>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ShowNetworkProblemText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
Var TaobinErrorNetwork = 0
|
Var TaobinErrorNetwork = 0
|
||||||
|
|
||||||
If PayOfflineMode = 1 Then
|
If PayOfflineMode = 1 Then
|
||||||
|
Var TaobinErrorNetwork = 1
|
||||||
Var PointTaobinStr = "" + PayAmount
|
Var PointTaobinStr = "" + PayAmount
|
||||||
Var PointTaobinStr = PointTaobinStr + "/1/0"
|
Var PointTaobinStr = PointTaobinStr + "/1/0"
|
||||||
Var TNumberTaobinMember = TelephoneNumber
|
Var TNumberTaobinMember = TelephoneNumber
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,16 @@
|
||||||
Var PayOfflineMode = 0
|
Var PayOfflineMode = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If NetworkStatus = "ACTIVATE" Then
|
||||||
|
Var ShowNetworkProblem = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = ""
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var ShowNetworkProblem = "Enable"
|
||||||
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var pay_with_credit_image = DirImage + "/bp_pay_with_credit.png"
|
Var pay_with_credit_image = DirImage + "/bp_pay_with_credit.png"
|
||||||
Var pay_with_chanel_text = DirImage + "/text_1.png"
|
Var pay_with_chanel_text = DirImage + "/text_1.png"
|
||||||
|
|
||||||
|
|
@ -1212,16 +1222,25 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
;<Text>
|
<Button>
|
||||||
;<X> 0 </X>
|
<X> 0 </X>
|
||||||
;<Y> 1886 </Y>
|
<Y> 1870 </Y>
|
||||||
;<Size> 20 </Size>
|
<State> ShowNetworkProblem </State>
|
||||||
;<Width> 1080</Width>
|
<Color> "0xFF0000" </Color>
|
||||||
;<Align> end </Align>
|
<Width> 1080 </Width>
|
||||||
;<Font> RobotoBlack </Font>
|
<Height> 60 </Height>
|
||||||
;<Color> 0x513C2F </Color>
|
</Button>
|
||||||
;<Value> countClick2 </Value>
|
|
||||||
;</Text>
|
<Text>
|
||||||
|
<X> 5 </X>
|
||||||
|
<Y> 1880 </Y>
|
||||||
|
<Size> 24 </Size>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Width> 1080 </Width>
|
||||||
|
<Font> RobotoRegular </Font>
|
||||||
|
<Color> 0xFFFFFF </Color>
|
||||||
|
<Value> ShowNetworkProblemText </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue