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(); }
public void LoadCassette(WaferSize waferSize, DemountCassetteHopper destination) { WriteMemory<LoadCassetteToStreamConverter, LoadCassette>(haLoadCassette, new LoadCassette { WaferSize = waferSize, Destination = destination }); }
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); }
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); }