12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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 ThicknessTask : CheckImp, ITask
- {
- public bool Execute(out string result, params string[] args)
- {
- this.HasInfoMessage = false;
- string device = this.Args2Unit(args.Length != 0 ? args[0] : string.Empty);
- if (device == null)
- {
- result = "PARAM_NG";
- return false;
- }
- if (args.Length < 2)
- {
- result = "PARAM_NG";
- return false;
- }
- if (!this.Check<NoReadyPolicy>(device, out result) || !this.Check<NoInitCompletedPolicy>(device, out result))
- return false;
- if (this.CheckIsPort(device))
- {
- SC.SetItemValueFromString("CarrierInfo." + device + "ThicknessType", args[1].ToString());
- return true;
- }
- result = "PARAM_NG";
- return false;
- }
- public bool? Monitor(out string result, params string[] args)
- {
- result = string.Empty;
- this.Args2Unit(args.Length != 0 ? args[0] : string.Empty);
- return new bool?(true);
- }
- }
- }
|