1234567891011121314151617181920212223242526272829303132333435363738 |
- using Aitex.Core.RT.SCCore;
- using athosRT.Devices.EFEM.ABS;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace athosRT.Devices.EFEM.Task
- {
- public class GetThicknessTask : CheckImp, ITask
- {
- public bool Execute(out string result, params string[] args)
- {
- string device = this.Args2Unit(args.Length != 0 ? args[0] : string.Empty);
- if (device == null)
- {
- result = "PARAM_NG";
- return false;
- }
- if (!this.Check<NoReadyPolicy>(device, out result) || !this.Check<NoInitCompletedPolicy>(device, out result))
- return false;
- if (this.CheckIsPort(device))
- return true;
- result = "PARAM_NG";
- return false;
- }
- public bool? Monitor(out string result, params string[] args)
- {
- result = string.Empty;
- string str = this.Args2Unit(args.Length != 0 ? args[0] : string.Empty);
- result = SC.GetStringValue("CarrierInfo." + str + "ThicknessType");
- return new bool?(true);
- }
- }
- }
|