ALL: Update popup out of change with offline state

This commit is contained in:
Kenta420 2024-02-29 15:35:24 +07:00
parent 7de0afaa84
commit 7b36883144
8 changed files with 217 additions and 20 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View file

@ -92,6 +92,7 @@
Var alphaState = "Invisible" Var alphaState = "Invisible"
Var alphaState2 = "Invisible" Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -1197,7 +1198,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT ;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then
@ -1227,8 +1229,11 @@
If SELLONLINE = 1 Then
Var alphaState3 = "Enable" Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3" PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -1867,6 +1872,36 @@ EndIf
</EventClick> </EventClick>
</Button> </Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text> ;<Text>
;<X> 0 </X> ;<X> 0 </X>
;<Y> 1041 </Y> ;<Y> 1041 </Y>

View file

@ -93,6 +93,7 @@
Var alphaState = "Invisible" Var alphaState = "Invisible"
Var alphaState2 = "Invisible" Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -1135,7 +1136,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT ;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then
@ -1166,8 +1168,11 @@
If SELLONLINE = 1 Then
Var alphaState3 = "Enable" Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3" PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -1385,7 +1390,11 @@
EndIf EndIf
Else Else
Var alphaState3 = "Enable" If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
Refresh Refresh
EndIf EndIf
@ -1967,6 +1976,36 @@
</EventClick> </EventClick>
</Button> </Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text> ;<Text>
;<X> 0 </X> ;<X> 0 </X>
;<Y> 1041 </Y> ;<Y> 1041 </Y>

View file

@ -96,6 +96,7 @@
Var alphaState = "Invisible" Var alphaState = "Invisible"
Var alphaState2 = "Invisible" Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -1130,7 +1131,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT ;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then

View file

@ -90,6 +90,7 @@
Var alphaState = "Invisible" Var alphaState = "Invisible"
Var alphaState2 = "Invisible" Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -1195,7 +1196,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT ;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then
@ -1225,8 +1227,11 @@
If SELLONLINE = 1 Then
Var alphaState3 = "Enable" Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3" PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -1532,7 +1537,11 @@ EndIf
EndIf EndIf
Else Else
Var alphaState3 = "Enable" If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
Refresh Refresh
EndIf EndIf
@ -1909,6 +1918,36 @@ EndIf
</EventClick> </EventClick>
</Button> </Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text> ;<Text>
;<X> 0 </X> ;<X> 0 </X>
;<Y> 1041 </Y> ;<Y> 1041 </Y>

View file

@ -90,6 +90,7 @@
Var alphaState = "Invisible" Var alphaState = "Invisible"
Var alphaState2 = "Invisible" Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -1179,7 +1180,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT ;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then
@ -1209,8 +1211,11 @@
If SELLONLINE = 1 Then
Var alphaState3 = "Enable" Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3" PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -1527,7 +1532,11 @@ EndIf
EndIf EndIf
Else Else
Var alphaState3 = "Enable" If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
Refresh Refresh
EndIf EndIf
@ -1904,6 +1913,36 @@ EndIf
</EventClick> </EventClick>
</Button> </Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text> ;<Text>
;<X> 0 </X> ;<X> 0 </X>
;<Y> 1041 </Y> ;<Y> 1041 </Y>

View file

@ -121,6 +121,7 @@
Var FlagalphaState2 = 0 Var FlagalphaState2 = 0
Var alphaState2t = alphaState2 Var alphaState2t = alphaState2
Var alphaState3 = "Invisible" Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0 Var CoinInFlag = 0
@ -2147,7 +2148,8 @@
If ViewBill > 0 Then If ViewBill > 0 Then
If PayOfflineMode = 1 Then If PayOfflineMode = 1 Then
CoinVending BILLREJECT Var alphaState3_offline = "Enable"
;CoinVending BILLREJECT
Else Else
If Seeker.StoreCreditFlag = 1 Then If Seeker.StoreCreditFlag = 1 Then
@ -2174,8 +2176,12 @@
If SELLONLINE = 1 Then
Var alphaState3 = "Enable" Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3" PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -2421,7 +2427,11 @@
EndIf EndIf
Else Else
Var alphaState3 = "Enable" If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
Refresh Refresh
EndIf EndIf
@ -3053,6 +3063,39 @@
</EventClick> </EventClick>
</Button> </Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text> ;<Text>
;<X> 0 </X> ;<X> 0 </X>
;<Y> 1041 </Y> ;<Y> 1041 </Y>