1.Robot的状态提示Warning改为Info
This commit is contained in:
parent
f8e84c7e8c
commit
0532bbdeb7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue