edit drinkfail4.xml

This commit is contained in:
miggaze 2021-08-13 19:26:27 +07:00
parent 3dd93fca2f
commit 7a657bcf75

View file

@ -22,6 +22,8 @@
Var GetFreeFlag = 0
Var ShowErrorText = "Invisible"
Var ShowWaitText = "Invisible"
Var ShowButtonText = "Enable"
@ -42,7 +44,6 @@
If GetFreeFlag = 1 Then
If Timeout > 240 Then
StrLen TelephoneNumberProblem TelNumLen
If TelNumLen >= 10 Then
@ -69,18 +70,18 @@
If MachineStage = "remove-cup" Then
Else
Else
If MachineStage = "show-menu" Then
StrLen TelephoneNumberProblem TelNumLen
If TelNumLen >= 10 Then
If PayWithQR = 1 Then
Var VendingTSIDProblem = VendingTSIDTmp
Var VendingTSIDProblem = VendingTSIDTmp
Else
Var VendingTSIDProblem = VendingTSID
EndIf
Var ProblemID = 7
Var ProblemID = 7
Var ChooseProblem = "taobin purchasing problems(Got Free)"
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
@ -122,8 +123,18 @@
If MachineStage = "remove-cup" Then
Var ShowErrorText = "Enable"
Var ShowWaitText = "Invisible"
Else
Var ShowErrorText = "Invisible"
If MachineStage = "show-menu" Then
Else
If GetFreeFlag = 1 Then
Var ShowWaitText = "Enable"
EndIf
EndIf
EndIf
@ -178,11 +189,19 @@
<Filename> Var( DirImage + "/text_20.png" )</Filename>
</Image>
<Image>
<X> 61 </X>
<Y> 1479 </Y>
<State> ShowWaitText </State>
<Filename> Var( DirImage + "/text_24.png" )</Filename>
</Image>
<Button>
<X> 294 </X>
<Y> 1536 </Y>
<State> ShowButtonText </State>
<Filename> Var( DirImage + "/bn_door_open2.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_door_open2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
@ -192,9 +211,11 @@
If GetFreeFlag = 0 Then
Var GetFreeFlag = 1
Var Timeout = 0
Var ShowButtonText = "Invisible"
EndIf
Machine RemoveCup
Refresh
</EventClick>
</Button>
@ -202,7 +223,7 @@
<Button>
<X> 294 </X>
<Y> 1677 </Y>
<State> Door_Open_State </State>
<State> ShowButtonText </State>
<Filename> Var( DirImage + "/bn_recieve_coupon.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_recieve_coupon.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>