private MissionResult RunRecipe(CRecipe rec) { this._RobotManager.SetRec_Unloader(rec); Thread.Sleep(500); this._RobotManager.NextStep_Unloader(); Thread.Sleep(4000); //to 1/// while (this._RobotManager.IsUnloaderMoving()) { Thread.Sleep(500); } Thread.Sleep(2000); this._Status = UnloaderStatus.HOLDING; return(MissionResult.NORMAL); }
public MissionUnloader(RobotManager robotManager) { // TODO: Complete member initialization this._RobotManager = robotManager; this._Status = UnloaderStatus.HOLDING; }