This commit is contained in:
wanlop run 2025-05-08 13:58:24 +07:00
parent 8e8b0edf57
commit db6a3697e6
11 changed files with 528 additions and 4497 deletions

View file

@ -396,6 +396,7 @@
If DoorCupPosition = "top" Then
Else
Var CountDownCertainConfuse = 5
Var ArmIDForMakeOrderStr = "" + ArmIDForMakeOrder
DEBUGVAR ArmIDForMakeOrderStr
__CMD "UseArm" ArmIDForMakeOrderStr "-" "-"
@ -455,11 +456,13 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
If DoorCupPosition = "top" Then
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_2.xml"
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_2.xml"
EndIf
</EventClick>
</Button>

View file

@ -15,7 +15,7 @@
CRLFToSpace showdesc
Var MachineEvent = 0
Var MatchineSpiralStage = "-"
Var MachineSpiralStage = "-"
Var NextButtonState = "Invisible"
@ -147,6 +147,8 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR Timeout
DEBUGVAR LinkProductCodeAnotherMachine[0]
DEBUGVAR MachineSpiralStage
Var Timeout = Timeout + 1
@ -183,10 +185,10 @@
EndIf
If MachineEvent = 1 Then
If MatchineSpiralStage = "-" Then
If MachineSpiralStage = "-" Then
Else
If MatchineSpiralStage = "spiral-valid" Then
If MachineSpiralStage = "spiral-valid" Then
Function 2
Else
; Verify error
@ -343,7 +345,7 @@
DEBUGVAR LinkProductCodeAnotherMachine[1]
DEBUGVAR LinkProductCodeAnotherMachine[2]
Var MatchineSpiralStage = "-"
Var MachineSpiralStage = "-"
GenHashWithTimeStamp SpiralRef
SPIRAL_VERIFY LinkProductCodeAnotherMachine[0] SpiralRef