From 0532bbdeb741526dbef13556800eb5aba1d9c612 Mon Sep 17 00:00:00 2001 From: HCL <1625932291@qq.com> Date: Thu, 25 Jan 2024 08:42:48 +0800 Subject: [PATCH] =?UTF-8?q?1.Robot=E7=9A=84=E7=8A=B6=E6=80=81=E6=8F=90?= =?UTF-8?q?=E7=A4=BAWarning=E6=94=B9=E4=B8=BAInfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HardwareUnits/Robots/RobotBase/RobotBase.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/MECF.Framework.RT.EquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs b/MECF.Framework.RT.EquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs index 3255e35..58639ca 100644 --- a/MECF.Framework.RT.EquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs +++ b/MECF.Framework.RT.EquipmentLibrary/HardwareUnits/Robots/RobotBase/RobotBase.cs @@ -1954,7 +1954,9 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Robots.RobotBase if (!fsm.FindTransition(fsm.State, msg)) { if (msg != 7) - EV.PostWarningLog(Name, $"{Name} is in { (RobotStateEnum)fsm.State} state,can not do {(RobotMsg)msg}"); + { + EV.PostInfoLog(Name, $"{Name} is in {(RobotStateEnum)fsm.State} state,can not do {(RobotMsg)msg}"); + } return false; } if ((RobotMsg)msg == RobotMsg.GoToPosition || (RobotMsg)msg == RobotMsg.ExtendForPick @@ -1992,7 +1994,9 @@ namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Robots.RobotBase if (!fsm.FindTransition(fsm.State, (int)msg)) { if ((int)msg != 7) - EV.PostWarningLog(Name, $"{Name} is in { (RobotStateEnum)fsm.State} state,can not do {(RobotMsg)msg}"); + { + EV.PostInfoLog(Name, $"{Name} is in {(RobotStateEnum)fsm.State} state,can not do {(RobotMsg)msg}"); + } return false; } if (msg == RobotMsg.GoToPosition || msg == RobotMsg.ExtendForPick