wanshenmean
10 天以前 b1f5b17a608d3d9c06ce216c7e1effc5edcc7b74
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/RobotJob/Workflow/RobotSimpleCommandHandler.cs
@@ -79,6 +79,26 @@
                    state.OperStatus = "Homed";
                    return true;
                // 机器人正在运行
                case "running":
                    state.OperStatus = "Running";
                    return true;
                // 机器人正在暂停
                case "pausing":
                    state.OperStatus = "Pausing";
                    return true;
                // 机器人正在预热
                case "warming":
                    state.OperStatus = "Warming";
                    return true;
                // 机器人正在急停
                case "emstoping":
                    state.OperStatus = "Emstoping";
                    return true;
                // 机器人正在取货
                case "picking":
                    state.CurrentAction = "Picking";
@@ -158,28 +178,6 @@
                    }
                    return false;
                }
                // ==================== 运行状态命令(续) ====================
                // 机器人正在运行
                case "running":
                    state.OperStatus = "Running";
                    return true;
                // 机器人正在暂停
                case "pausing":
                    state.OperStatus = "Pausing";
                    return true;
                // 机器人正在预热
                case "warming":
                    state.OperStatus = "Warming";
                    return true;
                // 机器人正在急停
                case "emstoping":
                    state.OperStatus = "Emstoping";
                    return true;
                // ==================== 模式切换命令 ====================