initialize

This commit is contained in:
Pruefer
2025-06-06 09:15:13 +02:00
commit fa7c2730f1
5817 changed files with 1339670 additions and 0 deletions

View File

@@ -0,0 +1,294 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AE5F0CBE-A809-4F15-98DA-6F9221BCEF8B}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Oib3xMapper</RootNamespace>
<AssemblyName>Oib3xMapper</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<NoWarn>CS0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="ASM.AS.OIB.Client">
<HintPath>..\libs\asm3client\ASM.AS.OIB.Client.dll</HintPath>
</Reference>
<Reference Include="ASM.AS.OIB.Client.CustomExtensions">
<HintPath>..\libs\asm3client\ASM.AS.OIB.Client.CustomExtensions.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.Common">
<HintPath>..\libs\oib3\Asm.As.Oib.Common.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.Common.Proxy">
<HintPath>..\libs\oib3\Asm.As.Oib.Common.Proxy.dll</HintPath>
</Reference>
<Reference Include="ASM.AS.OIB.DisplayService.Contracts">
<HintPath>..\libs\oib3\ASM.AS.OIB.DisplayService.Contracts.dll</HintPath>
</Reference>
<Reference Include="ASM.AS.OIB.DisplayService.Proxy">
<HintPath>..\libs\oib3\ASM.AS.OIB.DisplayService.Proxy.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.Monitoring.Contracts">
<HintPath>..\libs\oib3\Asm.As.Oib.Monitoring.Contracts.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.Monitoring.Proxy">
<HintPath>..\libs\oib3\Asm.As.Oib.Monitoring.Proxy.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SIPLACEPro.Contracts">
<HintPath>..\libs\oib3\Asm.As.Oib.SIPLACEPro.Contracts.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SIPLACEPro.LineControl.Contracts">
<HintPath>..\libs\oib3\Asm.As.Oib.SIPLACEPro.LineControl.Contracts.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SIPLACEPro.LineControl.Proxy">
<HintPath>..\libs\oib3\Asm.As.Oib.SIPLACEPro.LineControl.Proxy.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SIPLACEPro.Proxy">
<HintPath>..\libs\oib3\Asm.As.Oib.SIPLACEPro.Proxy.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SIPLACESetupCenter.Contracts">
<HintPath>..\libs\oib3\Asm.As.Oib.SIPLACESetupCenter.Contracts.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.SiplaceSetupCenter.Proxy">
<HintPath>..\libs\oib3\Asm.As.Oib.SiplaceSetupCenter.Proxy.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.WS.Common">
<HintPath>..\libs\oib3\Asm.As.Oib.WS.Common.dll</HintPath>
</Reference>
<Reference Include="Asm.As.Oib.WS.Eventing.Contracts">
<HintPath>..\libs\oib3\Asm.As.Oib.WS.Eventing.Contracts.dll</HintPath>
</Reference>
<Reference Include="AsmApi5x">
<HintPath>..\libs\itac\AsmApi5x.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\BoardDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\BoardFailedDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\BoardRequestDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\BoardRequestResultMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\PositionDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\SubPanelStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.boardgatekeeper.contracts.data\VirtualInkspotHandlingDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.client.customextensions\ConveyorInfoMapper.cs" />
<Compile Include="generated_src\com.itac.oib.client.customextensions\LineChangeoverEventArgsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.client.customextensions\VirtualInkspotHandlerBoardRequestMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\AcknowledgementTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\AnswerMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\ClientRegistrationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\ConfirmationReceivedRequestMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\ConfirmationReceivedResponseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\MessageDeliveryDetailsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\MessageMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\MessageStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\SendMessageResponseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\SeverityLevelMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\SubAnswerMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\ViewerIdentificationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.displayservice.contracts.data\ViewerRegistrationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ComponentKnownButNotSetUpMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ComponentNotKnownAtAllMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ComponentSetUpOnWrongTableMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ConveyorLanesMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\DownloadMessageMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\DownloadProcessingOptionsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\DownloadReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\DownloadResultMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\DownloadResultsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\IntegrityCheckModeForRepartitioningMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\IntegrityCheckModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\IntegrityCheckResultMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\LineControlConveyorStatusMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\LineControlErrorEnumMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\LineControlLineStatusMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\LineControlStationStatusMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\MessageLevelMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\MissingComponentsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\MissingFeederMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\OptimizerMessageMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ProductionScheduleElementMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\ProductionScheduleMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\StartJobResult.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\StationwiseDownloadStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\SubsystemMapper.cs" />
<Compile Include="generated_src\com.itac.oib.linecontrol.contracts.data\UpdateModeComponentLibraryMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\BoardProcessedDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\BoardSideTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\BoardStatusTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\CompletionStatusTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ConfigurationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ContentSummaryTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ConveyorTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\DownloadRecipeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\GantryEventTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\GantryStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\HeadMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\LineBaseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\LineMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\MonitoringBaseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\MonitoringDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\PassmodeCollectionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\PassmodeLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\PassmodeStatusTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\PickupErrorMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\PickupObservationDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ProcessedBoardMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ProcessingLocationAddressMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ProcessingLocationStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\ProcessingModeTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeAddOnMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeBaseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeChangeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeCollectionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\RecipeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\SetupCollectionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StateTransitionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationBaseMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationEventCompositeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationEventMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationEventTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\StationStateTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\SubConveyorTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\TargetBoardMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\TrackEntryMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\UsedDetailMapper.cs" />
<Compile Include="generated_src\com.itac.oib.monitoring.contracts.data\UsedTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\BoardElementMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\BoardMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\BoardSideMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\ComponentMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\ComponentPlacementMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\GantryMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\LineMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\LocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\PanelMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\PanelMatrixMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\PlacementListMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\ProductionScheduleElementMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\RecipeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\SetupMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\StationInLineMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\StationLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\StationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\StationSetupMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\TableInsertMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\TableMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.data\TableTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ArbitrarySetupModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\BarcodeReaderPositionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\BoardElementOffsetModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\BoardOrientationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\BoardSideMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ComponentTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ConveyorLaneTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ConveyorModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ConveyorSubLaneTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ConveyorWidenessMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\LineHandlingOptionsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\LocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\LotSizeCountUnitMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\PlacementAreaPlacementModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\ProductionScheduleConveyorMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\SkipBoardWithUnknownBarcodeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\SplitTableModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\StationInLineOptionsMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\TableInsertTypeIdMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\TableTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\WhisperDownTheLineModeBarcodesMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacepro.contracts.types\WhisperDownTheLineModeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\ComponentLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\ComponentLocationStateMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\ConfigurationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\DockingStationConfigurationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\DockingStationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\ExternalControlResultMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\ExternalControlResultMessageMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\FeederLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\FeederPlacedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\FeederRemovedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\LineConfigurationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\LockInfoMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\LockStateChangedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MachineLocatorMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MachineSetupMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MaterialMoveDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MaterialMovedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MaterialReorderDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MaterialReorderReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\MessagesReceivedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\NewSetupActiveReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\OnlineVerificationConfigurationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingQuantityChangedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitConsumedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitCreatedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitDeletedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitManagementDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitQuantityDataMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitResultMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitResultMessageMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\PackagingUnitUpdatedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\SetupChangedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\SpliceChainSplitMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\SpliceChainSplitReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\TableLocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\TableMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\TablePlacedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.siplacesetupcenter.contracts.data\TableRemovedReportMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\ComponentTypeMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\ConsumptionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\ErrorCodesMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\ErrorStructMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\JobMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\LocationMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\PackagingUnitMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\PanelMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\PanelPackagingMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\PanelRefDesMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\PositionMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\ReasonStructMapper.cs" />
<Compile Include="generated_src\com.itac.oib.traceability.contracts.data\TraceabilityDataMapper.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("Oib3xMapper")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Oib3xMapper")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("ae5f0cbe-a809-4f15-98da-6f9221bcef8b")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:08:14
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 26.11.2018 13:24:17
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 26.11.2018 13:24:17
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:08:14
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:08:14
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,103 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in BoardData
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class BoardDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData get(BoardData itacBoardData)
{
if (itacBoardData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData asmBoardData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData();
mapItac2Asm(asmBoardData, itacBoardData);
return asmBoardData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData asmBoardData, BoardData itacBoardData)
{
// skip property ExtensionDataObject, declared in BoardData
asmBoardData.Barcode = itacBoardData.Barcode;
asmBoardData.BoardTime = itacBoardData.BoardTime;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData[] get(BoardData[] itacBoardData)
{
if (itacBoardData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData[] asmBoardData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData[itacBoardData.Length];
for (int i = 0; i < itacBoardData.Length; i++)
{
// to itac array
asmBoardData[i] = BoardDataMapper.get(itacBoardData[i]);
}
return asmBoardData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData> getList(BoardData[] asmBoardData)
{
if (asmBoardData == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData> itacBoardData = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData>();
for (int i = 0; i < asmBoardData.Length; i++)
{
itacBoardData.Add(BoardDataMapper.get(asmBoardData[i]));
}
return itacBoardData;
}
// map type from ASM namespace to iTAC namespace
public static BoardData get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData asmBoardData)
{
if (asmBoardData == null) { return null; }
BoardData itacBoardData = new BoardData();
mapAsm2Itac(asmBoardData, itacBoardData);
return itacBoardData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData asmBoardData, BoardData itacBoardData)
{
// skip property ExtensionDataObject, declared in BoardData
itacBoardData.Barcode = asmBoardData.Barcode;
itacBoardData.BoardTime = asmBoardData.BoardTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static BoardData[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData> asmBoardData)
{
if (asmBoardData == null) { return null; }
BoardData[] itacBoardData = new BoardData[asmBoardData.Count];
for (int i = 0; i < asmBoardData.Count; i++)
{
itacBoardData[i] = BoardDataMapper.get(asmBoardData[i]);
}
return itacBoardData;
}
// maps ASM namespace conform array to iTAC namespace array
public static BoardData[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardData[] asmBoardData)
{
if (asmBoardData == null) { return null; }
BoardData[] itacBoardData = new BoardData[asmBoardData.Length];
for (int i = 0; i < asmBoardData.Length; i++)
{
itacBoardData[i] = BoardDataMapper.get(asmBoardData[i]);
}
return itacBoardData;
}
}
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in BoardFailedData
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class BoardFailedDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData get(BoardFailedData itacBoardFailedData)
{
if (itacBoardFailedData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData asmBoardFailedData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData();
mapItac2Asm(asmBoardFailedData, itacBoardFailedData);
return asmBoardFailedData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData asmBoardFailedData, BoardFailedData itacBoardFailedData)
{
// skip property ExtensionDataObject, declared in BoardFailedData
// complex property Board, isArray:False, isGeneric:False
asmBoardFailedData.Board = com.itac.oib.boardgatekeeper.contracts.data.BoardDataMapper.get( itacBoardFailedData.Board);
asmBoardFailedData.Context = itacBoardFailedData.Context;
asmBoardFailedData.ErrorId = itacBoardFailedData.ErrorId;
asmBoardFailedData.ErrorMessage = itacBoardFailedData.ErrorMessage;
// complex property Position, isArray:False, isGeneric:False
asmBoardFailedData.Position = com.itac.oib.boardgatekeeper.contracts.data.PositionDataMapper.get( itacBoardFailedData.Position);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData[] get(BoardFailedData[] itacBoardFailedData)
{
if (itacBoardFailedData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData[] asmBoardFailedData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData[itacBoardFailedData.Length];
for (int i = 0; i < itacBoardFailedData.Length; i++)
{
// to itac array
asmBoardFailedData[i] = BoardFailedDataMapper.get(itacBoardFailedData[i]);
}
return asmBoardFailedData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData> getList(BoardFailedData[] asmBoardFailedData)
{
if (asmBoardFailedData == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData> itacBoardFailedData = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData>();
for (int i = 0; i < asmBoardFailedData.Length; i++)
{
itacBoardFailedData.Add(BoardFailedDataMapper.get(asmBoardFailedData[i]));
}
return itacBoardFailedData;
}
// map type from ASM namespace to iTAC namespace
public static BoardFailedData get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData asmBoardFailedData)
{
if (asmBoardFailedData == null) { return null; }
BoardFailedData itacBoardFailedData = new BoardFailedData();
mapAsm2Itac(asmBoardFailedData, itacBoardFailedData);
return itacBoardFailedData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData asmBoardFailedData, BoardFailedData itacBoardFailedData)
{
// skip property ExtensionDataObject, declared in BoardFailedData
itacBoardFailedData.Board = com.itac.oib.boardgatekeeper.contracts.data.BoardDataMapper.get(asmBoardFailedData.Board);
// complex asm property Board
itacBoardFailedData.Context = asmBoardFailedData.Context;
itacBoardFailedData.ErrorId = asmBoardFailedData.ErrorId;
itacBoardFailedData.ErrorMessage = asmBoardFailedData.ErrorMessage;
itacBoardFailedData.Position = com.itac.oib.boardgatekeeper.contracts.data.PositionDataMapper.get(asmBoardFailedData.Position);
// complex asm property Position
}
// maps ASM namespace conform list to iTAC namespace array
public static BoardFailedData[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData> asmBoardFailedData)
{
if (asmBoardFailedData == null) { return null; }
BoardFailedData[] itacBoardFailedData = new BoardFailedData[asmBoardFailedData.Count];
for (int i = 0; i < asmBoardFailedData.Count; i++)
{
itacBoardFailedData[i] = BoardFailedDataMapper.get(asmBoardFailedData[i]);
}
return itacBoardFailedData;
}
// maps ASM namespace conform array to iTAC namespace array
public static BoardFailedData[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardFailedData[] asmBoardFailedData)
{
if (asmBoardFailedData == null) { return null; }
BoardFailedData[] itacBoardFailedData = new BoardFailedData[asmBoardFailedData.Length];
for (int i = 0; i < asmBoardFailedData.Length; i++)
{
itacBoardFailedData[i] = BoardFailedDataMapper.get(asmBoardFailedData[i]);
}
return itacBoardFailedData;
}
}
}

View File

@@ -0,0 +1,109 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in BoardRequestData
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class BoardRequestDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData get(BoardRequestData itacBoardRequestData)
{
if (itacBoardRequestData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData asmBoardRequestData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData();
mapItac2Asm(asmBoardRequestData, itacBoardRequestData);
return asmBoardRequestData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData asmBoardRequestData, BoardRequestData itacBoardRequestData)
{
// skip property ExtensionDataObject, declared in BoardRequestData
// complex property Board, isArray:False, isGeneric:False
asmBoardRequestData.Board = com.itac.oib.boardgatekeeper.contracts.data.BoardDataMapper.get( itacBoardRequestData.Board);
asmBoardRequestData.Context = itacBoardRequestData.Context;
// complex property Position, isArray:False, isGeneric:False
asmBoardRequestData.Position = com.itac.oib.boardgatekeeper.contracts.data.PositionDataMapper.get( itacBoardRequestData.Position);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData[] get(BoardRequestData[] itacBoardRequestData)
{
if (itacBoardRequestData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData[] asmBoardRequestData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData[itacBoardRequestData.Length];
for (int i = 0; i < itacBoardRequestData.Length; i++)
{
// to itac array
asmBoardRequestData[i] = BoardRequestDataMapper.get(itacBoardRequestData[i]);
}
return asmBoardRequestData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData> getList(BoardRequestData[] asmBoardRequestData)
{
if (asmBoardRequestData == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData> itacBoardRequestData = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData>();
for (int i = 0; i < asmBoardRequestData.Length; i++)
{
itacBoardRequestData.Add(BoardRequestDataMapper.get(asmBoardRequestData[i]));
}
return itacBoardRequestData;
}
// map type from ASM namespace to iTAC namespace
public static BoardRequestData get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData asmBoardRequestData)
{
if (asmBoardRequestData == null) { return null; }
BoardRequestData itacBoardRequestData = new BoardRequestData();
mapAsm2Itac(asmBoardRequestData, itacBoardRequestData);
return itacBoardRequestData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData asmBoardRequestData, BoardRequestData itacBoardRequestData)
{
// skip property ExtensionDataObject, declared in BoardRequestData
itacBoardRequestData.Board = com.itac.oib.boardgatekeeper.contracts.data.BoardDataMapper.get(asmBoardRequestData.Board);
// complex asm property Board
itacBoardRequestData.Context = asmBoardRequestData.Context;
itacBoardRequestData.Position = com.itac.oib.boardgatekeeper.contracts.data.PositionDataMapper.get(asmBoardRequestData.Position);
// complex asm property Position
}
// maps ASM namespace conform list to iTAC namespace array
public static BoardRequestData[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData> asmBoardRequestData)
{
if (asmBoardRequestData == null) { return null; }
BoardRequestData[] itacBoardRequestData = new BoardRequestData[asmBoardRequestData.Count];
for (int i = 0; i < asmBoardRequestData.Count; i++)
{
itacBoardRequestData[i] = BoardRequestDataMapper.get(asmBoardRequestData[i]);
}
return itacBoardRequestData;
}
// maps ASM namespace conform array to iTAC namespace array
public static BoardRequestData[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestData[] asmBoardRequestData)
{
if (asmBoardRequestData == null) { return null; }
BoardRequestData[] itacBoardRequestData = new BoardRequestData[asmBoardRequestData.Length];
for (int i = 0; i < asmBoardRequestData.Length; i++)
{
itacBoardRequestData[i] = BoardRequestDataMapper.get(asmBoardRequestData[i]);
}
return itacBoardRequestData;
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in BoardRequestResult
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class BoardRequestResultMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult get(BoardRequestResult itacBoardRequestResult)
{
if (itacBoardRequestResult == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult asmBoardRequestResult = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult();
mapItac2Asm(asmBoardRequestResult, itacBoardRequestResult);
return asmBoardRequestResult;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult asmBoardRequestResult, BoardRequestResult itacBoardRequestResult)
{
// skip property ExtensionDataObject, declared in BoardRequestResult
asmBoardRequestResult.Reason = itacBoardRequestResult.Reason;
asmBoardRequestResult.RequestResult = itacBoardRequestResult.RequestResult;
asmBoardRequestResult.BoardPath = itacBoardRequestResult.BoardPath;
asmBoardRequestResult.BoardSide = itacBoardRequestResult.BoardSide;
// complex property VIHResult, isArray:False, isGeneric:False
asmBoardRequestResult.VIHResult = com.itac.oib.boardgatekeeper.contracts.data.VirtualInkspotHandlingDataMapper.get( itacBoardRequestResult.VIHResult);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult[] get(BoardRequestResult[] itacBoardRequestResult)
{
if (itacBoardRequestResult == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult[] asmBoardRequestResult = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult[itacBoardRequestResult.Length];
for (int i = 0; i < itacBoardRequestResult.Length; i++)
{
// to itac array
asmBoardRequestResult[i] = BoardRequestResultMapper.get(itacBoardRequestResult[i]);
}
return asmBoardRequestResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult> getList(BoardRequestResult[] asmBoardRequestResult)
{
if (asmBoardRequestResult == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult> itacBoardRequestResult = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult>();
for (int i = 0; i < asmBoardRequestResult.Length; i++)
{
itacBoardRequestResult.Add(BoardRequestResultMapper.get(asmBoardRequestResult[i]));
}
return itacBoardRequestResult;
}
// map type from ASM namespace to iTAC namespace
public static BoardRequestResult get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult asmBoardRequestResult)
{
if (asmBoardRequestResult == null) { return null; }
BoardRequestResult itacBoardRequestResult = new BoardRequestResult();
mapAsm2Itac(asmBoardRequestResult, itacBoardRequestResult);
return itacBoardRequestResult;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult asmBoardRequestResult, BoardRequestResult itacBoardRequestResult)
{
// skip property ExtensionDataObject, declared in BoardRequestResult
itacBoardRequestResult.Reason = asmBoardRequestResult.Reason;
itacBoardRequestResult.RequestResult = asmBoardRequestResult.RequestResult;
itacBoardRequestResult.BoardPath = asmBoardRequestResult.BoardPath;
itacBoardRequestResult.BoardSide = asmBoardRequestResult.BoardSide;
itacBoardRequestResult.VIHResult = com.itac.oib.boardgatekeeper.contracts.data.VirtualInkspotHandlingDataMapper.get(asmBoardRequestResult.VIHResult);
// complex asm property VIHResult
}
// maps ASM namespace conform list to iTAC namespace array
public static BoardRequestResult[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult> asmBoardRequestResult)
{
if (asmBoardRequestResult == null) { return null; }
BoardRequestResult[] itacBoardRequestResult = new BoardRequestResult[asmBoardRequestResult.Count];
for (int i = 0; i < asmBoardRequestResult.Count; i++)
{
itacBoardRequestResult[i] = BoardRequestResultMapper.get(asmBoardRequestResult[i]);
}
return itacBoardRequestResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static BoardRequestResult[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.BoardRequestResult[] asmBoardRequestResult)
{
if (asmBoardRequestResult == null) { return null; }
BoardRequestResult[] itacBoardRequestResult = new BoardRequestResult[asmBoardRequestResult.Length];
for (int i = 0; i < asmBoardRequestResult.Length; i++)
{
itacBoardRequestResult[i] = BoardRequestResultMapper.get(asmBoardRequestResult[i]);
}
return itacBoardRequestResult;
}
}
}

View File

@@ -0,0 +1,109 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in PositionData
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class PositionDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData get(PositionData itacPositionData)
{
if (itacPositionData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData asmPositionData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData();
mapItac2Asm(asmPositionData, itacPositionData);
return asmPositionData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData asmPositionData, PositionData itacPositionData)
{
// skip property ExtensionDataObject, declared in PositionData
asmPositionData.BCRSide = itacPositionData.BCRSide;
asmPositionData.Conveyor = itacPositionData.Conveyor;
asmPositionData.Line = itacPositionData.Line;
asmPositionData.Origin = itacPositionData.Origin;
asmPositionData.SubConveyor = itacPositionData.SubConveyor;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData[] get(PositionData[] itacPositionData)
{
if (itacPositionData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData[] asmPositionData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData[itacPositionData.Length];
for (int i = 0; i < itacPositionData.Length; i++)
{
// to itac array
asmPositionData[i] = PositionDataMapper.get(itacPositionData[i]);
}
return asmPositionData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData> getList(PositionData[] asmPositionData)
{
if (asmPositionData == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData> itacPositionData = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData>();
for (int i = 0; i < asmPositionData.Length; i++)
{
itacPositionData.Add(PositionDataMapper.get(asmPositionData[i]));
}
return itacPositionData;
}
// map type from ASM namespace to iTAC namespace
public static PositionData get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData asmPositionData)
{
if (asmPositionData == null) { return null; }
PositionData itacPositionData = new PositionData();
mapAsm2Itac(asmPositionData, itacPositionData);
return itacPositionData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData asmPositionData, PositionData itacPositionData)
{
// skip property ExtensionDataObject, declared in PositionData
itacPositionData.BCRSide = asmPositionData.BCRSide;
itacPositionData.Conveyor = asmPositionData.Conveyor;
itacPositionData.Line = asmPositionData.Line;
itacPositionData.Origin = asmPositionData.Origin;
itacPositionData.SubConveyor = asmPositionData.SubConveyor;
}
// maps ASM namespace conform list to iTAC namespace array
public static PositionData[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData> asmPositionData)
{
if (asmPositionData == null) { return null; }
PositionData[] itacPositionData = new PositionData[asmPositionData.Count];
for (int i = 0; i < asmPositionData.Count; i++)
{
itacPositionData[i] = PositionDataMapper.get(asmPositionData[i]);
}
return itacPositionData;
}
// maps ASM namespace conform array to iTAC namespace array
public static PositionData[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.PositionData[] asmPositionData)
{
if (asmPositionData == null) { return null; }
PositionData[] itacPositionData = new PositionData[asmPositionData.Length];
for (int i = 0; i < asmPositionData.Length; i++)
{
itacPositionData[i] = PositionDataMapper.get(asmPositionData[i]);
}
return itacPositionData;
}
}
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in SubPanelState
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class SubPanelStateMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState get(SubPanelState itacSubPanelState)
{
if (itacSubPanelState == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState asmSubPanelState = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState();
mapItac2Asm(asmSubPanelState, itacSubPanelState);
return asmSubPanelState;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState asmSubPanelState, SubPanelState itacSubPanelState)
{
// skip property ExtensionDataObject, declared in SubPanelState
asmSubPanelState.PanelName = itacSubPanelState.PanelName;
asmSubPanelState.Place = itacSubPanelState.Place;
asmSubPanelState.Reason = itacSubPanelState.Reason;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState[] get(SubPanelState[] itacSubPanelState)
{
if (itacSubPanelState == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState[] asmSubPanelState = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState[itacSubPanelState.Length];
for (int i = 0; i < itacSubPanelState.Length; i++)
{
// to itac array
asmSubPanelState[i] = SubPanelStateMapper.get(itacSubPanelState[i]);
}
return asmSubPanelState;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState> getList(SubPanelState[] asmSubPanelState)
{
if (asmSubPanelState == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState> itacSubPanelState = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState>();
for (int i = 0; i < asmSubPanelState.Length; i++)
{
itacSubPanelState.Add(SubPanelStateMapper.get(asmSubPanelState[i]));
}
return itacSubPanelState;
}
// map type from ASM namespace to iTAC namespace
public static SubPanelState get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState asmSubPanelState)
{
if (asmSubPanelState == null) { return null; }
SubPanelState itacSubPanelState = new SubPanelState();
mapAsm2Itac(asmSubPanelState, itacSubPanelState);
return itacSubPanelState;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState asmSubPanelState, SubPanelState itacSubPanelState)
{
// skip property ExtensionDataObject, declared in SubPanelState
itacSubPanelState.PanelName = asmSubPanelState.PanelName;
itacSubPanelState.Place = asmSubPanelState.Place;
itacSubPanelState.Reason = asmSubPanelState.Reason;
}
// maps ASM namespace conform list to iTAC namespace array
public static SubPanelState[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState> asmSubPanelState)
{
if (asmSubPanelState == null) { return null; }
SubPanelState[] itacSubPanelState = new SubPanelState[asmSubPanelState.Count];
for (int i = 0; i < asmSubPanelState.Count; i++)
{
itacSubPanelState[i] = SubPanelStateMapper.get(asmSubPanelState[i]);
}
return itacSubPanelState;
}
// maps ASM namespace conform array to iTAC namespace array
public static SubPanelState[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.SubPanelState[] asmSubPanelState)
{
if (asmSubPanelState == null) { return null; }
SubPanelState[] itacSubPanelState = new SubPanelState[asmSubPanelState.Length];
for (int i = 0; i < asmSubPanelState.Length; i++)
{
itacSubPanelState[i] = SubPanelStateMapper.get(asmSubPanelState[i]);
}
return itacSubPanelState;
}
}
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:02:34
// skip property ExtensionDataObject, declared in VirtualInkspotHandlingData
using System;
using System.Collections.Generic;
namespace com.itac.oib.boardgatekeeper.contracts.data
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class VirtualInkspotHandlingDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData get(VirtualInkspotHandlingData itacVirtualInkspotHandlingData)
{
if (itacVirtualInkspotHandlingData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData asmVirtualInkspotHandlingData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData();
mapItac2Asm(asmVirtualInkspotHandlingData, itacVirtualInkspotHandlingData);
return asmVirtualInkspotHandlingData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData asmVirtualInkspotHandlingData, VirtualInkspotHandlingData itacVirtualInkspotHandlingData)
{
// skip property ExtensionDataObject, declared in VirtualInkspotHandlingData
// complex property SubPanelStates, isArray:True, isGeneric:False
asmVirtualInkspotHandlingData.SubPanelStates = com.itac.oib.boardgatekeeper.contracts.data.SubPanelStateMapper.get( itacVirtualInkspotHandlingData.SubPanelStates);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData[] get(VirtualInkspotHandlingData[] itacVirtualInkspotHandlingData)
{
if (itacVirtualInkspotHandlingData == null) { return null; }
www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData[] asmVirtualInkspotHandlingData = new www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData[itacVirtualInkspotHandlingData.Length];
for (int i = 0; i < itacVirtualInkspotHandlingData.Length; i++)
{
// to itac array
asmVirtualInkspotHandlingData[i] = VirtualInkspotHandlingDataMapper.get(itacVirtualInkspotHandlingData[i]);
}
return asmVirtualInkspotHandlingData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData> getList(VirtualInkspotHandlingData[] asmVirtualInkspotHandlingData)
{
if (asmVirtualInkspotHandlingData == null) { return null; }
List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData> itacVirtualInkspotHandlingData = new List<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData>();
for (int i = 0; i < asmVirtualInkspotHandlingData.Length; i++)
{
itacVirtualInkspotHandlingData.Add(VirtualInkspotHandlingDataMapper.get(asmVirtualInkspotHandlingData[i]));
}
return itacVirtualInkspotHandlingData;
}
// map type from ASM namespace to iTAC namespace
public static VirtualInkspotHandlingData get(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData asmVirtualInkspotHandlingData)
{
if (asmVirtualInkspotHandlingData == null) { return null; }
VirtualInkspotHandlingData itacVirtualInkspotHandlingData = new VirtualInkspotHandlingData();
mapAsm2Itac(asmVirtualInkspotHandlingData, itacVirtualInkspotHandlingData);
return itacVirtualInkspotHandlingData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData asmVirtualInkspotHandlingData, VirtualInkspotHandlingData itacVirtualInkspotHandlingData)
{
// skip property ExtensionDataObject, declared in VirtualInkspotHandlingData
// array mapping
itacVirtualInkspotHandlingData.SubPanelStates = SubPanelStateMapper.getArray(asmVirtualInkspotHandlingData.SubPanelStates);
// complex asm property SubPanelStates
}
// maps ASM namespace conform list to iTAC namespace array
public static VirtualInkspotHandlingData[] getArray(IList<www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData> asmVirtualInkspotHandlingData)
{
if (asmVirtualInkspotHandlingData == null) { return null; }
VirtualInkspotHandlingData[] itacVirtualInkspotHandlingData = new VirtualInkspotHandlingData[asmVirtualInkspotHandlingData.Count];
for (int i = 0; i < asmVirtualInkspotHandlingData.Count; i++)
{
itacVirtualInkspotHandlingData[i] = VirtualInkspotHandlingDataMapper.get(asmVirtualInkspotHandlingData[i]);
}
return itacVirtualInkspotHandlingData;
}
// maps ASM namespace conform array to iTAC namespace array
public static VirtualInkspotHandlingData[] getArray(www.siplace.com.OIB._2011._07.BoardGateKeeper.Contracts.Service.VirtualInkspotHandlingData[] asmVirtualInkspotHandlingData)
{
if (asmVirtualInkspotHandlingData == null) { return null; }
VirtualInkspotHandlingData[] itacVirtualInkspotHandlingData = new VirtualInkspotHandlingData[asmVirtualInkspotHandlingData.Length];
for (int i = 0; i < asmVirtualInkspotHandlingData.Length; i++)
{
itacVirtualInkspotHandlingData[i] = VirtualInkspotHandlingDataMapper.get(asmVirtualInkspotHandlingData[i]);
}
return itacVirtualInkspotHandlingData;
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
using com.itac.oib.siplacepro.contracts.data;
using com.itac.oib.siplacepro.contracts.types;
namespace com.itac.oib.client.customextensions
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client.CustomExtensions
public class ConveyorInfoMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Client.CustomExtensions.ConveyorInfo get(ConveyorInfo itacConveyorInfo)
{
if (itacConveyorInfo == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.ConveyorInfo asmConveyorInfo = new Asm.As.Oib.Client.CustomExtensions.ConveyorInfo();
mapItac2Asm(asmConveyorInfo, itacConveyorInfo);
return asmConveyorInfo;
}
public static void mapItac2Asm(Asm.As.Oib.Client.CustomExtensions.ConveyorInfo asmConveyorInfo, ConveyorInfo itacConveyorInfo)
{
// property LineJobGuid is readonly(no set method)
// property OrderId is readonly(no set method)
// property Recipe is readonly(no set method)
// property Board is readonly(no set method)
// property BoardSide is readonly(no set method)
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Client.CustomExtensions.ConveyorInfo[] get(ConveyorInfo[] itacConveyorInfo)
{
if (itacConveyorInfo == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.ConveyorInfo[] asmConveyorInfo = new Asm.As.Oib.Client.CustomExtensions.ConveyorInfo[itacConveyorInfo.Length];
for (int i = 0; i < itacConveyorInfo.Length; i++)
{
// to itac array
asmConveyorInfo[i] = ConveyorInfoMapper.get(itacConveyorInfo[i]);
}
return asmConveyorInfo;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Client.CustomExtensions.ConveyorInfo> getList(ConveyorInfo[] asmConveyorInfo)
{
if (asmConveyorInfo == null) { return null; }
List<Asm.As.Oib.Client.CustomExtensions.ConveyorInfo> itacConveyorInfo = new List<Asm.As.Oib.Client.CustomExtensions.ConveyorInfo>();
for (int i = 0; i < asmConveyorInfo.Length; i++)
{
itacConveyorInfo.Add(ConveyorInfoMapper.get(asmConveyorInfo[i]));
}
return itacConveyorInfo;
}
// map type from ASM namespace to iTAC namespace
public static ConveyorInfo get(Asm.As.Oib.Client.CustomExtensions.ConveyorInfo asmConveyorInfo)
{
if (asmConveyorInfo == null) { return null; }
ConveyorInfo itacConveyorInfo = new ConveyorInfo();
mapAsm2Itac(asmConveyorInfo, itacConveyorInfo);
return itacConveyorInfo;
}
public static void mapAsm2Itac(Asm.As.Oib.Client.CustomExtensions.ConveyorInfo asmConveyorInfo, ConveyorInfo itacConveyorInfo)
{
itacConveyorInfo.LineJobGuid = asmConveyorInfo.LineJobGuid;
itacConveyorInfo.OrderId = asmConveyorInfo.OrderId;
itacConveyorInfo.Recipe = com.itac.oib.siplacepro.contracts.data.RecipeMapper.get(asmConveyorInfo.Recipe);
// complex asm property Recipe
itacConveyorInfo.Board = com.itac.oib.siplacepro.contracts.data.BoardMapper.get(asmConveyorInfo.Board);
// complex asm property Board
itacConveyorInfo.BoardSide = com.itac.oib.siplacepro.contracts.types.BoardSideMapper.get(asmConveyorInfo.BoardSide);
// complex asm property BoardSide
}
// maps ASM namespace conform list to iTAC namespace array
public static ConveyorInfo[] getArray(IList<Asm.As.Oib.Client.CustomExtensions.ConveyorInfo> asmConveyorInfo)
{
if (asmConveyorInfo == null) { return null; }
ConveyorInfo[] itacConveyorInfo = new ConveyorInfo[asmConveyorInfo.Count];
for (int i = 0; i < asmConveyorInfo.Count; i++)
{
itacConveyorInfo[i] = ConveyorInfoMapper.get(asmConveyorInfo[i]);
}
return itacConveyorInfo;
}
// maps ASM namespace conform array to iTAC namespace array
public static ConveyorInfo[] getArray(Asm.As.Oib.Client.CustomExtensions.ConveyorInfo[] asmConveyorInfo)
{
if (asmConveyorInfo == null) { return null; }
ConveyorInfo[] itacConveyorInfo = new ConveyorInfo[asmConveyorInfo.Length];
for (int i = 0; i < asmConveyorInfo.Length; i++)
{
itacConveyorInfo[i] = ConveyorInfoMapper.get(asmConveyorInfo[i]);
}
return itacConveyorInfo;
}
}
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
using com.itac.oib.siplacepro.contracts.data;
using com.itac.oib.siplacesetupcenter.contracts.data;
namespace com.itac.oib.client.customextensions
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client.CustomExtensions
public class LineChangeoverEventArgsMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs get(LineChangeoverEventArgs itacLineChangeoverEventArgs)
{
if (itacLineChangeoverEventArgs == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs asmLineChangeoverEventArgs = new Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs();
mapItac2Asm(asmLineChangeoverEventArgs, itacLineChangeoverEventArgs);
return asmLineChangeoverEventArgs;
}
public static void mapItac2Asm(Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs asmLineChangeoverEventArgs, LineChangeoverEventArgs itacLineChangeoverEventArgs)
{
// property Line is readonly(no set method)
// property Setup is readonly(no set method)
// property ConveyorInfoRight is readonly(no set method)
// property ConveyorInfoLeft is readonly(no set method)
// property MachineSetups is readonly(no set method)
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs[] get(LineChangeoverEventArgs[] itacLineChangeoverEventArgs)
{
if (itacLineChangeoverEventArgs == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs[] asmLineChangeoverEventArgs = new Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs[itacLineChangeoverEventArgs.Length];
for (int i = 0; i < itacLineChangeoverEventArgs.Length; i++)
{
// to itac array
asmLineChangeoverEventArgs[i] = LineChangeoverEventArgsMapper.get(itacLineChangeoverEventArgs[i]);
}
return asmLineChangeoverEventArgs;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs> getList(LineChangeoverEventArgs[] asmLineChangeoverEventArgs)
{
if (asmLineChangeoverEventArgs == null) { return null; }
List<Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs> itacLineChangeoverEventArgs = new List<Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs>();
for (int i = 0; i < asmLineChangeoverEventArgs.Length; i++)
{
itacLineChangeoverEventArgs.Add(LineChangeoverEventArgsMapper.get(asmLineChangeoverEventArgs[i]));
}
return itacLineChangeoverEventArgs;
}
// map type from ASM namespace to iTAC namespace
public static LineChangeoverEventArgs get(Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs asmLineChangeoverEventArgs)
{
if (asmLineChangeoverEventArgs == null) { return null; }
LineChangeoverEventArgs itacLineChangeoverEventArgs = new LineChangeoverEventArgs();
mapAsm2Itac(asmLineChangeoverEventArgs, itacLineChangeoverEventArgs);
return itacLineChangeoverEventArgs;
}
public static void mapAsm2Itac(Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs asmLineChangeoverEventArgs, LineChangeoverEventArgs itacLineChangeoverEventArgs)
{
itacLineChangeoverEventArgs.Line = com.itac.oib.siplacepro.contracts.data.LineMapper.get(asmLineChangeoverEventArgs.Line);
// complex asm property Line
itacLineChangeoverEventArgs.Setup = com.itac.oib.siplacepro.contracts.data.SetupMapper.get(asmLineChangeoverEventArgs.Setup);
// complex asm property Setup
itacLineChangeoverEventArgs.ConveyorInfoRight = com.itac.oib.client.customextensions.ConveyorInfoMapper.get(asmLineChangeoverEventArgs.ConveyorInfoRight);
// complex asm property ConveyorInfoRight
itacLineChangeoverEventArgs.ConveyorInfoLeft = com.itac.oib.client.customextensions.ConveyorInfoMapper.get(asmLineChangeoverEventArgs.ConveyorInfoLeft);
// complex asm property ConveyorInfoLeft
// maps ASM list 2 iTAC array
/// TODO mappen in unetrschiedlichen Type bei OIB 3
itacLineChangeoverEventArgs.MachineSetups = MachineSetupMapper.getArray(asmLineChangeoverEventArgs.MachineSetups);
}
// maps ASM namespace conform list to iTAC namespace array
public static LineChangeoverEventArgs[] getArray(IList<Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs> asmLineChangeoverEventArgs)
{
if (asmLineChangeoverEventArgs == null) { return null; }
LineChangeoverEventArgs[] itacLineChangeoverEventArgs = new LineChangeoverEventArgs[asmLineChangeoverEventArgs.Count];
for (int i = 0; i < asmLineChangeoverEventArgs.Count; i++)
{
itacLineChangeoverEventArgs[i] = LineChangeoverEventArgsMapper.get(asmLineChangeoverEventArgs[i]);
}
return itacLineChangeoverEventArgs;
}
// maps ASM namespace conform array to iTAC namespace array
public static LineChangeoverEventArgs[] getArray(Asm.As.Oib.Client.CustomExtensions.LineChangeoverEventArgs[] asmLineChangeoverEventArgs)
{
if (asmLineChangeoverEventArgs == null) { return null; }
LineChangeoverEventArgs[] itacLineChangeoverEventArgs = new LineChangeoverEventArgs[asmLineChangeoverEventArgs.Length];
for (int i = 0; i < asmLineChangeoverEventArgs.Length; i++)
{
itacLineChangeoverEventArgs[i] = LineChangeoverEventArgsMapper.get(asmLineChangeoverEventArgs[i]);
}
return itacLineChangeoverEventArgs;
}
}
}

View File

@@ -0,0 +1,107 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
using com.itac.oib.boardgatekeeper.contracts.data;
namespace com.itac.oib.client.customextensions
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client.CustomExtensions
public class VirtualInkspotHandlerBoardRequestMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest get(VirtualInkspotHandlerBoardRequest itacVirtualInkspotHandlerBoardRequest)
{
if (itacVirtualInkspotHandlerBoardRequest == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest asmVirtualInkspotHandlerBoardRequest = new Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest();
mapItac2Asm(asmVirtualInkspotHandlerBoardRequest, itacVirtualInkspotHandlerBoardRequest);
return asmVirtualInkspotHandlerBoardRequest;
}
public static void mapItac2Asm(Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest asmVirtualInkspotHandlerBoardRequest, VirtualInkspotHandlerBoardRequest itacVirtualInkspotHandlerBoardRequest)
{
// complex property BoardRequestData, isArray:False, isGeneric:False
asmVirtualInkspotHandlerBoardRequest.BoardRequestData = com.itac.oib.boardgatekeeper.contracts.data.BoardRequestDataMapper.get( itacVirtualInkspotHandlerBoardRequest.BoardRequestData);
// complex property BoardRequestResult, isArray:False, isGeneric:False
asmVirtualInkspotHandlerBoardRequest.BoardRequestResult = com.itac.oib.boardgatekeeper.contracts.data.BoardRequestResultMapper.get( itacVirtualInkspotHandlerBoardRequest.BoardRequestResult);
asmVirtualInkspotHandlerBoardRequest.RecipeFullPath = itacVirtualInkspotHandlerBoardRequest.RecipeFullPath;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest[] get(VirtualInkspotHandlerBoardRequest[] itacVirtualInkspotHandlerBoardRequest)
{
if (itacVirtualInkspotHandlerBoardRequest == null) { return null; }
Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest[] asmVirtualInkspotHandlerBoardRequest = new Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest[itacVirtualInkspotHandlerBoardRequest.Length];
for (int i = 0; i < itacVirtualInkspotHandlerBoardRequest.Length; i++)
{
// to itac array
asmVirtualInkspotHandlerBoardRequest[i] = VirtualInkspotHandlerBoardRequestMapper.get(itacVirtualInkspotHandlerBoardRequest[i]);
}
return asmVirtualInkspotHandlerBoardRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest> getList(VirtualInkspotHandlerBoardRequest[] asmVirtualInkspotHandlerBoardRequest)
{
if (asmVirtualInkspotHandlerBoardRequest == null) { return null; }
List<Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest> itacVirtualInkspotHandlerBoardRequest = new List<Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest>();
for (int i = 0; i < asmVirtualInkspotHandlerBoardRequest.Length; i++)
{
itacVirtualInkspotHandlerBoardRequest.Add(VirtualInkspotHandlerBoardRequestMapper.get(asmVirtualInkspotHandlerBoardRequest[i]));
}
return itacVirtualInkspotHandlerBoardRequest;
}
// map type from ASM namespace to iTAC namespace
public static VirtualInkspotHandlerBoardRequest get(Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest asmVirtualInkspotHandlerBoardRequest)
{
if (asmVirtualInkspotHandlerBoardRequest == null) { return null; }
VirtualInkspotHandlerBoardRequest itacVirtualInkspotHandlerBoardRequest = new VirtualInkspotHandlerBoardRequest();
mapAsm2Itac(asmVirtualInkspotHandlerBoardRequest, itacVirtualInkspotHandlerBoardRequest);
return itacVirtualInkspotHandlerBoardRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest asmVirtualInkspotHandlerBoardRequest, VirtualInkspotHandlerBoardRequest itacVirtualInkspotHandlerBoardRequest)
{
itacVirtualInkspotHandlerBoardRequest.BoardRequestData = com.itac.oib.boardgatekeeper.contracts.data.BoardRequestDataMapper.get(asmVirtualInkspotHandlerBoardRequest.BoardRequestData);
// complex asm property BoardRequestData
itacVirtualInkspotHandlerBoardRequest.BoardRequestResult = com.itac.oib.boardgatekeeper.contracts.data.BoardRequestResultMapper.get(asmVirtualInkspotHandlerBoardRequest.BoardRequestResult);
// complex asm property BoardRequestResult
itacVirtualInkspotHandlerBoardRequest.RecipeFullPath = asmVirtualInkspotHandlerBoardRequest.RecipeFullPath;
}
// maps ASM namespace conform list to iTAC namespace array
public static VirtualInkspotHandlerBoardRequest[] getArray(IList<Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest> asmVirtualInkspotHandlerBoardRequest)
{
if (asmVirtualInkspotHandlerBoardRequest == null) { return null; }
VirtualInkspotHandlerBoardRequest[] itacVirtualInkspotHandlerBoardRequest = new VirtualInkspotHandlerBoardRequest[asmVirtualInkspotHandlerBoardRequest.Count];
for (int i = 0; i < asmVirtualInkspotHandlerBoardRequest.Count; i++)
{
itacVirtualInkspotHandlerBoardRequest[i] = VirtualInkspotHandlerBoardRequestMapper.get(asmVirtualInkspotHandlerBoardRequest[i]);
}
return itacVirtualInkspotHandlerBoardRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static VirtualInkspotHandlerBoardRequest[] getArray(Asm.As.Oib.Client.CustomExtensions.VirtualInkspotHandlerBoardRequest[] asmVirtualInkspotHandlerBoardRequest)
{
if (asmVirtualInkspotHandlerBoardRequest == null) { return null; }
VirtualInkspotHandlerBoardRequest[] itacVirtualInkspotHandlerBoardRequest = new VirtualInkspotHandlerBoardRequest[asmVirtualInkspotHandlerBoardRequest.Length];
for (int i = 0; i < asmVirtualInkspotHandlerBoardRequest.Length; i++)
{
itacVirtualInkspotHandlerBoardRequest[i] = VirtualInkspotHandlerBoardRequestMapper.get(asmVirtualInkspotHandlerBoardRequest[i]);
}
return itacVirtualInkspotHandlerBoardRequest;
}
}
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.service;
namespace com.itac.oib.client
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class OibLineControlAccessMapper:OibServiceMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Client.OibLineControlAccess get(OibLineControlAccess itacOibLineControlAccess)
{
if (itacOibLineControlAccess == null) { return null; }
Asm.As.Oib.Client.OibLineControlAccess asmOibLineControlAccess = new Asm.As.Oib.Client.OibLineControlAccess(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmOibLineControlAccess, itacOibLineControlAccess);
return asmOibLineControlAccess;
}
public static void mapItac2Asm(Asm.As.Oib.Client.OibLineControlAccess asmOibLineControlAccess, OibLineControlAccess itacOibLineControlAccess)
{
// property LineControlSession is readonly(no set method)
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Client.OibLineControlAccess[] get(OibLineControlAccess[] itacOibLineControlAccess)
{
if (itacOibLineControlAccess == null) { return null; }
Asm.As.Oib.Client.OibLineControlAccess[] asmOibLineControlAccess = new Asm.As.Oib.Client.OibLineControlAccess[itacOibLineControlAccess.Length];
for (int i = 0; i < itacOibLineControlAccess.Length; i++)
{
// to itac array
asmOibLineControlAccess[i] = OibLineControlAccessMapper.get(itacOibLineControlAccess[i]);
}
return asmOibLineControlAccess;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Client.OibLineControlAccess> getList(OibLineControlAccess[] asmOibLineControlAccess)
{
if (asmOibLineControlAccess == null) { return null; }
List<Asm.As.Oib.Client.OibLineControlAccess> itacOibLineControlAccess = new List<Asm.As.Oib.Client.OibLineControlAccess>();
for (int i = 0; i < asmOibLineControlAccess.Length; i++)
{
itacOibLineControlAccess.Add(OibLineControlAccessMapper.get(asmOibLineControlAccess[i]));
}
return itacOibLineControlAccess;
}
// map type from ASM namespace to iTAC namespace
public static OibLineControlAccess get(Asm.As.Oib.Client.OibLineControlAccess asmOibLineControlAccess)
{
if (asmOibLineControlAccess == null) { return null; }
OibLineControlAccess itacOibLineControlAccess = new OibLineControlAccess();
mapAsm2Itac(asmOibLineControlAccess, itacOibLineControlAccess);
return itacOibLineControlAccess;
}
public static void mapAsm2Itac(Asm.As.Oib.Client.OibLineControlAccess asmOibLineControlAccess, OibLineControlAccess itacOibLineControlAccess)
{
OibServiceMapper.mapAsm2Itac(asmOibLineControlAccess, itacOibLineControlAccess);
itacOibLineControlAccess.LineControlSession = com.itac.oib.linecontrol.service.LineControlMapper.get(asmOibLineControlAccess.LineControlSession);
// complex asm property LineControlSession
}
// maps ASM namespace conform list to iTAC namespace array
public static OibLineControlAccess[] getArray(IList<Asm.As.Oib.Client.OibLineControlAccess> asmOibLineControlAccess)
{
if (asmOibLineControlAccess == null) { return null; }
OibLineControlAccess[] itacOibLineControlAccess = new OibLineControlAccess[asmOibLineControlAccess.Count];
for (int i = 0; i < asmOibLineControlAccess.Count; i++)
{
itacOibLineControlAccess[i] = OibLineControlAccessMapper.get(asmOibLineControlAccess[i]);
}
return itacOibLineControlAccess;
}
// maps ASM namespace conform array to iTAC namespace array
public static OibLineControlAccess[] getArray(Asm.As.Oib.Client.OibLineControlAccess[] asmOibLineControlAccess)
{
if (asmOibLineControlAccess == null) { return null; }
OibLineControlAccess[] itacOibLineControlAccess = new OibLineControlAccess[asmOibLineControlAccess.Length];
for (int i = 0; i < asmOibLineControlAccess.Length; i++)
{
itacOibLineControlAccess[i] = OibLineControlAccessMapper.get(asmOibLineControlAccess[i]);
}
return itacOibLineControlAccess;
}
}
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.client
{
// source: assembly 2.3.0.2
// source: assembly ASM.AS.OIB.Client
public class OibServiceMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Client.OibService get(OibService itacOibService)
{
if (itacOibService == null) { return null; }
Asm.As.Oib.Client.OibService asmOibService = new Asm.As.Oib.Client.OibService(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmOibService, itacOibService);
return asmOibService;
}
public static void mapItac2Asm(Asm.As.Oib.Client.OibService asmOibService, OibService itacOibService)
{
// property IsDisposed is readonly(no set method)
// property ComputerName is readonly(no set method)
// property OibServiceName is readonly(no set method)
// property OibServiceDisplayName is readonly(no set method)
// property OibServiceComputerName is readonly(no set method)
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Client.OibService[] get(OibService[] itacOibService)
{
if (itacOibService == null) { return null; }
Asm.As.Oib.Client.OibService[] asmOibService = new Asm.As.Oib.Client.OibService[itacOibService.Length];
for (int i = 0; i < itacOibService.Length; i++)
{
// to itac array
asmOibService[i] = OibServiceMapper.get(itacOibService[i]);
}
return asmOibService;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Client.OibService> getList(OibService[] asmOibService)
{
if (asmOibService == null) { return null; }
List<Asm.As.Oib.Client.OibService> itacOibService = new List<Asm.As.Oib.Client.OibService>();
for (int i = 0; i < asmOibService.Length; i++)
{
itacOibService.Add(OibServiceMapper.get(asmOibService[i]));
}
return itacOibService;
}
// map type from ASM namespace to iTAC namespace
public static OibService get(Asm.As.Oib.Client.OibService asmOibService)
{
if (asmOibService == null) { return null; }
OibService itacOibService = new OibService();
mapAsm2Itac(asmOibService, itacOibService);
return itacOibService;
}
public static void mapAsm2Itac(Asm.As.Oib.Client.OibService asmOibService, OibService itacOibService)
{
itacOibService.IsDisposed = asmOibService.IsDisposed;
itacOibService.ComputerName = asmOibService.ComputerName;
itacOibService.OibServiceName = asmOibService.OibServiceName;
itacOibService.OibServiceDisplayName = asmOibService.OibServiceDisplayName;
itacOibService.OibServiceComputerName = asmOibService.OibServiceComputerName;
}
// maps ASM namespace conform list to iTAC namespace array
public static OibService[] getArray(IList<Asm.As.Oib.Client.OibService> asmOibService)
{
if (asmOibService == null) { return null; }
OibService[] itacOibService = new OibService[asmOibService.Count];
for (int i = 0; i < asmOibService.Count; i++)
{
itacOibService[i] = OibServiceMapper.get(asmOibService[i]);
}
return itacOibService;
}
// maps ASM namespace conform array to iTAC namespace array
public static OibService[] getArray(Asm.As.Oib.Client.OibService[] asmOibService)
{
if (asmOibService == null) { return null; }
OibService[] itacOibService = new OibService[asmOibService.Length];
for (int i = 0; i < asmOibService.Length; i++)
{
itacOibService[i] = OibServiceMapper.get(asmOibService[i]);
}
return itacOibService;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class AcknowledgementTypeMapper
{
// map asm enum value to itac enum value
public static AcknowledgementType get(Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType acknowledgementType)
{
int intValue = (int)acknowledgementType;
return (AcknowledgementType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType get(AcknowledgementType acknowledgementType)
{
int intValue = (int)acknowledgementType;
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType)intValue;
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
// skip property Guid, declared in Answer
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class AnswerMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.Answer get(Answer itacAnswer)
{
if (itacAnswer == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.Answer("");
mapItac2Asm(asmAnswer, itacAnswer);
return asmAnswer;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer, Answer itacAnswer)
{
// skip property Guid, declared in Answer
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.Answer[] get(Answer[] itacAnswer)
{
if (itacAnswer == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.Answer[] asmAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.Answer[itacAnswer.Length];
for (int i = 0; i < itacAnswer.Length; i++)
{
// to itac array
asmAnswer[i] = AnswerMapper.get(itacAnswer[i]);
}
return asmAnswer;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.Answer> getList(Answer[] asmAnswer)
{
if (asmAnswer == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.Answer> itacAnswer = new List<Asm.As.Oib.DisplayService.Contracts.Data.Answer>();
for (int i = 0; i < asmAnswer.Length; i++)
{
itacAnswer.Add(AnswerMapper.get(asmAnswer[i]));
}
return itacAnswer;
}
// map type from ASM namespace to iTAC namespace
public static Answer get(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer)
{
if (asmAnswer == null) { return null; }
Answer itacAnswer = new Answer();
mapAsm2Itac(asmAnswer, itacAnswer);
return itacAnswer;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer, Answer itacAnswer)
{
// skip property Guid, declared in Answer
}
// maps ASM namespace conform list to iTAC namespace array
public static Answer[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.Answer> asmAnswer)
{
if (asmAnswer == null) { return null; }
Answer[] itacAnswer = new Answer[asmAnswer.Count];
for (int i = 0; i < asmAnswer.Count; i++)
{
itacAnswer[i] = AnswerMapper.get(asmAnswer[i]);
}
return itacAnswer;
}
// maps ASM namespace conform array to iTAC namespace array
public static Answer[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.Answer[] asmAnswer)
{
if (asmAnswer == null) { return null; }
Answer[] itacAnswer = new Answer[asmAnswer.Length];
for (int i = 0; i < asmAnswer.Length; i++)
{
itacAnswer[i] = AnswerMapper.get(asmAnswer[i]);
}
return itacAnswer;
}
}
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
// skip property Guid, declared in ClientRegistration
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class ClientRegistrationMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration get(ClientRegistration itacClientRegistration)
{
if (itacClientRegistration == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration();
mapItac2Asm(asmClientRegistration, itacClientRegistration);
return asmClientRegistration;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration, ClientRegistration itacClientRegistration)
{
// skip property Guid, declared in ClientRegistration
asmClientRegistration.ClientReceivedConfirmation = itacClientRegistration.ClientReceivedConfirmation;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] get(ClientRegistration[] itacClientRegistration)
{
if (itacClientRegistration == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] asmClientRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[itacClientRegistration.Length];
for (int i = 0; i < itacClientRegistration.Length; i++)
{
// to itac array
asmClientRegistration[i] = ClientRegistrationMapper.get(itacClientRegistration[i]);
}
return asmClientRegistration;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> getList(ClientRegistration[] asmClientRegistration)
{
if (asmClientRegistration == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> itacClientRegistration = new List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration>();
for (int i = 0; i < asmClientRegistration.Length; i++)
{
itacClientRegistration.Add(ClientRegistrationMapper.get(asmClientRegistration[i]));
}
return itacClientRegistration;
}
// map type from ASM namespace to iTAC namespace
public static ClientRegistration get(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration)
{
if (asmClientRegistration == null) { return null; }
ClientRegistration itacClientRegistration = new ClientRegistration();
mapAsm2Itac(asmClientRegistration, itacClientRegistration);
return itacClientRegistration;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration, ClientRegistration itacClientRegistration)
{
// skip property Guid, declared in ClientRegistration
itacClientRegistration.ClientReceivedConfirmation = asmClientRegistration.ClientReceivedConfirmation;
}
// maps ASM namespace conform list to iTAC namespace array
public static ClientRegistration[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> asmClientRegistration)
{
if (asmClientRegistration == null) { return null; }
ClientRegistration[] itacClientRegistration = new ClientRegistration[asmClientRegistration.Count];
for (int i = 0; i < asmClientRegistration.Count; i++)
{
itacClientRegistration[i] = ClientRegistrationMapper.get(asmClientRegistration[i]);
}
return itacClientRegistration;
}
// maps ASM namespace conform array to iTAC namespace array
public static ClientRegistration[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] asmClientRegistration)
{
if (asmClientRegistration == null) { return null; }
ClientRegistration[] itacClientRegistration = new ClientRegistration[asmClientRegistration.Length];
for (int i = 0; i < asmClientRegistration.Length; i++)
{
itacClientRegistration[i] = ClientRegistrationMapper.get(asmClientRegistration[i]);
}
return itacClientRegistration;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class ConfirmationReceivedRequestMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest get(ConfirmationReceivedRequest itacConfirmationReceivedRequest)
{
if (itacConfirmationReceivedRequest == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest();
mapItac2Asm(asmConfirmationReceivedRequest, itacConfirmationReceivedRequest);
return asmConfirmationReceivedRequest;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest, ConfirmationReceivedRequest itacConfirmationReceivedRequest)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] get(ConfirmationReceivedRequest[] itacConfirmationReceivedRequest)
{
if (itacConfirmationReceivedRequest == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] asmConfirmationReceivedRequest = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[itacConfirmationReceivedRequest.Length];
for (int i = 0; i < itacConfirmationReceivedRequest.Length; i++)
{
// to itac array
asmConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(itacConfirmationReceivedRequest[i]);
}
return asmConfirmationReceivedRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> getList(ConfirmationReceivedRequest[] asmConfirmationReceivedRequest)
{
if (asmConfirmationReceivedRequest == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> itacConfirmationReceivedRequest = new List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest>();
for (int i = 0; i < asmConfirmationReceivedRequest.Length; i++)
{
itacConfirmationReceivedRequest.Add(ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]));
}
return itacConfirmationReceivedRequest;
}
// map type from ASM namespace to iTAC namespace
public static ConfirmationReceivedRequest get(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest)
{
if (asmConfirmationReceivedRequest == null) { return null; }
ConfirmationReceivedRequest itacConfirmationReceivedRequest = new ConfirmationReceivedRequest();
mapAsm2Itac(asmConfirmationReceivedRequest, itacConfirmationReceivedRequest);
return itacConfirmationReceivedRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest, ConfirmationReceivedRequest itacConfirmationReceivedRequest)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static ConfirmationReceivedRequest[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> asmConfirmationReceivedRequest)
{
if (asmConfirmationReceivedRequest == null) { return null; }
ConfirmationReceivedRequest[] itacConfirmationReceivedRequest = new ConfirmationReceivedRequest[asmConfirmationReceivedRequest.Count];
for (int i = 0; i < asmConfirmationReceivedRequest.Count; i++)
{
itacConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]);
}
return itacConfirmationReceivedRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static ConfirmationReceivedRequest[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] asmConfirmationReceivedRequest)
{
if (asmConfirmationReceivedRequest == null) { return null; }
ConfirmationReceivedRequest[] itacConfirmationReceivedRequest = new ConfirmationReceivedRequest[asmConfirmationReceivedRequest.Length];
for (int i = 0; i < asmConfirmationReceivedRequest.Length; i++)
{
itacConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]);
}
return itacConfirmationReceivedRequest;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class ConfirmationReceivedResponseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse get(ConfirmationReceivedResponse itacConfirmationReceivedResponse)
{
if (itacConfirmationReceivedResponse == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse();
mapItac2Asm(asmConfirmationReceivedResponse, itacConfirmationReceivedResponse);
return asmConfirmationReceivedResponse;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse, ConfirmationReceivedResponse itacConfirmationReceivedResponse)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] get(ConfirmationReceivedResponse[] itacConfirmationReceivedResponse)
{
if (itacConfirmationReceivedResponse == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] asmConfirmationReceivedResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[itacConfirmationReceivedResponse.Length];
for (int i = 0; i < itacConfirmationReceivedResponse.Length; i++)
{
// to itac array
asmConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(itacConfirmationReceivedResponse[i]);
}
return asmConfirmationReceivedResponse;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> getList(ConfirmationReceivedResponse[] asmConfirmationReceivedResponse)
{
if (asmConfirmationReceivedResponse == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> itacConfirmationReceivedResponse = new List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse>();
for (int i = 0; i < asmConfirmationReceivedResponse.Length; i++)
{
itacConfirmationReceivedResponse.Add(ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]));
}
return itacConfirmationReceivedResponse;
}
// map type from ASM namespace to iTAC namespace
public static ConfirmationReceivedResponse get(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse)
{
if (asmConfirmationReceivedResponse == null) { return null; }
ConfirmationReceivedResponse itacConfirmationReceivedResponse = new ConfirmationReceivedResponse();
mapAsm2Itac(asmConfirmationReceivedResponse, itacConfirmationReceivedResponse);
return itacConfirmationReceivedResponse;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse, ConfirmationReceivedResponse itacConfirmationReceivedResponse)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static ConfirmationReceivedResponse[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> asmConfirmationReceivedResponse)
{
if (asmConfirmationReceivedResponse == null) { return null; }
ConfirmationReceivedResponse[] itacConfirmationReceivedResponse = new ConfirmationReceivedResponse[asmConfirmationReceivedResponse.Count];
for (int i = 0; i < asmConfirmationReceivedResponse.Count; i++)
{
itacConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]);
}
return itacConfirmationReceivedResponse;
}
// maps ASM namespace conform array to iTAC namespace array
public static ConfirmationReceivedResponse[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] asmConfirmationReceivedResponse)
{
if (asmConfirmationReceivedResponse == null) { return null; }
ConfirmationReceivedResponse[] itacConfirmationReceivedResponse = new ConfirmationReceivedResponse[asmConfirmationReceivedResponse.Length];
for (int i = 0; i < asmConfirmationReceivedResponse.Length; i++)
{
itacConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]);
}
return itacConfirmationReceivedResponse;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class MessageDeliveryDetailsMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails get(MessageDeliveryDetails itacMessageDeliveryDetails)
{
if (itacMessageDeliveryDetails == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails = new Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails(null);
mapItac2Asm(asmMessageDeliveryDetails, itacMessageDeliveryDetails);
return asmMessageDeliveryDetails;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails, MessageDeliveryDetails itacMessageDeliveryDetails)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] get(MessageDeliveryDetails[] itacMessageDeliveryDetails)
{
if (itacMessageDeliveryDetails == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] asmMessageDeliveryDetails = new Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[itacMessageDeliveryDetails.Length];
for (int i = 0; i < itacMessageDeliveryDetails.Length; i++)
{
// to itac array
asmMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(itacMessageDeliveryDetails[i]);
}
return asmMessageDeliveryDetails;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> getList(MessageDeliveryDetails[] asmMessageDeliveryDetails)
{
if (asmMessageDeliveryDetails == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> itacMessageDeliveryDetails = new List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails>();
for (int i = 0; i < asmMessageDeliveryDetails.Length; i++)
{
itacMessageDeliveryDetails.Add(MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]));
}
return itacMessageDeliveryDetails;
}
// map type from ASM namespace to iTAC namespace
public static MessageDeliveryDetails get(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails)
{
if (asmMessageDeliveryDetails == null) { return null; }
MessageDeliveryDetails itacMessageDeliveryDetails = new MessageDeliveryDetails();
mapAsm2Itac(asmMessageDeliveryDetails, itacMessageDeliveryDetails);
return itacMessageDeliveryDetails;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails, MessageDeliveryDetails itacMessageDeliveryDetails)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static MessageDeliveryDetails[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> asmMessageDeliveryDetails)
{
if (asmMessageDeliveryDetails == null) { return null; }
MessageDeliveryDetails[] itacMessageDeliveryDetails = new MessageDeliveryDetails[asmMessageDeliveryDetails.Count];
for (int i = 0; i < asmMessageDeliveryDetails.Count; i++)
{
itacMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]);
}
return itacMessageDeliveryDetails;
}
// maps ASM namespace conform array to iTAC namespace array
public static MessageDeliveryDetails[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] asmMessageDeliveryDetails)
{
if (asmMessageDeliveryDetails == null) { return null; }
MessageDeliveryDetails[] itacMessageDeliveryDetails = new MessageDeliveryDetails[asmMessageDeliveryDetails.Length];
for (int i = 0; i < asmMessageDeliveryDetails.Length; i++)
{
itacMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]);
}
return itacMessageDeliveryDetails;
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
// skip property Guid, declared in Message
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class MessageMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.Message get(Message itacMessage)
{
if (itacMessage == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage = new Asm.As.Oib.DisplayService.Contracts.Data.Message();
mapItac2Asm(asmMessage, itacMessage);
return asmMessage;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage, Message itacMessage)
{
// skip property Guid, declared in Message
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.Message[] get(Message[] itacMessage)
{
if (itacMessage == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.Message[] asmMessage = new Asm.As.Oib.DisplayService.Contracts.Data.Message[itacMessage.Length];
for (int i = 0; i < itacMessage.Length; i++)
{
// to itac array
asmMessage[i] = MessageMapper.get(itacMessage[i]);
}
return asmMessage;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.Message> getList(Message[] asmMessage)
{
if (asmMessage == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.Message> itacMessage = new List<Asm.As.Oib.DisplayService.Contracts.Data.Message>();
for (int i = 0; i < asmMessage.Length; i++)
{
itacMessage.Add(MessageMapper.get(asmMessage[i]));
}
return itacMessage;
}
// map type from ASM namespace to iTAC namespace
public static Message get(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage)
{
if (asmMessage == null) { return null; }
Message itacMessage = new Message();
mapAsm2Itac(asmMessage, itacMessage);
return itacMessage;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage, Message itacMessage)
{
// skip property Guid, declared in Message
}
// maps ASM namespace conform list to iTAC namespace array
public static Message[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.Message> asmMessage)
{
if (asmMessage == null) { return null; }
Message[] itacMessage = new Message[asmMessage.Count];
for (int i = 0; i < asmMessage.Count; i++)
{
itacMessage[i] = MessageMapper.get(asmMessage[i]);
}
return itacMessage;
}
// maps ASM namespace conform array to iTAC namespace array
public static Message[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.Message[] asmMessage)
{
if (asmMessage == null) { return null; }
Message[] itacMessage = new Message[asmMessage.Length];
for (int i = 0; i < asmMessage.Length; i++)
{
itacMessage[i] = MessageMapper.get(asmMessage[i]);
}
return itacMessage;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class MessageStateMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageState get(MessageState itacMessageState)
{
if (itacMessageState == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState = new Asm.As.Oib.DisplayService.Contracts.Data.MessageState(null);
mapItac2Asm(asmMessageState, itacMessageState);
return asmMessageState;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState, MessageState itacMessageState)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] get(MessageState[] itacMessageState)
{
if (itacMessageState == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] asmMessageState = new Asm.As.Oib.DisplayService.Contracts.Data.MessageState[itacMessageState.Length];
for (int i = 0; i < itacMessageState.Length; i++)
{
// to itac array
asmMessageState[i] = MessageStateMapper.get(itacMessageState[i]);
}
return asmMessageState;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> getList(MessageState[] asmMessageState)
{
if (asmMessageState == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> itacMessageState = new List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState>();
for (int i = 0; i < asmMessageState.Length; i++)
{
itacMessageState.Add(MessageStateMapper.get(asmMessageState[i]));
}
return itacMessageState;
}
// map type from ASM namespace to iTAC namespace
public static MessageState get(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState)
{
if (asmMessageState == null) { return null; }
MessageState itacMessageState = new MessageState();
mapAsm2Itac(asmMessageState, itacMessageState);
return itacMessageState;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState, MessageState itacMessageState)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static MessageState[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> asmMessageState)
{
if (asmMessageState == null) { return null; }
MessageState[] itacMessageState = new MessageState[asmMessageState.Count];
for (int i = 0; i < asmMessageState.Count; i++)
{
itacMessageState[i] = MessageStateMapper.get(asmMessageState[i]);
}
return itacMessageState;
}
// maps ASM namespace conform array to iTAC namespace array
public static MessageState[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] asmMessageState)
{
if (asmMessageState == null) { return null; }
MessageState[] itacMessageState = new MessageState[asmMessageState.Length];
for (int i = 0; i < asmMessageState.Length; i++)
{
itacMessageState[i] = MessageStateMapper.get(asmMessageState[i]);
}
return itacMessageState;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class SendMessageResponseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse get(SendMessageResponse itacSendMessageResponse)
{
if (itacSendMessageResponse == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse();
mapItac2Asm(asmSendMessageResponse, itacSendMessageResponse);
return asmSendMessageResponse;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse, SendMessageResponse itacSendMessageResponse)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] get(SendMessageResponse[] itacSendMessageResponse)
{
if (itacSendMessageResponse == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] asmSendMessageResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[itacSendMessageResponse.Length];
for (int i = 0; i < itacSendMessageResponse.Length; i++)
{
// to itac array
asmSendMessageResponse[i] = SendMessageResponseMapper.get(itacSendMessageResponse[i]);
}
return asmSendMessageResponse;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> getList(SendMessageResponse[] asmSendMessageResponse)
{
if (asmSendMessageResponse == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> itacSendMessageResponse = new List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse>();
for (int i = 0; i < asmSendMessageResponse.Length; i++)
{
itacSendMessageResponse.Add(SendMessageResponseMapper.get(asmSendMessageResponse[i]));
}
return itacSendMessageResponse;
}
// map type from ASM namespace to iTAC namespace
public static SendMessageResponse get(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse)
{
if (asmSendMessageResponse == null) { return null; }
SendMessageResponse itacSendMessageResponse = new SendMessageResponse();
mapAsm2Itac(asmSendMessageResponse, itacSendMessageResponse);
return itacSendMessageResponse;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse, SendMessageResponse itacSendMessageResponse)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static SendMessageResponse[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> asmSendMessageResponse)
{
if (asmSendMessageResponse == null) { return null; }
SendMessageResponse[] itacSendMessageResponse = new SendMessageResponse[asmSendMessageResponse.Count];
for (int i = 0; i < asmSendMessageResponse.Count; i++)
{
itacSendMessageResponse[i] = SendMessageResponseMapper.get(asmSendMessageResponse[i]);
}
return itacSendMessageResponse;
}
// maps ASM namespace conform array to iTAC namespace array
public static SendMessageResponse[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] asmSendMessageResponse)
{
if (asmSendMessageResponse == null) { return null; }
SendMessageResponse[] itacSendMessageResponse = new SendMessageResponse[asmSendMessageResponse.Length];
for (int i = 0; i < asmSendMessageResponse.Length; i++)
{
itacSendMessageResponse[i] = SendMessageResponseMapper.get(asmSendMessageResponse[i]);
}
return itacSendMessageResponse;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class SeverityLevelMapper
{
// map asm enum value to itac enum value
public static SeverityLevel get(Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel severityLevel)
{
int intValue = (int)severityLevel;
return (SeverityLevel)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel get(SeverityLevel severityLevel)
{
int intValue = (int)severityLevel;
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel)intValue;
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
// skip property Guid, declared in SubAnswer
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class SubAnswerMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer get(SubAnswer itacSubAnswer)
{
if (itacSubAnswer == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer("");
mapItac2Asm(asmSubAnswer, itacSubAnswer);
return asmSubAnswer;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer, SubAnswer itacSubAnswer)
{
// skip property Guid, declared in SubAnswer
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] get(SubAnswer[] itacSubAnswer)
{
if (itacSubAnswer == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] asmSubAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[itacSubAnswer.Length];
for (int i = 0; i < itacSubAnswer.Length; i++)
{
// to itac array
asmSubAnswer[i] = SubAnswerMapper.get(itacSubAnswer[i]);
}
return asmSubAnswer;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> getList(SubAnswer[] asmSubAnswer)
{
if (asmSubAnswer == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> itacSubAnswer = new List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer>();
for (int i = 0; i < asmSubAnswer.Length; i++)
{
itacSubAnswer.Add(SubAnswerMapper.get(asmSubAnswer[i]));
}
return itacSubAnswer;
}
// map type from ASM namespace to iTAC namespace
public static SubAnswer get(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer)
{
if (asmSubAnswer == null) { return null; }
SubAnswer itacSubAnswer = new SubAnswer();
mapAsm2Itac(asmSubAnswer, itacSubAnswer);
return itacSubAnswer;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer, SubAnswer itacSubAnswer)
{
// skip property Guid, declared in SubAnswer
}
// maps ASM namespace conform list to iTAC namespace array
public static SubAnswer[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> asmSubAnswer)
{
if (asmSubAnswer == null) { return null; }
SubAnswer[] itacSubAnswer = new SubAnswer[asmSubAnswer.Count];
for (int i = 0; i < asmSubAnswer.Count; i++)
{
itacSubAnswer[i] = SubAnswerMapper.get(asmSubAnswer[i]);
}
return itacSubAnswer;
}
// maps ASM namespace conform array to iTAC namespace array
public static SubAnswer[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] asmSubAnswer)
{
if (asmSubAnswer == null) { return null; }
SubAnswer[] itacSubAnswer = new SubAnswer[asmSubAnswer.Length];
for (int i = 0; i < asmSubAnswer.Length; i++)
{
itacSubAnswer[i] = SubAnswerMapper.get(asmSubAnswer[i]);
}
return itacSubAnswer;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class ViewerIdentificationMapper
{
// map asm enum value to itac enum value
public static ViewerIdentification get(Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification viewerIdentification)
{
int intValue = (int)viewerIdentification;
return (ViewerIdentification)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification get(ViewerIdentification viewerIdentification)
{
int intValue = (int)viewerIdentification;
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification)intValue;
}
}
}

View File

@@ -0,0 +1,126 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:05:09
// skip (ignore generic type IPAddress)
// skip property Guid, declared in ViewerRegistration
using System;
using System.Collections.Generic;
namespace com.itac.oib.displayservice.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.DisplayService.Contracts
public class ViewerRegistrationMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration get(ViewerRegistration itacViewerRegistration)
{
if (itacViewerRegistration == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration();
mapItac2Asm(asmViewerRegistration, itacViewerRegistration);
return asmViewerRegistration;
}
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration, ViewerRegistration itacViewerRegistration)
{
asmViewerRegistration.ComputerName = itacViewerRegistration.ComputerName;
asmViewerRegistration.EndpointAddress = itacViewerRegistration.EndpointAddress;
asmViewerRegistration.DispatcherEndpointAddress = itacViewerRegistration.DispatcherEndpointAddress;
asmViewerRegistration.ViewerGUID = itacViewerRegistration.ViewerGUID;
asmViewerRegistration.SIPLACEProStationPath = itacViewerRegistration.SIPLACEProStationPath;
asmViewerRegistration.SIPLACEProLinePath = itacViewerRegistration.SIPLACEProLinePath;
asmViewerRegistration.SIPLACEProStationIndexInLine = itacViewerRegistration.SIPLACEProStationIndexInLine;
asmViewerRegistration.SIPLACEProStationOID = itacViewerRegistration.SIPLACEProStationOID;
asmViewerRegistration.SIPLACEProLineOID = itacViewerRegistration.SIPLACEProLineOID;
asmViewerRegistration.SIPLACEProDatabaseId = itacViewerRegistration.SIPLACEProDatabaseId;
// skip readonly property IPAddressesString
// skip (ignore generic type IPAddress)
// skip property Guid, declared in ViewerRegistration
asmViewerRegistration.MessagesDeliveredSuccessfully = itacViewerRegistration.MessagesDeliveredSuccessfully;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] get(ViewerRegistration[] itacViewerRegistration)
{
if (itacViewerRegistration == null) { return null; }
Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] asmViewerRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[itacViewerRegistration.Length];
for (int i = 0; i < itacViewerRegistration.Length; i++)
{
// to itac array
asmViewerRegistration[i] = ViewerRegistrationMapper.get(itacViewerRegistration[i]);
}
return asmViewerRegistration;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> getList(ViewerRegistration[] asmViewerRegistration)
{
if (asmViewerRegistration == null) { return null; }
List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> itacViewerRegistration = new List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration>();
for (int i = 0; i < asmViewerRegistration.Length; i++)
{
itacViewerRegistration.Add(ViewerRegistrationMapper.get(asmViewerRegistration[i]));
}
return itacViewerRegistration;
}
// map type from ASM namespace to iTAC namespace
public static ViewerRegistration get(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration)
{
if (asmViewerRegistration == null) { return null; }
ViewerRegistration itacViewerRegistration = new ViewerRegistration();
mapAsm2Itac(asmViewerRegistration, itacViewerRegistration);
return itacViewerRegistration;
}
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration, ViewerRegistration itacViewerRegistration)
{
itacViewerRegistration.ComputerName = asmViewerRegistration.ComputerName;
itacViewerRegistration.EndpointAddress = asmViewerRegistration.EndpointAddress;
itacViewerRegistration.DispatcherEndpointAddress = asmViewerRegistration.DispatcherEndpointAddress;
itacViewerRegistration.ViewerGUID = asmViewerRegistration.ViewerGUID;
itacViewerRegistration.SIPLACEProStationPath = asmViewerRegistration.SIPLACEProStationPath;
itacViewerRegistration.SIPLACEProLinePath = asmViewerRegistration.SIPLACEProLinePath;
itacViewerRegistration.SIPLACEProStationIndexInLine = asmViewerRegistration.SIPLACEProStationIndexInLine;
itacViewerRegistration.SIPLACEProStationOID = asmViewerRegistration.SIPLACEProStationOID;
itacViewerRegistration.SIPLACEProLineOID = asmViewerRegistration.SIPLACEProLineOID;
itacViewerRegistration.SIPLACEProDatabaseId = asmViewerRegistration.SIPLACEProDatabaseId;
itacViewerRegistration.IPAddressesString = asmViewerRegistration.IPAddressesString;
// skip (ignore generic type IPAddress)
// skip property Guid, declared in ViewerRegistration
itacViewerRegistration.MessagesDeliveredSuccessfully = asmViewerRegistration.MessagesDeliveredSuccessfully;
}
// maps ASM namespace conform list to iTAC namespace array
public static ViewerRegistration[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> asmViewerRegistration)
{
if (asmViewerRegistration == null) { return null; }
ViewerRegistration[] itacViewerRegistration = new ViewerRegistration[asmViewerRegistration.Count];
for (int i = 0; i < asmViewerRegistration.Count; i++)
{
itacViewerRegistration[i] = ViewerRegistrationMapper.get(asmViewerRegistration[i]);
}
return itacViewerRegistration;
}
// maps ASM namespace conform array to iTAC namespace array
public static ViewerRegistration[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] asmViewerRegistration)
{
if (asmViewerRegistration == null) { return null; }
ViewerRegistration[] itacViewerRegistration = new ViewerRegistration[asmViewerRegistration.Length];
for (int i = 0; i < asmViewerRegistration.Length; i++)
{
itacViewerRegistration[i] = ViewerRegistrationMapper.get(asmViewerRegistration[i]);
}
return itacViewerRegistration;
}
}
}

View File

@@ -0,0 +1,106 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ComponentKnownButNotSetUpMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp get(ComponentKnownButNotSetUp itacComponentKnownButNotSetUp)
{
if (itacComponentKnownButNotSetUp == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp asmComponentKnownButNotSetUp = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp();
mapItac2Asm(asmComponentKnownButNotSetUp, itacComponentKnownButNotSetUp);
return asmComponentKnownButNotSetUp;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp asmComponentKnownButNotSetUp, ComponentKnownButNotSetUp itacComponentKnownButNotSetUp)
{
asmComponentKnownButNotSetUp.ComponentFullPath = itacComponentKnownButNotSetUp.ComponentFullPath;
asmComponentKnownButNotSetUp.StationFullPath = itacComponentKnownButNotSetUp.StationFullPath;
asmComponentKnownButNotSetUp.LocationNumber = itacComponentKnownButNotSetUp.LocationNumber;
asmComponentKnownButNotSetUp.DeviceNumber = itacComponentKnownButNotSetUp.DeviceNumber;
asmComponentKnownButNotSetUp.AlreadyConfirmed = itacComponentKnownButNotSetUp.AlreadyConfirmed;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[] get(ComponentKnownButNotSetUp[] itacComponentKnownButNotSetUp)
{
if (itacComponentKnownButNotSetUp == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[] asmComponentKnownButNotSetUp = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[itacComponentKnownButNotSetUp.Length];
for (int i = 0; i < itacComponentKnownButNotSetUp.Length; i++)
{
// to itac array
asmComponentKnownButNotSetUp[i] = ComponentKnownButNotSetUpMapper.get(itacComponentKnownButNotSetUp[i]);
}
return asmComponentKnownButNotSetUp;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> getList(ComponentKnownButNotSetUp[] asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> itacComponentKnownButNotSetUp = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp>();
for (int i = 0; i < asmComponentKnownButNotSetUp.Length; i++)
{
itacComponentKnownButNotSetUp.Add(ComponentKnownButNotSetUpMapper.get(asmComponentKnownButNotSetUp[i]));
}
return itacComponentKnownButNotSetUp;
}
// map type from ASM namespace to iTAC namespace
public static ComponentKnownButNotSetUp get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
ComponentKnownButNotSetUp itacComponentKnownButNotSetUp = new ComponentKnownButNotSetUp();
mapAsm2Itac(asmComponentKnownButNotSetUp, itacComponentKnownButNotSetUp);
return itacComponentKnownButNotSetUp;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp asmComponentKnownButNotSetUp, ComponentKnownButNotSetUp itacComponentKnownButNotSetUp)
{
itacComponentKnownButNotSetUp.ComponentFullPath = asmComponentKnownButNotSetUp.ComponentFullPath;
itacComponentKnownButNotSetUp.StationFullPath = asmComponentKnownButNotSetUp.StationFullPath;
itacComponentKnownButNotSetUp.LocationNumber = asmComponentKnownButNotSetUp.LocationNumber;
itacComponentKnownButNotSetUp.DeviceNumber = asmComponentKnownButNotSetUp.DeviceNumber;
itacComponentKnownButNotSetUp.AlreadyConfirmed = asmComponentKnownButNotSetUp.AlreadyConfirmed;
}
// maps ASM namespace conform list to iTAC namespace array
public static ComponentKnownButNotSetUp[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
ComponentKnownButNotSetUp[] itacComponentKnownButNotSetUp = new ComponentKnownButNotSetUp[asmComponentKnownButNotSetUp.Count];
for (int i = 0; i < asmComponentKnownButNotSetUp.Count; i++)
{
itacComponentKnownButNotSetUp[i] = ComponentKnownButNotSetUpMapper.get(asmComponentKnownButNotSetUp[i]);
}
return itacComponentKnownButNotSetUp;
}
// maps ASM namespace conform array to iTAC namespace array
public static ComponentKnownButNotSetUp[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[] asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
ComponentKnownButNotSetUp[] itacComponentKnownButNotSetUp = new ComponentKnownButNotSetUp[asmComponentKnownButNotSetUp.Length];
for (int i = 0; i < asmComponentKnownButNotSetUp.Length; i++)
{
itacComponentKnownButNotSetUp[i] = ComponentKnownButNotSetUpMapper.get(asmComponentKnownButNotSetUp[i]);
}
return itacComponentKnownButNotSetUp;
}
}
}

View File

@@ -0,0 +1,98 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ComponentNotKnownAtAllMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll get(ComponentNotKnownAtAll itacComponentNotKnownAtAll)
{
if (itacComponentNotKnownAtAll == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll asmComponentNotKnownAtAll = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll();
mapItac2Asm(asmComponentNotKnownAtAll, itacComponentNotKnownAtAll);
return asmComponentNotKnownAtAll;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll asmComponentNotKnownAtAll, ComponentNotKnownAtAll itacComponentNotKnownAtAll)
{
asmComponentNotKnownAtAll.ComponentFullPath = itacComponentNotKnownAtAll.ComponentFullPath;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[] get(ComponentNotKnownAtAll[] itacComponentNotKnownAtAll)
{
if (itacComponentNotKnownAtAll == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[] asmComponentNotKnownAtAll = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[itacComponentNotKnownAtAll.Length];
for (int i = 0; i < itacComponentNotKnownAtAll.Length; i++)
{
// to itac array
asmComponentNotKnownAtAll[i] = ComponentNotKnownAtAllMapper.get(itacComponentNotKnownAtAll[i]);
}
return asmComponentNotKnownAtAll;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> getList(ComponentNotKnownAtAll[] asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> itacComponentNotKnownAtAll = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll>();
for (int i = 0; i < asmComponentNotKnownAtAll.Length; i++)
{
itacComponentNotKnownAtAll.Add(ComponentNotKnownAtAllMapper.get(asmComponentNotKnownAtAll[i]));
}
return itacComponentNotKnownAtAll;
}
// map type from ASM namespace to iTAC namespace
public static ComponentNotKnownAtAll get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
ComponentNotKnownAtAll itacComponentNotKnownAtAll = new ComponentNotKnownAtAll();
mapAsm2Itac(asmComponentNotKnownAtAll, itacComponentNotKnownAtAll);
return itacComponentNotKnownAtAll;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll asmComponentNotKnownAtAll, ComponentNotKnownAtAll itacComponentNotKnownAtAll)
{
itacComponentNotKnownAtAll.ComponentFullPath = asmComponentNotKnownAtAll.ComponentFullPath;
}
// maps ASM namespace conform list to iTAC namespace array
public static ComponentNotKnownAtAll[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
ComponentNotKnownAtAll[] itacComponentNotKnownAtAll = new ComponentNotKnownAtAll[asmComponentNotKnownAtAll.Count];
for (int i = 0; i < asmComponentNotKnownAtAll.Count; i++)
{
itacComponentNotKnownAtAll[i] = ComponentNotKnownAtAllMapper.get(asmComponentNotKnownAtAll[i]);
}
return itacComponentNotKnownAtAll;
}
// maps ASM namespace conform array to iTAC namespace array
public static ComponentNotKnownAtAll[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[] asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
ComponentNotKnownAtAll[] itacComponentNotKnownAtAll = new ComponentNotKnownAtAll[asmComponentNotKnownAtAll.Length];
for (int i = 0; i < asmComponentNotKnownAtAll.Length; i++)
{
itacComponentNotKnownAtAll[i] = ComponentNotKnownAtAllMapper.get(asmComponentNotKnownAtAll[i]);
}
return itacComponentNotKnownAtAll;
}
}
}

View File

@@ -0,0 +1,112 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ComponentSetUpOnWrongTableMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable get(ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable)
{
if (itacComponentSetUpOnWrongTable == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable asmComponentSetUpOnWrongTable = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable();
mapItac2Asm(asmComponentSetUpOnWrongTable, itacComponentSetUpOnWrongTable);
return asmComponentSetUpOnWrongTable;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable asmComponentSetUpOnWrongTable, ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable)
{
asmComponentSetUpOnWrongTable.ComponentFullPath = itacComponentSetUpOnWrongTable.ComponentFullPath;
asmComponentSetUpOnWrongTable.ActualStationFullPath = itacComponentSetUpOnWrongTable.ActualStationFullPath;
asmComponentSetUpOnWrongTable.ActualLocationNumber = itacComponentSetUpOnWrongTable.ActualLocationNumber;
asmComponentSetUpOnWrongTable.ActualDeviceNumber = itacComponentSetUpOnWrongTable.ActualDeviceNumber;
asmComponentSetUpOnWrongTable.StationFullPath = itacComponentSetUpOnWrongTable.StationFullPath;
asmComponentSetUpOnWrongTable.LocationNumber = itacComponentSetUpOnWrongTable.LocationNumber;
asmComponentSetUpOnWrongTable.DeviceNumber = itacComponentSetUpOnWrongTable.DeviceNumber;
asmComponentSetUpOnWrongTable.AlreadyConfirmed = itacComponentSetUpOnWrongTable.AlreadyConfirmed;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[] get(ComponentSetUpOnWrongTable[] itacComponentSetUpOnWrongTable)
{
if (itacComponentSetUpOnWrongTable == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[] asmComponentSetUpOnWrongTable = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[itacComponentSetUpOnWrongTable.Length];
for (int i = 0; i < itacComponentSetUpOnWrongTable.Length; i++)
{
// to itac array
asmComponentSetUpOnWrongTable[i] = ComponentSetUpOnWrongTableMapper.get(itacComponentSetUpOnWrongTable[i]);
}
return asmComponentSetUpOnWrongTable;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> getList(ComponentSetUpOnWrongTable[] asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> itacComponentSetUpOnWrongTable = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable>();
for (int i = 0; i < asmComponentSetUpOnWrongTable.Length; i++)
{
itacComponentSetUpOnWrongTable.Add(ComponentSetUpOnWrongTableMapper.get(asmComponentSetUpOnWrongTable[i]));
}
return itacComponentSetUpOnWrongTable;
}
// map type from ASM namespace to iTAC namespace
public static ComponentSetUpOnWrongTable get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable = new ComponentSetUpOnWrongTable();
mapAsm2Itac(asmComponentSetUpOnWrongTable, itacComponentSetUpOnWrongTable);
return itacComponentSetUpOnWrongTable;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable asmComponentSetUpOnWrongTable, ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable)
{
itacComponentSetUpOnWrongTable.ComponentFullPath = asmComponentSetUpOnWrongTable.ComponentFullPath;
itacComponentSetUpOnWrongTable.ActualStationFullPath = asmComponentSetUpOnWrongTable.ActualStationFullPath;
itacComponentSetUpOnWrongTable.ActualLocationNumber = asmComponentSetUpOnWrongTable.ActualLocationNumber;
itacComponentSetUpOnWrongTable.ActualDeviceNumber = asmComponentSetUpOnWrongTable.ActualDeviceNumber;
itacComponentSetUpOnWrongTable.StationFullPath = asmComponentSetUpOnWrongTable.StationFullPath;
itacComponentSetUpOnWrongTable.LocationNumber = asmComponentSetUpOnWrongTable.LocationNumber;
itacComponentSetUpOnWrongTable.DeviceNumber = asmComponentSetUpOnWrongTable.DeviceNumber;
itacComponentSetUpOnWrongTable.AlreadyConfirmed = asmComponentSetUpOnWrongTable.AlreadyConfirmed;
}
// maps ASM namespace conform list to iTAC namespace array
public static ComponentSetUpOnWrongTable[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
ComponentSetUpOnWrongTable[] itacComponentSetUpOnWrongTable = new ComponentSetUpOnWrongTable[asmComponentSetUpOnWrongTable.Count];
for (int i = 0; i < asmComponentSetUpOnWrongTable.Count; i++)
{
itacComponentSetUpOnWrongTable[i] = ComponentSetUpOnWrongTableMapper.get(asmComponentSetUpOnWrongTable[i]);
}
return itacComponentSetUpOnWrongTable;
}
// maps ASM namespace conform array to iTAC namespace array
public static ComponentSetUpOnWrongTable[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[] asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
ComponentSetUpOnWrongTable[] itacComponentSetUpOnWrongTable = new ComponentSetUpOnWrongTable[asmComponentSetUpOnWrongTable.Length];
for (int i = 0; i < asmComponentSetUpOnWrongTable.Length; i++)
{
itacComponentSetUpOnWrongTable[i] = ComponentSetUpOnWrongTableMapper.get(asmComponentSetUpOnWrongTable[i]);
}
return itacComponentSetUpOnWrongTable;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ConveyorLanesMapper
{
// map asm enum value to itac enum value
public static ConveyorLanes get(Asm.As.Oib.SiplacePro.LineControl.Contracts.ConveyorLanes conveyorLanes)
{
int intValue = (int)conveyorLanes;
return (ConveyorLanes)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.ConveyorLanes get(ConveyorLanes conveyorLanes)
{
int intValue = (int)conveyorLanes;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.ConveyorLanes)intValue;
}
}
}

View File

@@ -0,0 +1,122 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
// skip property IList, declared in DownloadMessage
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadMessageMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
/*public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage get(DownloadMessage itacDownloadMessage)
{
if (itacDownloadMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage asmDownloadMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmDownloadMessage, itacDownloadMessage);
return asmDownloadMessage;
}*/
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage asmDownloadMessage, DownloadMessage itacDownloadMessage)
{
// complex property Level, isArray:False, isGeneric:False
asmDownloadMessage.Level = com.itac.oib.linecontrol.contracts.data.MessageLevelMapper.get( itacDownloadMessage.Level);
// complex property Subsystem, isArray:False, isGeneric:False
asmDownloadMessage.Subsystem = com.itac.oib.linecontrol.contracts.data.SubsystemMapper.get( itacDownloadMessage.Subsystem);
asmDownloadMessage.Id = itacDownloadMessage.Id;
asmDownloadMessage.Text = itacDownloadMessage.Text;
// complex property SubMessages, isArray:False, isGeneric:True
asmDownloadMessage.SubMessages = DownloadMessageMapper.getList(itacDownloadMessage.SubMessages);
asmDownloadMessage.DateTime = itacDownloadMessage.DateTime;
// skip property IList, declared in DownloadMessage
// skip readonly property SubMessagesArray
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[] get(DownloadMessage[] itacDownloadMessage)
{
if (itacDownloadMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[] asmDownloadMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[itacDownloadMessage.Length];
for (int i = 0; i < itacDownloadMessage.Length; i++)
{
// to itac array
// asmDownloadMessage[i] = DownloadMessageMapper.get(itacDownloadMessage[i]);
}
return asmDownloadMessage;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage> getList(DownloadMessage[] asmDownloadMessage)
{
if (asmDownloadMessage == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage> itacDownloadMessage = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage>();
for (int i = 0; i < asmDownloadMessage.Length; i++)
{
// itacDownloadMessage.Add(DownloadMessageMapper.get(asmDownloadMessage[i]));
}
return itacDownloadMessage;
}
// map type from ASM namespace to iTAC namespace
public static DownloadMessage get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage asmDownloadMessage)
{
if (asmDownloadMessage == null) { return null; }
DownloadMessage itacDownloadMessage = new DownloadMessage();
mapAsm2Itac(asmDownloadMessage, itacDownloadMessage);
return itacDownloadMessage;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage asmDownloadMessage, DownloadMessage itacDownloadMessage)
{
itacDownloadMessage.Level = com.itac.oib.linecontrol.contracts.data.MessageLevelMapper.get(asmDownloadMessage.Level);
// complex asm property Level
itacDownloadMessage.Subsystem = com.itac.oib.linecontrol.contracts.data.SubsystemMapper.get(asmDownloadMessage.Subsystem);
// complex asm property Subsystem
itacDownloadMessage.Id = asmDownloadMessage.Id;
itacDownloadMessage.Text = asmDownloadMessage.Text;
// maps ASM list 2 iTAC array
itacDownloadMessage.SubMessages = DownloadMessageMapper.getArray(asmDownloadMessage.SubMessages);
itacDownloadMessage.DateTime = asmDownloadMessage.DateTime;
// skip property IList, declared in DownloadMessage
// array mapping
itacDownloadMessage.SubMessagesArray = DownloadMessageMapper.getArray(asmDownloadMessage.SubMessagesArray);
// complex asm property SubMessagesArray
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadMessage[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage> asmDownloadMessage)
{
if (asmDownloadMessage == null) { return null; }
DownloadMessage[] itacDownloadMessage = new DownloadMessage[asmDownloadMessage.Count];
for (int i = 0; i < asmDownloadMessage.Count; i++)
{
itacDownloadMessage[i] = DownloadMessageMapper.get(asmDownloadMessage[i]);
}
return itacDownloadMessage;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadMessage[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[] asmDownloadMessage)
{
if (asmDownloadMessage == null) { return null; }
DownloadMessage[] itacDownloadMessage = new DownloadMessage[asmDownloadMessage.Length];
for (int i = 0; i < asmDownloadMessage.Length; i++)
{
itacDownloadMessage[i] = DownloadMessageMapper.get(asmDownloadMessage[i]);
}
return itacDownloadMessage;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadProcessingOptionsMapper
{
// map asm enum value to itac enum value
public static DownloadProcessingOptions get(Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadProcessingOptions downloadProcessingOptions)
{
int intValue = (int)downloadProcessingOptions;
return (DownloadProcessingOptions)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadProcessingOptions get(DownloadProcessingOptions downloadProcessingOptions)
{
int intValue = (int)downloadProcessingOptions;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadProcessingOptions)intValue;
}
}
}

View File

@@ -0,0 +1,96 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadReportMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport get(DownloadReport itacDownloadReport)
{
if (itacDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport asmDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport();
mapItac2Asm(asmDownloadReport, itacDownloadReport);
return asmDownloadReport;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport asmDownloadReport, DownloadReport itacDownloadReport)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[] get(DownloadReport[] itacDownloadReport)
{
if (itacDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[] asmDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[itacDownloadReport.Length];
for (int i = 0; i < itacDownloadReport.Length; i++)
{
// to itac array
asmDownloadReport[i] = DownloadReportMapper.get(itacDownloadReport[i]);
}
return asmDownloadReport;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport> getList(DownloadReport[] asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport> itacDownloadReport = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport>();
for (int i = 0; i < asmDownloadReport.Length; i++)
{
itacDownloadReport.Add(DownloadReportMapper.get(asmDownloadReport[i]));
}
return itacDownloadReport;
}
// map type from ASM namespace to iTAC namespace
public static DownloadReport get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
DownloadReport itacDownloadReport = new DownloadReport();
mapAsm2Itac(asmDownloadReport, itacDownloadReport);
return itacDownloadReport;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport asmDownloadReport, DownloadReport itacDownloadReport)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadReport[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport> asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
DownloadReport[] itacDownloadReport = new DownloadReport[asmDownloadReport.Count];
for (int i = 0; i < asmDownloadReport.Count; i++)
{
itacDownloadReport[i] = DownloadReportMapper.get(asmDownloadReport[i]);
}
return itacDownloadReport;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadReport[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[] asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
DownloadReport[] itacDownloadReport = new DownloadReport[asmDownloadReport.Length];
for (int i = 0; i < asmDownloadReport.Length; i++)
{
itacDownloadReport[i] = DownloadReportMapper.get(asmDownloadReport[i]);
}
return itacDownloadReport;
}
}
}

View File

@@ -0,0 +1,124 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
// skip property IList, property in exclude list
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadResultMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult get(DownloadResult itacDownloadResult)
{
if (itacDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult asmDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult();
mapItac2Asm(asmDownloadResult, itacDownloadResult);
return asmDownloadResult;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult asmDownloadResult, DownloadResult itacDownloadResult)
{
asmDownloadResult.Succeeded = itacDownloadResult.Succeeded;
asmDownloadResult.ExceptionMessage = itacDownloadResult.ExceptionMessage;
// complex property ICResultRight, isArray:False, isGeneric:False
asmDownloadResult.ICResultRight = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get( itacDownloadResult.ICResultRight);
// complex property ICResultLeft, isArray:False, isGeneric:False
asmDownloadResult.ICResultLeft = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get( itacDownloadResult.ICResultLeft);
// complex property DetailedResults, isArray:False, isGeneric:False
asmDownloadResult.DetailedResults = com.itac.oib.linecontrol.contracts.data.DownloadResultsMapper.get( itacDownloadResult.DetailedResults);
// complex property DownloadMessages, isArray:False, isGeneric:True
asmDownloadResult.DownloadMessages = DownloadMessageMapper.getList(itacDownloadResult.DownloadMessages);
// skip property IList, property in exclude list
// skip readonly property DownloadMessagesArray
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[] get(DownloadResult[] itacDownloadResult)
{
if (itacDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[] asmDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[itacDownloadResult.Length];
for (int i = 0; i < itacDownloadResult.Length; i++)
{
// to itac array
asmDownloadResult[i] = DownloadResultMapper.get(itacDownloadResult[i]);
}
return asmDownloadResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult> getList(DownloadResult[] asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult> itacDownloadResult = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult>();
for (int i = 0; i < asmDownloadResult.Length; i++)
{
itacDownloadResult.Add(DownloadResultMapper.get(asmDownloadResult[i]));
}
return itacDownloadResult;
}
// map type from ASM namespace to iTAC namespace
public static DownloadResult get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
DownloadResult itacDownloadResult = new DownloadResult();
mapAsm2Itac(asmDownloadResult, itacDownloadResult);
return itacDownloadResult;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult asmDownloadResult, DownloadResult itacDownloadResult)
{
itacDownloadResult.Succeeded = asmDownloadResult.Succeeded;
itacDownloadResult.ExceptionMessage = asmDownloadResult.ExceptionMessage;
itacDownloadResult.ICResultRight = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get(asmDownloadResult.ICResultRight);
// complex asm property ICResultRight
itacDownloadResult.ICResultLeft = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get(asmDownloadResult.ICResultLeft);
// complex asm property ICResultLeft
itacDownloadResult.DetailedResults = com.itac.oib.linecontrol.contracts.data.DownloadResultsMapper.get(asmDownloadResult.DetailedResults);
// complex asm property DetailedResults
// maps ASM list 2 iTAC array
itacDownloadResult.DownloadMessages = DownloadMessageMapper.getArray(asmDownloadResult.DownloadMessages);
// skip property IList, property in exclude list
// array mapping
itacDownloadResult.DownloadMessagesArray = DownloadMessageMapper.getArray(asmDownloadResult.DownloadMessagesArray);
// complex asm property DownloadMessagesArray
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadResult[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult> asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
DownloadResult[] itacDownloadResult = new DownloadResult[asmDownloadResult.Count];
for (int i = 0; i < asmDownloadResult.Count; i++)
{
itacDownloadResult[i] = DownloadResultMapper.get(asmDownloadResult[i]);
}
return itacDownloadResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadResult[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[] asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
DownloadResult[] itacDownloadResult = new DownloadResult[asmDownloadResult.Length];
for (int i = 0; i < asmDownloadResult.Length; i++)
{
itacDownloadResult[i] = DownloadResultMapper.get(asmDownloadResult[i]);
}
return itacDownloadResult;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadResultsMapper
{
// map asm enum value to itac enum value
public static DownloadResults get(Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadResults downloadResults)
{
int intValue = (int)downloadResults;
return (DownloadResults)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadResults get(DownloadResults downloadResults)
{
int intValue = (int)downloadResults;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.DownloadResults)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class IntegrityCheckModeForRepartitioningMapper
{
// map asm enum value to itac enum value
public static IntegrityCheckModeForRepartitioning get(Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckModeForRepartitioning integrityCheckModeForRepartitioning)
{
int intValue = (int)integrityCheckModeForRepartitioning;
return (IntegrityCheckModeForRepartitioning)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckModeForRepartitioning get(IntegrityCheckModeForRepartitioning integrityCheckModeForRepartitioning)
{
int intValue = (int)integrityCheckModeForRepartitioning;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckModeForRepartitioning)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class IntegrityCheckModeMapper
{
// map asm enum value to itac enum value
public static IntegrityCheckMode get(Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckMode integrityCheckMode)
{
int intValue = (int)integrityCheckMode;
return (IntegrityCheckMode)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckMode get(IntegrityCheckMode integrityCheckMode)
{
int intValue = (int)integrityCheckMode;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckMode)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class IntegrityCheckResultMapper
{
// map asm enum value to itac enum value
public static IntegrityCheckResult get(Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckResult integrityCheckResult)
{
int intValue = (int)integrityCheckResult;
return (IntegrityCheckResult)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckResult get(IntegrityCheckResult integrityCheckResult)
{
int intValue = (int)integrityCheckResult;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.IntegrityCheckResult)intValue;
}
}
}

View File

@@ -0,0 +1,121 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class LineControlConveyorStatusMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus get(LineControlConveyorStatus itacLineControlConveyorStatus)
{
if (itacLineControlConveyorStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus asmLineControlConveyorStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus();
mapItac2Asm(asmLineControlConveyorStatus, itacLineControlConveyorStatus);
return asmLineControlConveyorStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus asmLineControlConveyorStatus, LineControlConveyorStatus itacLineControlConveyorStatus)
{
asmLineControlConveyorStatus.RecipeName = itacLineControlConveyorStatus.RecipeName;
asmLineControlConveyorStatus.BoardName = itacLineControlConveyorStatus.BoardName;
asmLineControlConveyorStatus.BoardSide = itacLineControlConveyorStatus.BoardSide;
asmLineControlConveyorStatus.ProcessState = itacLineControlConveyorStatus.ProcessState;
asmLineControlConveyorStatus.ProcessedBoards = itacLineControlConveyorStatus.ProcessedBoards;
asmLineControlConveyorStatus.AbortedBoards = itacLineControlConveyorStatus.AbortedBoards;
asmLineControlConveyorStatus.LotSizeMode = itacLineControlConveyorStatus.LotSizeMode;
asmLineControlConveyorStatus.LotSize = itacLineControlConveyorStatus.LotSize;
asmLineControlConveyorStatus.LastDownloadedRecipeTimeStamp = itacLineControlConveyorStatus.LastDownloadedRecipeTimeStamp;
asmLineControlConveyorStatus.ProductionScheduleElementId = itacLineControlConveyorStatus.ProductionScheduleElementId;
// complex property StationwiseDownloadState, isArray:False, isGeneric:False
asmLineControlConveyorStatus.StationwiseDownloadState = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( itacLineControlConveyorStatus.StationwiseDownloadState);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[] get(LineControlConveyorStatus[] itacLineControlConveyorStatus)
{
if (itacLineControlConveyorStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[] asmLineControlConveyorStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[itacLineControlConveyorStatus.Length];
for (int i = 0; i < itacLineControlConveyorStatus.Length; i++)
{
// to itac array
asmLineControlConveyorStatus[i] = LineControlConveyorStatusMapper.get(itacLineControlConveyorStatus[i]);
}
return asmLineControlConveyorStatus;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus> getList(LineControlConveyorStatus[] asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus> itacLineControlConveyorStatus = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus>();
for (int i = 0; i < asmLineControlConveyorStatus.Length; i++)
{
itacLineControlConveyorStatus.Add(LineControlConveyorStatusMapper.get(asmLineControlConveyorStatus[i]));
}
return itacLineControlConveyorStatus;
}
// map type from ASM namespace to iTAC namespace
public static LineControlConveyorStatus get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
LineControlConveyorStatus itacLineControlConveyorStatus = new LineControlConveyorStatus();
mapAsm2Itac(asmLineControlConveyorStatus, itacLineControlConveyorStatus);
return itacLineControlConveyorStatus;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus asmLineControlConveyorStatus, LineControlConveyorStatus itacLineControlConveyorStatus)
{
itacLineControlConveyorStatus.RecipeName = asmLineControlConveyorStatus.RecipeName;
itacLineControlConveyorStatus.BoardName = asmLineControlConveyorStatus.BoardName;
itacLineControlConveyorStatus.BoardSide = asmLineControlConveyorStatus.BoardSide;
itacLineControlConveyorStatus.ProcessState = asmLineControlConveyorStatus.ProcessState;
itacLineControlConveyorStatus.ProcessedBoards = asmLineControlConveyorStatus.ProcessedBoards;
itacLineControlConveyorStatus.AbortedBoards = asmLineControlConveyorStatus.AbortedBoards;
itacLineControlConveyorStatus.LotSizeMode = asmLineControlConveyorStatus.LotSizeMode;
itacLineControlConveyorStatus.LotSize = asmLineControlConveyorStatus.LotSize;
itacLineControlConveyorStatus.LastDownloadedRecipeTimeStamp = asmLineControlConveyorStatus.LastDownloadedRecipeTimeStamp;
itacLineControlConveyorStatus.ProductionScheduleElementId = asmLineControlConveyorStatus.ProductionScheduleElementId;
itacLineControlConveyorStatus.StationwiseDownloadState = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get(asmLineControlConveyorStatus.StationwiseDownloadState);
// complex asm property StationwiseDownloadState
}
// maps ASM namespace conform list to iTAC namespace array
public static LineControlConveyorStatus[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus> asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
LineControlConveyorStatus[] itacLineControlConveyorStatus = new LineControlConveyorStatus[asmLineControlConveyorStatus.Count];
for (int i = 0; i < asmLineControlConveyorStatus.Count; i++)
{
itacLineControlConveyorStatus[i] = LineControlConveyorStatusMapper.get(asmLineControlConveyorStatus[i]);
}
return itacLineControlConveyorStatus;
}
// maps ASM namespace conform array to iTAC namespace array
public static LineControlConveyorStatus[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[] asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
LineControlConveyorStatus[] itacLineControlConveyorStatus = new LineControlConveyorStatus[asmLineControlConveyorStatus.Length];
for (int i = 0; i < asmLineControlConveyorStatus.Length; i++)
{
itacLineControlConveyorStatus[i] = LineControlConveyorStatusMapper.get(asmLineControlConveyorStatus[i]);
}
return itacLineControlConveyorStatus;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class LineControlErrorEnumMapper
{
// map asm enum value to itac enum value
public static LineControlErrorEnum get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Faults.LineControlErrorEnum lineControlErrorEnum)
{
int intValue = (int)lineControlErrorEnum;
return (LineControlErrorEnum)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Faults.LineControlErrorEnum get(LineControlErrorEnum lineControlErrorEnum)
{
int intValue = (int)lineControlErrorEnum;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.Faults.LineControlErrorEnum)intValue;
}
}
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class LineControlLineStatusMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus get(LineControlLineStatus itacLineControlLineStatus)
{
if (itacLineControlLineStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus asmLineControlLineStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus();
mapItac2Asm(asmLineControlLineStatus, itacLineControlLineStatus);
return asmLineControlLineStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus asmLineControlLineStatus, LineControlLineStatus itacLineControlLineStatus)
{
asmLineControlLineStatus.Line = itacLineControlLineStatus.Line;
asmLineControlLineStatus.LineControlServerHostName = itacLineControlLineStatus.LineControlServerHostName;
// complex property LineControlStationStati, isArray:False, isGeneric:True
asmLineControlLineStatus.LineControlStationStati = LineControlStationStatusMapper.getList(itacLineControlLineStatus.LineControlStationStati);
asmLineControlLineStatus.ProductionSchedule = itacLineControlLineStatus.ProductionSchedule;
// complex property StationwiseDownloadStateRight, isArray:False, isGeneric:False
asmLineControlLineStatus.StationwiseDownloadStateRight = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( itacLineControlLineStatus.StationwiseDownloadStateRight);
// complex property StationwiseDownloadStateLeft, isArray:False, isGeneric:False
asmLineControlLineStatus.StationwiseDownloadStateLeft = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( itacLineControlLineStatus.StationwiseDownloadStateLeft);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[] get(LineControlLineStatus[] itacLineControlLineStatus)
{
if (itacLineControlLineStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[] asmLineControlLineStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[itacLineControlLineStatus.Length];
for (int i = 0; i < itacLineControlLineStatus.Length; i++)
{
// to itac array
asmLineControlLineStatus[i] = LineControlLineStatusMapper.get(itacLineControlLineStatus[i]);
}
return asmLineControlLineStatus;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus> getList(LineControlLineStatus[] asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus> itacLineControlLineStatus = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus>();
for (int i = 0; i < asmLineControlLineStatus.Length; i++)
{
itacLineControlLineStatus.Add(LineControlLineStatusMapper.get(asmLineControlLineStatus[i]));
}
return itacLineControlLineStatus;
}
// map type from ASM namespace to iTAC namespace
public static LineControlLineStatus get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
LineControlLineStatus itacLineControlLineStatus = new LineControlLineStatus();
mapAsm2Itac(asmLineControlLineStatus, itacLineControlLineStatus);
return itacLineControlLineStatus;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus asmLineControlLineStatus, LineControlLineStatus itacLineControlLineStatus)
{
itacLineControlLineStatus.Line = asmLineControlLineStatus.Line;
itacLineControlLineStatus.LineControlServerHostName = asmLineControlLineStatus.LineControlServerHostName;
// maps ASM list 2 iTAC array
itacLineControlLineStatus.LineControlStationStati = LineControlStationStatusMapper.getArray(asmLineControlLineStatus.LineControlStationStati);
itacLineControlLineStatus.ProductionSchedule = asmLineControlLineStatus.ProductionSchedule;
itacLineControlLineStatus.StationwiseDownloadStateRight = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get(asmLineControlLineStatus.StationwiseDownloadStateRight);
// complex asm property StationwiseDownloadStateRight
itacLineControlLineStatus.StationwiseDownloadStateLeft = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get(asmLineControlLineStatus.StationwiseDownloadStateLeft);
// complex asm property StationwiseDownloadStateLeft
}
// maps ASM namespace conform list to iTAC namespace array
public static LineControlLineStatus[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus> asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
LineControlLineStatus[] itacLineControlLineStatus = new LineControlLineStatus[asmLineControlLineStatus.Count];
for (int i = 0; i < asmLineControlLineStatus.Count; i++)
{
itacLineControlLineStatus[i] = LineControlLineStatusMapper.get(asmLineControlLineStatus[i]);
}
return itacLineControlLineStatus;
}
// maps ASM namespace conform array to iTAC namespace array
public static LineControlLineStatus[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[] asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
LineControlLineStatus[] itacLineControlLineStatus = new LineControlLineStatus[asmLineControlLineStatus.Length];
for (int i = 0; i < asmLineControlLineStatus.Length; i++)
{
itacLineControlLineStatus[i] = LineControlLineStatusMapper.get(asmLineControlLineStatus[i]);
}
return itacLineControlLineStatus;
}
}
}

View File

@@ -0,0 +1,122 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class LineControlStationStatusMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus get(LineControlStationStatus itacLineControlStationStatus)
{
if (itacLineControlStationStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus asmLineControlStationStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus();
mapItac2Asm(asmLineControlStationStatus, itacLineControlStationStatus);
return asmLineControlStationStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus asmLineControlStationStatus, LineControlStationStatus itacLineControlStationStatus)
{
asmLineControlStationStatus.Name = itacLineControlStationStatus.Name;
asmLineControlStationStatus.HostName = itacLineControlStationStatus.HostName;
asmLineControlStationStatus.HostIP = itacLineControlStationStatus.HostIP;
asmLineControlStationStatus.SoftwareVersion = itacLineControlStationStatus.SoftwareVersion;
asmLineControlStationStatus.IsEndOfCluster = itacLineControlStationStatus.IsEndOfCluster;
asmLineControlStationStatus.IsControlledByExternSystem = itacLineControlStationStatus.IsControlledByExternSystem;
asmLineControlStationStatus.ConnectionState = itacLineControlStationStatus.ConnectionState;
// complex property LeftConveyorStatus, isArray:False, isGeneric:False
asmLineControlStationStatus.LeftConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get( itacLineControlStationStatus.LeftConveyorStatus);
// complex property RightConveyorStatus, isArray:False, isGeneric:False
asmLineControlStationStatus.RightConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get( itacLineControlStationStatus.RightConveyorStatus);
asmLineControlStationStatus.SetupName = itacLineControlStationStatus.SetupName;
asmLineControlStationStatus.LastDownloadedSetupTimeStamp = itacLineControlStationStatus.LastDownloadedSetupTimeStamp;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[] get(LineControlStationStatus[] itacLineControlStationStatus)
{
if (itacLineControlStationStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[] asmLineControlStationStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[itacLineControlStationStatus.Length];
for (int i = 0; i < itacLineControlStationStatus.Length; i++)
{
// to itac array
asmLineControlStationStatus[i] = LineControlStationStatusMapper.get(itacLineControlStationStatus[i]);
}
return asmLineControlStationStatus;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus> getList(LineControlStationStatus[] asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus> itacLineControlStationStatus = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus>();
for (int i = 0; i < asmLineControlStationStatus.Length; i++)
{
itacLineControlStationStatus.Add(LineControlStationStatusMapper.get(asmLineControlStationStatus[i]));
}
return itacLineControlStationStatus;
}
// map type from ASM namespace to iTAC namespace
public static LineControlStationStatus get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
LineControlStationStatus itacLineControlStationStatus = new LineControlStationStatus();
mapAsm2Itac(asmLineControlStationStatus, itacLineControlStationStatus);
return itacLineControlStationStatus;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus asmLineControlStationStatus, LineControlStationStatus itacLineControlStationStatus)
{
itacLineControlStationStatus.Name = asmLineControlStationStatus.Name;
itacLineControlStationStatus.HostName = asmLineControlStationStatus.HostName;
itacLineControlStationStatus.HostIP = asmLineControlStationStatus.HostIP;
itacLineControlStationStatus.SoftwareVersion = asmLineControlStationStatus.SoftwareVersion;
itacLineControlStationStatus.IsEndOfCluster = asmLineControlStationStatus.IsEndOfCluster;
itacLineControlStationStatus.IsControlledByExternSystem = asmLineControlStationStatus.IsControlledByExternSystem;
itacLineControlStationStatus.ConnectionState = asmLineControlStationStatus.ConnectionState;
itacLineControlStationStatus.LeftConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get(asmLineControlStationStatus.LeftConveyorStatus);
// complex asm property LeftConveyorStatus
itacLineControlStationStatus.RightConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get(asmLineControlStationStatus.RightConveyorStatus);
// complex asm property RightConveyorStatus
itacLineControlStationStatus.SetupName = asmLineControlStationStatus.SetupName;
itacLineControlStationStatus.LastDownloadedSetupTimeStamp = asmLineControlStationStatus.LastDownloadedSetupTimeStamp;
}
// maps ASM namespace conform list to iTAC namespace array
public static LineControlStationStatus[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus> asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
LineControlStationStatus[] itacLineControlStationStatus = new LineControlStationStatus[asmLineControlStationStatus.Count];
for (int i = 0; i < asmLineControlStationStatus.Count; i++)
{
itacLineControlStationStatus[i] = LineControlStationStatusMapper.get(asmLineControlStationStatus[i]);
}
return itacLineControlStationStatus;
}
// maps ASM namespace conform array to iTAC namespace array
public static LineControlStationStatus[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[] asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
LineControlStationStatus[] itacLineControlStationStatus = new LineControlStationStatus[asmLineControlStationStatus.Length];
for (int i = 0; i < asmLineControlStationStatus.Length; i++)
{
itacLineControlStationStatus[i] = LineControlStationStatusMapper.get(asmLineControlStationStatus[i]);
}
return itacLineControlStationStatus;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class MessageLevelMapper
{
// map asm enum value to itac enum value
public static MessageLevel get(Asm.As.Oib.SiplacePro.LineControl.Contracts.MessageLevel messageLevel)
{
int intValue = (int)messageLevel;
return (MessageLevel)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.MessageLevel get(MessageLevel messageLevel)
{
int intValue = (int)messageLevel;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.MessageLevel)intValue;
}
}
}

View File

@@ -0,0 +1,182 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class MissingComponentsMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents get(MissingComponents itacMissingComponents)
{
if (itacMissingComponents == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents asmMissingComponents = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents();
mapItac2Asm(asmMissingComponents, itacMissingComponents);
return asmMissingComponents;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents asmMissingComponents, MissingComponents itacMissingComponents)
{
// skip readonly property MissingComponentsTotalCount
// complex property ComponentsNotKnownAtAll, isArray:False, isGeneric:True
// map Dictionary
asmMissingComponents.ComponentsNotKnownAtAll = getDictionary(itacMissingComponents.ComponentsNotKnownAtAll);
// complex property ComponentsSetUpOnWrongTable, isArray:False, isGeneric:True
// map Dictionary
asmMissingComponents.ComponentsSetUpOnWrongTable = getDictionary(itacMissingComponents.ComponentsSetUpOnWrongTable);
// complex property ComponentsKnownButNotSetUp, isArray:False, isGeneric:True
// map Dictionary
asmMissingComponents.ComponentsKnownButNotSetUp = getDictionary(itacMissingComponents.ComponentsKnownButNotSetUp);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[] get(MissingComponents[] itacMissingComponents)
{
if (itacMissingComponents == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[] asmMissingComponents = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[itacMissingComponents.Length];
for (int i = 0; i < itacMissingComponents.Length; i++)
{
// to itac array
asmMissingComponents[i] = MissingComponentsMapper.get(itacMissingComponents[i]);
}
return asmMissingComponents;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents> getList(MissingComponents[] asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents> itacMissingComponents = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents>();
for (int i = 0; i < asmMissingComponents.Length; i++)
{
itacMissingComponents.Add(MissingComponentsMapper.get(asmMissingComponents[i]));
}
return itacMissingComponents;
}
// map type from ASM namespace to iTAC namespace
public static MissingComponents get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
MissingComponents itacMissingComponents = new MissingComponents();
mapAsm2Itac(asmMissingComponents, itacMissingComponents);
return itacMissingComponents;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents asmMissingComponents, MissingComponents itacMissingComponents)
{
itacMissingComponents.MissingComponentsTotalCount = asmMissingComponents.MissingComponentsTotalCount;
// assign Dictionary(): maps ASM Dictionary 2 iTAC dictionary
itacMissingComponents.ComponentsNotKnownAtAll = getComponentsNotKnownAtAllDictionary( asmMissingComponents.ComponentsNotKnownAtAll);
// assign Dictionary(): maps ASM Dictionary 2 iTAC dictionary
itacMissingComponents.ComponentsSetUpOnWrongTable = getComponentsSetUpOnWrongTableDictionary( asmMissingComponents.ComponentsSetUpOnWrongTable);
// assign Dictionary(): maps ASM Dictionary 2 iTAC dictionary
itacMissingComponents.ComponentsKnownButNotSetUp = getComponentsKnownButNotSetUpDictionary( asmMissingComponents.ComponentsKnownButNotSetUp);
}
// maps ASM namespace conform list to iTAC namespace array
public static MissingComponents[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents> asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
MissingComponents[] itacMissingComponents = new MissingComponents[asmMissingComponents.Count];
for (int i = 0; i < asmMissingComponents.Count; i++)
{
itacMissingComponents[i] = MissingComponentsMapper.get(asmMissingComponents[i]);
}
return itacMissingComponents;
}
// maps ASM namespace conform array to iTAC namespace array
public static MissingComponents[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[] asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
MissingComponents[] itacMissingComponents = new MissingComponents[asmMissingComponents.Length];
for (int i = 0; i < asmMissingComponents.Length; i++)
{
itacMissingComponents[i] = MissingComponentsMapper.get(asmMissingComponents[i]);
}
return itacMissingComponents;
}
// maps c# dictionary with ASM types to c# dictionary with java types
public static Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> getDictionary(Dictionary<String, ComponentNotKnownAtAll> dictionary)
{
Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> result = new Dictionary<String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll>();
foreach (String key in dictionary.Keys)
{
result.Add(key, ComponentNotKnownAtAllMapper.get(dictionary[key]));
}
return result;
}
// maps c# dictionary with ASM types to c# dictionary with java types
public static Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> getDictionary(Dictionary<String, ComponentSetUpOnWrongTable> dictionary)
{
Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> result = new Dictionary<String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable>();
foreach (String key in dictionary.Keys)
{
result.Add(key, ComponentSetUpOnWrongTableMapper.get(dictionary[key]));
}
return result;
}
// maps c# dictionary with ASM types to c# dictionary with java types
public static Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> getDictionary(Dictionary<String, ComponentKnownButNotSetUp> dictionary)
{
Dictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> result = new Dictionary<String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp>();
foreach (String key in dictionary.Keys)
{
result.Add(key, ComponentKnownButNotSetUpMapper.get(dictionary[key]));
}
return result;
}
// original declaration: System.Collections.Generic.Dictionary`2[System.String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll]
// generate key / value array for dictionary
// generated dictionary mapper
private static Dictionary<String, ComponentNotKnownAtAll> getComponentsNotKnownAtAllDictionary(IDictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll> componentsNotKnownAtAll)
{
Dictionary <String, ComponentNotKnownAtAll> result = new Dictionary<String, ComponentNotKnownAtAll>();
foreach (String key in componentsNotKnownAtAll.Keys)
{
result.Add(key, com.itac.oib.linecontrol.contracts.data.ComponentNotKnownAtAllMapper.get(componentsNotKnownAtAll[key]));
}
return result;
}
// original declaration: System.Collections.Generic.Dictionary`2[System.String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable]
// generate key / value array for dictionary
// generated dictionary mapper
private static Dictionary<String, ComponentSetUpOnWrongTable> getComponentsSetUpOnWrongTableDictionary(IDictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable> componentsSetUpOnWrongTable)
{
Dictionary <String, ComponentSetUpOnWrongTable> result = new Dictionary<String, ComponentSetUpOnWrongTable>();
foreach (String key in componentsSetUpOnWrongTable.Keys)
{
result.Add(key, com.itac.oib.linecontrol.contracts.data.ComponentSetUpOnWrongTableMapper.get(componentsSetUpOnWrongTable[key]));
}
return result;
}
// original declaration: System.Collections.Generic.Dictionary`2[System.String,Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp]
// generate key / value array for dictionary
// generated dictionary mapper
private static Dictionary<String, ComponentKnownButNotSetUp> getComponentsKnownButNotSetUpDictionary(IDictionary<String, Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp> componentsKnownButNotSetUp)
{
Dictionary <String, ComponentKnownButNotSetUp> result = new Dictionary<String, ComponentKnownButNotSetUp>();
foreach (String key in componentsKnownButNotSetUp.Keys)
{
result.Add(key, com.itac.oib.linecontrol.contracts.data.ComponentKnownButNotSetUpMapper.get(componentsKnownButNotSetUp[key]));
}
return result;
}
}
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class MissingFeederMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder get(MissingFeeder itacMissingFeeder)
{
if (itacMissingFeeder == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder asmMissingFeeder = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder();
mapItac2Asm(asmMissingFeeder, itacMissingFeeder);
return asmMissingFeeder;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder asmMissingFeeder, MissingFeeder itacMissingFeeder)
{
asmMissingFeeder.ComponentFullPath = itacMissingFeeder.ComponentFullPath;
asmMissingFeeder.FeederTypeFullPath = itacMissingFeeder.FeederTypeFullPath;
asmMissingFeeder.FeederTypeOID = itacMissingFeeder.FeederTypeOID;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[] get(MissingFeeder[] itacMissingFeeder)
{
if (itacMissingFeeder == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[] asmMissingFeeder = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[itacMissingFeeder.Length];
for (int i = 0; i < itacMissingFeeder.Length; i++)
{
// to itac array
asmMissingFeeder[i] = MissingFeederMapper.get(itacMissingFeeder[i]);
}
return asmMissingFeeder;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder> getList(MissingFeeder[] asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder> itacMissingFeeder = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder>();
for (int i = 0; i < asmMissingFeeder.Length; i++)
{
itacMissingFeeder.Add(MissingFeederMapper.get(asmMissingFeeder[i]));
}
return itacMissingFeeder;
}
// map type from ASM namespace to iTAC namespace
public static MissingFeeder get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
MissingFeeder itacMissingFeeder = new MissingFeeder();
mapAsm2Itac(asmMissingFeeder, itacMissingFeeder);
return itacMissingFeeder;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder asmMissingFeeder, MissingFeeder itacMissingFeeder)
{
itacMissingFeeder.ComponentFullPath = asmMissingFeeder.ComponentFullPath;
itacMissingFeeder.FeederTypeFullPath = asmMissingFeeder.FeederTypeFullPath;
itacMissingFeeder.FeederTypeOID = asmMissingFeeder.FeederTypeOID;
}
// maps ASM namespace conform list to iTAC namespace array
public static MissingFeeder[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder> asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
MissingFeeder[] itacMissingFeeder = new MissingFeeder[asmMissingFeeder.Count];
for (int i = 0; i < asmMissingFeeder.Count; i++)
{
itacMissingFeeder[i] = MissingFeederMapper.get(asmMissingFeeder[i]);
}
return itacMissingFeeder;
}
// maps ASM namespace conform array to iTAC namespace array
public static MissingFeeder[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[] asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
MissingFeeder[] itacMissingFeeder = new MissingFeeder[asmMissingFeeder.Length];
for (int i = 0; i < asmMissingFeeder.Length; i++)
{
itacMissingFeeder[i] = MissingFeederMapper.get(asmMissingFeeder[i]);
}
return itacMissingFeeder;
}
}
}

View File

@@ -0,0 +1,130 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class OptimizerMessageMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage get(OptimizerMessage itacOptimizerMessage)
{
if (itacOptimizerMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage asmOptimizerMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage();
mapItac2Asm(asmOptimizerMessage, itacOptimizerMessage);
return asmOptimizerMessage;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage asmOptimizerMessage, OptimizerMessage itacOptimizerMessage)
{
asmOptimizerMessage.MessageType = itacOptimizerMessage.MessageType;
asmOptimizerMessage.MessageCode = itacOptimizerMessage.MessageCode;
asmOptimizerMessage.Message = itacOptimizerMessage.Message;
// complex property Parameters, isArray:False, isGeneric:True
// implicit mapping primitive type itac->ASM!!!
asmOptimizerMessage.Parameters = getList(itacOptimizerMessage.Parameters);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[] get(OptimizerMessage[] itacOptimizerMessage)
{
if (itacOptimizerMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[] asmOptimizerMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[itacOptimizerMessage.Length];
for (int i = 0; i < itacOptimizerMessage.Length; i++)
{
// to itac array
asmOptimizerMessage[i] = OptimizerMessageMapper.get(itacOptimizerMessage[i]);
}
return asmOptimizerMessage;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage> getList(OptimizerMessage[] asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage> itacOptimizerMessage = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage>();
for (int i = 0; i < asmOptimizerMessage.Length; i++)
{
itacOptimizerMessage.Add(OptimizerMessageMapper.get(asmOptimizerMessage[i]));
}
return itacOptimizerMessage;
}
// map type from ASM namespace to iTAC namespace
public static OptimizerMessage get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
OptimizerMessage itacOptimizerMessage = new OptimizerMessage();
mapAsm2Itac(asmOptimizerMessage, itacOptimizerMessage);
return itacOptimizerMessage;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage asmOptimizerMessage, OptimizerMessage itacOptimizerMessage)
{
itacOptimizerMessage.MessageType = asmOptimizerMessage.MessageType;
itacOptimizerMessage.MessageCode = asmOptimizerMessage.MessageCode;
itacOptimizerMessage.Message = asmOptimizerMessage.Message;
// maps ASM list 2 iTAC array
// implicit mapping primitive type !!!
itacOptimizerMessage.Parameters = getArray(asmOptimizerMessage.Parameters);
}
// maps ASM namespace conform list to iTAC namespace array
public static OptimizerMessage[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage> asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
OptimizerMessage[] itacOptimizerMessage = new OptimizerMessage[asmOptimizerMessage.Count];
for (int i = 0; i < asmOptimizerMessage.Count; i++)
{
itacOptimizerMessage[i] = OptimizerMessageMapper.get(asmOptimizerMessage[i]);
}
return itacOptimizerMessage;
}
// maps ASM namespace conform array to iTAC namespace array
public static OptimizerMessage[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[] asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
OptimizerMessage[] itacOptimizerMessage = new OptimizerMessage[asmOptimizerMessage.Length];
for (int i = 0; i < asmOptimizerMessage.Length; i++)
{
itacOptimizerMessage[i] = OptimizerMessageMapper.get(asmOptimizerMessage[i]);
}
return itacOptimizerMessage;
}
// maps c# list to iTAC c# array
public static String[] getArray(List<System.String> value)
{
if (value == null) { return null; }
String[] result = new String[value.Count];
for (int i = 0; i < value.Count; i++)
{
result[i] = value[i];
}
return result;
}
// maps c# list to iTAC c# array
public static List<String> getList(System.String[] value)
{
if (value == null) { return null; }
List<System.String> result = new List<System.String>();
for (int i = 0; i < value.Length; i++)
{
result.Add( value[i]);
}
return result;
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ProductionScheduleElementMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement get(ProductionScheduleElement itacProductionScheduleElement)
{
if (itacProductionScheduleElement == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement asmProductionScheduleElement = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement();
mapItac2Asm(asmProductionScheduleElement, itacProductionScheduleElement);
return asmProductionScheduleElement;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement asmProductionScheduleElement, ProductionScheduleElement itacProductionScheduleElement)
{
asmProductionScheduleElement.Id = itacProductionScheduleElement.Id;
// complex property nLanes, isArray:False, isGeneric:False
// asmProductionScheduleElement.nLanes = com.itac.oib.linecontrol.contracts.data.ConveyorLanesMapper.get( itacProductionScheduleElement.nLanes);
asmProductionScheduleElement.Recipe = itacProductionScheduleElement.Recipe;
asmProductionScheduleElement.LotSize = itacProductionScheduleElement.LotSize;
asmProductionScheduleElement.OrderId = itacProductionScheduleElement.OrderId;
asmProductionScheduleElement.OrderId2 = itacProductionScheduleElement.OrderId2;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[] get(ProductionScheduleElement[] itacProductionScheduleElement)
{
if (itacProductionScheduleElement == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[] asmProductionScheduleElement = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[itacProductionScheduleElement.Length];
for (int i = 0; i < itacProductionScheduleElement.Length; i++)
{
// to itac array
asmProductionScheduleElement[i] = ProductionScheduleElementMapper.get(itacProductionScheduleElement[i]);
}
return asmProductionScheduleElement;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement> getList(ProductionScheduleElement[] asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement> itacProductionScheduleElement = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement>();
for (int i = 0; i < asmProductionScheduleElement.Length; i++)
{
itacProductionScheduleElement.Add(ProductionScheduleElementMapper.get(asmProductionScheduleElement[i]));
}
return itacProductionScheduleElement;
}
// map type from ASM namespace to iTAC namespace
public static ProductionScheduleElement get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
ProductionScheduleElement itacProductionScheduleElement = new ProductionScheduleElement();
mapAsm2Itac(asmProductionScheduleElement, itacProductionScheduleElement);
return itacProductionScheduleElement;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement asmProductionScheduleElement, ProductionScheduleElement itacProductionScheduleElement)
{
itacProductionScheduleElement.Id = asmProductionScheduleElement.Id;
// itacProductionScheduleElement.nLanes = com.itac.oib.linecontrol.contracts.data.ConveyorLanesMapper.get(asmProductionScheduleElement.nLanes);
// complex asm property nLanes
itacProductionScheduleElement.Recipe = asmProductionScheduleElement.Recipe;
itacProductionScheduleElement.LotSize = asmProductionScheduleElement.LotSize;
itacProductionScheduleElement.OrderId = asmProductionScheduleElement.OrderId;
itacProductionScheduleElement.OrderId2 = asmProductionScheduleElement.OrderId2;
}
// maps ASM namespace conform list to iTAC namespace array
public static ProductionScheduleElement[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement> asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
ProductionScheduleElement[] itacProductionScheduleElement = new ProductionScheduleElement[asmProductionScheduleElement.Count];
for (int i = 0; i < asmProductionScheduleElement.Count; i++)
{
itacProductionScheduleElement[i] = ProductionScheduleElementMapper.get(asmProductionScheduleElement[i]);
}
return itacProductionScheduleElement;
}
// maps ASM namespace conform array to iTAC namespace array
public static ProductionScheduleElement[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[] asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
ProductionScheduleElement[] itacProductionScheduleElement = new ProductionScheduleElement[asmProductionScheduleElement.Length];
for (int i = 0; i < asmProductionScheduleElement.Length; i++)
{
itacProductionScheduleElement[i] = ProductionScheduleElementMapper.get(asmProductionScheduleElement[i]);
}
return itacProductionScheduleElement;
}
}
}

View File

@@ -0,0 +1,107 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
// skip property IList, declared in ProductionSchedule
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ProductionScheduleMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule get(ProductionSchedule itacProductionSchedule)
{
if (itacProductionSchedule == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule asmProductionSchedule = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule();
mapItac2Asm(asmProductionSchedule, itacProductionSchedule);
return asmProductionSchedule;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule asmProductionSchedule, ProductionSchedule itacProductionSchedule)
{
asmProductionSchedule.Name = itacProductionSchedule.Name;
asmProductionSchedule.lineName = itacProductionSchedule.LineName;
// skip property IList, declared in ProductionSchedule
// complex property ProductionScheduleElements, isArray:False, isGeneric:True
asmProductionSchedule.ProductionScheduleElements = ProductionScheduleElementMapper.getList(itacProductionSchedule.ProductionScheduleElements);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[] get(ProductionSchedule[] itacProductionSchedule)
{
if (itacProductionSchedule == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[] asmProductionSchedule = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[itacProductionSchedule.Length];
for (int i = 0; i < itacProductionSchedule.Length; i++)
{
// to itac array
asmProductionSchedule[i] = ProductionScheduleMapper.get(itacProductionSchedule[i]);
}
return asmProductionSchedule;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule> getList(ProductionSchedule[] asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule> itacProductionSchedule = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule>();
for (int i = 0; i < asmProductionSchedule.Length; i++)
{
itacProductionSchedule.Add(ProductionScheduleMapper.get(asmProductionSchedule[i]));
}
return itacProductionSchedule;
}
// map type from ASM namespace to iTAC namespace
public static ProductionSchedule get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
ProductionSchedule itacProductionSchedule = new ProductionSchedule();
mapAsm2Itac(asmProductionSchedule, itacProductionSchedule);
return itacProductionSchedule;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule asmProductionSchedule, ProductionSchedule itacProductionSchedule)
{
itacProductionSchedule.Name = asmProductionSchedule.Name;
itacProductionSchedule.LineName = asmProductionSchedule.lineName;
// skip property IList, declared in ProductionSchedule
// maps ASM list 2 iTAC array
itacProductionSchedule.ProductionScheduleElements = ProductionScheduleElementMapper.getArray(asmProductionSchedule.ProductionScheduleElements);
}
// maps ASM namespace conform list to iTAC namespace array
public static ProductionSchedule[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule> asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
ProductionSchedule[] itacProductionSchedule = new ProductionSchedule[asmProductionSchedule.Count];
for (int i = 0; i < asmProductionSchedule.Count; i++)
{
itacProductionSchedule[i] = ProductionScheduleMapper.get(asmProductionSchedule[i]);
}
return itacProductionSchedule;
}
// maps ASM namespace conform array to iTAC namespace array
public static ProductionSchedule[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[] asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
ProductionSchedule[] itacProductionSchedule = new ProductionSchedule[asmProductionSchedule.Length];
for (int i = 0; i < asmProductionSchedule.Length; i++)
{
itacProductionSchedule[i] = ProductionScheduleMapper.get(asmProductionSchedule[i]);
}
return itacProductionSchedule;
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.itac.oib.linecontrol.contracts.data
{
public class StartJobResult
{
public bool result;
public string errorText;
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class StationwiseDownloadStateMapper
{
// map asm enum value to itac enum value
public static StationwiseDownloadState get(Asm.As.Oib.SiplacePro.LineControl.Contracts.StationwiseDownloadState stationwiseDownloadState)
{
int intValue = (int)stationwiseDownloadState;
return (StationwiseDownloadState)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.StationwiseDownloadState get(StationwiseDownloadState stationwiseDownloadState)
{
int intValue = (int)stationwiseDownloadState;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.StationwiseDownloadState)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class SubsystemMapper
{
// map asm enum value to itac enum value
public static Subsystem get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Subsystem subsystem)
{
int intValue = (int)subsystem;
return (Subsystem)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Subsystem get(Subsystem subsystem)
{
int intValue = (int)subsystem;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.Subsystem)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:10:38
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class UpdateModeComponentLibraryMapper
{
// map asm enum value to itac enum value
public static UpdateModeComponentLibrary get(Asm.As.Oib.SiplacePro.LineControl.Contracts.UpdateModeComponentLibrary updateModeComponentLibrary)
{
int intValue = (int)updateModeComponentLibrary;
return (UpdateModeComponentLibrary)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.UpdateModeComponentLibrary get(UpdateModeComponentLibrary updateModeComponentLibrary)
{
int intValue = (int)updateModeComponentLibrary;
return (Asm.As.Oib.SiplacePro.LineControl.Contracts.UpdateModeComponentLibrary)intValue;
}
}
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class BoardProcessedDataMapper:StationBaseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData get(BoardProcessedData itacBoardProcessedData)
{
if (itacBoardProcessedData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData asmBoardProcessedData = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData();
mapItac2Asm(asmBoardProcessedData, itacBoardProcessedData);
return asmBoardProcessedData;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData asmBoardProcessedData, BoardProcessedData itacBoardProcessedData)
{
// skip readonly property ProcessedBoards
// skip readonly property StationEvents
// skip readonly property UsedDetails
// skip readonly property PickupErrors
// skip readonly property Recipe
// complex property ContentSummaryType, isArray:False, isGeneric:False
asmBoardProcessedData.ContentSummaryType = com.itac.oib.monitoring.contracts.data.ContentSummaryTypeMapper.get( itacBoardProcessedData.ContentSummaryType);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData[] get(BoardProcessedData[] itacBoardProcessedData)
{
if (itacBoardProcessedData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData[] asmBoardProcessedData = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData[itacBoardProcessedData.Length];
for (int i = 0; i < itacBoardProcessedData.Length; i++)
{
// to itac array
asmBoardProcessedData[i] = BoardProcessedDataMapper.get(itacBoardProcessedData[i]);
}
return asmBoardProcessedData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData> getList(BoardProcessedData[] asmBoardProcessedData)
{
if (asmBoardProcessedData == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData> itacBoardProcessedData = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData>();
for (int i = 0; i < asmBoardProcessedData.Length; i++)
{
itacBoardProcessedData.Add(BoardProcessedDataMapper.get(asmBoardProcessedData[i]));
}
return itacBoardProcessedData;
}
// map type from ASM namespace to iTAC namespace
public static BoardProcessedData get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData asmBoardProcessedData)
{
if (asmBoardProcessedData == null) { return null; }
BoardProcessedData itacBoardProcessedData = new BoardProcessedData();
mapAsm2Itac(asmBoardProcessedData, itacBoardProcessedData);
return itacBoardProcessedData;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData asmBoardProcessedData, BoardProcessedData itacBoardProcessedData)
{
StationBaseMapper.mapAsm2Itac(asmBoardProcessedData, itacBoardProcessedData);
// maps ASM list 2 iTAC array
itacBoardProcessedData.ProcessedBoards = ProcessedBoardMapper.getArray(asmBoardProcessedData.ProcessedBoards);
// maps ASM list 2 iTAC array
itacBoardProcessedData.StationEvents = StationEventMapper.getArray(asmBoardProcessedData.StationEvents);
// maps ASM list 2 iTAC array
itacBoardProcessedData.UsedDetails = UsedDetailMapper.getArray(asmBoardProcessedData.UsedDetails);
// maps ASM list 2 iTAC array
itacBoardProcessedData.PickupErrors = PickupErrorMapper.getArray(asmBoardProcessedData.PickupErrors);
itacBoardProcessedData.Recipe = com.itac.oib.monitoring.contracts.data.RecipeMapper.get(asmBoardProcessedData.Recipe);
// complex asm property Recipe
itacBoardProcessedData.ContentSummaryType = com.itac.oib.monitoring.contracts.data.ContentSummaryTypeMapper.get(asmBoardProcessedData.ContentSummaryType);
// complex asm property ContentSummaryType
}
// maps ASM namespace conform list to iTAC namespace array
public static BoardProcessedData[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData> asmBoardProcessedData)
{
if (asmBoardProcessedData == null) { return null; }
BoardProcessedData[] itacBoardProcessedData = new BoardProcessedData[asmBoardProcessedData.Count];
for (int i = 0; i < asmBoardProcessedData.Count; i++)
{
itacBoardProcessedData[i] = BoardProcessedDataMapper.get(asmBoardProcessedData[i]);
}
return itacBoardProcessedData;
}
// maps ASM namespace conform array to iTAC namespace array
public static BoardProcessedData[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.BoardProcessedData[] asmBoardProcessedData)
{
if (asmBoardProcessedData == null) { return null; }
BoardProcessedData[] itacBoardProcessedData = new BoardProcessedData[asmBoardProcessedData.Length];
for (int i = 0; i < asmBoardProcessedData.Length; i++)
{
itacBoardProcessedData[i] = BoardProcessedDataMapper.get(asmBoardProcessedData[i]);
}
return itacBoardProcessedData;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class BoardSideTypeMapper
{
// map asm enum value to itac enum value
public static BoardSideType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardSideType boardSideType)
{
int intValue = (int)boardSideType;
return (BoardSideType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardSideType get(BoardSideType boardSideType)
{
int intValue = (int)boardSideType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardSideType)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class BoardStatusTypeMapper
{
// map asm enum value to itac enum value
public static BoardStatusType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardStatusType boardStatusType)
{
int intValue = (int)boardStatusType;
return (BoardStatusType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardStatusType get(BoardStatusType boardStatusType)
{
int intValue = (int)boardStatusType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.BoardStatusType)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class CompletionStatusTypeMapper
{
// map asm enum value to itac enum value
public static CompletionStatusType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.CompletionStatusType completionStatusType)
{
int intValue = (int)completionStatusType;
return (CompletionStatusType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.CompletionStatusType get(CompletionStatusType completionStatusType)
{
int intValue = (int)completionStatusType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.CompletionStatusType)intValue;
}
}
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ConfigurationMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration get(Configuration itacConfiguration)
{
if (itacConfiguration == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration asmConfiguration = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration();
mapItac2Asm(asmConfiguration, itacConfiguration);
return asmConfiguration;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration asmConfiguration, Configuration itacConfiguration)
{
// skip readonly property Lines
// skip readonly property HostName
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration[] get(Configuration[] itacConfiguration)
{
if (itacConfiguration == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration[] asmConfiguration = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration[itacConfiguration.Length];
for (int i = 0; i < itacConfiguration.Length; i++)
{
// to itac array
asmConfiguration[i] = ConfigurationMapper.get(itacConfiguration[i]);
}
return asmConfiguration;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration> getList(Configuration[] asmConfiguration)
{
if (asmConfiguration == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration> itacConfiguration = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration>();
for (int i = 0; i < asmConfiguration.Length; i++)
{
itacConfiguration.Add(ConfigurationMapper.get(asmConfiguration[i]));
}
return itacConfiguration;
}
// map type from ASM namespace to iTAC namespace
public static Configuration get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration asmConfiguration)
{
if (asmConfiguration == null) { return null; }
Configuration itacConfiguration = new Configuration();
mapAsm2Itac(asmConfiguration, itacConfiguration);
return itacConfiguration;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration asmConfiguration, Configuration itacConfiguration)
{
// maps ASM list 2 iTAC array
itacConfiguration.Lines = LineMapper.getArray(asmConfiguration.Lines);
itacConfiguration.HostName = asmConfiguration.HostName;
}
// maps ASM namespace conform list to iTAC namespace array
public static Configuration[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration> asmConfiguration)
{
if (asmConfiguration == null) { return null; }
Configuration[] itacConfiguration = new Configuration[asmConfiguration.Count];
for (int i = 0; i < asmConfiguration.Count; i++)
{
itacConfiguration[i] = ConfigurationMapper.get(asmConfiguration[i]);
}
return itacConfiguration;
}
// maps ASM namespace conform array to iTAC namespace array
public static Configuration[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Configuration[] asmConfiguration)
{
if (asmConfiguration == null) { return null; }
Configuration[] itacConfiguration = new Configuration[asmConfiguration.Length];
for (int i = 0; i < asmConfiguration.Length; i++)
{
itacConfiguration[i] = ConfigurationMapper.get(asmConfiguration[i]);
}
return itacConfiguration;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ContentSummaryTypeMapper
{
// map asm enum value to itac enum value
public static ContentSummaryType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.ContentSummaryType contentSummaryType)
{
int intValue = (int)contentSummaryType;
return (ContentSummaryType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.ContentSummaryType get(ContentSummaryType contentSummaryType)
{
int intValue = (int)contentSummaryType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.ContentSummaryType)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ConveyorTypeMapper
{
// map asm enum value to itac enum value
public static ConveyorType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.ConveyorType conveyorType)
{
int intValue = (int)conveyorType;
return (ConveyorType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.ConveyorType get(ConveyorType conveyorType)
{
int intValue = (int)conveyorType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.ConveyorType)intValue;
}
}
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class DownloadRecipeMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe get(DownloadRecipe itacDownloadRecipe)
{
if (itacDownloadRecipe == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe asmDownloadRecipe = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe();
mapItac2Asm(asmDownloadRecipe, itacDownloadRecipe);
return asmDownloadRecipe;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe asmDownloadRecipe, DownloadRecipe itacDownloadRecipe)
{
// skip readonly property Recipe
// skip readonly property DownloadTime
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe[] get(DownloadRecipe[] itacDownloadRecipe)
{
if (itacDownloadRecipe == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe[] asmDownloadRecipe = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe[itacDownloadRecipe.Length];
for (int i = 0; i < itacDownloadRecipe.Length; i++)
{
// to itac array
asmDownloadRecipe[i] = DownloadRecipeMapper.get(itacDownloadRecipe[i]);
}
return asmDownloadRecipe;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe> getList(DownloadRecipe[] asmDownloadRecipe)
{
if (asmDownloadRecipe == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe> itacDownloadRecipe = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe>();
for (int i = 0; i < asmDownloadRecipe.Length; i++)
{
itacDownloadRecipe.Add(DownloadRecipeMapper.get(asmDownloadRecipe[i]));
}
return itacDownloadRecipe;
}
// map type from ASM namespace to iTAC namespace
public static DownloadRecipe get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe asmDownloadRecipe)
{
if (asmDownloadRecipe == null) { return null; }
DownloadRecipe itacDownloadRecipe = new DownloadRecipe();
mapAsm2Itac(asmDownloadRecipe, itacDownloadRecipe);
return itacDownloadRecipe;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe asmDownloadRecipe, DownloadRecipe itacDownloadRecipe)
{
MonitoringDataMapper.mapAsm2Itac(asmDownloadRecipe, itacDownloadRecipe);
itacDownloadRecipe.Recipe = com.itac.oib.monitoring.contracts.data.RecipeMapper.get(asmDownloadRecipe.Recipe);
// complex asm property Recipe
itacDownloadRecipe.DownloadTime = asmDownloadRecipe.DownloadTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadRecipe[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe> asmDownloadRecipe)
{
if (asmDownloadRecipe == null) { return null; }
DownloadRecipe[] itacDownloadRecipe = new DownloadRecipe[asmDownloadRecipe.Count];
for (int i = 0; i < asmDownloadRecipe.Count; i++)
{
itacDownloadRecipe[i] = DownloadRecipeMapper.get(asmDownloadRecipe[i]);
}
return itacDownloadRecipe;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadRecipe[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.DownloadRecipe[] asmDownloadRecipe)
{
if (asmDownloadRecipe == null) { return null; }
DownloadRecipe[] itacDownloadRecipe = new DownloadRecipe[asmDownloadRecipe.Length];
for (int i = 0; i < asmDownloadRecipe.Length; i++)
{
itacDownloadRecipe[i] = DownloadRecipeMapper.get(asmDownloadRecipe[i]);
}
return itacDownloadRecipe;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class GantryEventTypeMapper
{
// map asm enum value to itac enum value
public static GantryEventType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.GantryEventType gantryEventType)
{
int intValue = (int)gantryEventType;
return (GantryEventType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.GantryEventType get(GantryEventType gantryEventType)
{
int intValue = (int)gantryEventType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.GantryEventType)intValue;
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class GantryStateMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState get(GantryState itacGantryState)
{
if (itacGantryState == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState asmGantryState = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState();
mapItac2Asm(asmGantryState, itacGantryState);
return asmGantryState;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState asmGantryState, GantryState itacGantryState)
{
// complex property State, isArray:False, isGeneric:False
asmGantryState.State = com.itac.oib.monitoring.contracts.data.GantryEventTypeMapper.get( itacGantryState.State);
asmGantryState.GantryNumber = itacGantryState.GantryNumber;
asmGantryState.ProcessingArea = itacGantryState.ProcessingArea;
asmGantryState.ErrorReason = itacGantryState.ErrorReason;
asmGantryState.BoardNumber = itacGantryState.BoardNumber;
asmGantryState.StationTime = itacGantryState.StationTime;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState[] get(GantryState[] itacGantryState)
{
if (itacGantryState == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState[] asmGantryState = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState[itacGantryState.Length];
for (int i = 0; i < itacGantryState.Length; i++)
{
// to itac array
asmGantryState[i] = GantryStateMapper.get(itacGantryState[i]);
}
return asmGantryState;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState> getList(GantryState[] asmGantryState)
{
if (asmGantryState == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState> itacGantryState = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState>();
for (int i = 0; i < asmGantryState.Length; i++)
{
itacGantryState.Add(GantryStateMapper.get(asmGantryState[i]));
}
return itacGantryState;
}
// map type from ASM namespace to iTAC namespace
public static GantryState get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState asmGantryState)
{
if (asmGantryState == null) { return null; }
GantryState itacGantryState = new GantryState();
mapAsm2Itac(asmGantryState, itacGantryState);
return itacGantryState;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState asmGantryState, GantryState itacGantryState)
{
itacGantryState.State = com.itac.oib.monitoring.contracts.data.GantryEventTypeMapper.get(asmGantryState.State);
// complex asm property State
itacGantryState.GantryNumber = asmGantryState.GantryNumber;
itacGantryState.ProcessingArea = asmGantryState.ProcessingArea;
itacGantryState.ErrorReason = asmGantryState.ErrorReason;
itacGantryState.BoardNumber = asmGantryState.BoardNumber;
itacGantryState.StationTime = asmGantryState.StationTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static GantryState[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState> asmGantryState)
{
if (asmGantryState == null) { return null; }
GantryState[] itacGantryState = new GantryState[asmGantryState.Count];
for (int i = 0; i < asmGantryState.Count; i++)
{
itacGantryState[i] = GantryStateMapper.get(asmGantryState[i]);
}
return itacGantryState;
}
// maps ASM namespace conform array to iTAC namespace array
public static GantryState[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.GantryState[] asmGantryState)
{
if (asmGantryState == null) { return null; }
GantryState[] itacGantryState = new GantryState[asmGantryState.Length];
for (int i = 0; i < asmGantryState.Length; i++)
{
itacGantryState[i] = GantryStateMapper.get(asmGantryState[i]);
}
return itacGantryState;
}
}
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class HeadMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head get(Head itacHead)
{
if (itacHead == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head asmHead = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head();
mapItac2Asm(asmHead, itacHead);
return asmHead;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head asmHead, Head itacHead)
{
asmHead.HeadNumber = itacHead.HeadNumber;
asmHead.GantryNumber = itacHead.GantryNumber;
asmHead.HeadType = itacHead.HeadType;
asmHead.Bypassed = itacHead.Bypassed;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head[] get(Head[] itacHead)
{
if (itacHead == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head[] asmHead = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head[itacHead.Length];
for (int i = 0; i < itacHead.Length; i++)
{
// to itac array
asmHead[i] = HeadMapper.get(itacHead[i]);
}
return asmHead;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head> getList(Head[] asmHead)
{
if (asmHead == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head> itacHead = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head>();
for (int i = 0; i < asmHead.Length; i++)
{
itacHead.Add(HeadMapper.get(asmHead[i]));
}
return itacHead;
}
// map type from ASM namespace to iTAC namespace
public static Head get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head asmHead)
{
if (asmHead == null) { return null; }
Head itacHead = new Head();
mapAsm2Itac(asmHead, itacHead);
return itacHead;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head asmHead, Head itacHead)
{
itacHead.HeadNumber = asmHead.HeadNumber;
itacHead.GantryNumber = asmHead.GantryNumber;
itacHead.HeadType = asmHead.HeadType;
itacHead.Bypassed = asmHead.Bypassed;
}
// maps ASM namespace conform list to iTAC namespace array
public static Head[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head> asmHead)
{
if (asmHead == null) { return null; }
Head[] itacHead = new Head[asmHead.Count];
for (int i = 0; i < asmHead.Count; i++)
{
itacHead[i] = HeadMapper.get(asmHead[i]);
}
return itacHead;
}
// maps ASM namespace conform array to iTAC namespace array
public static Head[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Head[] asmHead)
{
if (asmHead == null) { return null; }
Head[] itacHead = new Head[asmHead.Length];
for (int i = 0; i < asmHead.Length; i++)
{
itacHead[i] = HeadMapper.get(asmHead[i]);
}
return itacHead;
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class LineBaseMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
/* public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase get(LineBase itacLineBase)
{
if (itacLineBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase asmLineBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmLineBase, itacLineBase);
return asmLineBase;
}*/
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase asmLineBase, LineBase itacLineBase)
{
asmLineBase.FullPath = itacLineBase.FullPath;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase[] get(LineBase[] itacLineBase)
{
if (itacLineBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase[] asmLineBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase[itacLineBase.Length];
for (int i = 0; i < itacLineBase.Length; i++)
{
// to itac array
// asmLineBase[i] = LineBaseMapper.get(itacLineBase[i]);
}
return asmLineBase;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase> getList(LineBase[] asmLineBase)
{
if (asmLineBase == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase> itacLineBase = new List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase>();
for (int i = 0; i < asmLineBase.Length; i++)
{
// itacLineBase.Add(LineBaseMapper.get(asmLineBase[i]));
}
return itacLineBase;
}
// map type from ASM namespace to iTAC namespace
public static LineBase get(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase asmLineBase)
{
if (asmLineBase == null) { return null; }
LineBase itacLineBase = new LineBase();
mapAsm2Itac(asmLineBase, itacLineBase);
return itacLineBase;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase asmLineBase, LineBase itacLineBase)
{
MonitoringDataMapper.mapAsm2Itac(asmLineBase, itacLineBase);
itacLineBase.FullPath = asmLineBase.FullPath;
}
// maps ASM namespace conform list to iTAC namespace array
public static LineBase[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase> asmLineBase)
{
if (asmLineBase == null) { return null; }
LineBase[] itacLineBase = new LineBase[asmLineBase.Count];
for (int i = 0; i < asmLineBase.Count; i++)
{
itacLineBase[i] = LineBaseMapper.get(asmLineBase[i]);
}
return itacLineBase;
}
// maps ASM namespace conform array to iTAC namespace array
public static LineBase[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.LineBase[] asmLineBase)
{
if (asmLineBase == null) { return null; }
LineBase[] itacLineBase = new LineBase[asmLineBase.Length];
for (int i = 0; i < asmLineBase.Length; i++)
{
itacLineBase[i] = LineBaseMapper.get(asmLineBase[i]);
}
return itacLineBase;
}
}
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class LineMapper:LineBaseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line get(Line itacLine)
{
if (itacLine == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line asmLine = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line();
mapItac2Asm(asmLine, itacLine);
return asmLine;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line asmLine, Line itacLine)
{
asmLine.Name = itacLine.Name;
// skip readonly property Stations
asmLine.FullPath = itacLine.FullPath;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line[] get(Line[] itacLine)
{
if (itacLine == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line[] asmLine = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line[itacLine.Length];
for (int i = 0; i < itacLine.Length; i++)
{
// to itac array
asmLine[i] = LineMapper.get(itacLine[i]);
}
return asmLine;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line> getList(Line[] asmLine)
{
if (asmLine == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line> itacLine = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line>();
for (int i = 0; i < asmLine.Length; i++)
{
itacLine.Add(LineMapper.get(asmLine[i]));
}
return itacLine;
}
// map type from ASM namespace to iTAC namespace
public static Line get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line asmLine)
{
if (asmLine == null) { return null; }
Line itacLine = new Line();
mapAsm2Itac(asmLine, itacLine);
return itacLine;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line asmLine, Line itacLine)
{
LineBaseMapper.mapAsm2Itac(asmLine, itacLine);
itacLine.Name = asmLine.Name;
// maps ASM list 2 iTAC array
itacLine.Stations = StationMapper.getArray(asmLine.Stations);
itacLine.FullPath = asmLine.FullPath;
}
// maps ASM namespace conform list to iTAC namespace array
public static Line[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line> asmLine)
{
if (asmLine == null) { return null; }
Line[] itacLine = new Line[asmLine.Count];
for (int i = 0; i < asmLine.Count; i++)
{
itacLine[i] = LineMapper.get(asmLine[i]);
}
return itacLine;
}
// maps ASM namespace conform array to iTAC namespace array
public static Line[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Line[] asmLine)
{
if (asmLine == null) { return null; }
Line[] itacLine = new Line[asmLine.Length];
for (int i = 0; i < asmLine.Length; i++)
{
itacLine[i] = LineMapper.get(asmLine[i]);
}
return itacLine;
}
}
}

View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
// this type should be skipped, check class BaseMapper, dictionary ignoreTypeNames

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
/* public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData get(MonitoringData itacMonitoringData)
{
if (itacMonitoringData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData asmMonitoringData = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmMonitoringData, itacMonitoringData);
return asmMonitoringData;
}*/
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData asmMonitoringData, MonitoringData itacMonitoringData)
{
asmMonitoringData.FactoryLayoutPath = itacMonitoringData.FactoryLayoutPath;
// skip readonly property MessageSendTime
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData[] get(MonitoringData[] itacMonitoringData)
{
if (itacMonitoringData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData[] asmMonitoringData = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData[itacMonitoringData.Length];
for (int i = 0; i < itacMonitoringData.Length; i++)
{
// to itac array
// asmMonitoringData[i] = MonitoringDataMapper.get(itacMonitoringData[i]);
}
return asmMonitoringData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData> getList(MonitoringData[] asmMonitoringData)
{
if (asmMonitoringData == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData> itacMonitoringData = new List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData>();
for (int i = 0; i < asmMonitoringData.Length; i++)
{
// itacMonitoringData.Add(MonitoringDataMapper.get(asmMonitoringData[i]));
}
return itacMonitoringData;
}
// map type from ASM namespace to iTAC namespace
public static MonitoringData get(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData asmMonitoringData)
{
if (asmMonitoringData == null) { return null; }
MonitoringData itacMonitoringData = new MonitoringData();
mapAsm2Itac(asmMonitoringData, itacMonitoringData);
return itacMonitoringData;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData asmMonitoringData, MonitoringData itacMonitoringData)
{
itacMonitoringData.FactoryLayoutPath = asmMonitoringData.FactoryLayoutPath;
itacMonitoringData.MessageSendTime = asmMonitoringData.MessageSendTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static MonitoringData[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData> asmMonitoringData)
{
if (asmMonitoringData == null) { return null; }
MonitoringData[] itacMonitoringData = new MonitoringData[asmMonitoringData.Count];
for (int i = 0; i < asmMonitoringData.Count; i++)
{
itacMonitoringData[i] = MonitoringDataMapper.get(asmMonitoringData[i]);
}
return itacMonitoringData;
}
// maps ASM namespace conform array to iTAC namespace array
public static MonitoringData[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.MonitoringData[] asmMonitoringData)
{
if (asmMonitoringData == null) { return null; }
MonitoringData[] itacMonitoringData = new MonitoringData[asmMonitoringData.Length];
for (int i = 0; i < asmMonitoringData.Length; i++)
{
itacMonitoringData[i] = MonitoringDataMapper.get(asmMonitoringData[i]);
}
return itacMonitoringData;
}
}
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class PassmodeCollectionMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection get(PassmodeCollection itacPassmodeCollection)
{
if (itacPassmodeCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection asmPassmodeCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection();
mapItac2Asm(asmPassmodeCollection, itacPassmodeCollection);
return asmPassmodeCollection;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection asmPassmodeCollection, PassmodeCollection itacPassmodeCollection)
{
// skip readonly property PassmodeStates
// skip readonly property Station
asmPassmodeCollection.StationTime = itacPassmodeCollection.StationTime;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection[] get(PassmodeCollection[] itacPassmodeCollection)
{
if (itacPassmodeCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection[] asmPassmodeCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection[itacPassmodeCollection.Length];
for (int i = 0; i < itacPassmodeCollection.Length; i++)
{
// to itac array
asmPassmodeCollection[i] = PassmodeCollectionMapper.get(itacPassmodeCollection[i]);
}
return asmPassmodeCollection;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection> getList(PassmodeCollection[] asmPassmodeCollection)
{
if (asmPassmodeCollection == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection> itacPassmodeCollection = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection>();
for (int i = 0; i < asmPassmodeCollection.Length; i++)
{
itacPassmodeCollection.Add(PassmodeCollectionMapper.get(asmPassmodeCollection[i]));
}
return itacPassmodeCollection;
}
// map type from ASM namespace to iTAC namespace
public static PassmodeCollection get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection asmPassmodeCollection)
{
if (asmPassmodeCollection == null) { return null; }
PassmodeCollection itacPassmodeCollection = new PassmodeCollection();
mapAsm2Itac(asmPassmodeCollection, itacPassmodeCollection);
return itacPassmodeCollection;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection asmPassmodeCollection, PassmodeCollection itacPassmodeCollection)
{
MonitoringDataMapper.mapAsm2Itac(asmPassmodeCollection, itacPassmodeCollection);
// maps ASM list 2 iTAC array
itacPassmodeCollection.PassmodeStates = PassmodeLocationMapper.getArray(asmPassmodeCollection.PassmodeStates);
itacPassmodeCollection.Station = com.itac.oib.monitoring.contracts.data.StationMapper.get(asmPassmodeCollection.Station);
// complex asm property Station
itacPassmodeCollection.StationTime = asmPassmodeCollection.StationTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static PassmodeCollection[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection> asmPassmodeCollection)
{
if (asmPassmodeCollection == null) { return null; }
PassmodeCollection[] itacPassmodeCollection = new PassmodeCollection[asmPassmodeCollection.Count];
for (int i = 0; i < asmPassmodeCollection.Count; i++)
{
itacPassmodeCollection[i] = PassmodeCollectionMapper.get(asmPassmodeCollection[i]);
}
return itacPassmodeCollection;
}
// maps ASM namespace conform array to iTAC namespace array
public static PassmodeCollection[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeCollection[] asmPassmodeCollection)
{
if (asmPassmodeCollection == null) { return null; }
PassmodeCollection[] itacPassmodeCollection = new PassmodeCollection[asmPassmodeCollection.Length];
for (int i = 0; i < asmPassmodeCollection.Length; i++)
{
itacPassmodeCollection[i] = PassmodeCollectionMapper.get(asmPassmodeCollection[i]);
}
return itacPassmodeCollection;
}
}
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class PassmodeLocationMapper:ProcessingLocationAddressMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation get(PassmodeLocation itacPassmodeLocation)
{
if (itacPassmodeLocation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation asmPassmodeLocation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation();
mapItac2Asm(asmPassmodeLocation, itacPassmodeLocation);
return asmPassmodeLocation;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation asmPassmodeLocation, PassmodeLocation itacPassmodeLocation)
{
// skip readonly property PassmodeStatusType
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation[] get(PassmodeLocation[] itacPassmodeLocation)
{
if (itacPassmodeLocation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation[] asmPassmodeLocation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation[itacPassmodeLocation.Length];
for (int i = 0; i < itacPassmodeLocation.Length; i++)
{
// to itac array
asmPassmodeLocation[i] = PassmodeLocationMapper.get(itacPassmodeLocation[i]);
}
return asmPassmodeLocation;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation> getList(PassmodeLocation[] asmPassmodeLocation)
{
if (asmPassmodeLocation == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation> itacPassmodeLocation = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation>();
for (int i = 0; i < asmPassmodeLocation.Length; i++)
{
itacPassmodeLocation.Add(PassmodeLocationMapper.get(asmPassmodeLocation[i]));
}
return itacPassmodeLocation;
}
// map type from ASM namespace to iTAC namespace
public static PassmodeLocation get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation asmPassmodeLocation)
{
if (asmPassmodeLocation == null) { return null; }
PassmodeLocation itacPassmodeLocation = new PassmodeLocation();
mapAsm2Itac(asmPassmodeLocation, itacPassmodeLocation);
return itacPassmodeLocation;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation asmPassmodeLocation, PassmodeLocation itacPassmodeLocation)
{
ProcessingLocationAddressMapper.mapAsm2Itac(asmPassmodeLocation, itacPassmodeLocation);
itacPassmodeLocation.PassmodeStatusType = com.itac.oib.monitoring.contracts.data.PassmodeStatusTypeMapper.get(asmPassmodeLocation.PassmodeStatusType);
// complex asm property PassmodeStatusType
}
// maps ASM namespace conform list to iTAC namespace array
public static PassmodeLocation[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation> asmPassmodeLocation)
{
if (asmPassmodeLocation == null) { return null; }
PassmodeLocation[] itacPassmodeLocation = new PassmodeLocation[asmPassmodeLocation.Count];
for (int i = 0; i < asmPassmodeLocation.Count; i++)
{
itacPassmodeLocation[i] = PassmodeLocationMapper.get(asmPassmodeLocation[i]);
}
return itacPassmodeLocation;
}
// maps ASM namespace conform array to iTAC namespace array
public static PassmodeLocation[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PassmodeLocation[] asmPassmodeLocation)
{
if (asmPassmodeLocation == null) { return null; }
PassmodeLocation[] itacPassmodeLocation = new PassmodeLocation[asmPassmodeLocation.Length];
for (int i = 0; i < asmPassmodeLocation.Length; i++)
{
itacPassmodeLocation[i] = PassmodeLocationMapper.get(asmPassmodeLocation[i]);
}
return itacPassmodeLocation;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class PassmodeStatusTypeMapper
{
// map asm enum value to itac enum value
public static PassmodeStatusType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.PassmodeStatusType passmodeStatusType)
{
int intValue = (int)passmodeStatusType;
return (PassmodeStatusType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.PassmodeStatusType get(PassmodeStatusType passmodeStatusType)
{
int intValue = (int)passmodeStatusType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.PassmodeStatusType)intValue;
}
}
}

View File

@@ -0,0 +1,116 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class PickupErrorMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError get(PickupError itacPickupError)
{
if (itacPickupError == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError asmPickupError = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError();
mapItac2Asm(asmPickupError, itacPickupError);
return asmPickupError;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError asmPickupError, PickupError itacPickupError)
{
asmPickupError.StationTime = itacPickupError.StationTime;
asmPickupError.Head = itacPickupError.Head;
asmPickupError.Segment = itacPickupError.Segment;
asmPickupError.Nozzle = itacPickupError.Nozzle;
asmPickupError.ErrorType = itacPickupError.ErrorType;
// skip readonly property ErrorDescription
asmPickupError.Gantry = itacPickupError.Gantry;
asmPickupError.FeederId = itacPickupError.FeederId;
// complex property TrackEntry, isArray:False, isGeneric:False
asmPickupError.TrackEntry = com.itac.oib.monitoring.contracts.data.TrackEntryMapper.get( itacPickupError.TrackEntry);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError[] get(PickupError[] itacPickupError)
{
if (itacPickupError == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError[] asmPickupError = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError[itacPickupError.Length];
for (int i = 0; i < itacPickupError.Length; i++)
{
// to itac array
asmPickupError[i] = PickupErrorMapper.get(itacPickupError[i]);
}
return asmPickupError;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError> getList(PickupError[] asmPickupError)
{
if (asmPickupError == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError> itacPickupError = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError>();
for (int i = 0; i < asmPickupError.Length; i++)
{
itacPickupError.Add(PickupErrorMapper.get(asmPickupError[i]));
}
return itacPickupError;
}
// map type from ASM namespace to iTAC namespace
public static PickupError get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError asmPickupError)
{
if (asmPickupError == null) { return null; }
PickupError itacPickupError = new PickupError();
mapAsm2Itac(asmPickupError, itacPickupError);
return itacPickupError;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError asmPickupError, PickupError itacPickupError)
{
itacPickupError.StationTime = asmPickupError.StationTime;
itacPickupError.Head = asmPickupError.Head;
itacPickupError.Segment = asmPickupError.Segment;
itacPickupError.Nozzle = asmPickupError.Nozzle;
itacPickupError.ErrorType = asmPickupError.ErrorType;
itacPickupError.ErrorDescription = asmPickupError.ErrorDescription;
itacPickupError.Gantry = asmPickupError.Gantry;
itacPickupError.FeederId = asmPickupError.FeederId;
itacPickupError.TrackEntry = com.itac.oib.monitoring.contracts.data.TrackEntryMapper.get(asmPickupError.TrackEntry);
// complex asm property TrackEntry
}
// maps ASM namespace conform list to iTAC namespace array
public static PickupError[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError> asmPickupError)
{
if (asmPickupError == null) { return null; }
PickupError[] itacPickupError = new PickupError[asmPickupError.Count];
for (int i = 0; i < asmPickupError.Count; i++)
{
itacPickupError[i] = PickupErrorMapper.get(asmPickupError[i]);
}
return itacPickupError;
}
// maps ASM namespace conform array to iTAC namespace array
public static PickupError[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupError[] asmPickupError)
{
if (asmPickupError == null) { return null; }
PickupError[] itacPickupError = new PickupError[asmPickupError.Length];
for (int i = 0; i < asmPickupError.Length; i++)
{
itacPickupError[i] = PickupErrorMapper.get(asmPickupError[i]);
}
return itacPickupError;
}
}
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
// skip property Guid, declared in PickupObservationData
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class PickupObservationDataMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData get(PickupObservationData itacPickupObservationData)
{
if (itacPickupObservationData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData asmPickupObservationData = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData();
mapItac2Asm(asmPickupObservationData, itacPickupObservationData);
return asmPickupObservationData;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData asmPickupObservationData, PickupObservationData itacPickupObservationData)
{
// skip property Guid, declared in PickupObservationData
asmPickupObservationData.PeriodStart = itacPickupObservationData.PeriodStart;
asmPickupObservationData.PeriodEnd = itacPickupObservationData.PeriodEnd;
// skip readonly property UsedDetails
// skip readonly property PickupErrors
// skip readonly property Station
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData[] get(PickupObservationData[] itacPickupObservationData)
{
if (itacPickupObservationData == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData[] asmPickupObservationData = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData[itacPickupObservationData.Length];
for (int i = 0; i < itacPickupObservationData.Length; i++)
{
// to itac array
asmPickupObservationData[i] = PickupObservationDataMapper.get(itacPickupObservationData[i]);
}
return asmPickupObservationData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData> getList(PickupObservationData[] asmPickupObservationData)
{
if (asmPickupObservationData == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData> itacPickupObservationData = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData>();
for (int i = 0; i < asmPickupObservationData.Length; i++)
{
itacPickupObservationData.Add(PickupObservationDataMapper.get(asmPickupObservationData[i]));
}
return itacPickupObservationData;
}
// map type from ASM namespace to iTAC namespace
public static PickupObservationData get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData asmPickupObservationData)
{
if (asmPickupObservationData == null) { return null; }
PickupObservationData itacPickupObservationData = new PickupObservationData();
mapAsm2Itac(asmPickupObservationData, itacPickupObservationData);
return itacPickupObservationData;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData asmPickupObservationData, PickupObservationData itacPickupObservationData)
{
MonitoringDataMapper.mapAsm2Itac(asmPickupObservationData, itacPickupObservationData);
// skip property Guid, declared in PickupObservationData
itacPickupObservationData.PeriodStart = asmPickupObservationData.PeriodStart;
itacPickupObservationData.PeriodEnd = asmPickupObservationData.PeriodEnd;
// maps ASM list 2 iTAC array
itacPickupObservationData.UsedDetails = UsedDetailMapper.getArray(asmPickupObservationData.UsedDetails);
// maps ASM list 2 iTAC array
itacPickupObservationData.PickupErrors = PickupErrorMapper.getArray(asmPickupObservationData.PickupErrors);
itacPickupObservationData.Station = com.itac.oib.monitoring.contracts.data.StationMapper.get(asmPickupObservationData.Station);
// complex asm property Station
}
// maps ASM namespace conform list to iTAC namespace array
public static PickupObservationData[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData> asmPickupObservationData)
{
if (asmPickupObservationData == null) { return null; }
PickupObservationData[] itacPickupObservationData = new PickupObservationData[asmPickupObservationData.Count];
for (int i = 0; i < asmPickupObservationData.Count; i++)
{
itacPickupObservationData[i] = PickupObservationDataMapper.get(asmPickupObservationData[i]);
}
return itacPickupObservationData;
}
// maps ASM namespace conform array to iTAC namespace array
public static PickupObservationData[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.PickupObservationData[] asmPickupObservationData)
{
if (asmPickupObservationData == null) { return null; }
PickupObservationData[] itacPickupObservationData = new PickupObservationData[asmPickupObservationData.Length];
for (int i = 0; i < asmPickupObservationData.Length; i++)
{
itacPickupObservationData[i] = PickupObservationDataMapper.get(asmPickupObservationData[i]);
}
return itacPickupObservationData;
}
}
}

View File

@@ -0,0 +1,127 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ProcessedBoardMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard get(ProcessedBoard itacProcessedBoard)
{
if (itacProcessedBoard == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard asmProcessedBoard = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard();
mapItac2Asm(asmProcessedBoard, itacProcessedBoard);
return asmProcessedBoard;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard asmProcessedBoard, ProcessedBoard itacProcessedBoard)
{
asmProcessedBoard.StationTime = itacProcessedBoard.StationTime;
asmProcessedBoard.BoardName = itacProcessedBoard.BoardName;
asmProcessedBoard.BoardNumber = itacProcessedBoard.BoardNumber;
// complex property Conveyor, isArray:False, isGeneric:False
asmProcessedBoard.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacProcessedBoard.Conveyor);
asmProcessedBoard.Barcode = itacProcessedBoard.Barcode;
// complex property Status, isArray:False, isGeneric:False
asmProcessedBoard.Status = com.itac.oib.monitoring.contracts.data.BoardStatusTypeMapper.get( itacProcessedBoard.Status);
asmProcessedBoard.PanelCount = itacProcessedBoard.PanelCount;
// complex property SubConveyor, isArray:False, isGeneric:False
asmProcessedBoard.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacProcessedBoard.SubConveyor);
asmProcessedBoard.BoardSide = itacProcessedBoard.BoardSide;
asmProcessedBoard.BoardFullPath = itacProcessedBoard.BoardFullPath;
asmProcessedBoard.BuildTimePa1 = itacProcessedBoard.BuildTimePa1;
asmProcessedBoard.BuildTimePa2 = itacProcessedBoard.BuildTimePa2;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard[] get(ProcessedBoard[] itacProcessedBoard)
{
if (itacProcessedBoard == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard[] asmProcessedBoard = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard[itacProcessedBoard.Length];
for (int i = 0; i < itacProcessedBoard.Length; i++)
{
// to itac array
asmProcessedBoard[i] = ProcessedBoardMapper.get(itacProcessedBoard[i]);
}
return asmProcessedBoard;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard> getList(ProcessedBoard[] asmProcessedBoard)
{
if (asmProcessedBoard == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard> itacProcessedBoard = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard>();
for (int i = 0; i < asmProcessedBoard.Length; i++)
{
itacProcessedBoard.Add(ProcessedBoardMapper.get(asmProcessedBoard[i]));
}
return itacProcessedBoard;
}
// map type from ASM namespace to iTAC namespace
public static ProcessedBoard get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard asmProcessedBoard)
{
if (asmProcessedBoard == null) { return null; }
ProcessedBoard itacProcessedBoard = new ProcessedBoard();
mapAsm2Itac(asmProcessedBoard, itacProcessedBoard);
return itacProcessedBoard;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard asmProcessedBoard, ProcessedBoard itacProcessedBoard)
{
itacProcessedBoard.StationTime = asmProcessedBoard.StationTime;
itacProcessedBoard.BoardName = asmProcessedBoard.BoardName;
itacProcessedBoard.BoardNumber = asmProcessedBoard.BoardNumber;
itacProcessedBoard.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmProcessedBoard.Conveyor);
// complex asm property Conveyor
itacProcessedBoard.Barcode = asmProcessedBoard.Barcode;
itacProcessedBoard.Status = com.itac.oib.monitoring.contracts.data.BoardStatusTypeMapper.get(asmProcessedBoard.Status);
// complex asm property Status
itacProcessedBoard.PanelCount = asmProcessedBoard.PanelCount;
itacProcessedBoard.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmProcessedBoard.SubConveyor);
// complex asm property SubConveyor
itacProcessedBoard.BoardSide = asmProcessedBoard.BoardSide;
itacProcessedBoard.BoardFullPath = asmProcessedBoard.BoardFullPath;
itacProcessedBoard.BuildTimePa1 = asmProcessedBoard.BuildTimePa1;
itacProcessedBoard.BuildTimePa2 = asmProcessedBoard.BuildTimePa2;
}
// maps ASM namespace conform list to iTAC namespace array
public static ProcessedBoard[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard> asmProcessedBoard)
{
if (asmProcessedBoard == null) { return null; }
ProcessedBoard[] itacProcessedBoard = new ProcessedBoard[asmProcessedBoard.Count];
for (int i = 0; i < asmProcessedBoard.Count; i++)
{
itacProcessedBoard[i] = ProcessedBoardMapper.get(asmProcessedBoard[i]);
}
return itacProcessedBoard;
}
// maps ASM namespace conform array to iTAC namespace array
public static ProcessedBoard[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessedBoard[] asmProcessedBoard)
{
if (asmProcessedBoard == null) { return null; }
ProcessedBoard[] itacProcessedBoard = new ProcessedBoard[asmProcessedBoard.Length];
for (int i = 0; i < asmProcessedBoard.Length; i++)
{
itacProcessedBoard[i] = ProcessedBoardMapper.get(asmProcessedBoard[i]);
}
return itacProcessedBoard;
}
}
}

View File

@@ -0,0 +1,107 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ProcessingLocationAddressMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress get(ProcessingLocationAddress itacProcessingLocationAddress)
{
if (itacProcessingLocationAddress == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress asmProcessingLocationAddress = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress();
mapItac2Asm(asmProcessingLocationAddress, itacProcessingLocationAddress);
return asmProcessingLocationAddress;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress asmProcessingLocationAddress, ProcessingLocationAddress itacProcessingLocationAddress)
{
// complex property Conveyor, isArray:False, isGeneric:False
asmProcessingLocationAddress.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacProcessingLocationAddress.Conveyor);
// complex property SubConveyor, isArray:False, isGeneric:False
asmProcessingLocationAddress.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacProcessingLocationAddress.SubConveyor);
asmProcessingLocationAddress.ProcessingArea = itacProcessingLocationAddress.ProcessingArea;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress[] get(ProcessingLocationAddress[] itacProcessingLocationAddress)
{
if (itacProcessingLocationAddress == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress[] asmProcessingLocationAddress = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress[itacProcessingLocationAddress.Length];
for (int i = 0; i < itacProcessingLocationAddress.Length; i++)
{
// to itac array
asmProcessingLocationAddress[i] = ProcessingLocationAddressMapper.get(itacProcessingLocationAddress[i]);
}
return asmProcessingLocationAddress;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress> getList(ProcessingLocationAddress[] asmProcessingLocationAddress)
{
if (asmProcessingLocationAddress == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress> itacProcessingLocationAddress = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress>();
for (int i = 0; i < asmProcessingLocationAddress.Length; i++)
{
itacProcessingLocationAddress.Add(ProcessingLocationAddressMapper.get(asmProcessingLocationAddress[i]));
}
return itacProcessingLocationAddress;
}
// map type from ASM namespace to iTAC namespace
public static ProcessingLocationAddress get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress asmProcessingLocationAddress)
{
if (asmProcessingLocationAddress == null) { return null; }
ProcessingLocationAddress itacProcessingLocationAddress = new ProcessingLocationAddress();
mapAsm2Itac(asmProcessingLocationAddress, itacProcessingLocationAddress);
return itacProcessingLocationAddress;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress asmProcessingLocationAddress, ProcessingLocationAddress itacProcessingLocationAddress)
{
itacProcessingLocationAddress.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmProcessingLocationAddress.Conveyor);
// complex asm property Conveyor
itacProcessingLocationAddress.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmProcessingLocationAddress.SubConveyor);
// complex asm property SubConveyor
itacProcessingLocationAddress.ProcessingArea = asmProcessingLocationAddress.ProcessingArea;
}
// maps ASM namespace conform list to iTAC namespace array
public static ProcessingLocationAddress[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress> asmProcessingLocationAddress)
{
if (asmProcessingLocationAddress == null) { return null; }
ProcessingLocationAddress[] itacProcessingLocationAddress = new ProcessingLocationAddress[asmProcessingLocationAddress.Count];
for (int i = 0; i < asmProcessingLocationAddress.Count; i++)
{
itacProcessingLocationAddress[i] = ProcessingLocationAddressMapper.get(asmProcessingLocationAddress[i]);
}
return itacProcessingLocationAddress;
}
// maps ASM namespace conform array to iTAC namespace array
public static ProcessingLocationAddress[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationAddress[] asmProcessingLocationAddress)
{
if (asmProcessingLocationAddress == null) { return null; }
ProcessingLocationAddress[] itacProcessingLocationAddress = new ProcessingLocationAddress[asmProcessingLocationAddress.Length];
for (int i = 0; i < asmProcessingLocationAddress.Length; i++)
{
itacProcessingLocationAddress[i] = ProcessingLocationAddressMapper.get(asmProcessingLocationAddress[i]);
}
return itacProcessingLocationAddress;
}
}
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ProcessingLocationStateMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState get(ProcessingLocationState itacProcessingLocationState)
{
if (itacProcessingLocationState == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState asmProcessingLocationState = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState();
mapItac2Asm(asmProcessingLocationState, itacProcessingLocationState);
return asmProcessingLocationState;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState asmProcessingLocationState, ProcessingLocationState itacProcessingLocationState)
{
// complex property Conveyor, isArray:False, isGeneric:False
asmProcessingLocationState.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacProcessingLocationState.Conveyor);
asmProcessingLocationState.ProcessingArea = itacProcessingLocationState.ProcessingArea;
// complex property State, isArray:False, isGeneric:False
asmProcessingLocationState.State = com.itac.oib.monitoring.contracts.data.StationStateTypeMapper.get( itacProcessingLocationState.State);
asmProcessingLocationState.SequenceNumber = itacProcessingLocationState.SequenceNumber;
asmProcessingLocationState.StationTime = itacProcessingLocationState.StationTime;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState[] get(ProcessingLocationState[] itacProcessingLocationState)
{
if (itacProcessingLocationState == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState[] asmProcessingLocationState = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState[itacProcessingLocationState.Length];
for (int i = 0; i < itacProcessingLocationState.Length; i++)
{
// to itac array
asmProcessingLocationState[i] = ProcessingLocationStateMapper.get(itacProcessingLocationState[i]);
}
return asmProcessingLocationState;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState> getList(ProcessingLocationState[] asmProcessingLocationState)
{
if (asmProcessingLocationState == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState> itacProcessingLocationState = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState>();
for (int i = 0; i < asmProcessingLocationState.Length; i++)
{
itacProcessingLocationState.Add(ProcessingLocationStateMapper.get(asmProcessingLocationState[i]));
}
return itacProcessingLocationState;
}
// map type from ASM namespace to iTAC namespace
public static ProcessingLocationState get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState asmProcessingLocationState)
{
if (asmProcessingLocationState == null) { return null; }
ProcessingLocationState itacProcessingLocationState = new ProcessingLocationState();
mapAsm2Itac(asmProcessingLocationState, itacProcessingLocationState);
return itacProcessingLocationState;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState asmProcessingLocationState, ProcessingLocationState itacProcessingLocationState)
{
itacProcessingLocationState.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmProcessingLocationState.Conveyor);
// complex asm property Conveyor
itacProcessingLocationState.ProcessingArea = asmProcessingLocationState.ProcessingArea;
itacProcessingLocationState.State = com.itac.oib.monitoring.contracts.data.StationStateTypeMapper.get(asmProcessingLocationState.State);
// complex asm property State
itacProcessingLocationState.SequenceNumber = asmProcessingLocationState.SequenceNumber;
itacProcessingLocationState.StationTime = asmProcessingLocationState.StationTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static ProcessingLocationState[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState> asmProcessingLocationState)
{
if (asmProcessingLocationState == null) { return null; }
ProcessingLocationState[] itacProcessingLocationState = new ProcessingLocationState[asmProcessingLocationState.Count];
for (int i = 0; i < asmProcessingLocationState.Count; i++)
{
itacProcessingLocationState[i] = ProcessingLocationStateMapper.get(asmProcessingLocationState[i]);
}
return itacProcessingLocationState;
}
// maps ASM namespace conform array to iTAC namespace array
public static ProcessingLocationState[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.ProcessingLocationState[] asmProcessingLocationState)
{
if (asmProcessingLocationState == null) { return null; }
ProcessingLocationState[] itacProcessingLocationState = new ProcessingLocationState[asmProcessingLocationState.Length];
for (int i = 0; i < asmProcessingLocationState.Length; i++)
{
itacProcessingLocationState[i] = ProcessingLocationStateMapper.get(asmProcessingLocationState[i]);
}
return itacProcessingLocationState;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class ProcessingModeTypeMapper
{
// map asm enum value to itac enum value
public static ProcessingModeType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.ProcessingModeType processingModeType)
{
int intValue = (int)processingModeType;
return (ProcessingModeType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.ProcessingModeType get(ProcessingModeType processingModeType)
{
int intValue = (int)processingModeType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.ProcessingModeType)intValue;
}
}
}

View File

@@ -0,0 +1,109 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeAddOnMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn get(RecipeAddOn itacRecipeAddOn)
{
if (itacRecipeAddOn == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn asmRecipeAddOn = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn();
mapItac2Asm(asmRecipeAddOn, itacRecipeAddOn);
return asmRecipeAddOn;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn asmRecipeAddOn, RecipeAddOn itacRecipeAddOn)
{
asmRecipeAddOn.ProcessingArea = itacRecipeAddOn.ProcessingArea;
// complex property PlacementMode, isArray:False, isGeneric:False
asmRecipeAddOn.PlacementMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get( itacRecipeAddOn.PlacementMode);
asmRecipeAddOn.BuildTime = itacRecipeAddOn.BuildTime;
asmRecipeAddOn.StationTactTime = itacRecipeAddOn.StationTactTime;
asmRecipeAddOn.ParallelProcessingFactor = itacRecipeAddOn.ParallelProcessingFactor;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn[] get(RecipeAddOn[] itacRecipeAddOn)
{
if (itacRecipeAddOn == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn[] asmRecipeAddOn = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn[itacRecipeAddOn.Length];
for (int i = 0; i < itacRecipeAddOn.Length; i++)
{
// to itac array
asmRecipeAddOn[i] = RecipeAddOnMapper.get(itacRecipeAddOn[i]);
}
return asmRecipeAddOn;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn> getList(RecipeAddOn[] asmRecipeAddOn)
{
if (asmRecipeAddOn == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn> itacRecipeAddOn = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn>();
for (int i = 0; i < asmRecipeAddOn.Length; i++)
{
itacRecipeAddOn.Add(RecipeAddOnMapper.get(asmRecipeAddOn[i]));
}
return itacRecipeAddOn;
}
// map type from ASM namespace to iTAC namespace
public static RecipeAddOn get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn asmRecipeAddOn)
{
if (asmRecipeAddOn == null) { return null; }
RecipeAddOn itacRecipeAddOn = new RecipeAddOn();
mapAsm2Itac(asmRecipeAddOn, itacRecipeAddOn);
return itacRecipeAddOn;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn asmRecipeAddOn, RecipeAddOn itacRecipeAddOn)
{
itacRecipeAddOn.ProcessingArea = asmRecipeAddOn.ProcessingArea;
itacRecipeAddOn.PlacementMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get(asmRecipeAddOn.PlacementMode);
// complex asm property PlacementMode
itacRecipeAddOn.BuildTime = asmRecipeAddOn.BuildTime;
itacRecipeAddOn.StationTactTime = asmRecipeAddOn.StationTactTime;
itacRecipeAddOn.ParallelProcessingFactor = asmRecipeAddOn.ParallelProcessingFactor;
}
// maps ASM namespace conform list to iTAC namespace array
public static RecipeAddOn[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn> asmRecipeAddOn)
{
if (asmRecipeAddOn == null) { return null; }
RecipeAddOn[] itacRecipeAddOn = new RecipeAddOn[asmRecipeAddOn.Count];
for (int i = 0; i < asmRecipeAddOn.Count; i++)
{
itacRecipeAddOn[i] = RecipeAddOnMapper.get(asmRecipeAddOn[i]);
}
return itacRecipeAddOn;
}
// maps ASM namespace conform array to iTAC namespace array
public static RecipeAddOn[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeAddOn[] asmRecipeAddOn)
{
if (asmRecipeAddOn == null) { return null; }
RecipeAddOn[] itacRecipeAddOn = new RecipeAddOn[asmRecipeAddOn.Length];
for (int i = 0; i < asmRecipeAddOn.Length; i++)
{
itacRecipeAddOn[i] = RecipeAddOnMapper.get(asmRecipeAddOn[i]);
}
return itacRecipeAddOn;
}
}
}

View File

@@ -0,0 +1,101 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeBaseMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
/* public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase get(RecipeBase itacRecipeBase)
{
if (itacRecipeBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase asmRecipeBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmRecipeBase, itacRecipeBase);
return asmRecipeBase;
}*/
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase asmRecipeBase, RecipeBase itacRecipeBase)
{
// skip readonly property Station
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase[] get(RecipeBase[] itacRecipeBase)
{
if (itacRecipeBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase[] asmRecipeBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase[itacRecipeBase.Length];
for (int i = 0; i < itacRecipeBase.Length; i++)
{
// to itac array
// asmRecipeBase[i] = RecipeBaseMapper.get(itacRecipeBase[i]);
}
return asmRecipeBase;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase> getList(RecipeBase[] asmRecipeBase)
{
if (asmRecipeBase == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase> itacRecipeBase = new List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase>();
for (int i = 0; i < asmRecipeBase.Length; i++)
{
// itacRecipeBase.Add(RecipeBaseMapper.get(asmRecipeBase[i]));
}
return itacRecipeBase;
}
// map type from ASM namespace to iTAC namespace
public static RecipeBase get(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase asmRecipeBase)
{
if (asmRecipeBase == null) { return null; }
RecipeBase itacRecipeBase = new RecipeBase();
mapAsm2Itac(asmRecipeBase, itacRecipeBase);
return itacRecipeBase;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase asmRecipeBase, RecipeBase itacRecipeBase)
{
MonitoringDataMapper.mapAsm2Itac(asmRecipeBase, itacRecipeBase);
itacRecipeBase.Station = com.itac.oib.monitoring.contracts.data.StationMapper.get(asmRecipeBase.Station);
// complex asm property Station
}
// maps ASM namespace conform list to iTAC namespace array
public static RecipeBase[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase> asmRecipeBase)
{
if (asmRecipeBase == null) { return null; }
RecipeBase[] itacRecipeBase = new RecipeBase[asmRecipeBase.Count];
for (int i = 0; i < asmRecipeBase.Count; i++)
{
itacRecipeBase[i] = RecipeBaseMapper.get(asmRecipeBase[i]);
}
return itacRecipeBase;
}
// maps ASM namespace conform array to iTAC namespace array
public static RecipeBase[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.RecipeBase[] asmRecipeBase)
{
if (asmRecipeBase == null) { return null; }
RecipeBase[] itacRecipeBase = new RecipeBase[asmRecipeBase.Length];
for (int i = 0; i < asmRecipeBase.Length; i++)
{
itacRecipeBase[i] = RecipeBaseMapper.get(asmRecipeBase[i]);
}
return itacRecipeBase;
}
}
}

View File

@@ -0,0 +1,114 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeChangeMapper:RecipeBaseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange get(RecipeChange itacRecipeChange)
{
if (itacRecipeChange == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange asmRecipeChange = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange();
mapItac2Asm(asmRecipeChange, itacRecipeChange);
return asmRecipeChange;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange asmRecipeChange, RecipeChange itacRecipeChange)
{
// complex property Recipe, isArray:False, isGeneric:False
asmRecipeChange.Recipe = com.itac.oib.monitoring.contracts.data.RecipeMapper.get( itacRecipeChange.Recipe);
asmRecipeChange.ProcessingArea = itacRecipeChange.ProcessingArea;
// complex property Conveyor, isArray:False, isGeneric:False
asmRecipeChange.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacRecipeChange.Conveyor);
// complex property SubConveyor, isArray:False, isGeneric:False
asmRecipeChange.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacRecipeChange.SubConveyor);
asmRecipeChange.StationTime = itacRecipeChange.StationTime;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange[] get(RecipeChange[] itacRecipeChange)
{
if (itacRecipeChange == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange[] asmRecipeChange = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange[itacRecipeChange.Length];
for (int i = 0; i < itacRecipeChange.Length; i++)
{
// to itac array
asmRecipeChange[i] = RecipeChangeMapper.get(itacRecipeChange[i]);
}
return asmRecipeChange;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange> getList(RecipeChange[] asmRecipeChange)
{
if (asmRecipeChange == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange> itacRecipeChange = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange>();
for (int i = 0; i < asmRecipeChange.Length; i++)
{
itacRecipeChange.Add(RecipeChangeMapper.get(asmRecipeChange[i]));
}
return itacRecipeChange;
}
// map type from ASM namespace to iTAC namespace
public static RecipeChange get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange asmRecipeChange)
{
if (asmRecipeChange == null) { return null; }
RecipeChange itacRecipeChange = new RecipeChange();
mapAsm2Itac(asmRecipeChange, itacRecipeChange);
return itacRecipeChange;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange asmRecipeChange, RecipeChange itacRecipeChange)
{
RecipeBaseMapper.mapAsm2Itac(asmRecipeChange, itacRecipeChange);
itacRecipeChange.Recipe = com.itac.oib.monitoring.contracts.data.RecipeMapper.get(asmRecipeChange.Recipe);
// complex asm property Recipe
itacRecipeChange.ProcessingArea = asmRecipeChange.ProcessingArea;
itacRecipeChange.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmRecipeChange.Conveyor);
// complex asm property Conveyor
itacRecipeChange.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmRecipeChange.SubConveyor);
// complex asm property SubConveyor
itacRecipeChange.StationTime = asmRecipeChange.StationTime;
}
// maps ASM namespace conform list to iTAC namespace array
public static RecipeChange[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange> asmRecipeChange)
{
if (asmRecipeChange == null) { return null; }
RecipeChange[] itacRecipeChange = new RecipeChange[asmRecipeChange.Count];
for (int i = 0; i < asmRecipeChange.Count; i++)
{
itacRecipeChange[i] = RecipeChangeMapper.get(asmRecipeChange[i]);
}
return itacRecipeChange;
}
// maps ASM namespace conform array to iTAC namespace array
public static RecipeChange[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeChange[] asmRecipeChange)
{
if (asmRecipeChange == null) { return null; }
RecipeChange[] itacRecipeChange = new RecipeChange[asmRecipeChange.Length];
for (int i = 0; i < asmRecipeChange.Length; i++)
{
itacRecipeChange[i] = RecipeChangeMapper.get(asmRecipeChange[i]);
}
return itacRecipeChange;
}
}
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeCollectionMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection get(RecipeCollection itacRecipeCollection)
{
if (itacRecipeCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection asmRecipeCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection();
mapItac2Asm(asmRecipeCollection, itacRecipeCollection);
return asmRecipeCollection;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection asmRecipeCollection, RecipeCollection itacRecipeCollection)
{
// skip readonly property RecipeLocations
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection[] get(RecipeCollection[] itacRecipeCollection)
{
if (itacRecipeCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection[] asmRecipeCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection[itacRecipeCollection.Length];
for (int i = 0; i < itacRecipeCollection.Length; i++)
{
// to itac array
asmRecipeCollection[i] = RecipeCollectionMapper.get(itacRecipeCollection[i]);
}
return asmRecipeCollection;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection> getList(RecipeCollection[] asmRecipeCollection)
{
if (asmRecipeCollection == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection> itacRecipeCollection = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection>();
for (int i = 0; i < asmRecipeCollection.Length; i++)
{
itacRecipeCollection.Add(RecipeCollectionMapper.get(asmRecipeCollection[i]));
}
return itacRecipeCollection;
}
// map type from ASM namespace to iTAC namespace
public static RecipeCollection get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection asmRecipeCollection)
{
if (asmRecipeCollection == null) { return null; }
RecipeCollection itacRecipeCollection = new RecipeCollection();
mapAsm2Itac(asmRecipeCollection, itacRecipeCollection);
return itacRecipeCollection;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection asmRecipeCollection, RecipeCollection itacRecipeCollection)
{
MonitoringDataMapper.mapAsm2Itac(asmRecipeCollection, itacRecipeCollection);
// maps ASM list 2 iTAC array
itacRecipeCollection.RecipeLocations = RecipeLocationMapper.getArray(asmRecipeCollection.RecipeLocations);
}
// maps ASM namespace conform list to iTAC namespace array
public static RecipeCollection[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection> asmRecipeCollection)
{
if (asmRecipeCollection == null) { return null; }
RecipeCollection[] itacRecipeCollection = new RecipeCollection[asmRecipeCollection.Count];
for (int i = 0; i < asmRecipeCollection.Count; i++)
{
itacRecipeCollection[i] = RecipeCollectionMapper.get(asmRecipeCollection[i]);
}
return itacRecipeCollection;
}
// maps ASM namespace conform array to iTAC namespace array
public static RecipeCollection[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeCollection[] asmRecipeCollection)
{
if (asmRecipeCollection == null) { return null; }
RecipeCollection[] itacRecipeCollection = new RecipeCollection[asmRecipeCollection.Length];
for (int i = 0; i < asmRecipeCollection.Length; i++)
{
itacRecipeCollection[i] = RecipeCollectionMapper.get(asmRecipeCollection[i]);
}
return itacRecipeCollection;
}
}
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeLocationMapper:ProcessingLocationAddressMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation get(RecipeLocation itacRecipeLocation)
{
if (itacRecipeLocation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation asmRecipeLocation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation();
mapItac2Asm(asmRecipeLocation, itacRecipeLocation);
return asmRecipeLocation;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation asmRecipeLocation, RecipeLocation itacRecipeLocation)
{
// skip readonly property Recipe
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation[] get(RecipeLocation[] itacRecipeLocation)
{
if (itacRecipeLocation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation[] asmRecipeLocation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation[itacRecipeLocation.Length];
for (int i = 0; i < itacRecipeLocation.Length; i++)
{
// to itac array
asmRecipeLocation[i] = RecipeLocationMapper.get(itacRecipeLocation[i]);
}
return asmRecipeLocation;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation> getList(RecipeLocation[] asmRecipeLocation)
{
if (asmRecipeLocation == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation> itacRecipeLocation = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation>();
for (int i = 0; i < asmRecipeLocation.Length; i++)
{
itacRecipeLocation.Add(RecipeLocationMapper.get(asmRecipeLocation[i]));
}
return itacRecipeLocation;
}
// map type from ASM namespace to iTAC namespace
public static RecipeLocation get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation asmRecipeLocation)
{
if (asmRecipeLocation == null) { return null; }
RecipeLocation itacRecipeLocation = new RecipeLocation();
mapAsm2Itac(asmRecipeLocation, itacRecipeLocation);
return itacRecipeLocation;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation asmRecipeLocation, RecipeLocation itacRecipeLocation)
{
ProcessingLocationAddressMapper.mapAsm2Itac(asmRecipeLocation, itacRecipeLocation);
itacRecipeLocation.Recipe = com.itac.oib.monitoring.contracts.data.RecipeMapper.get(asmRecipeLocation.Recipe);
// complex asm property Recipe
}
// maps ASM namespace conform list to iTAC namespace array
public static RecipeLocation[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation> asmRecipeLocation)
{
if (asmRecipeLocation == null) { return null; }
RecipeLocation[] itacRecipeLocation = new RecipeLocation[asmRecipeLocation.Count];
for (int i = 0; i < asmRecipeLocation.Count; i++)
{
itacRecipeLocation[i] = RecipeLocationMapper.get(asmRecipeLocation[i]);
}
return itacRecipeLocation;
}
// maps ASM namespace conform array to iTAC namespace array
public static RecipeLocation[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.RecipeLocation[] asmRecipeLocation)
{
if (asmRecipeLocation == null) { return null; }
RecipeLocation[] itacRecipeLocation = new RecipeLocation[asmRecipeLocation.Length];
for (int i = 0; i < asmRecipeLocation.Length; i++)
{
itacRecipeLocation[i] = RecipeLocationMapper.get(asmRecipeLocation[i]);
}
return itacRecipeLocation;
}
}
}

View File

@@ -0,0 +1,145 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class RecipeMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe get(Recipe itacRecipe)
{
if (itacRecipe == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe asmRecipe = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe();
mapItac2Asm(asmRecipe, itacRecipe);
return asmRecipe;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe asmRecipe, Recipe itacRecipe)
{
asmRecipe.LineName = itacRecipe.LineName;
asmRecipe.LineFullPath = itacRecipe.LineFullPath;
asmRecipe.StationName = itacRecipe.StationName;
asmRecipe.StationFullPath = itacRecipe.StationFullPath;
asmRecipe.StartTime = itacRecipe.StartTime;
// complex property Conveyor, isArray:False, isGeneric:False
asmRecipe.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacRecipe.Conveyor);
asmRecipe.RecipeName = itacRecipe.RecipeName;
asmRecipe.RecipeFullPath = itacRecipe.RecipeFullPath;
asmRecipe.SetupName = itacRecipe.SetupName;
asmRecipe.SetupFullPath = itacRecipe.SetupFullPath;
asmRecipe.CycleTime = itacRecipe.CycleTime;
asmRecipe.ComponentBarcode = itacRecipe.ComponentBarcode;
asmRecipe.StationCycleTimeValid = itacRecipe.StationCycleTimeValid;
asmRecipe.StationCycleTime = itacRecipe.StationCycleTime;
asmRecipe.ParallelProcessingFactor = itacRecipe.ParallelProcessingFactor;
asmRecipe.Bypassed = itacRecipe.Bypassed;
asmRecipe.OrderId = itacRecipe.OrderId;
// skip readonly property Heads
// skip readonly property TargetBoards
// skip readonly property TrackEntries
// skip readonly property RecipeAddOnEntries
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe[] get(Recipe[] itacRecipe)
{
if (itacRecipe == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe[] asmRecipe = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe[itacRecipe.Length];
for (int i = 0; i < itacRecipe.Length; i++)
{
// to itac array
asmRecipe[i] = RecipeMapper.get(itacRecipe[i]);
}
return asmRecipe;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe> getList(Recipe[] asmRecipe)
{
if (asmRecipe == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe> itacRecipe = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe>();
for (int i = 0; i < asmRecipe.Length; i++)
{
itacRecipe.Add(RecipeMapper.get(asmRecipe[i]));
}
return itacRecipe;
}
// map type from ASM namespace to iTAC namespace
public static Recipe get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe asmRecipe)
{
if (asmRecipe == null) { return null; }
Recipe itacRecipe = new Recipe();
mapAsm2Itac(asmRecipe, itacRecipe);
return itacRecipe;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe asmRecipe, Recipe itacRecipe)
{
itacRecipe.LineName = asmRecipe.LineName;
itacRecipe.LineFullPath = asmRecipe.LineFullPath;
itacRecipe.StationName = asmRecipe.StationName;
itacRecipe.StationFullPath = asmRecipe.StationFullPath;
itacRecipe.StartTime = asmRecipe.StartTime;
itacRecipe.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmRecipe.Conveyor);
// complex asm property Conveyor
itacRecipe.RecipeName = asmRecipe.RecipeName;
itacRecipe.RecipeFullPath = asmRecipe.RecipeFullPath;
itacRecipe.SetupName = asmRecipe.SetupName;
itacRecipe.SetupFullPath = asmRecipe.SetupFullPath;
itacRecipe.CycleTime = asmRecipe.CycleTime;
itacRecipe.ComponentBarcode = asmRecipe.ComponentBarcode;
itacRecipe.StationCycleTimeValid = asmRecipe.StationCycleTimeValid;
itacRecipe.StationCycleTime = asmRecipe.StationCycleTime;
itacRecipe.ParallelProcessingFactor = asmRecipe.ParallelProcessingFactor;
itacRecipe.Bypassed = asmRecipe.Bypassed;
itacRecipe.OrderId = asmRecipe.OrderId;
// maps ASM list 2 iTAC array
itacRecipe.Heads = HeadMapper.getArray(asmRecipe.Heads);
// maps ASM list 2 iTAC array
itacRecipe.TargetBoards = TargetBoardMapper.getArray(asmRecipe.TargetBoards);
// maps ASM list 2 iTAC array
itacRecipe.TrackEntries = TrackEntryMapper.getArray(asmRecipe.TrackEntries);
// maps ASM list 2 iTAC array
itacRecipe.RecipeAddOnEntries = RecipeAddOnMapper.getArray(asmRecipe.RecipeAddOnEntries);
}
// maps ASM namespace conform list to iTAC namespace array
public static Recipe[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe> asmRecipe)
{
if (asmRecipe == null) { return null; }
Recipe[] itacRecipe = new Recipe[asmRecipe.Count];
for (int i = 0; i < asmRecipe.Count; i++)
{
itacRecipe[i] = RecipeMapper.get(asmRecipe[i]);
}
return itacRecipe;
}
// maps ASM namespace conform array to iTAC namespace array
public static Recipe[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Recipe[] asmRecipe)
{
if (asmRecipe == null) { return null; }
Recipe[] itacRecipe = new Recipe[asmRecipe.Length];
for (int i = 0; i < asmRecipe.Length; i++)
{
itacRecipe[i] = RecipeMapper.get(asmRecipe[i]);
}
return itacRecipe;
}
}
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class SetupCollectionMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection get(SetupCollection itacSetupCollection)
{
if (itacSetupCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection asmSetupCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection();
mapItac2Asm(asmSetupCollection, itacSetupCollection);
return asmSetupCollection;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection asmSetupCollection, SetupCollection itacSetupCollection)
{
// skip readonly property TrackEntries
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection[] get(SetupCollection[] itacSetupCollection)
{
if (itacSetupCollection == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection[] asmSetupCollection = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection[itacSetupCollection.Length];
for (int i = 0; i < itacSetupCollection.Length; i++)
{
// to itac array
asmSetupCollection[i] = SetupCollectionMapper.get(itacSetupCollection[i]);
}
return asmSetupCollection;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection> getList(SetupCollection[] asmSetupCollection)
{
if (asmSetupCollection == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection> itacSetupCollection = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection>();
for (int i = 0; i < asmSetupCollection.Length; i++)
{
itacSetupCollection.Add(SetupCollectionMapper.get(asmSetupCollection[i]));
}
return itacSetupCollection;
}
// map type from ASM namespace to iTAC namespace
public static SetupCollection get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection asmSetupCollection)
{
if (asmSetupCollection == null) { return null; }
SetupCollection itacSetupCollection = new SetupCollection();
mapAsm2Itac(asmSetupCollection, itacSetupCollection);
return itacSetupCollection;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection asmSetupCollection, SetupCollection itacSetupCollection)
{
MonitoringDataMapper.mapAsm2Itac(asmSetupCollection, itacSetupCollection);
// maps ASM list 2 iTAC array
itacSetupCollection.TrackEntries = TrackEntryMapper.getArray(asmSetupCollection.TrackEntries);
}
// maps ASM namespace conform list to iTAC namespace array
public static SetupCollection[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection> asmSetupCollection)
{
if (asmSetupCollection == null) { return null; }
SetupCollection[] itacSetupCollection = new SetupCollection[asmSetupCollection.Count];
for (int i = 0; i < asmSetupCollection.Count; i++)
{
itacSetupCollection[i] = SetupCollectionMapper.get(asmSetupCollection[i]);
}
return itacSetupCollection;
}
// maps ASM namespace conform array to iTAC namespace array
public static SetupCollection[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.SetupCollection[] asmSetupCollection)
{
if (asmSetupCollection == null) { return null; }
SetupCollection[] itacSetupCollection = new SetupCollection[asmSetupCollection.Length];
for (int i = 0; i < asmSetupCollection.Length; i++)
{
itacSetupCollection[i] = SetupCollectionMapper.get(asmSetupCollection[i]);
}
return itacSetupCollection;
}
}
}

View File

@@ -0,0 +1,103 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StateTransitionMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition get(StateTransition itacStateTransition)
{
if (itacStateTransition == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition asmStateTransition = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition();
mapItac2Asm(asmStateTransition, itacStateTransition);
return asmStateTransition;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition asmStateTransition, StateTransition itacStateTransition)
{
asmStateTransition.ProcessingArea = itacStateTransition.ProcessingArea;
// complex property StationState, isArray:False, isGeneric:False
asmStateTransition.StationState = com.itac.oib.monitoring.contracts.data.StationStateTypeMapper.get( itacStateTransition.StationState);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition[] get(StateTransition[] itacStateTransition)
{
if (itacStateTransition == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition[] asmStateTransition = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition[itacStateTransition.Length];
for (int i = 0; i < itacStateTransition.Length; i++)
{
// to itac array
asmStateTransition[i] = StateTransitionMapper.get(itacStateTransition[i]);
}
return asmStateTransition;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition> getList(StateTransition[] asmStateTransition)
{
if (asmStateTransition == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition> itacStateTransition = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition>();
for (int i = 0; i < asmStateTransition.Length; i++)
{
itacStateTransition.Add(StateTransitionMapper.get(asmStateTransition[i]));
}
return itacStateTransition;
}
// map type from ASM namespace to iTAC namespace
public static StateTransition get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition asmStateTransition)
{
if (asmStateTransition == null) { return null; }
StateTransition itacStateTransition = new StateTransition();
mapAsm2Itac(asmStateTransition, itacStateTransition);
return itacStateTransition;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition asmStateTransition, StateTransition itacStateTransition)
{
itacStateTransition.ProcessingArea = asmStateTransition.ProcessingArea;
itacStateTransition.StationState = com.itac.oib.monitoring.contracts.data.StationStateTypeMapper.get(asmStateTransition.StationState);
// complex asm property StationState
}
// maps ASM namespace conform list to iTAC namespace array
public static StateTransition[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition> asmStateTransition)
{
if (asmStateTransition == null) { return null; }
StateTransition[] itacStateTransition = new StateTransition[asmStateTransition.Count];
for (int i = 0; i < asmStateTransition.Count; i++)
{
itacStateTransition[i] = StateTransitionMapper.get(asmStateTransition[i]);
}
return itacStateTransition;
}
// maps ASM namespace conform array to iTAC namespace array
public static StateTransition[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StateTransition[] asmStateTransition)
{
if (asmStateTransition == null) { return null; }
StateTransition[] itacStateTransition = new StateTransition[asmStateTransition.Length];
for (int i = 0; i < asmStateTransition.Length; i++)
{
itacStateTransition[i] = StateTransitionMapper.get(asmStateTransition[i]);
}
return itacStateTransition;
}
}
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationBaseMapper:MonitoringDataMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
/* public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase get(StationBase itacStationBase)
{
if (itacStationBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase asmStationBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase(Asm.As.Oib.SiplacePro.Proxy.Business.Types.ResourceIDs.AttachableheadtypeCp_20);
mapItac2Asm(asmStationBase, itacStationBase);
return asmStationBase;
}
*/
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase asmStationBase, StationBase itacStationBase)
{
// skip readonly property Station
// complex property CompletionStatusType, isArray:False, isGeneric:False
asmStationBase.CompletionStatusType = com.itac.oib.monitoring.contracts.data.CompletionStatusTypeMapper.get( itacStationBase.CompletionStatusType);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase[] get(StationBase[] itacStationBase)
{
if (itacStationBase == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase[] asmStationBase = new Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase[itacStationBase.Length];
for (int i = 0; i < itacStationBase.Length; i++)
{
// to itac array
// asmStationBase[i] = StationBaseMapper.get(itacStationBase[i]);
}
return asmStationBase;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase> getList(StationBase[] asmStationBase)
{
if (asmStationBase == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase> itacStationBase = new List<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase>();
for (int i = 0; i < asmStationBase.Length; i++)
{
// itacStationBase.Add(StationBaseMapper.get(asmStationBase[i]));
}
return itacStationBase;
}
// map type from ASM namespace to iTAC namespace
public static StationBase get(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase asmStationBase)
{
if (asmStationBase == null) { return null; }
StationBase itacStationBase = new StationBase();
mapAsm2Itac(asmStationBase, itacStationBase);
return itacStationBase;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase asmStationBase, StationBase itacStationBase)
{
MonitoringDataMapper.mapAsm2Itac(asmStationBase, itacStationBase);
itacStationBase.Station = com.itac.oib.monitoring.contracts.data.StationMapper.get(asmStationBase.Station);
// complex asm property Station
itacStationBase.CompletionStatusType = com.itac.oib.monitoring.contracts.data.CompletionStatusTypeMapper.get(asmStationBase.CompletionStatusType);
// complex asm property CompletionStatusType
}
// maps ASM namespace conform list to iTAC namespace array
public static StationBase[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase> asmStationBase)
{
if (asmStationBase == null) { return null; }
StationBase[] itacStationBase = new StationBase[asmStationBase.Count];
for (int i = 0; i < asmStationBase.Count; i++)
{
itacStationBase[i] = StationBaseMapper.get(asmStationBase[i]);
}
return itacStationBase;
}
// maps ASM namespace conform array to iTAC namespace array
public static StationBase[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.BaseClasses.StationBase[] asmStationBase)
{
if (asmStationBase == null) { return null; }
StationBase[] itacStationBase = new StationBase[asmStationBase.Length];
for (int i = 0; i < asmStationBase.Length; i++)
{
itacStationBase[i] = StationBaseMapper.get(asmStationBase[i]);
}
return itacStationBase;
}
}
}

View File

@@ -0,0 +1,129 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationEventCompositeMapper:StationBaseMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite get(StationEventComposite itacStationEventComposite)
{
if (itacStationEventComposite == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite asmStationEventComposite = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite();
mapItac2Asm(asmStationEventComposite, itacStationEventComposite);
return asmStationEventComposite;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite asmStationEventComposite, StationEventComposite itacStationEventComposite)
{
// skip readonly property StateTransitions
// skip readonly property ProcessingLocationStates
// skip readonly property GantryStates
asmStationEventComposite.BoardNumber = itacStationEventComposite.BoardNumber;
asmStationEventComposite.StationTime = itacStationEventComposite.StationTime;
// complex property Conveyor, isArray:False, isGeneric:False
asmStationEventComposite.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacStationEventComposite.Conveyor);
// complex property StationEventType, isArray:False, isGeneric:False
asmStationEventComposite.StationEventType = com.itac.oib.monitoring.contracts.data.StationEventTypeMapper.get( itacStationEventComposite.StationEventType);
asmStationEventComposite.ProcessingArea = itacStationEventComposite.ProcessingArea;
// complex property ProcessingMode, isArray:False, isGeneric:False
asmStationEventComposite.ProcessingMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get( itacStationEventComposite.ProcessingMode);
// complex property SubConveyor, isArray:False, isGeneric:False
asmStationEventComposite.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacStationEventComposite.SubConveyor);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite[] get(StationEventComposite[] itacStationEventComposite)
{
if (itacStationEventComposite == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite[] asmStationEventComposite = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite[itacStationEventComposite.Length];
for (int i = 0; i < itacStationEventComposite.Length; i++)
{
// to itac array
asmStationEventComposite[i] = StationEventCompositeMapper.get(itacStationEventComposite[i]);
}
return asmStationEventComposite;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite> getList(StationEventComposite[] asmStationEventComposite)
{
if (asmStationEventComposite == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite> itacStationEventComposite = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite>();
for (int i = 0; i < asmStationEventComposite.Length; i++)
{
itacStationEventComposite.Add(StationEventCompositeMapper.get(asmStationEventComposite[i]));
}
return itacStationEventComposite;
}
// map type from ASM namespace to iTAC namespace
public static StationEventComposite get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite asmStationEventComposite)
{
if (asmStationEventComposite == null) { return null; }
StationEventComposite itacStationEventComposite = new StationEventComposite();
mapAsm2Itac(asmStationEventComposite, itacStationEventComposite);
return itacStationEventComposite;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite asmStationEventComposite, StationEventComposite itacStationEventComposite)
{
StationBaseMapper.mapAsm2Itac(asmStationEventComposite, itacStationEventComposite);
// maps ASM list 2 iTAC array
itacStationEventComposite.StateTransitions = StateTransitionMapper.getArray(asmStationEventComposite.StateTransitions);
// maps ASM list 2 iTAC array
itacStationEventComposite.ProcessingLocationStates = ProcessingLocationStateMapper.getArray(asmStationEventComposite.ProcessingLocationStates);
// maps ASM list 2 iTAC array
itacStationEventComposite.GantryStates = GantryStateMapper.getArray(asmStationEventComposite.GantryStates);
itacStationEventComposite.BoardNumber = asmStationEventComposite.BoardNumber;
itacStationEventComposite.StationTime = asmStationEventComposite.StationTime;
itacStationEventComposite.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmStationEventComposite.Conveyor);
// complex asm property Conveyor
itacStationEventComposite.StationEventType = com.itac.oib.monitoring.contracts.data.StationEventTypeMapper.get(asmStationEventComposite.StationEventType);
// complex asm property StationEventType
itacStationEventComposite.ProcessingArea = asmStationEventComposite.ProcessingArea;
itacStationEventComposite.ProcessingMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get(asmStationEventComposite.ProcessingMode);
// complex asm property ProcessingMode
itacStationEventComposite.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmStationEventComposite.SubConveyor);
// complex asm property SubConveyor
}
// maps ASM namespace conform list to iTAC namespace array
public static StationEventComposite[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite> asmStationEventComposite)
{
if (asmStationEventComposite == null) { return null; }
StationEventComposite[] itacStationEventComposite = new StationEventComposite[asmStationEventComposite.Count];
for (int i = 0; i < asmStationEventComposite.Count; i++)
{
itacStationEventComposite[i] = StationEventCompositeMapper.get(asmStationEventComposite[i]);
}
return itacStationEventComposite;
}
// maps ASM namespace conform array to iTAC namespace array
public static StationEventComposite[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEventComposite[] asmStationEventComposite)
{
if (asmStationEventComposite == null) { return null; }
StationEventComposite[] itacStationEventComposite = new StationEventComposite[asmStationEventComposite.Length];
for (int i = 0; i < asmStationEventComposite.Length; i++)
{
itacStationEventComposite[i] = StationEventCompositeMapper.get(asmStationEventComposite[i]);
}
return itacStationEventComposite;
}
}
}

View File

@@ -0,0 +1,119 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationEventMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent get(StationEvent itacStationEvent)
{
if (itacStationEvent == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent asmStationEvent = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent();
mapItac2Asm(asmStationEvent, itacStationEvent);
return asmStationEvent;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent asmStationEvent, StationEvent itacStationEvent)
{
asmStationEvent.BoardNumber = itacStationEvent.BoardNumber;
asmStationEvent.StationTime = itacStationEvent.StationTime;
// complex property Conveyor, isArray:False, isGeneric:False
asmStationEvent.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get( itacStationEvent.Conveyor);
// complex property StationEventType, isArray:False, isGeneric:False
asmStationEvent.StationEventType = com.itac.oib.monitoring.contracts.data.StationEventTypeMapper.get( itacStationEvent.StationEventType);
asmStationEvent.ProcessingArea = itacStationEvent.ProcessingArea;
// complex property ProcessingMode, isArray:False, isGeneric:False
asmStationEvent.ProcessingMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get( itacStationEvent.ProcessingMode);
// complex property SubConveyor, isArray:False, isGeneric:False
asmStationEvent.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacStationEvent.SubConveyor);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent[] get(StationEvent[] itacStationEvent)
{
if (itacStationEvent == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent[] asmStationEvent = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent[itacStationEvent.Length];
for (int i = 0; i < itacStationEvent.Length; i++)
{
// to itac array
asmStationEvent[i] = StationEventMapper.get(itacStationEvent[i]);
}
return asmStationEvent;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent> getList(StationEvent[] asmStationEvent)
{
if (asmStationEvent == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent> itacStationEvent = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent>();
for (int i = 0; i < asmStationEvent.Length; i++)
{
itacStationEvent.Add(StationEventMapper.get(asmStationEvent[i]));
}
return itacStationEvent;
}
// map type from ASM namespace to iTAC namespace
public static StationEvent get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent asmStationEvent)
{
if (asmStationEvent == null) { return null; }
StationEvent itacStationEvent = new StationEvent();
mapAsm2Itac(asmStationEvent, itacStationEvent);
return itacStationEvent;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent asmStationEvent, StationEvent itacStationEvent)
{
itacStationEvent.BoardNumber = asmStationEvent.BoardNumber;
itacStationEvent.StationTime = asmStationEvent.StationTime;
itacStationEvent.Conveyor = com.itac.oib.monitoring.contracts.data.ConveyorTypeMapper.get(asmStationEvent.Conveyor);
// complex asm property Conveyor
itacStationEvent.StationEventType = com.itac.oib.monitoring.contracts.data.StationEventTypeMapper.get(asmStationEvent.StationEventType);
// complex asm property StationEventType
itacStationEvent.ProcessingArea = asmStationEvent.ProcessingArea;
itacStationEvent.ProcessingMode = com.itac.oib.monitoring.contracts.data.ProcessingModeTypeMapper.get(asmStationEvent.ProcessingMode);
// complex asm property ProcessingMode
itacStationEvent.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmStationEvent.SubConveyor);
// complex asm property SubConveyor
}
// maps ASM namespace conform list to iTAC namespace array
public static StationEvent[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent> asmStationEvent)
{
if (asmStationEvent == null) { return null; }
StationEvent[] itacStationEvent = new StationEvent[asmStationEvent.Count];
for (int i = 0; i < asmStationEvent.Count; i++)
{
itacStationEvent[i] = StationEventMapper.get(asmStationEvent[i]);
}
return itacStationEvent;
}
// maps ASM namespace conform array to iTAC namespace array
public static StationEvent[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.StationEvent[] asmStationEvent)
{
if (asmStationEvent == null) { return null; }
StationEvent[] itacStationEvent = new StationEvent[asmStationEvent.Length];
for (int i = 0; i < asmStationEvent.Length; i++)
{
itacStationEvent[i] = StationEventMapper.get(asmStationEvent[i]);
}
return itacStationEvent;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationEventTypeMapper
{
// map asm enum value to itac enum value
public static StationEventType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.StationEventType stationEventType)
{
int intValue = (int)stationEventType;
return (StationEventType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.StationEventType get(StationEventType stationEventType)
{
int intValue = (int)stationEventType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.StationEventType)intValue;
}
}
}

View File

@@ -0,0 +1,116 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station get(Station itacStation)
{
if (itacStation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station asmStation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station();
mapItac2Asm(asmStation, itacStation);
return asmStation;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station asmStation, Station itacStation)
{
asmStation.LineName = itacStation.LineName;
asmStation.LineFullPath = itacStation.LineFullPath;
asmStation.Name = itacStation.Name;
asmStation.FullPath = itacStation.FullPath;
asmStation.ProcessingAreaCount = itacStation.ProcessingAreaCount;
asmStation.Text = itacStation.Text;
asmStation.ComputerAddress = itacStation.ComputerAddress;
asmStation.MachineId = itacStation.MachineId;
asmStation.SoftwareVersion = itacStation.SoftwareVersion;
asmStation.TypeName = itacStation.TypeName;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station[] get(Station[] itacStation)
{
if (itacStation == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station[] asmStation = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station[itacStation.Length];
for (int i = 0; i < itacStation.Length; i++)
{
// to itac array
asmStation[i] = StationMapper.get(itacStation[i]);
}
return asmStation;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station> getList(Station[] asmStation)
{
if (asmStation == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station> itacStation = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station>();
for (int i = 0; i < asmStation.Length; i++)
{
itacStation.Add(StationMapper.get(asmStation[i]));
}
return itacStation;
}
// map type from ASM namespace to iTAC namespace
public static Station get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station asmStation)
{
if (asmStation == null) { return null; }
Station itacStation = new Station();
mapAsm2Itac(asmStation, itacStation);
return itacStation;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station asmStation, Station itacStation)
{
itacStation.LineName = asmStation.LineName;
itacStation.LineFullPath = asmStation.LineFullPath;
itacStation.Name = asmStation.Name;
itacStation.FullPath = asmStation.FullPath;
itacStation.ProcessingAreaCount = asmStation.ProcessingAreaCount;
itacStation.Text = asmStation.Text;
itacStation.ComputerAddress = asmStation.ComputerAddress;
itacStation.MachineId = asmStation.MachineId;
itacStation.SoftwareVersion = asmStation.SoftwareVersion;
itacStation.TypeName = asmStation.TypeName;
}
// maps ASM namespace conform list to iTAC namespace array
public static Station[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station> asmStation)
{
if (asmStation == null) { return null; }
Station[] itacStation = new Station[asmStation.Count];
for (int i = 0; i < asmStation.Count; i++)
{
itacStation[i] = StationMapper.get(asmStation[i]);
}
return itacStation;
}
// maps ASM namespace conform array to iTAC namespace array
public static Station[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.Station[] asmStation)
{
if (asmStation == null) { return null; }
Station[] itacStation = new Station[asmStation.Length];
for (int i = 0; i < asmStation.Length; i++)
{
itacStation[i] = StationMapper.get(asmStation[i]);
}
return itacStation;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class StationStateTypeMapper
{
// map asm enum value to itac enum value
public static StationStateType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.StationStateType stationStateType)
{
int intValue = (int)stationStateType;
return (StationStateType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.StationStateType get(StationStateType stationStateType)
{
int intValue = (int)stationStateType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.StationStateType)intValue;
}
}
}

View File

@@ -0,0 +1,32 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:59
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class SubConveyorTypeMapper
{
// map asm enum value to itac enum value
public static SubConveyorType get(Asm.As.Oib.Monitoring.Proxy.Business.Types.SubConveyorType subConveyorType)
{
int intValue = (int)subConveyorType;
return (SubConveyorType)intValue;
}
// map itac enum value to ASM enum value
public static Asm.As.Oib.Monitoring.Proxy.Business.Types.SubConveyorType get(SubConveyorType subConveyorType)
{
int intValue = (int)subConveyorType;
return (Asm.As.Oib.Monitoring.Proxy.Business.Types.SubConveyorType)intValue;
}
}
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class TargetBoardMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard get(TargetBoard itacTargetBoard)
{
if (itacTargetBoard == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard asmTargetBoard = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard();
mapItac2Asm(asmTargetBoard, itacTargetBoard);
return asmTargetBoard;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard asmTargetBoard, TargetBoard itacTargetBoard)
{
asmTargetBoard.LotSize = itacTargetBoard.LotSize;
asmTargetBoard.BoardName = itacTargetBoard.BoardName;
asmTargetBoard.BoardFullPath = itacTargetBoard.BoardFullPath;
asmTargetBoard.OrderId = itacTargetBoard.OrderId;
// complex property BoardSide, isArray:False, isGeneric:False
asmTargetBoard.BoardSide = com.itac.oib.monitoring.contracts.data.BoardSideTypeMapper.get( itacTargetBoard.BoardSide);
// complex property SubConveyor, isArray:False, isGeneric:False
asmTargetBoard.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get( itacTargetBoard.SubConveyor);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard[] get(TargetBoard[] itacTargetBoard)
{
if (itacTargetBoard == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard[] asmTargetBoard = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard[itacTargetBoard.Length];
for (int i = 0; i < itacTargetBoard.Length; i++)
{
// to itac array
asmTargetBoard[i] = TargetBoardMapper.get(itacTargetBoard[i]);
}
return asmTargetBoard;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard> getList(TargetBoard[] asmTargetBoard)
{
if (asmTargetBoard == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard> itacTargetBoard = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard>();
for (int i = 0; i < asmTargetBoard.Length; i++)
{
itacTargetBoard.Add(TargetBoardMapper.get(asmTargetBoard[i]));
}
return itacTargetBoard;
}
// map type from ASM namespace to iTAC namespace
public static TargetBoard get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard asmTargetBoard)
{
if (asmTargetBoard == null) { return null; }
TargetBoard itacTargetBoard = new TargetBoard();
mapAsm2Itac(asmTargetBoard, itacTargetBoard);
return itacTargetBoard;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard asmTargetBoard, TargetBoard itacTargetBoard)
{
itacTargetBoard.LotSize = asmTargetBoard.LotSize;
itacTargetBoard.BoardName = asmTargetBoard.BoardName;
itacTargetBoard.BoardFullPath = asmTargetBoard.BoardFullPath;
itacTargetBoard.OrderId = asmTargetBoard.OrderId;
itacTargetBoard.BoardSide = com.itac.oib.monitoring.contracts.data.BoardSideTypeMapper.get(asmTargetBoard.BoardSide);
// complex asm property BoardSide
itacTargetBoard.SubConveyor = com.itac.oib.monitoring.contracts.data.SubConveyorTypeMapper.get(asmTargetBoard.SubConveyor);
// complex asm property SubConveyor
}
// maps ASM namespace conform list to iTAC namespace array
public static TargetBoard[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard> asmTargetBoard)
{
if (asmTargetBoard == null) { return null; }
TargetBoard[] itacTargetBoard = new TargetBoard[asmTargetBoard.Count];
for (int i = 0; i < asmTargetBoard.Count; i++)
{
itacTargetBoard[i] = TargetBoardMapper.get(asmTargetBoard[i]);
}
return itacTargetBoard;
}
// maps ASM namespace conform array to iTAC namespace array
public static TargetBoard[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TargetBoard[] asmTargetBoard)
{
if (asmTargetBoard == null) { return null; }
TargetBoard[] itacTargetBoard = new TargetBoard[asmTargetBoard.Length];
for (int i = 0; i < asmTargetBoard.Length; i++)
{
itacTargetBoard[i] = TargetBoardMapper.get(asmTargetBoard[i]);
}
return itacTargetBoard;
}
}
}

View File

@@ -0,0 +1,127 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
using com.itac.oib.monitoring.contracts.data;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class TrackEntryMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry get(TrackEntry itacTrackEntry)
{
if (itacTrackEntry == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry asmTrackEntry = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry();
mapItac2Asm(asmTrackEntry, itacTrackEntry);
return asmTrackEntry;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry asmTrackEntry, TrackEntry itacTrackEntry)
{
asmTrackEntry.TableLocation = itacTrackEntry.TableLocation;
asmTrackEntry.Track = itacTrackEntry.Track;
asmTrackEntry.Tower = itacTrackEntry.Tower;
asmTrackEntry.Level = itacTrackEntry.Level;
asmTrackEntry.Division = itacTrackEntry.Division;
asmTrackEntry.FeederType = itacTrackEntry.FeederType;
asmTrackEntry.ComponentName = itacTrackEntry.ComponentName;
asmTrackEntry.ComponentFullPath = itacTrackEntry.ComponentFullPath;
asmTrackEntry.ComponentShapeName = itacTrackEntry.ComponentShapeName;
asmTrackEntry.ComponentShapeFullPath = itacTrackEntry.ComponentShapeFullPath;
asmTrackEntry.FeederLongType = itacTrackEntry.FeederLongType;
asmTrackEntry.FeederTypeName = itacTrackEntry.FeederTypeName;
asmTrackEntry.TableTypeName = itacTrackEntry.TableTypeName;
// complex property Used, isArray:False, isGeneric:False
asmTrackEntry.Used = com.itac.oib.monitoring.contracts.data.UsedTypeMapper.get( itacTrackEntry.Used);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry[] get(TrackEntry[] itacTrackEntry)
{
if (itacTrackEntry == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry[] asmTrackEntry = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry[itacTrackEntry.Length];
for (int i = 0; i < itacTrackEntry.Length; i++)
{
// to itac array
asmTrackEntry[i] = TrackEntryMapper.get(itacTrackEntry[i]);
}
return asmTrackEntry;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry> getList(TrackEntry[] asmTrackEntry)
{
if (asmTrackEntry == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry> itacTrackEntry = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry>();
for (int i = 0; i < asmTrackEntry.Length; i++)
{
itacTrackEntry.Add(TrackEntryMapper.get(asmTrackEntry[i]));
}
return itacTrackEntry;
}
// map type from ASM namespace to iTAC namespace
public static TrackEntry get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry asmTrackEntry)
{
if (asmTrackEntry == null) { return null; }
TrackEntry itacTrackEntry = new TrackEntry();
mapAsm2Itac(asmTrackEntry, itacTrackEntry);
return itacTrackEntry;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry asmTrackEntry, TrackEntry itacTrackEntry)
{
itacTrackEntry.TableLocation = asmTrackEntry.TableLocation;
itacTrackEntry.Track = asmTrackEntry.Track;
itacTrackEntry.Tower = asmTrackEntry.Tower;
itacTrackEntry.Level = asmTrackEntry.Level;
itacTrackEntry.Division = asmTrackEntry.Division;
itacTrackEntry.FeederType = asmTrackEntry.FeederType;
itacTrackEntry.ComponentName = asmTrackEntry.ComponentName;
itacTrackEntry.ComponentFullPath = asmTrackEntry.ComponentFullPath;
itacTrackEntry.ComponentShapeName = asmTrackEntry.ComponentShapeName;
itacTrackEntry.ComponentShapeFullPath = asmTrackEntry.ComponentShapeFullPath;
itacTrackEntry.FeederLongType = asmTrackEntry.FeederLongType;
itacTrackEntry.FeederTypeName = asmTrackEntry.FeederTypeName;
itacTrackEntry.TableTypeName = asmTrackEntry.TableTypeName;
itacTrackEntry.Used = com.itac.oib.monitoring.contracts.data.UsedTypeMapper.get(asmTrackEntry.Used);
// complex asm property Used
}
// maps ASM namespace conform list to iTAC namespace array
public static TrackEntry[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry> asmTrackEntry)
{
if (asmTrackEntry == null) { return null; }
TrackEntry[] itacTrackEntry = new TrackEntry[asmTrackEntry.Count];
for (int i = 0; i < asmTrackEntry.Count; i++)
{
itacTrackEntry[i] = TrackEntryMapper.get(asmTrackEntry[i]);
}
return itacTrackEntry;
}
// maps ASM namespace conform array to iTAC namespace array
public static TrackEntry[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.TrackEntry[] asmTrackEntry)
{
if (asmTrackEntry == null) { return null; }
TrackEntry[] itacTrackEntry = new TrackEntry[asmTrackEntry.Length];
for (int i = 0; i < asmTrackEntry.Length; i++)
{
itacTrackEntry[i] = TrackEntryMapper.get(asmTrackEntry[i]);
}
return itacTrackEntry;
}
}
}

View File

@@ -0,0 +1,110 @@
/*
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
*
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
* without the written permission of iTAC Software AG.
*/
// created 23.11.2018 08:09:33
using System;
using System.Collections.Generic;
namespace com.itac.oib.monitoring.contracts.data
{
// source: assembly 3.2.0.152
// source: assembly ASM.AS.OIB.Monitoring.Proxy
public class UsedDetailMapper
{
// used for itac->asm: True
// used for asm->itac: True
// maps iTAC namespace conform type to ASM namespace type
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail get(UsedDetail itacUsedDetail)
{
if (itacUsedDetail == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail asmUsedDetail = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail();
mapItac2Asm(asmUsedDetail, itacUsedDetail);
return asmUsedDetail;
}
public static void mapItac2Asm(Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail asmUsedDetail, UsedDetail itacUsedDetail)
{
asmUsedDetail.AccessTotal = itacUsedDetail.AccessTotal;
asmUsedDetail.RejectIdent = itacUsedDetail.RejectIdent;
asmUsedDetail.RejectVacuum = itacUsedDetail.RejectVacuum;
// complex property TrackEntry, isArray:False, isGeneric:False
asmUsedDetail.TrackEntry = com.itac.oib.monitoring.contracts.data.TrackEntryMapper.get( itacUsedDetail.TrackEntry);
asmUsedDetail.TrackEmpty = itacUsedDetail.TrackEmpty;
asmUsedDetail.FeederId = itacUsedDetail.FeederId;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail[] get(UsedDetail[] itacUsedDetail)
{
if (itacUsedDetail == null) { return null; }
Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail[] asmUsedDetail = new Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail[itacUsedDetail.Length];
for (int i = 0; i < itacUsedDetail.Length; i++)
{
// to itac array
asmUsedDetail[i] = UsedDetailMapper.get(itacUsedDetail[i]);
}
return asmUsedDetail;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail> getList(UsedDetail[] asmUsedDetail)
{
if (asmUsedDetail == null) { return null; }
List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail> itacUsedDetail = new List<Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail>();
for (int i = 0; i < asmUsedDetail.Length; i++)
{
itacUsedDetail.Add(UsedDetailMapper.get(asmUsedDetail[i]));
}
return itacUsedDetail;
}
// map type from ASM namespace to iTAC namespace
public static UsedDetail get(Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail asmUsedDetail)
{
if (asmUsedDetail == null) { return null; }
UsedDetail itacUsedDetail = new UsedDetail();
mapAsm2Itac(asmUsedDetail, itacUsedDetail);
return itacUsedDetail;
}
public static void mapAsm2Itac(Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail asmUsedDetail, UsedDetail itacUsedDetail)
{
itacUsedDetail.AccessTotal = asmUsedDetail.AccessTotal;
itacUsedDetail.RejectIdent = asmUsedDetail.RejectIdent;
itacUsedDetail.RejectVacuum = asmUsedDetail.RejectVacuum;
itacUsedDetail.TrackEntry = com.itac.oib.monitoring.contracts.data.TrackEntryMapper.get(asmUsedDetail.TrackEntry);
// complex asm property TrackEntry
itacUsedDetail.TrackEmpty = asmUsedDetail.TrackEmpty;
itacUsedDetail.FeederId = asmUsedDetail.FeederId;
}
// maps ASM namespace conform list to iTAC namespace array
public static UsedDetail[] getArray(IList<Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail> asmUsedDetail)
{
if (asmUsedDetail == null) { return null; }
UsedDetail[] itacUsedDetail = new UsedDetail[asmUsedDetail.Count];
for (int i = 0; i < asmUsedDetail.Count; i++)
{
itacUsedDetail[i] = UsedDetailMapper.get(asmUsedDetail[i]);
}
return itacUsedDetail;
}
// maps ASM namespace conform array to iTAC namespace array
public static UsedDetail[] getArray(Asm.As.Oib.Monitoring.Proxy.Business.Objects.UsedDetail[] asmUsedDetail)
{
if (asmUsedDetail == null) { return null; }
UsedDetail[] itacUsedDetail = new UsedDetail[asmUsedDetail.Length];
for (int i = 0; i < asmUsedDetail.Length; i++)
{
itacUsedDetail[i] = UsedDetailMapper.get(asmUsedDetail[i]);
}
return itacUsedDetail;
}
}
}

Some files were not shown because too many files have changed in this diff Show More