1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System.Diagnostics;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Aitex.Core.RT.Fsm;
- using Aitex.Core.Util;
- using Aitex.Core.RT.SCCore;
- using Aitex.Sorter.Common;
- using MECF.Framework.Common.Equipment;
- using MECF.Framework.Common.Schedulers;
- using MECF.Framework.Common.SubstrateTrackings;
- using Venus_RT.Scheduler;
- namespace Venus_RT.Modules.Schedulers
- {
- public class SchedulerLoadLock : SchedulerModule
- {
- public override bool IsAvailable
- {
- get { return _entity.IsIdle && (_entity.IsOnline || !Singleton<RouteManager>.Instance.IsAutoMode) && CheckTaskDone(); }
- }
- public override bool IsOnline
- {
- get { return _entity.IsOnline; }
- }
- public override bool IsError
- {
- get { return _entity.IsError; }
- }
- public override bool IsVac
- {
- get { return _entity.IsVac; }
- }
- public override bool IsAtm
- {
- get { return _entity.IsATM; }
- }
- private LLEntity _entity = null;
- public SchedulerLoadLock(ModuleName module) : base(module.ToString())
- {
- _entity = Singleton<RouteManager>.Instance.GetLL(module);
- }
- private bool CheckTaskDone()
- {
- return true;
- }
- }
- }
|