public void SetTrgInfo(WaferSize wafersize) { if (wafersize == WaferSize.Size2) { PsYStart = size2.PsYStart; BuffH = size2.BuffH; LineNum = size2.LineNum; ScanSpeed = size2.ScanSpeed; } else if (wafersize == WaferSize.Size4) { PsYStart = size4.PsYStart; BuffH = size4.BuffH; LineNum = size4.LineNum; ScanSpeed = size4.ScanSpeed; } }
private string GetWriteCommandChangeCassette(DemountCassetteStation from, WaferSize waferSize, DemountCassetteHopper destination) { return (new PlcMemoryWriteCommand(PlcHelper.GetAddressSpace(), 0x130, new ChangeCassetteToStreamConverter().TryConvert(new ChangeCassette { Source = from, WaferSize = waferSize, Destination = destination }))).CommandToString(); }
private string GetWriteCommandStartDemountingString(WaferSize waferSize, int waferCount, DemountCassetteStation station) { return (new PlcMemoryWriteCommand(PlcHelper.GetAddressSpace(), 0x124, new StartDemountingToStreamConverter().TryConvert(new StartDemounting { Size = waferSize, Count = waferCount, Station = station }))).CommandToString(); }
public void LoadCassette(WaferSize waferSize, DemountCassetteHopper destination) { WriteMemory<LoadCassetteToStreamConverter, LoadCassette>(haLoadCassette, new LoadCassette { WaferSize = waferSize, Destination = destination }); }
public void StartDemounting(WaferSize waferSize, int waferCount, DemountCassetteStation station) { WriteMemory<StartDemountingToStreamConverter, StartDemounting>(haStartDemounting, new StartDemounting { Size = waferSize, Count = waferCount, Station = station }); }
public new void StartDemounting(WaferSize waferSize, int waferCount, DemountCassetteStation station) { _logger.Debug(_moduleName, string.Format("{0}.StartDemounting({1}, {2}, {3})", typeof(DemountPlc).Name, waferSize, waferCount, station)); base.StartDemounting(waferSize, waferCount, station); }
public void ChangeCassette(DemountCassetteStation from, WaferSize waferSize, DemountCassetteHopper destination) { WriteMemory<ChangeCassetteToStreamConverter, ChangeCassette>(haRemoveCassette, new ChangeCassette { Source = from, WaferSize = waferSize, Destination = destination }); }
public new void LoadCassette(WaferSize waferSize, DemountCassetteHopper destination) { _logger.Debug(_moduleName, string.Format("{0}.LoadCassette({1}, {2})", typeof(DemountPlc).Name, waferSize, destination)); base.LoadCassette(waferSize, destination); }
public new void ChangeCassette(DemountCassetteStation from, WaferSize waferSize, DemountCassetteHopper destination) { _logger.Debug(_moduleName, string.Format("{0}.ChangeCassette({1}, {2}, {3})", typeof(DemountPlc).Name, from, waferSize, destination)); base.ChangeCassette(from, waferSize, destination); }
public static ILotData GetLotData(string lotId, IList<ICassette> cassettes, int nGWaferCount, WaferSize wafesize, OfType ofType, PolishDivision isRepolishing, int assembly1CarrierPlateCount, int assembly1WaferCount, int assembly2CarrierPlateCount, int assembly2WaferCount, IList<IWafer> wafers) { var lotData = new Mock<ILotData>(); lotData.Setup(x => x.LotId).Returns(lotId); lotData.Setup(x => x.Cassettes).Returns(cassettes); lotData.Setup(x => x.NGWaferCount).Returns(nGWaferCount); lotData.Setup(x => x.WaferSize).Returns(wafesize); lotData.Setup(x => x.OfType).Returns(ofType); lotData.Setup(x => x.PolishDivision).Returns(isRepolishing); lotData.Setup(x => x.Assembly1.CarrierPlateCount).Returns(assembly1CarrierPlateCount); lotData.Setup(x => x.Assembly1.WaferCount).Returns(assembly1WaferCount); lotData.Setup(x => x.Assembly2.CarrierPlateCount).Returns(assembly2CarrierPlateCount); lotData.Setup(x => x.Assembly2.WaferCount).Returns(assembly2WaferCount); lotData.Setup(x => x.Wafers).Returns(wafers); return lotData.Object; }
protected override void InitializeMemory() { CarrierPlateRouting = CarrierPlateRouting.Cleared; WaferSize = WaferSize.AnySize; StockerInventory = StockerInventory.Cleared; Selection = MagazineSelection.Cleared; }
private void CompareObjects(DemountSimulatorPlcCommunication simulator, bool barcodeError, bool isCarrierPlateBarcodeReadedOk, WaferSize carrierPlateWaferSize, int waferCount, DemountCassetteStation station, CarrierPlateRoutingType routingType, DemountCassetteStation from, WaferSize cassetteWaferSize, DemountCassetteHopper destination, bool isCassetteBarcodeReadedOk, bool spatulaInspectionRequired) { Assert.AreEqual<bool>(barcodeError, simulator.IsInformationSystemError); Assert.AreEqual<bool>(isCarrierPlateBarcodeReadedOk, simulator.IsCarrierPlateBarcodeReadedOk); Assert.AreEqual<WaferSize>(carrierPlateWaferSize, simulator.CarrierPlateWaferSize); Assert.AreEqual<int>(waferCount, simulator.CarrierPlateWaferCount); Assert.AreEqual<DemountCassetteStation>(station, simulator.DemountCassetteStation); Assert.AreEqual<CarrierPlateRoutingType>(routingType, simulator.CarrierPlateRoutingType); Assert.AreEqual<DemountCassetteStation>(from, simulator.RemoveCassetteFromDemountStation); Assert.AreEqual<WaferSize>(cassetteWaferSize, simulator.CassetteWaferSize); Assert.AreEqual<DemountCassetteHopper>(destination, simulator.DestinationStation); Assert.AreEqual<bool>(isCassetteBarcodeReadedOk, simulator.IsCassetteBarcodeReadedOk); Assert.AreEqual<bool>(spatulaInspectionRequired, simulator.ShouldInspectSpatula); }