From 6a9445f5a0bd1f5559cf036bf02e9cbae651b76e Mon Sep 17 00:00:00 2001 From: "DESKTOP-GPE37UV\\THINKAPD" Date: Thu, 24 Nov 2022 15:29:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3TrayRobot=E5=8F=96Tray?= =?UTF-8?q?=E6=97=B6=E5=8A=A8=E7=94=BB=E4=B8=ADTray=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HardwareUnits/Robots/RobotBase/RobotBase.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs b/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs index ce82b21..d9ff766 100644 --- a/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs +++ b/FrameworkLocal/RTEquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs @@ -12,6 +12,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; +using System.Threading; using System.Threading.Tasks; using MECF.Framework.Common.CommonData; using MECF.Framework.Common.Event; @@ -1555,6 +1556,7 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Robots.RobotBase protected virtual bool fPlaceComplete(object[] param) { IsBusy = false; + Thread.Sleep(2000); return true; } @@ -1562,13 +1564,10 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Robots.RobotBase protected virtual bool fPickComplete(object[] param) { IsBusy = false; + Thread.Sleep(2000); return true; } - - - - - + protected virtual bool fInitFail(object[] param) {