123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using MECF.Framework.Common.OperationCenter;
- using OpenSEMI.ClientBase.ServiceProvider;
- using VirgoCommon;
- namespace VirgoUI.Client.Models.Platform.LoadPort
- {
- public class LoadPortProvider : IProvider
- {
- private static LoadPortProvider _Instance = null;
- public static LoadPortProvider Instance
- {
- get
- {
- if (_Instance == null)
- _Instance = new LoadPortProvider();
- return _Instance;
- }
- }
- public void Create()
- {
- }
- public void MapLP(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.{EfemOperation.Map}");
- }
- public void SetThick(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.SetThick");
- }
- public void SetThin(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.SetThin");
- }
-
- public void LoadLP(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Load");
- }
- public void UnloadLP(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Unload");
- }
-
- public void ReadCarrierID(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.ReadCarrierId");
- }
- public void Clamp(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Clamp");
- }
- public void Unclamp(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Unclamp");
- }
- public void Dock(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Dock");
- }
- public void Undock(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Undock");
- }
- public void OpenDoor(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.OpenDoor");
- }
- public void CloseDoor(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.CloseDoor");
- }
- public void Map(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.{EfemOperation.Map}");
- }
- public void Home(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.{EfemOperation.Home}");
- }
- public void Reset(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Reset");
- }
- public void Abort(string moduleID)
- {
- InvokeClient.Instance.Service.DoOperation($"{moduleID}.Abort");
- }
- }
- }
|