IEfemService.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using Aitex.Core.Common;
  2. using MECF.Framework.Common.Equipment;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.ServiceModel;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Common.WcfService.Efem
  10. {
  11. [ServiceContract]
  12. public interface IEfemService
  13. {
  14. [OperationContract]
  15. string GetRTstate();
  16. [OperationContract]
  17. string SendRTMsg(string RTMsg);
  18. [OperationContract]
  19. string EfemCmd(string module, params object[] args);
  20. [OperationContract]
  21. bool MoveWafer(ModuleName source, int source_slot, ModuleName desitation, int desitation_slot, WaferSize size);
  22. [OperationContract]
  23. bool CreateWafer(ModuleName module, int slot, WaferSize size);
  24. [OperationContract]
  25. bool DeleteWafer(ModuleName module, int slot, WaferSize size);
  26. [OperationContract]
  27. bool CreateLPSingleWafer(ModuleName module, int slot, WaferSize size);
  28. [OperationContract]
  29. bool CreateBFSingleWafer(ModuleName module, int slot, WaferSize size);
  30. [OperationContract]
  31. WaferInfo[] GetWafer(ModuleName module);
  32. [OperationContract]
  33. bool LoadPortCmd(string LoadPortID,string LoadMsg);
  34. [OperationContract]
  35. bool ClearLog();
  36. }
  37. public enum MSG
  38. {
  39. MultiMoveWafer,
  40. MoveWafer,
  41. ReturnWafer,
  42. SetSpeed,
  43. HomeUnit,
  44. ReadID,
  45. WriteID,
  46. ReadAndLoad,
  47. LOAD,
  48. UNLOAD,
  49. Pause,
  50. Resume,
  51. Stop,
  52. StartCycle,
  53. Init,
  54. HOME,
  55. RESET,
  56. ABORT,
  57. ERROR,
  58. StartRecipe,
  59. StopRecipe,
  60. PauseRecipe,
  61. ResumeRecipe,
  62. SetAutoMode,
  63. SetManualMode,
  64. SetMaintenanceMode,
  65. MapWafer,
  66. Pick,
  67. Place,
  68. MPNTPick,
  69. MPNTPlace,
  70. RobotActionDone,
  71. LoadPortActionDone,
  72. ChangeCassette,
  73. }
  74. }