ChannelArmForProccessStatus

This commit is contained in:
wanlop run 2025-05-06 14:15:27 +07:00
parent 4059a741ca
commit bb98b20001

View file

@ -60,7 +60,7 @@
Var FromSmoothieProcess = "Enable"
Var FromPaymentCash = "Invisible"
Var FromBrewingProcess = "Invisible"
Var TimeOutHandPoint = 0
Var ShowHandPoint = "Invisible"
Var MotionHandPoint = 0
@ -81,7 +81,7 @@
Var Second_x = 600
Var CountDown_x = 460
EndIf
Var TextDoorButtonID = 001202
Var SmoothieProcessState = "idle"
@ -134,7 +134,7 @@
EndIf
If Show_btn_process = "Disable" Then
Var VideoSmoothieProcess = "ROOT/taobin_project/video/TaoBin_Tao Pun_motion_proof3_pause.mp4"
Var VideoSmoothieProcess = "ROOT/taobin_project/animation01/Taobin_pause_art41.mp4"
Var Showhelper = "Enable"
Var Show_btn_help = "Invisible"
Else
@ -143,7 +143,7 @@
Else
Var Show_btn_help = "Invisible"
EndIf
Var VideoSmoothieProcess = "ROOT/taobin_project/video/TaoBin_Tao Pun_motion_proof3.mp4"
Var VideoSmoothieProcess = "ROOT/taobin_project/animation01/TaoBin2_draft02_art41.mp4"
Var Showhelper = "Invisible"
EndIf
@ -174,7 +174,7 @@
DEBUGVAR CH9992_Status
DEBUGVAR CH9993_Status
DEBUGVAR CH9994_Status
DEBUGVAR HaveCup
DEBUGVAR CupOnArm
DEBUGVAR DoorCupPosition
@ -184,9 +184,10 @@
DEBUGVAR SmoothieProcessState
DEBUGVAR AnyArmConfuse
DEBUGVAR SensorDoorCupStatus
If CH9992_Status = "READY" Then
Var ChannelArmForProccessStatus = CH9992_Status
If ChannelArmForProccessStatus = "READY" Then
If DoorCupPosition = "bottom" Then
If SmoothieProcessState = "idle" Then
@ -196,7 +197,7 @@
Var TextDoorButtonID = 001203
Else
EndIf
EndIf
Else
@ -207,14 +208,14 @@
EndIf
Else
If SmoothieProcessState = "idle" Then
Else
If SmoothieProcessState = "press" Then
Else
Var TextDoorButtonID = 001205
EndIf
EndIf
EndIf
EndIf
@ -225,27 +226,27 @@
Var CountDownCertainConfuse = CountDownCertainConfuse - 1
If CountDownCertainConfuse = 0 Then
Machine DoorClose
Machine DoorClose
EndIf
EndIf
EndIf
Else
If CH9992_Status = "RUNNING" Then
If ChannelArmForProccessStatus = "RUNNING" Then
Var SmoothieProcessState = "blendnow"
EndIf
EndIf
If SmoothieProcessState = "blendnow" Then
Var TextDoorButtonID = 001206
Var TextDoorButtonID = 001206
Var SelectDrink = Seeker.selected_a_drink
Var SelectSugarID = ""
Topping "Select" SelectDrink
Var SmoothieProcessState = "blending"
Var SmoothieProcessState = "blending"
EndIf
If SmoothieProcessState = "blending" Then
@ -258,7 +259,7 @@
Open "ROOT/taobin_project/inter/tha/xml/page_payment_pack_and_send.xml"
EndIf
DEBUGVAR TextDoorButtonID
@ -266,7 +267,7 @@
TimerReset
</EventTimeout>
;DEBUGVAR Var [CH9992_Status] = RUNNING
;DEBUGVAR Var [ChannelArmForProccessStatus] = RUNNING
<Image>
<X> 0 </X>
@ -308,7 +309,7 @@
;
;
;
; zone
; zone
;
;
;
@ -323,7 +324,7 @@
<Filename> VideoSmoothieProcess </Filename>
</Video>
; helper
; helper
;<Image>
;<X> 420 </X>
;<Y> 652 </Y>
@ -357,7 +358,7 @@
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
OpenInst 15 "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
</EventClick>
</Button>