1234567891011121314151617181920212223 |
- 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 NoOriginCompletedPolicy : CheckImp, IPolicy
- {
- public bool Check(string device, out string reason)
- {
- reason = string.Empty;
- IServerModule entity = this.GetEntity(device);
- if (entity == null || entity.OriginSearched)
- return true;
- reason = "NOORGCMPL";
- return false;
- }
- }
- }
|