From bb98b20001fd0849423bb13e8306daf2c2a49f76 Mon Sep 17 00:00:00 2001 From: wanlop run Date: Tue, 6 May 2025 14:15:27 +0700 Subject: [PATCH] ChannelArmForProccessStatus --- .../xml/page_smoothie_suggest_and_process.xml | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/inter/tha/xml/page_smoothie_suggest_and_process.xml b/inter/tha/xml/page_smoothie_suggest_and_process.xml index 2e07cddc..1aed7bf4 100644 --- a/inter/tha/xml/page_smoothie_suggest_and_process.xml +++ b/inter/tha/xml/page_smoothie_suggest_and_process.xml @@ -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 -;DEBUGVAR Var [CH9992_Status] = RUNNING +;DEBUGVAR Var [ChannelArmForProccessStatus] = RUNNING 0 @@ -308,7 +309,7 @@ ; ; ; -; zone +; zone ; ; ; @@ -323,7 +324,7 @@ VideoSmoothieProcess -; helper +; helper ; ; 420 ; 652 @@ -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"