using athosRT.Devices.EFEM.Task; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace athosRT.Devices.EFEM.ABS { public class NoInitCompletedPolicy : CheckImp, IPolicy { public bool Check(string device, out string reason) { reason = string.Empty; if (device == "SignalTower") return true; IServerModule entity = this.GetEntity(device); if (entity == null || entity.Initialized) return true; reason = "NOINITCMPL"; return false; } } }