1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Aitex.Core.RT.Routine;
- using Aitex.Sorter.Common;
- namespace Aitex.Sorter.RT.Module
- {
- public class MoveErrorArgument
- {
- public string ErrorModule;
- public string ErrorMessage;
- public MoveErrorArgument(string module, string message)
- {
- ErrorModule = module;
- ErrorMessage = message;
- }
- }
- public interface IMoveManager
- {
- event Action<MoveErrorArgument> OnMoveError;
- int TaskCount { get; }
- int WaferCompleted { get; }
- bool Pause();
- bool Resume();
- bool Stop();
- bool Start(List<MoveTask> tasks);
- /// <summary>
- /// 任务完成,或者任务失败返回true。任务进行中,返回false
- /// </summary>
- /// <param name="objs"></param>
- /// <returns></returns>
- bool Monitor(object[] objs);
- /// <summary>
- ///
- /// </summary>
- /// <returns></returns>
- Result Monitor();
- bool IsPaused { get; }
- }
- }
|