DUBAI: hide oatmilk topping, fix cashless turn on cancel immediately after detect end then error
This commit is contained in:
parent
1786d5a5ec
commit
a810d6baa6
2 changed files with 58 additions and 16 deletions
|
|
@ -781,6 +781,8 @@
|
||||||
Var QRErrorState = "Invisible"
|
Var QRErrorState = "Invisible"
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
|
|
||||||
|
Var CountDownAllowCancel = 9999999
|
||||||
|
|
||||||
If ViewBill > 0 Then
|
If ViewBill > 0 Then
|
||||||
CoinVending BILLREJECT
|
CoinVending BILLREJECT
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -873,11 +875,14 @@
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
;Var QRErrorFlag = 1
|
;Var QRErrorFlag = 1
|
||||||
If alphaState = "Enable" Then
|
If alphaState = "Enable" Then
|
||||||
Var QRErrorState = "Enable"
|
Var QRErrorState = "Enable"
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
EndIf
|
|
||||||
|
Var CountDownAllowCancel = 0
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -962,6 +967,26 @@
|
||||||
Var VendingIsError = 0
|
Var VendingIsError = 0
|
||||||
Var VendingIsUnknown = 0
|
Var VendingIsUnknown = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
Else
|
||||||
|
; case-get-end-then-reset-then-still-error
|
||||||
|
If VendingIsError > 0 Then
|
||||||
|
If VendingCashless = "ERROR" Then
|
||||||
|
SAVELOG "VendingError::resetByEndStillError ---> Error"
|
||||||
|
Var CountDownAllowCancel = 0
|
||||||
|
Var VendingIsQueueCounter = 0
|
||||||
|
Var VendingIsError = 0
|
||||||
|
Var VendingIsUnknown = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If VendingCashless = "FAIL" Then
|
||||||
|
SAVELOG "VendingError::resetByEndStillError ---> Fail"
|
||||||
|
Var CountDownAllowCancel = 0
|
||||||
|
Var VendingIsQueueCounter = 0
|
||||||
|
Var VendingIsError = 0
|
||||||
|
Var VendingIsUnknown = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If VendingIsUnknown > 59 Then
|
If VendingIsUnknown > 59 Then
|
||||||
|
|
@ -1143,6 +1168,9 @@
|
||||||
|
|
||||||
|
|
||||||
If CoinInOK = 1 Then
|
If CoinInOK = 1 Then
|
||||||
|
|
||||||
|
Var PayState5 = "Disable"
|
||||||
|
|
||||||
Var CoinInCounter = CoinInCounter + 1
|
Var CoinInCounter = CoinInCounter + 1
|
||||||
If CoinInCounter = 1 Then
|
If CoinInCounter = 1 Then
|
||||||
|
|
||||||
|
|
@ -1153,6 +1181,11 @@
|
||||||
Var PayOK = 1
|
Var PayOK = 1
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Else
|
||||||
|
If Timeout < 120 Then
|
||||||
|
Var PayState5 = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var stringLog = "Timeout " + Timeout
|
Var stringLog = "Timeout " + Timeout
|
||||||
|
|
@ -1969,12 +2002,21 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
Var QRErrorState = "Invisible"
|
Var QRErrorState = "Invisible"
|
||||||
Var alphaState = "Invisible"
|
Var alphaState = "Invisible"
|
||||||
Var QRCODE99 = ""
|
Var CountDownAllowCancel = 9999999
|
||||||
;CoinVending ON
|
Var VendingIsIdleByPressingBtn = 0
|
||||||
;VendingQR OFF
|
|
||||||
|
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
;CoinVending ON
|
||||||
|
;VendingQR OFF
|
||||||
|
|
||||||
|
CashlessReq OFF ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
If CashlessPayFlag = 1 Then
|
||||||
Var CashlessPayFlag = 0
|
Var CashlessPayFlag = 0
|
||||||
|
|
|
||||||
|
|
@ -4142,12 +4142,12 @@
|
||||||
|
|
||||||
;-BEGIN milk choice
|
;-BEGIN milk choice
|
||||||
<Block>
|
<Block>
|
||||||
<State> OatMilkToppingEnable </State>
|
<State> "Invisible" </State>
|
||||||
<Width> 986 </Width>
|
<Width> 986 </Width>
|
||||||
<Height> 157 </Height>
|
<Height> 157 </Height>
|
||||||
<MarginTop> 20 </MarginTop>
|
<MarginTop> 20 </MarginTop>
|
||||||
<Image>
|
<Image>
|
||||||
<State> OatMilkToppingEnable </State>
|
<State> "Invisible" </State>
|
||||||
<Filename> "ROOT/taobin_project/inter/whatthecup/uae_dubai/image/topping2_en/bg_milk_choice.png" </Filename>
|
<Filename> "ROOT/taobin_project/inter/whatthecup/uae_dubai/image/topping2_en/bg_milk_choice.png" </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
@ -4164,7 +4164,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 40 </X>
|
<X> 40 </X>
|
||||||
<Y> 72 </Y>
|
<Y> 72 </Y>
|
||||||
<State> OatMilkEnable </State>
|
<State> "Invisible" </State>
|
||||||
<Mode> "No" </Mode>
|
<Mode> "No" </Mode>
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/bn_cereal.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/topping2/bn_cereal.png" </Filename>
|
||||||
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_cereal.png" </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/topping2/bp_cereal.png" </FilenamePress>
|
||||||
|
|
@ -4191,7 +4191,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 896 </X>
|
<X> 896 </X>
|
||||||
<Y> 78 </Y>
|
<Y> 78 </Y>
|
||||||
<State> OatMilkEnable </State>
|
<State> "Invisible" </State>
|
||||||
<Mode> "No" </Mode>
|
<Mode> "No" </Mode>
|
||||||
<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
|
<Filename> Var( DirImage + "/cb_notcheck.png" ) </Filename>
|
||||||
<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
|
<FilenamePress> Var( DirImage + "/cb_checked.png" ) </FilenamePress>
|
||||||
|
|
@ -4219,7 +4219,7 @@
|
||||||
<X> text_milk_choice_price_x </X>
|
<X> text_milk_choice_price_x </X>
|
||||||
<Y> 63 </Y>
|
<Y> 63 </Y>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
<State> "Enable" </State>
|
<State> "Invisible" </State>
|
||||||
<Size> 36 </Size>
|
<Size> 36 </Size>
|
||||||
<Color> HeadlineColor </Color>
|
<Color> HeadlineColor </Color>
|
||||||
<Value> text_price_oat_milk </Value>
|
<Value> text_price_oat_milk </Value>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue