fix bug
This commit is contained in:
parent
42ae52057f
commit
4749cfcdf4
3 changed files with 15 additions and 3 deletions
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var PrintCoinAmount = 0
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -256,6 +258,8 @@
|
||||||
If ErrTimeout = 0 Then
|
If ErrTimeout = 0 Then
|
||||||
Var ErrTimeout = 1
|
Var ErrTimeout = 1
|
||||||
|
|
||||||
|
Var PrintCoinAmount = 400
|
||||||
|
|
||||||
If PayWithQR = 0 Then
|
If PayWithQR = 0 Then
|
||||||
If CodeChannel = 0 Then
|
If CodeChannel = 0 Then
|
||||||
If ChangeFlag = 0 Then
|
If ChangeFlag = 0 Then
|
||||||
|
|
@ -265,6 +269,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
If CoinAmount > 0 Then
|
If CoinAmount > 0 Then
|
||||||
|
Var PrintCoinAmount = CoinAmount
|
||||||
If ChangeFlag = 0 Then
|
If ChangeFlag = 0 Then
|
||||||
Var ChangeFlag = 1
|
Var ChangeFlag = 1
|
||||||
Var ServiceAmount2 = ServiceAmount2 - IntVendingCampaign
|
Var ServiceAmount2 = ServiceAmount2 - IntVendingCampaign
|
||||||
|
|
@ -272,8 +277,11 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
Var PrintCoinAmount = 500
|
||||||
Var ChangeOK = 4
|
Var ChangeOK = 4
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
||||||
|
|
@ -334,7 +342,7 @@
|
||||||
If RoadShow = "true" Then
|
If RoadShow = "true" Then
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||||
Else
|
Else
|
||||||
Var MachineState_Result = 2
|
;Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -360,10 +368,12 @@
|
||||||
If RoadShow = "true" Then
|
If RoadShow = "true" Then
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_error.xml"
|
||||||
Else
|
Else
|
||||||
Var MachineState_Result = 2
|
;Var MachineState_Result = 2
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
|
||||||
</EventMachine>
|
</EventMachine>
|
||||||
|
|
||||||
; this copy in file menu_brew2.xml and menu_lid_straw.xml
|
; this copy in file menu_brew2.xml and menu_lid_straw.xml
|
||||||
|
|
@ -417,6 +427,8 @@
|
||||||
<Value> ShowCountDownBrewing </Value>
|
<Value> ShowCountDownBrewing </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1880 </Y>
|
<Y> 1880 </Y>
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,6 @@
|
||||||
Open "ROOT/taobin_project/xml/page_brewing2.xml"
|
Open "ROOT/taobin_project/xml/page_brewing2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
<EventMachine>
|
|
||||||
If MachineStage = "drink-success" Then
|
If MachineStage = "drink-success" Then
|
||||||
Var MachineState_Result = 1
|
Var MachineState_Result = 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
Var ChangeFlag = 0
|
Var ChangeFlag = 0
|
||||||
Var ErrTimeout = 0
|
Var ErrTimeout = 0
|
||||||
Var ActionOKCase = 0
|
Var ActionOKCase = 0
|
||||||
|
Var ChangeTimeout = 0
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue