コード例 #1
0
 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();
 }
コード例 #2
0
ファイル: DemountPlc.cs プロジェクト: bashocz/Mp1PlcModule
 public void LoadCassette(WaferSize waferSize, DemountCassetteHopper destination)
 {
     WriteMemory<LoadCassetteToStreamConverter, LoadCassette>(haLoadCassette, new LoadCassette { WaferSize = waferSize, Destination = destination });
 }
コード例 #3
0
ファイル: DemountPlc.cs プロジェクト: bashocz/Mp1PlcModule
 public void ChangeCassette(DemountCassetteStation from, WaferSize waferSize, DemountCassetteHopper destination)
 {
     WriteMemory<ChangeCassetteToStreamConverter, ChangeCassette>(haRemoveCassette, new ChangeCassette { Source = from, WaferSize = waferSize, Destination = destination });
 }
コード例 #4
0
ファイル: DemountPlcLog.cs プロジェクト: bashocz/Mp1PlcModule
 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);
 }
コード例 #5
0
ファイル: DemountPlcLog.cs プロジェクト: bashocz/Mp1PlcModule
 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);
 }
コード例 #6
0
 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);
 }