12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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 && CheckTaskDone(); }
- }
- public override bool IsOnline
- {
- get { return _entity.IsOnline; }
- }
- public override bool IsError
- {
- get { return _entity.IsError; }
- }
- private LLEntity _entity = null;
- public SchedulerLoadLock(ModuleName module) : base(module.ToString())
- {
- _entity = Singleton<RouteManager>.Instance.GetLL(module);
- }
- private bool CheckTaskDone()
- {
- return true;
- }
- }
- }
|