123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- using System;
- using System.Collections.Generic;
- using System.Runtime.Serialization;
- using MECF.Framework.Common.Equipment;
- namespace Aitex.Sorter.Common
- {
- public enum Motion
- {
- [EnumMember]
- Pick = 0, //Lower arm
- [EnumMember]
- Place = 1, //Upper arm
- [EnumMember]
- Exchange = 2,
- [EnumMember]
- Alignment = 3,
- }
- public enum Hand
- {
- [EnumMember]
- Blade1 = 0, //Lower arm
- [EnumMember]
- Blade2 = 1, //Upper arm
- [EnumMember]
- Both = 2,
- }
- public enum TMRobotType
- {
- [EnumMember]
- Rorze751 = 1,
- [EnumMember]
- HongHuHHADR21 = 2,
- [EnumMember]
- SUNWAYSPaceTRan = 3,
- }
- public enum ArmBlade
- {
- [EnumMember]
- ArmAFork0,
- [EnumMember]
- ArmBFork1,
- [EnumMember]
- ArmAFork2,
- [EnumMember]
- ArmBFork3,
- }
- public enum Pan
- {
- [EnumMember]
- Left,
- [EnumMember]
- Right,
- [EnumMember]
- Both,
- [EnumMember]
- None,
- }
- public enum Axis
- {
- //‘S’ : Rotation axis.
- //‘A’ : Extension axis.
- //‘H’ : Wrist axis 1.
- //‘I’ : Wrist axis 2.
- //‘Z’ : Elevation axis.
- [EnumMember]
- S=0,
- [EnumMember]
- A=1,
- [EnumMember]
- H=2,
- [EnumMember]
- I=3,
- [EnumMember]
- Z=4
- }
- public enum MoveType
- {
- Move, //single move
- Swap, //Single swap
- SPSP, //double move seperate pick, seperate place
- SPDP, //double move seperate pick, double place
- DPSP, //double move. double pick, seperate place
- DPDP, //double move, double pick, double place
- }
- [Flags]
- public enum MoveOption
- {
- None = 0, //0000
- Align = 1, //0001
- ReadID = 2, //0010
- ReadID2 = 4, //0100
- Reader1 = 8, //1000
- Reader2 = 16, //0001 0000
- LoadLock1 = 32, //0010 0000
- LoadLock2 = 64, //0100 0000
- LoadLock3 = 128,//1000 0000
- LoadLock4 = 256,//0001 0000 0000
- Buffer = 512, //0010 0000 0000
- Turnover = 1024, //0100 0000 0000
- LoadLock5 = 2048, //1000 0000 0000
- LoadLock6 = 4096, //0001 1000 0000 0000
- LoadLock7 = 8192, //0010 1000 0000 0000
- LoadLock8 = 16384, //0100 1000 0000 0000
- CoolingBuffer1 = 32768,
- CoolingBuffer2 = 65536,
- Aligner1 = 131072,
- Aligner2=262144,
- }
- public enum LMReadOption
- {
- LMRead1 = 1,
- LMRead2 = 2
- }
- [DataContract]
- public class TransferInfo
- {
- /// <summary>
- /// 源Wafer
- /// </summary>
- [DataMember]
- public string WaferID
- {
- get; set;
- }
- /// <summary>
- /// 源
- /// </summary>
- [DataMember]
- public ModuleName Source
- {
- get;
- set;
- }
- /// <summary>
- /// 源槽位
- /// </summary>
- [DataMember]
- public int SourceSlot
- {
- get;
- set;
- }
- /// <summary>
- /// 目的地
- /// </summary>
- [DataMember]
- public ModuleName Station
- {
- get; set;
- }
- /// <summary>
- /// 目的地槽位
- /// </summary>
- [DataMember]
- public int Slot
- {
- get; set;
- }
- [DataMember]
- public MoveOption Option
- {
- get; set;
- }
- [DataMember]
- public bool PreAlign
- {
- get;
- set;
- }
- [DataMember]
- public double Angle
- {
- get;
- set;
- }
- [DataMember]
- public bool VerifyAny
- {
- get;
- set;
- }
- [DataMember]
- public bool VerifyLaserMaker
- {
- get;
- set;
- }
- [DataMember]
- public bool VerifyLM1Checksum
- {
- get;
- set;
- }
- [DataMember]
- public string LaserMaker
- {
- get;
- set;
- }
- [DataMember]
- public bool VerifyT7Code
- {
- get;
- set;
- }
- [DataMember]
- public bool VerifyLM2Checksum
- {
- get;
- set;
- }
- [DataMember]
- public string T7Code
- {
- get;
- set;
- }
- [DataMember]
- public List<string> LM1JobFile
- { get; set; }
- [DataMember]
- public List<string> LM2JobFile
- { get; set; }
- [DataMember]
- public LMReadOption LM1Reader
- { get; set; }
- [DataMember]
- public LMReadOption LM2Reader
- { get; set; }
- [DataMember]
- public bool PostAlign
- {
- get;
- set;
- }
- [DataMember]
- public double PostAlignAngle
- {
- get;
- set;
- }
- }
- [Serializable]
- [DataContract]
- public class ManualTransferTask
- {
- [DataMember]
- public ModuleName SourceModule { get; set; }
- [DataMember]
- public int SourceSlotIndex { get; set; }
- [DataMember]
- public ModuleName DestModule { get; set; }
- [DataMember]
- public int DestSlotIndex { get; set; }
- }
- }
|