edit drinkfail4.xml
This commit is contained in:
parent
3dd93fca2f
commit
7a657bcf75
1 changed files with 26 additions and 5 deletions
|
|
@ -22,6 +22,8 @@
|
||||||
Var GetFreeFlag = 0
|
Var GetFreeFlag = 0
|
||||||
|
|
||||||
Var ShowErrorText = "Invisible"
|
Var ShowErrorText = "Invisible"
|
||||||
|
Var ShowWaitText = "Invisible"
|
||||||
|
Var ShowButtonText = "Enable"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -42,7 +44,6 @@
|
||||||
If GetFreeFlag = 1 Then
|
If GetFreeFlag = 1 Then
|
||||||
|
|
||||||
If Timeout > 240 Then
|
If Timeout > 240 Then
|
||||||
|
|
||||||
StrLen TelephoneNumberProblem TelNumLen
|
StrLen TelephoneNumberProblem TelNumLen
|
||||||
If TelNumLen >= 10 Then
|
If TelNumLen >= 10 Then
|
||||||
|
|
||||||
|
|
@ -69,18 +70,18 @@
|
||||||
|
|
||||||
If MachineStage = "remove-cup" Then
|
If MachineStage = "remove-cup" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
If MachineStage = "show-menu" Then
|
If MachineStage = "show-menu" Then
|
||||||
StrLen TelephoneNumberProblem TelNumLen
|
StrLen TelephoneNumberProblem TelNumLen
|
||||||
If TelNumLen >= 10 Then
|
If TelNumLen >= 10 Then
|
||||||
|
|
||||||
If PayWithQR = 1 Then
|
If PayWithQR = 1 Then
|
||||||
Var VendingTSIDProblem = VendingTSIDTmp
|
Var VendingTSIDProblem = VendingTSIDTmp
|
||||||
Else
|
Else
|
||||||
Var VendingTSIDProblem = VendingTSID
|
Var VendingTSIDProblem = VendingTSID
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var ProblemID = 7
|
Var ProblemID = 7
|
||||||
|
|
||||||
Var ChooseProblem = "taobin purchasing problems(Got Free)"
|
Var ChooseProblem = "taobin purchasing problems(Got Free)"
|
||||||
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
|
PROBLEM2 TelephoneNumberProblem ProblemID ChooseProblem VendingTSIDProblem
|
||||||
|
|
@ -122,8 +123,18 @@
|
||||||
|
|
||||||
If MachineStage = "remove-cup" Then
|
If MachineStage = "remove-cup" Then
|
||||||
Var ShowErrorText = "Enable"
|
Var ShowErrorText = "Enable"
|
||||||
|
Var ShowWaitText = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var ShowErrorText = "Invisible"
|
Var ShowErrorText = "Invisible"
|
||||||
|
|
||||||
|
If MachineStage = "show-menu" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
If GetFreeFlag = 1 Then
|
||||||
|
Var ShowWaitText = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -178,11 +189,19 @@
|
||||||
<Filename> Var( DirImage + "/text_20.png" )</Filename>
|
<Filename> Var( DirImage + "/text_20.png" )</Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 61 </X>
|
||||||
|
<Y> 1479 </Y>
|
||||||
|
<State> ShowWaitText </State>
|
||||||
|
<Filename> Var( DirImage + "/text_24.png" )</Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 294 </X>
|
<X> 294 </X>
|
||||||
<Y> 1536 </Y>
|
<Y> 1536 </Y>
|
||||||
|
<State> ShowButtonText </State>
|
||||||
<Filename> Var( DirImage + "/bn_door_open2.png" ) </Filename>
|
<Filename> Var( DirImage + "/bn_door_open2.png" ) </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_door_open2.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_door_open2.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
@ -192,9 +211,11 @@
|
||||||
If GetFreeFlag = 0 Then
|
If GetFreeFlag = 0 Then
|
||||||
Var GetFreeFlag = 1
|
Var GetFreeFlag = 1
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
Var ShowButtonText = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Machine RemoveCup
|
Machine RemoveCup
|
||||||
|
Refresh
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -202,7 +223,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 294 </X>
|
<X> 294 </X>
|
||||||
<Y> 1677 </Y>
|
<Y> 1677 </Y>
|
||||||
<State> Door_Open_State </State>
|
<State> ShowButtonText </State>
|
||||||
<Filename> Var( DirImage + "/bn_recieve_coupon.png" ) </Filename>
|
<Filename> Var( DirImage + "/bn_recieve_coupon.png" ) </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_recieve_coupon.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_recieve_coupon.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue