/// <summary> /// Encoder /// </summary> /// <param name="supplier"> Equipment supplier </param> public CommandEncoder(string supplier) { try { Supplier = supplier.ToUpper(); Aligner = new EncoderAligner(Supplier); Robot = new EncoderRobot(Supplier); OCR = new EncoderOCR(Supplier); LoadPort = new EncoderLoadPort(Supplier, EncoderLoadPort.CommandMode.TDK_A); FFU = new EncoderFFU(Supplier); CTU = new Encoder_CTU(Supplier); ELPT = new Encoder_ELPT(Supplier); ILPT = new Encoder_ILPT(Supplier); PTZ = new Encoder_PTZ(Supplier); FoupRobot = new Encoder_FoupRobot(Supplier); Shelf = new Encoder_Shelf(Supplier); WHR = new Encoder_WHR(Supplier); WTSAligner = new Encoder_WTSAligner(Supplier); PLC = new Encoder_Mitsubishi_PLC(Supplier); SmartTag = new Encoder_SmartTag(Supplier); } catch (Exception ex) { throw new Exception(ex.ToString()); } finally { } }
/// <summary> /// Encoder /// </summary> /// <param name="supplier"> Equipment supplier </param> public CommandEncoder(string supplier) { try { Supplier = supplier.ToUpper(); Aligner = new EncoderAligner(Supplier); Robot = new EncoderRobot(Supplier); OCR = new EncoderOCR(Supplier); LoadPort = new EncoderLoadPort(Supplier, EncoderLoadPort.CommandMode.TDK_A); } catch (Exception ex) { throw new Exception(ex.ToString()); } finally { } }