private string GetWriteCommandCarrierPlateRouting(CarrierPlateRoutingType type) { return (new PlcMemoryWriteCommand(PlcHelper.GetAddressSpace(), 0x129, new EmptyCarrierPlateRoutingToStreamConverter().TryConvert(type))).CommandToString(); }
public new void CarrierPlateRouting(CarrierPlateRoutingType type) { _logger.Debug(_moduleName, string.Format("{0}.CarrierPlateRouting({1})", typeof(DemountPlc).Name, type)); base.CarrierPlateRouting(type); }
public void CarrierPlateRouting(CarrierPlateRoutingType type) { WriteMemory<EmptyCarrierPlateRoutingToStreamConverter, CarrierPlateRoutingType>(haCarrierPlateRouting, type); }
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); }