public void AcceptCarrierPlate(CarrierPlateRouting rounting) { WriteMemory<CarrierPlateRoutingToStreamConverter, CarrierPlateRouting>(haCarrierPlateRouting, rounting); }
public new void AcceptCarrierPlate(CarrierPlateRouting rounting) { _logger.Debug(_moduleName, string.Format("{0}.AcceptCarrierPlate({1})", typeof(StockerPlc).Name, rounting)); base.AcceptCarrierPlate(rounting); }
private void CompareObjects(StockerSimulatorPlcCommunication simulator, bool barcodeError, CarrierPlateRouting routing, bool isMagazineChanged, bool isMagazineBarcodeReadedOk, StockerInventory inventory, MagazineSelection selection) { Assert.AreEqual<bool>(barcodeError, simulator.BarcodeError); Assert.AreEqual<CarrierPlateRouting>(routing, simulator.CarrierPlateRouting); Assert.AreEqual<bool>(isMagazineChanged, simulator.IsMagazineChange); Assert.AreEqual<bool>(isMagazineBarcodeReadedOk, simulator.IsInputMagazineBarcodeOK); Assert.AreEqual<StockerInventory>(inventory, simulator.StockerInventory); Assert.AreEqual<MagazineSelection>(selection, simulator.Selection); }
public static string GetAcceptCarrierPlateCommand(CarrierPlateRouting routing) { return (new PlcMemoryWriteCommand(PlcHelper.GetAddressSpace(), 0x122, new CarrierPlateRoutingToStreamConverter().TryConvert(routing))).CommandToString(); }