Fixed spirail verify fail

This commit is contained in:
Kenta420 2025-05-06 16:13:40 +07:00
parent 9168432c3f
commit 9ec1b77d7e

View file

@ -14,6 +14,9 @@
CRLFToSpace showname
CRLFToSpace showdesc
Var MachineEvent = 0
Var MatchineSpiralStage = "-"
;- Begin
Var PriceDrinkNoTop = PriceDrink
Var PriceDrinkTmp = PriceDrink
@ -173,13 +176,15 @@
EndIf
EndIf
If MatchineSpiralStage = "spiral-valid" Then
Function 2
Else
; Verify error
DEBUGVAR MachineSpiralErrorCode
Open "ROOT/taobin_project/xml/page_spiral_invalid_failed.xml"
EndIf
If MachineEvent = 1 Then
If MatchineSpiralStage = "spiral-valid" Then
Function 2
Else
; Verify error
DEBUGVAR MachineSpiralErrorCode
Open "ROOT/taobin_project/xml/page_spiral_invalid_failed.xml"
EndIf
EndIf
Refresh
TimerReset
@ -326,7 +331,7 @@
DEBUGVAR LinkProductCodeAnotherMachine[1]
DEBUGVAR LinkProductCodeAnotherMachine[2]
Var MatchinePrialStage = "-"
Var MatchineSpiralStage = "-"
GenHashWithTimeStamp SpiralRef
SPIRAL_VERIFY LinkProductCodeAnotherMachine[0] SpiralRef