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,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 26.11.2018 14:14:03
// skip property ExtensionDataObject, declared in AutoProgramDownloadPcbVerificationData
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class AutoProgramDownloadPcbVerificationDataMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData get(AutoProgramDownloadPcbVerificationData itacAutoProgramDownloadPcbVerificationData)
{
if (itacAutoProgramDownloadPcbVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData asmAutoProgramDownloadPcbVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData();
mapItac2Asm(asmAutoProgramDownloadPcbVerificationData, itacAutoProgramDownloadPcbVerificationData);
return asmAutoProgramDownloadPcbVerificationData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData asmAutoProgramDownloadPcbVerificationData, AutoProgramDownloadPcbVerificationData itacAutoProgramDownloadPcbVerificationData)
{
// skip property ExtensionDataObject, declared in AutoProgramDownloadPcbVerificationData
asmAutoProgramDownloadPcbVerificationData.BarcodePosition = itacAutoProgramDownloadPcbVerificationData.BarcodePosition;
asmAutoProgramDownloadPcbVerificationData.BarcodePosition2 = itacAutoProgramDownloadPcbVerificationData.BarcodePosition2;
asmAutoProgramDownloadPcbVerificationData.Lane = itacAutoProgramDownloadPcbVerificationData.Lane;
asmAutoProgramDownloadPcbVerificationData.LineJobGUID = itacAutoProgramDownloadPcbVerificationData.LineJobGUID;
asmAutoProgramDownloadPcbVerificationData.PcbBarcode = itacAutoProgramDownloadPcbVerificationData.PcbBarcode;
asmAutoProgramDownloadPcbVerificationData.PcbBarcode2 = itacAutoProgramDownloadPcbVerificationData.PcbBarcode2;
asmAutoProgramDownloadPcbVerificationData.Recipe = itacAutoProgramDownloadPcbVerificationData.Recipe;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData[] get(AutoProgramDownloadPcbVerificationData[] itacAutoProgramDownloadPcbVerificationData)
{
if (itacAutoProgramDownloadPcbVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData[] asmAutoProgramDownloadPcbVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData[itacAutoProgramDownloadPcbVerificationData.Length];
for (int i = 0; i < itacAutoProgramDownloadPcbVerificationData.Length; i++)
{
// to itac array
asmAutoProgramDownloadPcbVerificationData[i] = AutoProgramDownloadPcbVerificationDataMapper.get(itacAutoProgramDownloadPcbVerificationData[i]);
}
return asmAutoProgramDownloadPcbVerificationData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData> getList(AutoProgramDownloadPcbVerificationData[] asmAutoProgramDownloadPcbVerificationData)
{
if (asmAutoProgramDownloadPcbVerificationData == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData> itacAutoProgramDownloadPcbVerificationData = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData>();
for (int i = 0; i < asmAutoProgramDownloadPcbVerificationData.Length; i++)
{
itacAutoProgramDownloadPcbVerificationData.Add(AutoProgramDownloadPcbVerificationDataMapper.get(asmAutoProgramDownloadPcbVerificationData[i]));
}
return itacAutoProgramDownloadPcbVerificationData;
}
// map type from ASM namespace to iTAC namespace
public static AutoProgramDownloadPcbVerificationData get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData asmAutoProgramDownloadPcbVerificationData)
{
if (asmAutoProgramDownloadPcbVerificationData == null) { return null; }
AutoProgramDownloadPcbVerificationData itacAutoProgramDownloadPcbVerificationData = new AutoProgramDownloadPcbVerificationData();
mapAsm2Itac(asmAutoProgramDownloadPcbVerificationData, itacAutoProgramDownloadPcbVerificationData);
return itacAutoProgramDownloadPcbVerificationData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData asmAutoProgramDownloadPcbVerificationData, AutoProgramDownloadPcbVerificationData itacAutoProgramDownloadPcbVerificationData)
{
// skip property ExtensionDataObject, declared in AutoProgramDownloadPcbVerificationData
itacAutoProgramDownloadPcbVerificationData.BarcodePosition = asmAutoProgramDownloadPcbVerificationData.BarcodePosition;
itacAutoProgramDownloadPcbVerificationData.BarcodePosition2 = asmAutoProgramDownloadPcbVerificationData.BarcodePosition2;
itacAutoProgramDownloadPcbVerificationData.Lane = asmAutoProgramDownloadPcbVerificationData.Lane;
itacAutoProgramDownloadPcbVerificationData.LineJobGUID = asmAutoProgramDownloadPcbVerificationData.LineJobGUID;
itacAutoProgramDownloadPcbVerificationData.PcbBarcode = asmAutoProgramDownloadPcbVerificationData.PcbBarcode;
itacAutoProgramDownloadPcbVerificationData.PcbBarcode2 = asmAutoProgramDownloadPcbVerificationData.PcbBarcode2;
itacAutoProgramDownloadPcbVerificationData.Recipe = asmAutoProgramDownloadPcbVerificationData.Recipe;
}
// maps ASM namespace conform list to iTAC namespace array
public static AutoProgramDownloadPcbVerificationData[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData> asmAutoProgramDownloadPcbVerificationData)
{
if (asmAutoProgramDownloadPcbVerificationData == null) { return null; }
AutoProgramDownloadPcbVerificationData[] itacAutoProgramDownloadPcbVerificationData = new AutoProgramDownloadPcbVerificationData[asmAutoProgramDownloadPcbVerificationData.Count];
for (int i = 0; i < asmAutoProgramDownloadPcbVerificationData.Count; i++)
{
itacAutoProgramDownloadPcbVerificationData[i] = AutoProgramDownloadPcbVerificationDataMapper.get(asmAutoProgramDownloadPcbVerificationData[i]);
}
return itacAutoProgramDownloadPcbVerificationData;
}
// maps ASM namespace conform array to iTAC namespace array
public static AutoProgramDownloadPcbVerificationData[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadPcbVerificationData[] asmAutoProgramDownloadPcbVerificationData)
{
if (asmAutoProgramDownloadPcbVerificationData == null) { return null; }
AutoProgramDownloadPcbVerificationData[] itacAutoProgramDownloadPcbVerificationData = new AutoProgramDownloadPcbVerificationData[asmAutoProgramDownloadPcbVerificationData.Length];
for (int i = 0; i < asmAutoProgramDownloadPcbVerificationData.Length; i++)
{
itacAutoProgramDownloadPcbVerificationData[i] = AutoProgramDownloadPcbVerificationDataMapper.get(asmAutoProgramDownloadPcbVerificationData[i]);
}
return itacAutoProgramDownloadPcbVerificationData;
}
}
}

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 26.11.2018 14:14:03
// skip property ExtensionDataObject, declared in AutoProgramDownloadRecipeVerificationData
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class AutoProgramDownloadRecipeVerificationDataMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData get(AutoProgramDownloadRecipeVerificationData itacAutoProgramDownloadRecipeVerificationData)
{
if (itacAutoProgramDownloadRecipeVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData asmAutoProgramDownloadRecipeVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData();
mapItac2Asm(asmAutoProgramDownloadRecipeVerificationData, itacAutoProgramDownloadRecipeVerificationData);
return asmAutoProgramDownloadRecipeVerificationData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData asmAutoProgramDownloadRecipeVerificationData, AutoProgramDownloadRecipeVerificationData itacAutoProgramDownloadRecipeVerificationData)
{
// skip property ExtensionDataObject, declared in AutoProgramDownloadRecipeVerificationData
asmAutoProgramDownloadRecipeVerificationData.Job = itacAutoProgramDownloadRecipeVerificationData.Job;
asmAutoProgramDownloadRecipeVerificationData.Recipe = itacAutoProgramDownloadRecipeVerificationData.Recipe;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData[] get(AutoProgramDownloadRecipeVerificationData[] itacAutoProgramDownloadRecipeVerificationData)
{
if (itacAutoProgramDownloadRecipeVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData[] asmAutoProgramDownloadRecipeVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData[itacAutoProgramDownloadRecipeVerificationData.Length];
for (int i = 0; i < itacAutoProgramDownloadRecipeVerificationData.Length; i++)
{
// to itac array
asmAutoProgramDownloadRecipeVerificationData[i] = AutoProgramDownloadRecipeVerificationDataMapper.get(itacAutoProgramDownloadRecipeVerificationData[i]);
}
return asmAutoProgramDownloadRecipeVerificationData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData> getList(AutoProgramDownloadRecipeVerificationData[] asmAutoProgramDownloadRecipeVerificationData)
{
if (asmAutoProgramDownloadRecipeVerificationData == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData> itacAutoProgramDownloadRecipeVerificationData = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData>();
for (int i = 0; i < asmAutoProgramDownloadRecipeVerificationData.Length; i++)
{
itacAutoProgramDownloadRecipeVerificationData.Add(AutoProgramDownloadRecipeVerificationDataMapper.get(asmAutoProgramDownloadRecipeVerificationData[i]));
}
return itacAutoProgramDownloadRecipeVerificationData;
}
// map type from ASM namespace to iTAC namespace
public static AutoProgramDownloadRecipeVerificationData get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData asmAutoProgramDownloadRecipeVerificationData)
{
if (asmAutoProgramDownloadRecipeVerificationData == null) { return null; }
AutoProgramDownloadRecipeVerificationData itacAutoProgramDownloadRecipeVerificationData = new AutoProgramDownloadRecipeVerificationData();
mapAsm2Itac(asmAutoProgramDownloadRecipeVerificationData, itacAutoProgramDownloadRecipeVerificationData);
return itacAutoProgramDownloadRecipeVerificationData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData asmAutoProgramDownloadRecipeVerificationData, AutoProgramDownloadRecipeVerificationData itacAutoProgramDownloadRecipeVerificationData)
{
// skip property ExtensionDataObject, declared in AutoProgramDownloadRecipeVerificationData
itacAutoProgramDownloadRecipeVerificationData.Job = asmAutoProgramDownloadRecipeVerificationData.Job;
itacAutoProgramDownloadRecipeVerificationData.Recipe = asmAutoProgramDownloadRecipeVerificationData.Recipe;
}
// maps ASM namespace conform list to iTAC namespace array
public static AutoProgramDownloadRecipeVerificationData[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData> asmAutoProgramDownloadRecipeVerificationData)
{
if (asmAutoProgramDownloadRecipeVerificationData == null) { return null; }
AutoProgramDownloadRecipeVerificationData[] itacAutoProgramDownloadRecipeVerificationData = new AutoProgramDownloadRecipeVerificationData[asmAutoProgramDownloadRecipeVerificationData.Count];
for (int i = 0; i < asmAutoProgramDownloadRecipeVerificationData.Count; i++)
{
itacAutoProgramDownloadRecipeVerificationData[i] = AutoProgramDownloadRecipeVerificationDataMapper.get(asmAutoProgramDownloadRecipeVerificationData[i]);
}
return itacAutoProgramDownloadRecipeVerificationData;
}
// maps ASM namespace conform array to iTAC namespace array
public static AutoProgramDownloadRecipeVerificationData[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.AutoProgramDownloadRecipeVerificationData[] asmAutoProgramDownloadRecipeVerificationData)
{
if (asmAutoProgramDownloadRecipeVerificationData == null) { return null; }
AutoProgramDownloadRecipeVerificationData[] itacAutoProgramDownloadRecipeVerificationData = new AutoProgramDownloadRecipeVerificationData[asmAutoProgramDownloadRecipeVerificationData.Length];
for (int i = 0; i < asmAutoProgramDownloadRecipeVerificationData.Length; i++)
{
itacAutoProgramDownloadRecipeVerificationData[i] = AutoProgramDownloadRecipeVerificationDataMapper.get(asmAutoProgramDownloadRecipeVerificationData[i]);
}
return itacAutoProgramDownloadRecipeVerificationData;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp itacComponentKnownButNotSetUp = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp();
mapItac2Asm(itacComponentKnownButNotSetUp, asmComponentKnownButNotSetUp);
return itacComponentKnownButNotSetUp;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp itacComponentKnownButNotSetUp, ComponentKnownButNotSetUp asmComponentKnownButNotSetUp)
{
itacComponentKnownButNotSetUp.ComponentFullPath = asmComponentKnownButNotSetUp.ComponentFullPath;
itacComponentKnownButNotSetUp.StationFullPath = asmComponentKnownButNotSetUp.StationFullPath;
itacComponentKnownButNotSetUp.LocationNumber = asmComponentKnownButNotSetUp.LocationNumber;
itacComponentKnownButNotSetUp.DeviceNumber = asmComponentKnownButNotSetUp.DeviceNumber;
itacComponentKnownButNotSetUp.AlreadyConfirmed = asmComponentKnownButNotSetUp.AlreadyConfirmed;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[] get(ComponentKnownButNotSetUp[] asmComponentKnownButNotSetUp)
{
if (asmComponentKnownButNotSetUp == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[] itacComponentKnownButNotSetUp = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentKnownButNotSetUp[asmComponentKnownButNotSetUp.Length];
for (int i = 0; i < asmComponentKnownButNotSetUp.Length; i++)
{
// to itac array
itacComponentKnownButNotSetUp[i] = ComponentKnownButNotSetUpMapper.get(asmComponentKnownButNotSetUp[i]);
}
return itacComponentKnownButNotSetUp;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll itacComponentNotKnownAtAll = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll();
mapItac2Asm(itacComponentNotKnownAtAll, asmComponentNotKnownAtAll);
return itacComponentNotKnownAtAll;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll itacComponentNotKnownAtAll, ComponentNotKnownAtAll asmComponentNotKnownAtAll)
{
itacComponentNotKnownAtAll.ComponentFullPath = asmComponentNotKnownAtAll.ComponentFullPath;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[] get(ComponentNotKnownAtAll[] asmComponentNotKnownAtAll)
{
if (asmComponentNotKnownAtAll == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[] itacComponentNotKnownAtAll = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentNotKnownAtAll[asmComponentNotKnownAtAll.Length];
for (int i = 0; i < asmComponentNotKnownAtAll.Length; i++)
{
// to itac array
itacComponentNotKnownAtAll[i] = ComponentNotKnownAtAllMapper.get(asmComponentNotKnownAtAll[i]);
}
return itacComponentNotKnownAtAll;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable();
mapItac2Asm(itacComponentSetUpOnWrongTable, asmComponentSetUpOnWrongTable);
return itacComponentSetUpOnWrongTable;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable itacComponentSetUpOnWrongTable, ComponentSetUpOnWrongTable asmComponentSetUpOnWrongTable)
{
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 iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[] get(ComponentSetUpOnWrongTable[] asmComponentSetUpOnWrongTable)
{
if (asmComponentSetUpOnWrongTable == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[] itacComponentSetUpOnWrongTable = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ComponentSetUpOnWrongTable[asmComponentSetUpOnWrongTable.Length];
for (int i = 0; i < asmComponentSetUpOnWrongTable.Length; i++)
{
// to itac array
itacComponentSetUpOnWrongTable[i] = ComponentSetUpOnWrongTableMapper.get(asmComponentSetUpOnWrongTable[i]);
}
return itacComponentSetUpOnWrongTable;
}
// 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,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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ContinueLineRequestMapper
{
// 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.ContinueLineRequest get(ContinueLineRequest asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest itacContinueLineRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest();
mapItac2Asm(itacContinueLineRequest, asmContinueLineRequest);
return itacContinueLineRequest;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest itacContinueLineRequest, ContinueLineRequest asmContinueLineRequest)
{
// skip readonly property UsePLineOID
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest[] get(ContinueLineRequest[] asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest[] itacContinueLineRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest[asmContinueLineRequest.Length];
for (int i = 0; i < asmContinueLineRequest.Length; i++)
{
// to itac array
itacContinueLineRequest[i] = ContinueLineRequestMapper.get(asmContinueLineRequest[i]);
}
return itacContinueLineRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest> getList(ContinueLineRequest[] asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest> itacContinueLineRequest = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest>();
for (int i = 0; i < asmContinueLineRequest.Length; i++)
{
itacContinueLineRequest.Add(ContinueLineRequestMapper.get(asmContinueLineRequest[i]));
}
return itacContinueLineRequest;
}
// map type from ASM namespace to iTAC namespace
public static ContinueLineRequest get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
ContinueLineRequest itacContinueLineRequest = new ContinueLineRequest();
mapAsm2Itac(asmContinueLineRequest, itacContinueLineRequest);
return itacContinueLineRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest asmContinueLineRequest, ContinueLineRequest itacContinueLineRequest)
{
itacContinueLineRequest.UsePLineOID = asmContinueLineRequest.UsePLineOID;
}
// maps ASM namespace conform list to iTAC namespace array
public static ContinueLineRequest[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest> asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
ContinueLineRequest[] itacContinueLineRequest = new ContinueLineRequest[asmContinueLineRequest.Count];
for (int i = 0; i < asmContinueLineRequest.Count; i++)
{
itacContinueLineRequest[i] = ContinueLineRequestMapper.get(asmContinueLineRequest[i]);
}
return itacContinueLineRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static ContinueLineRequest[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineRequest[] asmContinueLineRequest)
{
if (asmContinueLineRequest == null) { return null; }
ContinueLineRequest[] itacContinueLineRequest = new ContinueLineRequest[asmContinueLineRequest.Length];
for (int i = 0; i < asmContinueLineRequest.Length; i++)
{
itacContinueLineRequest[i] = ContinueLineRequestMapper.get(asmContinueLineRequest[i]);
}
return itacContinueLineRequest;
}
}
}

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 02.11.2018 09:19:36
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class ContinueLineResultMapper
{
// 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.ContinueLineResult get(ContinueLineResult asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult itacContinueLineResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult();
mapItac2Asm(itacContinueLineResult, asmContinueLineResult);
return itacContinueLineResult;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult itacContinueLineResult, ContinueLineResult asmContinueLineResult)
{
itacContinueLineResult.Succeeded = asmContinueLineResult.Succeeded;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult[] get(ContinueLineResult[] asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult[] itacContinueLineResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult[asmContinueLineResult.Length];
for (int i = 0; i < asmContinueLineResult.Length; i++)
{
// to itac array
itacContinueLineResult[i] = ContinueLineResultMapper.get(asmContinueLineResult[i]);
}
return itacContinueLineResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult> getList(ContinueLineResult[] asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult> itacContinueLineResult = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult>();
for (int i = 0; i < asmContinueLineResult.Length; i++)
{
itacContinueLineResult.Add(ContinueLineResultMapper.get(asmContinueLineResult[i]));
}
return itacContinueLineResult;
}
// map type from ASM namespace to iTAC namespace
public static ContinueLineResult get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
ContinueLineResult itacContinueLineResult = new ContinueLineResult();
mapAsm2Itac(asmContinueLineResult, itacContinueLineResult);
return itacContinueLineResult;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult asmContinueLineResult, ContinueLineResult itacContinueLineResult)
{
itacContinueLineResult.Succeeded = asmContinueLineResult.Succeeded;
}
// maps ASM namespace conform list to iTAC namespace array
public static ContinueLineResult[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult> asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
ContinueLineResult[] itacContinueLineResult = new ContinueLineResult[asmContinueLineResult.Count];
for (int i = 0; i < asmContinueLineResult.Count; i++)
{
itacContinueLineResult[i] = ContinueLineResultMapper.get(asmContinueLineResult[i]);
}
return itacContinueLineResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static ContinueLineResult[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ContinueLineResult[] asmContinueLineResult)
{
if (asmContinueLineResult == null) { return null; }
ContinueLineResult[] itacContinueLineResult = new ContinueLineResult[asmContinueLineResult.Length];
for (int i = 0; i < asmContinueLineResult.Length; i++)
{
itacContinueLineResult[i] = ContinueLineResultMapper.get(asmContinueLineResult[i]);
}
return itacContinueLineResult;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in DekPrinterRecipeVerificationData
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class DekPrinterRecipeVerificationDataMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData get(DekPrinterRecipeVerificationData itacDekPrinterRecipeVerificationData)
{
if (itacDekPrinterRecipeVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData asmDekPrinterRecipeVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData();
mapItac2Asm(asmDekPrinterRecipeVerificationData, itacDekPrinterRecipeVerificationData);
return asmDekPrinterRecipeVerificationData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData asmDekPrinterRecipeVerificationData, DekPrinterRecipeVerificationData itacDekPrinterRecipeVerificationData)
{
// skip property ExtensionDataObject, declared in DekPrinterRecipeVerificationData
asmDekPrinterRecipeVerificationData.ConveyorLane = itacDekPrinterRecipeVerificationData.ConveyorLane;
asmDekPrinterRecipeVerificationData.DateModified = itacDekPrinterRecipeVerificationData.DateModified;
asmDekPrinterRecipeVerificationData.ProductId = itacDekPrinterRecipeVerificationData.ProductId;
asmDekPrinterRecipeVerificationData.ProductName = itacDekPrinterRecipeVerificationData.ProductName;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData[] get(DekPrinterRecipeVerificationData[] itacDekPrinterRecipeVerificationData)
{
if (itacDekPrinterRecipeVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData[] asmDekPrinterRecipeVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData[itacDekPrinterRecipeVerificationData.Length];
for (int i = 0; i < itacDekPrinterRecipeVerificationData.Length; i++)
{
// to itac array
asmDekPrinterRecipeVerificationData[i] = DekPrinterRecipeVerificationDataMapper.get(itacDekPrinterRecipeVerificationData[i]);
}
return asmDekPrinterRecipeVerificationData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData> getList(DekPrinterRecipeVerificationData[] asmDekPrinterRecipeVerificationData)
{
if (asmDekPrinterRecipeVerificationData == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData> itacDekPrinterRecipeVerificationData = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData>();
for (int i = 0; i < asmDekPrinterRecipeVerificationData.Length; i++)
{
itacDekPrinterRecipeVerificationData.Add(DekPrinterRecipeVerificationDataMapper.get(asmDekPrinterRecipeVerificationData[i]));
}
return itacDekPrinterRecipeVerificationData;
}
// map type from ASM namespace to iTAC namespace
public static DekPrinterRecipeVerificationData get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData asmDekPrinterRecipeVerificationData)
{
if (asmDekPrinterRecipeVerificationData == null) { return null; }
DekPrinterRecipeVerificationData itacDekPrinterRecipeVerificationData = new DekPrinterRecipeVerificationData();
mapAsm2Itac(asmDekPrinterRecipeVerificationData, itacDekPrinterRecipeVerificationData);
return itacDekPrinterRecipeVerificationData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData asmDekPrinterRecipeVerificationData, DekPrinterRecipeVerificationData itacDekPrinterRecipeVerificationData)
{
// skip property ExtensionDataObject, declared in DekPrinterRecipeVerificationData
itacDekPrinterRecipeVerificationData.ConveyorLane = asmDekPrinterRecipeVerificationData.ConveyorLane;
itacDekPrinterRecipeVerificationData.DateModified = asmDekPrinterRecipeVerificationData.DateModified;
itacDekPrinterRecipeVerificationData.ProductId = asmDekPrinterRecipeVerificationData.ProductId;
itacDekPrinterRecipeVerificationData.ProductName = asmDekPrinterRecipeVerificationData.ProductName;
}
// maps ASM namespace conform list to iTAC namespace array
public static DekPrinterRecipeVerificationData[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData> asmDekPrinterRecipeVerificationData)
{
if (asmDekPrinterRecipeVerificationData == null) { return null; }
DekPrinterRecipeVerificationData[] itacDekPrinterRecipeVerificationData = new DekPrinterRecipeVerificationData[asmDekPrinterRecipeVerificationData.Count];
for (int i = 0; i < asmDekPrinterRecipeVerificationData.Count; i++)
{
itacDekPrinterRecipeVerificationData[i] = DekPrinterRecipeVerificationDataMapper.get(asmDekPrinterRecipeVerificationData[i]);
}
return itacDekPrinterRecipeVerificationData;
}
// maps ASM namespace conform array to iTAC namespace array
public static DekPrinterRecipeVerificationData[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DekPrinterRecipeVerificationData[] asmDekPrinterRecipeVerificationData)
{
if (asmDekPrinterRecipeVerificationData == null) { return null; }
DekPrinterRecipeVerificationData[] itacDekPrinterRecipeVerificationData = new DekPrinterRecipeVerificationData[asmDekPrinterRecipeVerificationData.Length];
for (int i = 0; i < asmDekPrinterRecipeVerificationData.Length; i++)
{
itacDekPrinterRecipeVerificationData[i] = DekPrinterRecipeVerificationDataMapper.get(asmDekPrinterRecipeVerificationData[i]);
}
return itacDekPrinterRecipeVerificationData;
}
}
}

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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in DeviceLocator
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class DeviceLocatorMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.DeviceLocator get(DeviceLocator itacDeviceLocator)
{
if (itacDeviceLocator == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator asmDeviceLocator = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator();
mapItac2Asm(asmDeviceLocator, itacDeviceLocator);
return asmDeviceLocator;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator asmDeviceLocator, DeviceLocator itacDeviceLocator)
{
// skip property ExtensionDataObject, declared in DeviceLocator
asmDeviceLocator.LineName = itacDeviceLocator.LineName;
asmDeviceLocator.MachineId = itacDeviceLocator.MachineId;
asmDeviceLocator.MachineName = itacDeviceLocator.MachineName;
asmDeviceLocator.MachineType = itacDeviceLocator.MachineType;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator[] get(DeviceLocator[] itacDeviceLocator)
{
if (itacDeviceLocator == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator[] asmDeviceLocator = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator[itacDeviceLocator.Length];
for (int i = 0; i < itacDeviceLocator.Length; i++)
{
// to itac array
asmDeviceLocator[i] = DeviceLocatorMapper.get(itacDeviceLocator[i]);
}
return asmDeviceLocator;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator> getList(DeviceLocator[] asmDeviceLocator)
{
if (asmDeviceLocator == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator> itacDeviceLocator = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator>();
for (int i = 0; i < asmDeviceLocator.Length; i++)
{
itacDeviceLocator.Add(DeviceLocatorMapper.get(asmDeviceLocator[i]));
}
return itacDeviceLocator;
}
// map type from ASM namespace to iTAC namespace
public static DeviceLocator get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator asmDeviceLocator)
{
if (asmDeviceLocator == null) { return null; }
DeviceLocator itacDeviceLocator = new DeviceLocator();
mapAsm2Itac(asmDeviceLocator, itacDeviceLocator);
return itacDeviceLocator;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator asmDeviceLocator, DeviceLocator itacDeviceLocator)
{
// skip property ExtensionDataObject, declared in DeviceLocator
itacDeviceLocator.LineName = asmDeviceLocator.LineName;
itacDeviceLocator.MachineId = asmDeviceLocator.MachineId;
itacDeviceLocator.MachineName = asmDeviceLocator.MachineName;
itacDeviceLocator.MachineType = asmDeviceLocator.MachineType;
}
// maps ASM namespace conform list to iTAC namespace array
public static DeviceLocator[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator> asmDeviceLocator)
{
if (asmDeviceLocator == null) { return null; }
DeviceLocator[] itacDeviceLocator = new DeviceLocator[asmDeviceLocator.Count];
for (int i = 0; i < asmDeviceLocator.Count; i++)
{
itacDeviceLocator[i] = DeviceLocatorMapper.get(asmDeviceLocator[i]);
}
return itacDeviceLocator;
}
// maps ASM namespace conform array to iTAC namespace array
public static DeviceLocator[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DeviceLocator[] asmDeviceLocator)
{
if (asmDeviceLocator == null) { return null; }
DeviceLocator[] itacDeviceLocator = new DeviceLocator[asmDeviceLocator.Length];
for (int i = 0; i < asmDeviceLocator.Length; i++)
{
itacDeviceLocator[i] = DeviceLocatorMapper.get(asmDeviceLocator[i]);
}
return itacDeviceLocator;
}
}
}

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 02.11.2018 11:13:37
// 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 5.1.0.84
// 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 asmDownloadMessage) {
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage result = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage(MessageLevelMapper.get(asmDownloadMessage.Level), new Asm.As.Oib.SiplacePro.LineControl.Contracts.Subsystem(), 0, null, null, new DateTime());
return result;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[] get(DownloadMessage[] asmDownloadMessage)
{
if (asmDownloadMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[] itacDownloadMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadMessage[asmDownloadMessage.Length];
for (int i = 0; i < asmDownloadMessage.Length; i++)
{
// to itac array
itacDownloadMessage[i] = DownloadMessageMapper.get(asmDownloadMessage[i]);
}
return itacDownloadMessage;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 02.11.2018 11:13:41
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport itacDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport();
mapItac2Asm(itacDownloadReport, asmDownloadReport);
return itacDownloadReport;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport itacDownloadReport, DownloadReport asmDownloadReport)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[] get(DownloadReport[] asmDownloadReport)
{
if (asmDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[] itacDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadReport[asmDownloadReport.Length];
for (int i = 0; i < asmDownloadReport.Length; i++)
{
// to itac array
itacDownloadReport[i] = DownloadReportMapper.get(asmDownloadReport[i]);
}
return itacDownloadReport;
}
// 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,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 02.11.2018 11:13:41
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class DownloadRequestMapper
{
// 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.DownloadRequest get(DownloadRequest asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest itacDownloadRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest();
mapItac2Asm(itacDownloadRequest, asmDownloadRequest);
return itacDownloadRequest;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest itacDownloadRequest, DownloadRequest asmDownloadRequest)
{
// skip readonly property UseProductionScheduleOID
// skip readonly property UseProductionScheduleElementIdLeft
// skip readonly property UseProductionScheduleElementIdRight
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest[] get(DownloadRequest[] asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest[] itacDownloadRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest[asmDownloadRequest.Length];
for (int i = 0; i < asmDownloadRequest.Length; i++)
{
// to itac array
itacDownloadRequest[i] = DownloadRequestMapper.get(asmDownloadRequest[i]);
}
return itacDownloadRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest> getList(DownloadRequest[] asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest> itacDownloadRequest = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest>();
for (int i = 0; i < asmDownloadRequest.Length; i++)
{
itacDownloadRequest.Add(DownloadRequestMapper.get(asmDownloadRequest[i]));
}
return itacDownloadRequest;
}
// map type from ASM namespace to iTAC namespace
public static DownloadRequest get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
DownloadRequest itacDownloadRequest = new DownloadRequest();
mapAsm2Itac(asmDownloadRequest, itacDownloadRequest);
return itacDownloadRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest asmDownloadRequest, DownloadRequest itacDownloadRequest)
{
itacDownloadRequest.UseProductionScheduleOID = asmDownloadRequest.UseProductionScheduleOID;
itacDownloadRequest.UseProductionScheduleElementIdLeft = asmDownloadRequest.UseProductionScheduleElementIdLeft;
itacDownloadRequest.UseProductionScheduleElementIdRight = asmDownloadRequest.UseProductionScheduleElementIdRight;
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadRequest[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest> asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
DownloadRequest[] itacDownloadRequest = new DownloadRequest[asmDownloadRequest.Count];
for (int i = 0; i < asmDownloadRequest.Count; i++)
{
itacDownloadRequest[i] = DownloadRequestMapper.get(asmDownloadRequest[i]);
}
return itacDownloadRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadRequest[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadRequest[] asmDownloadRequest)
{
if (asmDownloadRequest == null) { return null; }
DownloadRequest[] itacDownloadRequest = new DownloadRequest[asmDownloadRequest.Length];
for (int i = 0; i < asmDownloadRequest.Length; i++)
{
itacDownloadRequest[i] = DownloadRequestMapper.get(asmDownloadRequest[i]);
}
return itacDownloadRequest;
}
}
}

View File

@@ -0,0 +1,176 @@
/*
* 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 02.11.2018 11:13:41
// 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 5.1.0.84
// 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 asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult itacDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult();
mapItac2Asm(itacDownloadResult, asmDownloadResult);
return itacDownloadResult;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult itacDownloadResult, DownloadResult asmDownloadResult)
{
itacDownloadResult.Succeeded = asmDownloadResult.Succeeded;
itacDownloadResult.ExceptionMessage = asmDownloadResult.ExceptionMessage;
// complex property ICResultRight, isArray:False, isGeneric:False
itacDownloadResult.ICResultRight = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get( asmDownloadResult.ICResultRight);
// complex property ICResultLeft, isArray:False, isGeneric:False
itacDownloadResult.ICResultLeft = com.itac.oib.linecontrol.contracts.data.IntegrityCheckResultMapper.get( asmDownloadResult.ICResultLeft);
// complex property DetailedResults, isArray:False, isGeneric:False
itacDownloadResult.DetailedResults = com.itac.oib.linecontrol.contracts.data.DownloadResultsMapper.get( asmDownloadResult.DetailedResults);
// complex property DownloadMessages, isArray:False, isGeneric:True
itacDownloadResult.DownloadMessages = DownloadMessageMapper.getList(asmDownloadResult.DownloadMessages);
// complex property MissingComponents, isArray:False, isGeneric:False
itacDownloadResult.MissingComponents = com.itac.oib.linecontrol.contracts.data.MissingComponentsMapper.get( asmDownloadResult.MissingComponents);
// complex property MissingFeeders, isArray:False, isGeneric:True
itacDownloadResult.MissingFeeders = MissingFeederMapper.getList(asmDownloadResult.MissingFeeders);
// complex property MissingRecipeNames, isArray:False, isGeneric:True
// implicit mapping primitive type itac->ASM!!!
itacDownloadResult.MissingRecipeNames = getList(asmDownloadResult.MissingRecipeNames);
itacDownloadResult.PlacementPositionsRepartitionedLeft = asmDownloadResult.PlacementPositionsRepartitionedLeft;
itacDownloadResult.PlacementPositionsRepartitionedRight = asmDownloadResult.PlacementPositionsRepartitionedRight;
itacDownloadResult.SetupChanged = asmDownloadResult.SetupChanged;
itacDownloadResult.RepartitioningErrorCode = asmDownloadResult.RepartitioningErrorCode;
itacDownloadResult.PrinterIntegrityCheckResultRight = asmDownloadResult.PrinterIntegrityCheckResultRight;
itacDownloadResult.PrinterIntegrityCheckResultLeft = asmDownloadResult.PrinterIntegrityCheckResultLeft;
itacDownloadResult.SubLineSelection = asmDownloadResult.SubLineSelection;
// skip readonly property FailedSinceServerIsBusy
// 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[] asmDownloadResult)
{
if (asmDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[] itacDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.DownloadResult[asmDownloadResult.Length];
for (int i = 0; i < asmDownloadResult.Length; i++)
{
// to itac array
itacDownloadResult[i] = DownloadResultMapper.get(asmDownloadResult[i]);
}
return itacDownloadResult;
}
// 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);
itacDownloadResult.MissingComponents = com.itac.oib.linecontrol.contracts.data.MissingComponentsMapper.get(asmDownloadResult.MissingComponents);
// complex asm property MissingComponents
// maps ASM list 2 iTAC array
itacDownloadResult.MissingFeeders = MissingFeederMapper.getArray(asmDownloadResult.MissingFeeders);
// maps ASM list 2 iTAC array
// implicit mapping primitive type !!!
itacDownloadResult.MissingRecipeNames = getArray(asmDownloadResult.MissingRecipeNames);
itacDownloadResult.PlacementPositionsRepartitionedLeft = asmDownloadResult.PlacementPositionsRepartitionedLeft;
itacDownloadResult.PlacementPositionsRepartitionedRight = asmDownloadResult.PlacementPositionsRepartitionedRight;
itacDownloadResult.SetupChanged = asmDownloadResult.SetupChanged;
itacDownloadResult.RepartitioningErrorCode = asmDownloadResult.RepartitioningErrorCode;
itacDownloadResult.PrinterIntegrityCheckResultRight = asmDownloadResult.PrinterIntegrityCheckResultRight;
itacDownloadResult.PrinterIntegrityCheckResultLeft = asmDownloadResult.PrinterIntegrityCheckResultLeft;
itacDownloadResult.SubLineSelection = asmDownloadResult.SubLineSelection;
itacDownloadResult.FailedSinceServerIsBusy = asmDownloadResult.FailedSinceServerIsBusy;
// 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;
}
// 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,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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in DownloadVerificationData
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class DownloadVerificationDataMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData get(DownloadVerificationData itacDownloadVerificationData)
{
if (itacDownloadVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData asmDownloadVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData();
mapItac2Asm(asmDownloadVerificationData, itacDownloadVerificationData);
return asmDownloadVerificationData;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData asmDownloadVerificationData, DownloadVerificationData itacDownloadVerificationData)
{
// skip property ExtensionDataObject, declared in DownloadVerificationData
asmDownloadVerificationData.Lane = itacDownloadVerificationData.Lane;
asmDownloadVerificationData.OrderId = itacDownloadVerificationData.OrderId;
asmDownloadVerificationData.ProductionSchedule = itacDownloadVerificationData.ProductionSchedule;
asmDownloadVerificationData.ProductionScheduleElementId = itacDownloadVerificationData.ProductionScheduleElementId;
asmDownloadVerificationData.Recipe = itacDownloadVerificationData.Recipe;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData[] get(DownloadVerificationData[] itacDownloadVerificationData)
{
if (itacDownloadVerificationData == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData[] asmDownloadVerificationData = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData[itacDownloadVerificationData.Length];
for (int i = 0; i < itacDownloadVerificationData.Length; i++)
{
// to itac array
asmDownloadVerificationData[i] = DownloadVerificationDataMapper.get(itacDownloadVerificationData[i]);
}
return asmDownloadVerificationData;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData> getList(DownloadVerificationData[] asmDownloadVerificationData)
{
if (asmDownloadVerificationData == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData> itacDownloadVerificationData = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData>();
for (int i = 0; i < asmDownloadVerificationData.Length; i++)
{
itacDownloadVerificationData.Add(DownloadVerificationDataMapper.get(asmDownloadVerificationData[i]));
}
return itacDownloadVerificationData;
}
// map type from ASM namespace to iTAC namespace
public static DownloadVerificationData get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData asmDownloadVerificationData)
{
if (asmDownloadVerificationData == null) { return null; }
DownloadVerificationData itacDownloadVerificationData = new DownloadVerificationData();
mapAsm2Itac(asmDownloadVerificationData, itacDownloadVerificationData);
return itacDownloadVerificationData;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData asmDownloadVerificationData, DownloadVerificationData itacDownloadVerificationData)
{
// skip property ExtensionDataObject, declared in DownloadVerificationData
itacDownloadVerificationData.Lane = asmDownloadVerificationData.Lane;
itacDownloadVerificationData.OrderId = asmDownloadVerificationData.OrderId;
itacDownloadVerificationData.ProductionSchedule = asmDownloadVerificationData.ProductionSchedule;
itacDownloadVerificationData.ProductionScheduleElementId = asmDownloadVerificationData.ProductionScheduleElementId;
itacDownloadVerificationData.Recipe = asmDownloadVerificationData.Recipe;
}
// maps ASM namespace conform list to iTAC namespace array
public static DownloadVerificationData[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData> asmDownloadVerificationData)
{
if (asmDownloadVerificationData == null) { return null; }
DownloadVerificationData[] itacDownloadVerificationData = new DownloadVerificationData[asmDownloadVerificationData.Count];
for (int i = 0; i < asmDownloadVerificationData.Count; i++)
{
itacDownloadVerificationData[i] = DownloadVerificationDataMapper.get(asmDownloadVerificationData[i]);
}
return itacDownloadVerificationData;
}
// maps ASM namespace conform array to iTAC namespace array
public static DownloadVerificationData[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.DownloadVerificationData[] asmDownloadVerificationData)
{
if (asmDownloadVerificationData == null) { return null; }
DownloadVerificationData[] itacDownloadVerificationData = new DownloadVerificationData[asmDownloadVerificationData.Length];
for (int i = 0; i < asmDownloadVerificationData.Length; i++)
{
itacDownloadVerificationData[i] = DownloadVerificationDataMapper.get(asmDownloadVerificationData[i]);
}
return itacDownloadVerificationData;
}
}
}

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 02.11.2018 09:19:36
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class GetLineStatusForStationRequestMapper
{
// 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.GetLineStatusForStationRequest get(GetLineStatusForStationRequest asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest itacGetLineStatusForStationRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest();
mapItac2Asm(itacGetLineStatusForStationRequest, asmGetLineStatusForStationRequest);
return itacGetLineStatusForStationRequest;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest itacGetLineStatusForStationRequest, GetLineStatusForStationRequest asmGetLineStatusForStationRequest)
{
// skip readonly property UseLineOID
// skip readonly property UseStationOID
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest[] get(GetLineStatusForStationRequest[] asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest[] itacGetLineStatusForStationRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest[asmGetLineStatusForStationRequest.Length];
for (int i = 0; i < asmGetLineStatusForStationRequest.Length; i++)
{
// to itac array
itacGetLineStatusForStationRequest[i] = GetLineStatusForStationRequestMapper.get(asmGetLineStatusForStationRequest[i]);
}
return itacGetLineStatusForStationRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest> getList(GetLineStatusForStationRequest[] asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest> itacGetLineStatusForStationRequest = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest>();
for (int i = 0; i < asmGetLineStatusForStationRequest.Length; i++)
{
itacGetLineStatusForStationRequest.Add(GetLineStatusForStationRequestMapper.get(asmGetLineStatusForStationRequest[i]));
}
return itacGetLineStatusForStationRequest;
}
// map type from ASM namespace to iTAC namespace
public static GetLineStatusForStationRequest get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
GetLineStatusForStationRequest itacGetLineStatusForStationRequest = new GetLineStatusForStationRequest();
mapAsm2Itac(asmGetLineStatusForStationRequest, itacGetLineStatusForStationRequest);
return itacGetLineStatusForStationRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest asmGetLineStatusForStationRequest, GetLineStatusForStationRequest itacGetLineStatusForStationRequest)
{
itacGetLineStatusForStationRequest.UseLineOID = asmGetLineStatusForStationRequest.UseLineOID;
itacGetLineStatusForStationRequest.UseStationOID = asmGetLineStatusForStationRequest.UseStationOID;
}
// maps ASM namespace conform list to iTAC namespace array
public static GetLineStatusForStationRequest[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest> asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
GetLineStatusForStationRequest[] itacGetLineStatusForStationRequest = new GetLineStatusForStationRequest[asmGetLineStatusForStationRequest.Count];
for (int i = 0; i < asmGetLineStatusForStationRequest.Count; i++)
{
itacGetLineStatusForStationRequest[i] = GetLineStatusForStationRequestMapper.get(asmGetLineStatusForStationRequest[i]);
}
return itacGetLineStatusForStationRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static GetLineStatusForStationRequest[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetLineStatusForStationRequest[] asmGetLineStatusForStationRequest)
{
if (asmGetLineStatusForStationRequest == null) { return null; }
GetLineStatusForStationRequest[] itacGetLineStatusForStationRequest = new GetLineStatusForStationRequest[asmGetLineStatusForStationRequest.Length];
for (int i = 0; i < asmGetLineStatusForStationRequest.Length; i++)
{
itacGetLineStatusForStationRequest[i] = GetLineStatusForStationRequestMapper.get(asmGetLineStatusForStationRequest[i]);
}
return itacGetLineStatusForStationRequest;
}
}
}

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 02.11.2018 09:19:36
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class GetRecipeForAutoProgramDownloadRequestMapper
{
// 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.GetRecipeForAutoProgramDownloadRequest get(GetRecipeForAutoProgramDownloadRequest asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest itacGetRecipeForAutoProgramDownloadRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest();
mapItac2Asm(itacGetRecipeForAutoProgramDownloadRequest, asmGetRecipeForAutoProgramDownloadRequest);
return itacGetRecipeForAutoProgramDownloadRequest;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest itacGetRecipeForAutoProgramDownloadRequest, GetRecipeForAutoProgramDownloadRequest asmGetRecipeForAutoProgramDownloadRequest)
{
// skip readonly property UseLineOID
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest[] get(GetRecipeForAutoProgramDownloadRequest[] asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest[] itacGetRecipeForAutoProgramDownloadRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest[asmGetRecipeForAutoProgramDownloadRequest.Length];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadRequest.Length; i++)
{
// to itac array
itacGetRecipeForAutoProgramDownloadRequest[i] = GetRecipeForAutoProgramDownloadRequestMapper.get(asmGetRecipeForAutoProgramDownloadRequest[i]);
}
return itacGetRecipeForAutoProgramDownloadRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest> getList(GetRecipeForAutoProgramDownloadRequest[] asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest> itacGetRecipeForAutoProgramDownloadRequest = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest>();
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadRequest.Length; i++)
{
itacGetRecipeForAutoProgramDownloadRequest.Add(GetRecipeForAutoProgramDownloadRequestMapper.get(asmGetRecipeForAutoProgramDownloadRequest[i]));
}
return itacGetRecipeForAutoProgramDownloadRequest;
}
// map type from ASM namespace to iTAC namespace
public static GetRecipeForAutoProgramDownloadRequest get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
GetRecipeForAutoProgramDownloadRequest itacGetRecipeForAutoProgramDownloadRequest = new GetRecipeForAutoProgramDownloadRequest();
mapAsm2Itac(asmGetRecipeForAutoProgramDownloadRequest, itacGetRecipeForAutoProgramDownloadRequest);
return itacGetRecipeForAutoProgramDownloadRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest asmGetRecipeForAutoProgramDownloadRequest, GetRecipeForAutoProgramDownloadRequest itacGetRecipeForAutoProgramDownloadRequest)
{
itacGetRecipeForAutoProgramDownloadRequest.UseLineOID = asmGetRecipeForAutoProgramDownloadRequest.UseLineOID;
}
// maps ASM namespace conform list to iTAC namespace array
public static GetRecipeForAutoProgramDownloadRequest[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest> asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
GetRecipeForAutoProgramDownloadRequest[] itacGetRecipeForAutoProgramDownloadRequest = new GetRecipeForAutoProgramDownloadRequest[asmGetRecipeForAutoProgramDownloadRequest.Count];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadRequest.Count; i++)
{
itacGetRecipeForAutoProgramDownloadRequest[i] = GetRecipeForAutoProgramDownloadRequestMapper.get(asmGetRecipeForAutoProgramDownloadRequest[i]);
}
return itacGetRecipeForAutoProgramDownloadRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static GetRecipeForAutoProgramDownloadRequest[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadRequest[] asmGetRecipeForAutoProgramDownloadRequest)
{
if (asmGetRecipeForAutoProgramDownloadRequest == null) { return null; }
GetRecipeForAutoProgramDownloadRequest[] itacGetRecipeForAutoProgramDownloadRequest = new GetRecipeForAutoProgramDownloadRequest[asmGetRecipeForAutoProgramDownloadRequest.Length];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadRequest.Length; i++)
{
itacGetRecipeForAutoProgramDownloadRequest[i] = GetRecipeForAutoProgramDownloadRequestMapper.get(asmGetRecipeForAutoProgramDownloadRequest[i]);
}
return itacGetRecipeForAutoProgramDownloadRequest;
}
}
}

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 02.11.2018 09:19:36
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class GetRecipeForAutoProgramDownloadResultMapper
{
// 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.GetRecipeForAutoProgramDownloadResult get(GetRecipeForAutoProgramDownloadResult asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult itacGetRecipeForAutoProgramDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult();
mapItac2Asm(itacGetRecipeForAutoProgramDownloadResult, asmGetRecipeForAutoProgramDownloadResult);
return itacGetRecipeForAutoProgramDownloadResult;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult itacGetRecipeForAutoProgramDownloadResult, GetRecipeForAutoProgramDownloadResult asmGetRecipeForAutoProgramDownloadResult)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult[] get(GetRecipeForAutoProgramDownloadResult[] asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult[] itacGetRecipeForAutoProgramDownloadResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult[asmGetRecipeForAutoProgramDownloadResult.Length];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadResult.Length; i++)
{
// to itac array
itacGetRecipeForAutoProgramDownloadResult[i] = GetRecipeForAutoProgramDownloadResultMapper.get(asmGetRecipeForAutoProgramDownloadResult[i]);
}
return itacGetRecipeForAutoProgramDownloadResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult> getList(GetRecipeForAutoProgramDownloadResult[] asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult> itacGetRecipeForAutoProgramDownloadResult = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult>();
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadResult.Length; i++)
{
itacGetRecipeForAutoProgramDownloadResult.Add(GetRecipeForAutoProgramDownloadResultMapper.get(asmGetRecipeForAutoProgramDownloadResult[i]));
}
return itacGetRecipeForAutoProgramDownloadResult;
}
// map type from ASM namespace to iTAC namespace
public static GetRecipeForAutoProgramDownloadResult get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
GetRecipeForAutoProgramDownloadResult itacGetRecipeForAutoProgramDownloadResult = new GetRecipeForAutoProgramDownloadResult();
mapAsm2Itac(asmGetRecipeForAutoProgramDownloadResult, itacGetRecipeForAutoProgramDownloadResult);
return itacGetRecipeForAutoProgramDownloadResult;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult asmGetRecipeForAutoProgramDownloadResult, GetRecipeForAutoProgramDownloadResult itacGetRecipeForAutoProgramDownloadResult)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static GetRecipeForAutoProgramDownloadResult[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult> asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
GetRecipeForAutoProgramDownloadResult[] itacGetRecipeForAutoProgramDownloadResult = new GetRecipeForAutoProgramDownloadResult[asmGetRecipeForAutoProgramDownloadResult.Count];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadResult.Count; i++)
{
itacGetRecipeForAutoProgramDownloadResult[i] = GetRecipeForAutoProgramDownloadResultMapper.get(asmGetRecipeForAutoProgramDownloadResult[i]);
}
return itacGetRecipeForAutoProgramDownloadResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static GetRecipeForAutoProgramDownloadResult[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.GetRecipeForAutoProgramDownloadResult[] asmGetRecipeForAutoProgramDownloadResult)
{
if (asmGetRecipeForAutoProgramDownloadResult == null) { return null; }
GetRecipeForAutoProgramDownloadResult[] itacGetRecipeForAutoProgramDownloadResult = new GetRecipeForAutoProgramDownloadResult[asmGetRecipeForAutoProgramDownloadResult.Length];
for (int i = 0; i < asmGetRecipeForAutoProgramDownloadResult.Length; i++)
{
itacGetRecipeForAutoProgramDownloadResult[i] = GetRecipeForAutoProgramDownloadResultMapper.get(asmGetRecipeForAutoProgramDownloadResult[i]);
}
return itacGetRecipeForAutoProgramDownloadResult;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,123 @@
/*
* 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus itacLineControlConveyorStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus();
mapItac2Asm(itacLineControlConveyorStatus, asmLineControlConveyorStatus);
return itacLineControlConveyorStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus itacLineControlConveyorStatus, LineControlConveyorStatus asmLineControlConveyorStatus)
{
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;
// complex property StationwiseDownloadState, isArray:False, isGeneric:False
itacLineControlConveyorStatus.StationwiseDownloadState = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( asmLineControlConveyorStatus.StationwiseDownloadState);
itacLineControlConveyorStatus.LineJobGUID = asmLineControlConveyorStatus.LineJobGUID;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[] get(LineControlConveyorStatus[] asmLineControlConveyorStatus)
{
if (asmLineControlConveyorStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[] itacLineControlConveyorStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlConveyorStatus[asmLineControlConveyorStatus.Length];
for (int i = 0; i < asmLineControlConveyorStatus.Length; i++)
{
// to itac array
itacLineControlConveyorStatus[i] = LineControlConveyorStatusMapper.get(asmLineControlConveyorStatus[i]);
}
return itacLineControlConveyorStatus;
}
// 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
itacLineControlConveyorStatus.LineJobGUID = asmLineControlConveyorStatus.LineJobGUID;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus itacLineControlLineStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus();
mapItac2Asm(itacLineControlLineStatus, asmLineControlLineStatus);
return itacLineControlLineStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus itacLineControlLineStatus, LineControlLineStatus asmLineControlLineStatus)
{
itacLineControlLineStatus.Line = asmLineControlLineStatus.Line;
itacLineControlLineStatus.LineControlServerHostName = asmLineControlLineStatus.LineControlServerHostName;
// complex property LineControlStationStati, isArray:False, isGeneric:True
itacLineControlLineStatus.LineControlStationStati = LineControlStationStatusMapper.getList(asmLineControlLineStatus.LineControlStationStati);
itacLineControlLineStatus.ProductionSchedule = asmLineControlLineStatus.ProductionSchedule;
// complex property StationwiseDownloadStateRight, isArray:False, isGeneric:False
itacLineControlLineStatus.StationwiseDownloadStateRight = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( asmLineControlLineStatus.StationwiseDownloadStateRight);
// complex property StationwiseDownloadStateLeft, isArray:False, isGeneric:False
itacLineControlLineStatus.StationwiseDownloadStateLeft = com.itac.oib.linecontrol.contracts.data.StationwiseDownloadStateMapper.get( asmLineControlLineStatus.StationwiseDownloadStateLeft);
itacLineControlLineStatus.Job = asmLineControlLineStatus.Job;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[] get(LineControlLineStatus[] asmLineControlLineStatus)
{
if (asmLineControlLineStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[] itacLineControlLineStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlLineStatus[asmLineControlLineStatus.Length];
for (int i = 0; i < asmLineControlLineStatus.Length; i++)
{
// to itac array
itacLineControlLineStatus[i] = LineControlLineStatusMapper.get(asmLineControlLineStatus[i]);
}
return itacLineControlLineStatus;
}
// 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
itacLineControlLineStatus.Job = asmLineControlLineStatus.Job;
}
// 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,125 @@
/*
* 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 02.11.2018 09:19:35
// skip property String, property in exclude list
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus itacLineControlStationStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus();
mapItac2Asm(itacLineControlStationStatus, asmLineControlStationStatus);
return itacLineControlStationStatus;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus itacLineControlStationStatus, LineControlStationStatus asmLineControlStationStatus)
{
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;
// complex property LeftConveyorStatus, isArray:False, isGeneric:False
itacLineControlStationStatus.LeftConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get( asmLineControlStationStatus.LeftConveyorStatus);
// complex property RightConveyorStatus, isArray:False, isGeneric:False
itacLineControlStationStatus.RightConveyorStatus = com.itac.oib.linecontrol.contracts.data.LineControlConveyorStatusMapper.get( asmLineControlStationStatus.RightConveyorStatus);
itacLineControlStationStatus.SetupName = asmLineControlStationStatus.SetupName;
itacLineControlStationStatus.LastDownloadedSetupTimeStamp = asmLineControlStationStatus.LastDownloadedSetupTimeStamp;
// skip property String, property in exclude list
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[] get(LineControlStationStatus[] asmLineControlStationStatus)
{
if (asmLineControlStationStatus == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[] itacLineControlStationStatus = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.LineControlStationStatus[asmLineControlStationStatus.Length];
for (int i = 0; i < asmLineControlStationStatus.Length; i++)
{
// to itac array
itacLineControlStationStatus[i] = LineControlStationStatusMapper.get(asmLineControlStationStatus[i]);
}
return itacLineControlStationStatus;
}
// 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;
// skip property String, property in exclude list
}
// 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,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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in MesVerificationResult
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class MesVerificationResultMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.MesVerificationResult get(MesVerificationResult itacMesVerificationResult)
{
if (itacMesVerificationResult == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult asmMesVerificationResult = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult();
mapItac2Asm(asmMesVerificationResult, itacMesVerificationResult);
return asmMesVerificationResult;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult asmMesVerificationResult, MesVerificationResult itacMesVerificationResult)
{
// skip property ExtensionDataObject, declared in MesVerificationResult
asmMesVerificationResult.Reason = itacMesVerificationResult.Reason;
asmMesVerificationResult.VerificationResult = itacMesVerificationResult.VerificationResult;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult[] get(MesVerificationResult[] itacMesVerificationResult)
{
if (itacMesVerificationResult == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult[] asmMesVerificationResult = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult[itacMesVerificationResult.Length];
for (int i = 0; i < itacMesVerificationResult.Length; i++)
{
// to itac array
asmMesVerificationResult[i] = MesVerificationResultMapper.get(itacMesVerificationResult[i]);
}
return asmMesVerificationResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult> getList(MesVerificationResult[] asmMesVerificationResult)
{
if (asmMesVerificationResult == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult> itacMesVerificationResult = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult>();
for (int i = 0; i < asmMesVerificationResult.Length; i++)
{
itacMesVerificationResult.Add(MesVerificationResultMapper.get(asmMesVerificationResult[i]));
}
return itacMesVerificationResult;
}
// map type from ASM namespace to iTAC namespace
public static MesVerificationResult get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult asmMesVerificationResult)
{
if (asmMesVerificationResult == null) { return null; }
MesVerificationResult itacMesVerificationResult = new MesVerificationResult();
mapAsm2Itac(asmMesVerificationResult, itacMesVerificationResult);
return itacMesVerificationResult;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult asmMesVerificationResult, MesVerificationResult itacMesVerificationResult)
{
// skip property ExtensionDataObject, declared in MesVerificationResult
itacMesVerificationResult.Reason = asmMesVerificationResult.Reason;
itacMesVerificationResult.VerificationResult = asmMesVerificationResult.VerificationResult;
}
// maps ASM namespace conform list to iTAC namespace array
public static MesVerificationResult[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult> asmMesVerificationResult)
{
if (asmMesVerificationResult == null) { return null; }
MesVerificationResult[] itacMesVerificationResult = new MesVerificationResult[asmMesVerificationResult.Count];
for (int i = 0; i < asmMesVerificationResult.Count; i++)
{
itacMesVerificationResult[i] = MesVerificationResultMapper.get(asmMesVerificationResult[i]);
}
return itacMesVerificationResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static MesVerificationResult[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.MesVerificationResult[] asmMesVerificationResult)
{
if (asmMesVerificationResult == null) { return null; }
MesVerificationResult[] itacMesVerificationResult = new MesVerificationResult[asmMesVerificationResult.Length];
for (int i = 0; i < asmMesVerificationResult.Length; i++)
{
itacMesVerificationResult[i] = MesVerificationResultMapper.get(asmMesVerificationResult[i]);
}
return itacMesVerificationResult;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 02.11.2018 11:01:17
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents itacMissingComponents = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents();
mapItac2Asm(itacMissingComponents, asmMissingComponents);
return itacMissingComponents;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents itacMissingComponents, MissingComponents asmMissingComponents)
{
// skip readonly property MissingComponentsTotalCount
// complex property ComponentsNotKnownAtAll, isArray:False, isGeneric:True
// map Dictionary
itacMissingComponents.ComponentsNotKnownAtAll = getDictionary(asmMissingComponents.ComponentsNotKnownAtAll);
// complex property ComponentsSetUpOnWrongTable, isArray:False, isGeneric:True
// map Dictionary
itacMissingComponents.ComponentsSetUpOnWrongTable = getDictionary(asmMissingComponents.ComponentsSetUpOnWrongTable);
// complex property ComponentsKnownButNotSetUp, isArray:False, isGeneric:True
// map Dictionary
itacMissingComponents.ComponentsKnownButNotSetUp = getDictionary(asmMissingComponents.ComponentsKnownButNotSetUp);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[] get(MissingComponents[] asmMissingComponents)
{
if (asmMissingComponents == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[] itacMissingComponents = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingComponents[asmMissingComponents.Length];
for (int i = 0; i < asmMissingComponents.Length; i++)
{
// to itac array
itacMissingComponents[i] = MissingComponentsMapper.get(asmMissingComponents[i]);
}
return itacMissingComponents;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder itacMissingFeeder = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder();
mapItac2Asm(itacMissingFeeder, asmMissingFeeder);
return itacMissingFeeder;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder itacMissingFeeder, MissingFeeder asmMissingFeeder)
{
itacMissingFeeder.ComponentFullPath = asmMissingFeeder.ComponentFullPath;
itacMissingFeeder.FeederTypeFullPath = asmMissingFeeder.FeederTypeFullPath;
itacMissingFeeder.FeederTypeOID = asmMissingFeeder.FeederTypeOID;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[] get(MissingFeeder[] asmMissingFeeder)
{
if (asmMissingFeeder == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[] itacMissingFeeder = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.MissingFeeder[asmMissingFeeder.Length];
for (int i = 0; i < asmMissingFeeder.Length; i++)
{
// to itac array
itacMissingFeeder[i] = MissingFeederMapper.get(asmMissingFeeder[i]);
}
return itacMissingFeeder;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage itacOptimizerMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage();
mapItac2Asm(itacOptimizerMessage, asmOptimizerMessage);
return itacOptimizerMessage;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage itacOptimizerMessage, OptimizerMessage asmOptimizerMessage)
{
itacOptimizerMessage.MessageType = asmOptimizerMessage.MessageType;
itacOptimizerMessage.MessageCode = asmOptimizerMessage.MessageCode;
itacOptimizerMessage.Message = asmOptimizerMessage.Message;
// complex property Parameters, isArray:False, isGeneric:True
// implicit mapping primitive type itac->ASM!!!
itacOptimizerMessage.Parameters = getList(asmOptimizerMessage.Parameters);
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[] get(OptimizerMessage[] asmOptimizerMessage)
{
if (asmOptimizerMessage == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[] itacOptimizerMessage = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.OptimizerMessage[asmOptimizerMessage.Length];
for (int i = 0; i < asmOptimizerMessage.Length; i++)
{
// to itac array
itacOptimizerMessage[i] = OptimizerMessageMapper.get(asmOptimizerMessage[i]);
}
return itacOptimizerMessage;
}
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
using com.itac.oib.linecontrol.contracts.data;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement itacProductionScheduleElement = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement();
mapItac2Asm(itacProductionScheduleElement, asmProductionScheduleElement);
return itacProductionScheduleElement;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement itacProductionScheduleElement, ProductionScheduleElement asmProductionScheduleElement)
{
itacProductionScheduleElement.Id = asmProductionScheduleElement.Id;
// complex property nLanes, isArray:False, isGeneric:False
itacProductionScheduleElement.nLanes = com.itac.oib.linecontrol.contracts.data.ConveyorLanesMapper.get( asmProductionScheduleElement.NLanes);
itacProductionScheduleElement.Recipe = asmProductionScheduleElement.Recipe;
itacProductionScheduleElement.LotSize = asmProductionScheduleElement.LotSize;
itacProductionScheduleElement.OrderId = asmProductionScheduleElement.OrderId;
itacProductionScheduleElement.OrderId2 = asmProductionScheduleElement.OrderId2;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[] get(ProductionScheduleElement[] asmProductionScheduleElement)
{
if (asmProductionScheduleElement == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[] itacProductionScheduleElement = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionScheduleElement[asmProductionScheduleElement.Length];
for (int i = 0; i < asmProductionScheduleElement.Length; i++)
{
// to itac array
itacProductionScheduleElement[i] = ProductionScheduleElementMapper.get(asmProductionScheduleElement[i]);
}
return itacProductionScheduleElement;
}
// 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 02.11.2018 09:19:35
// skip property IList, declared in ProductionSchedule
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule itacProductionSchedule = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule();
mapItac2Asm(itacProductionSchedule, asmProductionSchedule);
return itacProductionSchedule;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule itacProductionSchedule, ProductionSchedule asmProductionSchedule)
{
// complex property ProductionScheduleElements, isArray:False, isGeneric:True
itacProductionSchedule.ProductionScheduleElements = ProductionScheduleElementMapper.getList(asmProductionSchedule.ProductionScheduleElements);
itacProductionSchedule.Name = asmProductionSchedule.Name;
itacProductionSchedule.lineName = asmProductionSchedule.LineName;
// skip property IList, declared in ProductionSchedule
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[] get(ProductionSchedule[] asmProductionSchedule)
{
if (asmProductionSchedule == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[] itacProductionSchedule = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.ProductionSchedule[asmProductionSchedule.Length];
for (int i = 0; i < asmProductionSchedule.Length; i++)
{
// to itac array
itacProductionSchedule[i] = ProductionScheduleMapper.get(asmProductionSchedule[i]);
}
return itacProductionSchedule;
}
// 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)
{
// maps ASM list 2 iTAC array
itacProductionSchedule.ProductionScheduleElements = ProductionScheduleElementMapper.getArray(asmProductionSchedule.ProductionScheduleElements);
itacProductionSchedule.Name = asmProductionSchedule.Name;
itacProductionSchedule.LineName = asmProductionSchedule.lineName;
// skip property IList, declared in ProductionSchedule
}
// 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,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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class SetupDownloadReportMapper
{
// 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.SetupDownloadReport get(SetupDownloadReport asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport itacSetupDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport();
mapItac2Asm(itacSetupDownloadReport, asmSetupDownloadReport);
return itacSetupDownloadReport;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport itacSetupDownloadReport, SetupDownloadReport asmSetupDownloadReport)
{
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport[] get(SetupDownloadReport[] asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport[] itacSetupDownloadReport = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport[asmSetupDownloadReport.Length];
for (int i = 0; i < asmSetupDownloadReport.Length; i++)
{
// to itac array
itacSetupDownloadReport[i] = SetupDownloadReportMapper.get(asmSetupDownloadReport[i]);
}
return itacSetupDownloadReport;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport> getList(SetupDownloadReport[] asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport> itacSetupDownloadReport = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport>();
for (int i = 0; i < asmSetupDownloadReport.Length; i++)
{
itacSetupDownloadReport.Add(SetupDownloadReportMapper.get(asmSetupDownloadReport[i]));
}
return itacSetupDownloadReport;
}
// map type from ASM namespace to iTAC namespace
public static SetupDownloadReport get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
SetupDownloadReport itacSetupDownloadReport = new SetupDownloadReport();
mapAsm2Itac(asmSetupDownloadReport, itacSetupDownloadReport);
return itacSetupDownloadReport;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport asmSetupDownloadReport, SetupDownloadReport itacSetupDownloadReport)
{
}
// maps ASM namespace conform list to iTAC namespace array
public static SetupDownloadReport[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport> asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
SetupDownloadReport[] itacSetupDownloadReport = new SetupDownloadReport[asmSetupDownloadReport.Count];
for (int i = 0; i < asmSetupDownloadReport.Count; i++)
{
itacSetupDownloadReport[i] = SetupDownloadReportMapper.get(asmSetupDownloadReport[i]);
}
return itacSetupDownloadReport;
}
// maps ASM namespace conform array to iTAC namespace array
public static SetupDownloadReport[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.SetupDownloadReport[] asmSetupDownloadReport)
{
if (asmSetupDownloadReport == null) { return null; }
SetupDownloadReport[] itacSetupDownloadReport = new SetupDownloadReport[asmSetupDownloadReport.Length];
for (int i = 0; i < asmSetupDownloadReport.Length; i++)
{
itacSetupDownloadReport[i] = SetupDownloadReportMapper.get(asmSetupDownloadReport[i]);
}
return itacSetupDownloadReport;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class StopLineRequestMapper
{
// 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.StopLineRequest get(StopLineRequest asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest itacStopLineRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest();
mapItac2Asm(itacStopLineRequest, asmStopLineRequest);
return itacStopLineRequest;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest itacStopLineRequest, StopLineRequest asmStopLineRequest)
{
// skip readonly property UsePLineOID
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest[] get(StopLineRequest[] asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest[] itacStopLineRequest = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest[asmStopLineRequest.Length];
for (int i = 0; i < asmStopLineRequest.Length; i++)
{
// to itac array
itacStopLineRequest[i] = StopLineRequestMapper.get(asmStopLineRequest[i]);
}
return itacStopLineRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest> getList(StopLineRequest[] asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest> itacStopLineRequest = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest>();
for (int i = 0; i < asmStopLineRequest.Length; i++)
{
itacStopLineRequest.Add(StopLineRequestMapper.get(asmStopLineRequest[i]));
}
return itacStopLineRequest;
}
// map type from ASM namespace to iTAC namespace
public static StopLineRequest get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
StopLineRequest itacStopLineRequest = new StopLineRequest();
mapAsm2Itac(asmStopLineRequest, itacStopLineRequest);
return itacStopLineRequest;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest asmStopLineRequest, StopLineRequest itacStopLineRequest)
{
itacStopLineRequest.UsePLineOID = asmStopLineRequest.UsePLineOID;
}
// maps ASM namespace conform list to iTAC namespace array
public static StopLineRequest[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest> asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
StopLineRequest[] itacStopLineRequest = new StopLineRequest[asmStopLineRequest.Count];
for (int i = 0; i < asmStopLineRequest.Count; i++)
{
itacStopLineRequest[i] = StopLineRequestMapper.get(asmStopLineRequest[i]);
}
return itacStopLineRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static StopLineRequest[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineRequest[] asmStopLineRequest)
{
if (asmStopLineRequest == null) { return null; }
StopLineRequest[] itacStopLineRequest = new StopLineRequest[asmStopLineRequest.Length];
for (int i = 0; i < asmStopLineRequest.Length; i++)
{
itacStopLineRequest[i] = StopLineRequestMapper.get(asmStopLineRequest[i]);
}
return itacStopLineRequest;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// source: assembly ASM.AS.OIB.SIPLACEPro.LineControl.Contracts
public class StopLineResultMapper
{
// 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.StopLineResult get(StopLineResult asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult itacStopLineResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult();
mapItac2Asm(itacStopLineResult, asmStopLineResult);
return itacStopLineResult;
}
public static void mapItac2Asm(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult itacStopLineResult, StopLineResult asmStopLineResult)
{
itacStopLineResult.Succeeded = asmStopLineResult.Succeeded;
}
// maps iTAC namespace conform array to ASM namespace array
public static Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult[] get(StopLineResult[] asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult[] itacStopLineResult = new Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult[asmStopLineResult.Length];
for (int i = 0; i < asmStopLineResult.Length; i++)
{
// to itac array
itacStopLineResult[i] = StopLineResultMapper.get(asmStopLineResult[i]);
}
return itacStopLineResult;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult> getList(StopLineResult[] asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult> itacStopLineResult = new List<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult>();
for (int i = 0; i < asmStopLineResult.Length; i++)
{
itacStopLineResult.Add(StopLineResultMapper.get(asmStopLineResult[i]));
}
return itacStopLineResult;
}
// map type from ASM namespace to iTAC namespace
public static StopLineResult get(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
StopLineResult itacStopLineResult = new StopLineResult();
mapAsm2Itac(asmStopLineResult, itacStopLineResult);
return itacStopLineResult;
}
public static void mapAsm2Itac(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult asmStopLineResult, StopLineResult itacStopLineResult)
{
itacStopLineResult.Succeeded = asmStopLineResult.Succeeded;
}
// maps ASM namespace conform list to iTAC namespace array
public static StopLineResult[] getArray(IList<Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult> asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
StopLineResult[] itacStopLineResult = new StopLineResult[asmStopLineResult.Count];
for (int i = 0; i < asmStopLineResult.Count; i++)
{
itacStopLineResult[i] = StopLineResultMapper.get(asmStopLineResult[i]);
}
return itacStopLineResult;
}
// maps ASM namespace conform array to iTAC namespace array
public static StopLineResult[] getArray(Asm.As.Oib.SiplacePro.LineControl.Contracts.Data.StopLineResult[] asmStopLineResult)
{
if (asmStopLineResult == null) { return null; }
StopLineResult[] itacStopLineResult = new StopLineResult[asmStopLineResult.Length];
for (int i = 0; i < asmStopLineResult.Length; i++)
{
itacStopLineResult[i] = StopLineResultMapper.get(asmStopLineResult[i]);
}
return itacStopLineResult;
}
}
}

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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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 02.11.2018 09:19:35
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 5.1.0.84
// 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,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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in VerifyPcbForAutoProgramDownloadRequest
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class VerifyPcbForAutoProgramDownloadRequestMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest get(VerifyPcbForAutoProgramDownloadRequest itacVerifyPcbForAutoProgramDownloadRequest)
{
if (itacVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest asmVerifyPcbForAutoProgramDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest();
mapItac2Asm(asmVerifyPcbForAutoProgramDownloadRequest, itacVerifyPcbForAutoProgramDownloadRequest);
return asmVerifyPcbForAutoProgramDownloadRequest;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest asmVerifyPcbForAutoProgramDownloadRequest, VerifyPcbForAutoProgramDownloadRequest itacVerifyPcbForAutoProgramDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyPcbForAutoProgramDownloadRequest
// complex property AutoProgramDownloadPcbVerificationData, isArray:False, isGeneric:False
asmVerifyPcbForAutoProgramDownloadRequest.AutoProgramDownloadPcbVerificationData = com.itac.oib.linecontrol.contracts.data.AutoProgramDownloadPcbVerificationDataMapper.get( itacVerifyPcbForAutoProgramDownloadRequest.AutoProgramDownloadPcbVerificationData);
// complex property DeviceLocator, isArray:False, isGeneric:False
asmVerifyPcbForAutoProgramDownloadRequest.DeviceLocator = com.itac.oib.linecontrol.contracts.data.DeviceLocatorMapper.get( itacVerifyPcbForAutoProgramDownloadRequest.DeviceLocator);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest[] get(VerifyPcbForAutoProgramDownloadRequest[] itacVerifyPcbForAutoProgramDownloadRequest)
{
if (itacVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest[] asmVerifyPcbForAutoProgramDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest[itacVerifyPcbForAutoProgramDownloadRequest.Length];
for (int i = 0; i < itacVerifyPcbForAutoProgramDownloadRequest.Length; i++)
{
// to itac array
asmVerifyPcbForAutoProgramDownloadRequest[i] = VerifyPcbForAutoProgramDownloadRequestMapper.get(itacVerifyPcbForAutoProgramDownloadRequest[i]);
}
return asmVerifyPcbForAutoProgramDownloadRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest> getList(VerifyPcbForAutoProgramDownloadRequest[] asmVerifyPcbForAutoProgramDownloadRequest)
{
if (asmVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest> itacVerifyPcbForAutoProgramDownloadRequest = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest>();
for (int i = 0; i < asmVerifyPcbForAutoProgramDownloadRequest.Length; i++)
{
itacVerifyPcbForAutoProgramDownloadRequest.Add(VerifyPcbForAutoProgramDownloadRequestMapper.get(asmVerifyPcbForAutoProgramDownloadRequest[i]));
}
return itacVerifyPcbForAutoProgramDownloadRequest;
}
// map type from ASM namespace to iTAC namespace
public static VerifyPcbForAutoProgramDownloadRequest get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest asmVerifyPcbForAutoProgramDownloadRequest)
{
if (asmVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
VerifyPcbForAutoProgramDownloadRequest itacVerifyPcbForAutoProgramDownloadRequest = new VerifyPcbForAutoProgramDownloadRequest();
mapAsm2Itac(asmVerifyPcbForAutoProgramDownloadRequest, itacVerifyPcbForAutoProgramDownloadRequest);
return itacVerifyPcbForAutoProgramDownloadRequest;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest asmVerifyPcbForAutoProgramDownloadRequest, VerifyPcbForAutoProgramDownloadRequest itacVerifyPcbForAutoProgramDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyPcbForAutoProgramDownloadRequest
itacVerifyPcbForAutoProgramDownloadRequest.AutoProgramDownloadPcbVerificationData = com.itac.oib.linecontrol.contracts.data.AutoProgramDownloadPcbVerificationDataMapper.get(asmVerifyPcbForAutoProgramDownloadRequest.AutoProgramDownloadPcbVerificationData);
// complex asm property AutoProgramDownloadPcbVerificationData
itacVerifyPcbForAutoProgramDownloadRequest.DeviceLocator = com.itac.oib.linecontrol.contracts.data.DeviceLocatorMapper.get(asmVerifyPcbForAutoProgramDownloadRequest.DeviceLocator);
// complex asm property DeviceLocator
}
// maps ASM namespace conform list to iTAC namespace array
public static VerifyPcbForAutoProgramDownloadRequest[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest> asmVerifyPcbForAutoProgramDownloadRequest)
{
if (asmVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
VerifyPcbForAutoProgramDownloadRequest[] itacVerifyPcbForAutoProgramDownloadRequest = new VerifyPcbForAutoProgramDownloadRequest[asmVerifyPcbForAutoProgramDownloadRequest.Count];
for (int i = 0; i < asmVerifyPcbForAutoProgramDownloadRequest.Count; i++)
{
itacVerifyPcbForAutoProgramDownloadRequest[i] = VerifyPcbForAutoProgramDownloadRequestMapper.get(asmVerifyPcbForAutoProgramDownloadRequest[i]);
}
return itacVerifyPcbForAutoProgramDownloadRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static VerifyPcbForAutoProgramDownloadRequest[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyPcbForAutoProgramDownloadRequest[] asmVerifyPcbForAutoProgramDownloadRequest)
{
if (asmVerifyPcbForAutoProgramDownloadRequest == null) { return null; }
VerifyPcbForAutoProgramDownloadRequest[] itacVerifyPcbForAutoProgramDownloadRequest = new VerifyPcbForAutoProgramDownloadRequest[asmVerifyPcbForAutoProgramDownloadRequest.Length];
for (int i = 0; i < asmVerifyPcbForAutoProgramDownloadRequest.Length; i++)
{
itacVerifyPcbForAutoProgramDownloadRequest[i] = VerifyPcbForAutoProgramDownloadRequestMapper.get(asmVerifyPcbForAutoProgramDownloadRequest[i]);
}
return itacVerifyPcbForAutoProgramDownloadRequest;
}
}
}

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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in VerifyRecipeActivationOnDekPrinterRequest
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class VerifyRecipeActivationOnDekPrinterRequestMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest get(VerifyRecipeActivationOnDekPrinterRequest itacVerifyRecipeActivationOnDekPrinterRequest)
{
if (itacVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest asmVerifyRecipeActivationOnDekPrinterRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest();
mapItac2Asm(asmVerifyRecipeActivationOnDekPrinterRequest, itacVerifyRecipeActivationOnDekPrinterRequest);
return asmVerifyRecipeActivationOnDekPrinterRequest;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest asmVerifyRecipeActivationOnDekPrinterRequest, VerifyRecipeActivationOnDekPrinterRequest itacVerifyRecipeActivationOnDekPrinterRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeActivationOnDekPrinterRequest
// complex property DekPrinterRecipeVerificationData, isArray:False, isGeneric:False
asmVerifyRecipeActivationOnDekPrinterRequest.DekPrinterRecipeVerificationData = com.itac.oib.linecontrol.contracts.data.DekPrinterRecipeVerificationDataMapper.get( itacVerifyRecipeActivationOnDekPrinterRequest.DekPrinterRecipeVerificationData);
// complex property DeviceLocator, isArray:False, isGeneric:False
asmVerifyRecipeActivationOnDekPrinterRequest.DeviceLocator = com.itac.oib.linecontrol.contracts.data.DeviceLocatorMapper.get( itacVerifyRecipeActivationOnDekPrinterRequest.DeviceLocator);
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest[] get(VerifyRecipeActivationOnDekPrinterRequest[] itacVerifyRecipeActivationOnDekPrinterRequest)
{
if (itacVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest[] asmVerifyRecipeActivationOnDekPrinterRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest[itacVerifyRecipeActivationOnDekPrinterRequest.Length];
for (int i = 0; i < itacVerifyRecipeActivationOnDekPrinterRequest.Length; i++)
{
// to itac array
asmVerifyRecipeActivationOnDekPrinterRequest[i] = VerifyRecipeActivationOnDekPrinterRequestMapper.get(itacVerifyRecipeActivationOnDekPrinterRequest[i]);
}
return asmVerifyRecipeActivationOnDekPrinterRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest> getList(VerifyRecipeActivationOnDekPrinterRequest[] asmVerifyRecipeActivationOnDekPrinterRequest)
{
if (asmVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest> itacVerifyRecipeActivationOnDekPrinterRequest = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest>();
for (int i = 0; i < asmVerifyRecipeActivationOnDekPrinterRequest.Length; i++)
{
itacVerifyRecipeActivationOnDekPrinterRequest.Add(VerifyRecipeActivationOnDekPrinterRequestMapper.get(asmVerifyRecipeActivationOnDekPrinterRequest[i]));
}
return itacVerifyRecipeActivationOnDekPrinterRequest;
}
// map type from ASM namespace to iTAC namespace
public static VerifyRecipeActivationOnDekPrinterRequest get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest asmVerifyRecipeActivationOnDekPrinterRequest)
{
if (asmVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
VerifyRecipeActivationOnDekPrinterRequest itacVerifyRecipeActivationOnDekPrinterRequest = new VerifyRecipeActivationOnDekPrinterRequest();
mapAsm2Itac(asmVerifyRecipeActivationOnDekPrinterRequest, itacVerifyRecipeActivationOnDekPrinterRequest);
return itacVerifyRecipeActivationOnDekPrinterRequest;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest asmVerifyRecipeActivationOnDekPrinterRequest, VerifyRecipeActivationOnDekPrinterRequest itacVerifyRecipeActivationOnDekPrinterRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeActivationOnDekPrinterRequest
itacVerifyRecipeActivationOnDekPrinterRequest.DekPrinterRecipeVerificationData = com.itac.oib.linecontrol.contracts.data.DekPrinterRecipeVerificationDataMapper.get(asmVerifyRecipeActivationOnDekPrinterRequest.DekPrinterRecipeVerificationData);
// complex asm property DekPrinterRecipeVerificationData
itacVerifyRecipeActivationOnDekPrinterRequest.DeviceLocator = com.itac.oib.linecontrol.contracts.data.DeviceLocatorMapper.get(asmVerifyRecipeActivationOnDekPrinterRequest.DeviceLocator);
// complex asm property DeviceLocator
}
// maps ASM namespace conform list to iTAC namespace array
public static VerifyRecipeActivationOnDekPrinterRequest[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest> asmVerifyRecipeActivationOnDekPrinterRequest)
{
if (asmVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
VerifyRecipeActivationOnDekPrinterRequest[] itacVerifyRecipeActivationOnDekPrinterRequest = new VerifyRecipeActivationOnDekPrinterRequest[asmVerifyRecipeActivationOnDekPrinterRequest.Count];
for (int i = 0; i < asmVerifyRecipeActivationOnDekPrinterRequest.Count; i++)
{
itacVerifyRecipeActivationOnDekPrinterRequest[i] = VerifyRecipeActivationOnDekPrinterRequestMapper.get(asmVerifyRecipeActivationOnDekPrinterRequest[i]);
}
return itacVerifyRecipeActivationOnDekPrinterRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static VerifyRecipeActivationOnDekPrinterRequest[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeActivationOnDekPrinterRequest[] asmVerifyRecipeActivationOnDekPrinterRequest)
{
if (asmVerifyRecipeActivationOnDekPrinterRequest == null) { return null; }
VerifyRecipeActivationOnDekPrinterRequest[] itacVerifyRecipeActivationOnDekPrinterRequest = new VerifyRecipeActivationOnDekPrinterRequest[asmVerifyRecipeActivationOnDekPrinterRequest.Length];
for (int i = 0; i < asmVerifyRecipeActivationOnDekPrinterRequest.Length; i++)
{
itacVerifyRecipeActivationOnDekPrinterRequest[i] = VerifyRecipeActivationOnDekPrinterRequestMapper.get(asmVerifyRecipeActivationOnDekPrinterRequest[i]);
}
return itacVerifyRecipeActivationOnDekPrinterRequest;
}
}
}

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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in VerifyRecipeDownloadRequest
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class VerifyRecipeDownloadRequestMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest get(VerifyRecipeDownloadRequest itacVerifyRecipeDownloadRequest)
{
if (itacVerifyRecipeDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest asmVerifyRecipeDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest();
mapItac2Asm(asmVerifyRecipeDownloadRequest, itacVerifyRecipeDownloadRequest);
return asmVerifyRecipeDownloadRequest;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest asmVerifyRecipeDownloadRequest, VerifyRecipeDownloadRequest itacVerifyRecipeDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeDownloadRequest
// complex property DownloadVerificationData, isArray:True, isGeneric:False
asmVerifyRecipeDownloadRequest.DownloadVerificationData = com.itac.oib.linecontrol.contracts.data.DownloadVerificationDataMapper.get( itacVerifyRecipeDownloadRequest.DownloadVerificationData);
asmVerifyRecipeDownloadRequest.LineName = itacVerifyRecipeDownloadRequest.LineName;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest[] get(VerifyRecipeDownloadRequest[] itacVerifyRecipeDownloadRequest)
{
if (itacVerifyRecipeDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest[] asmVerifyRecipeDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest[itacVerifyRecipeDownloadRequest.Length];
for (int i = 0; i < itacVerifyRecipeDownloadRequest.Length; i++)
{
// to itac array
asmVerifyRecipeDownloadRequest[i] = VerifyRecipeDownloadRequestMapper.get(itacVerifyRecipeDownloadRequest[i]);
}
return asmVerifyRecipeDownloadRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest> getList(VerifyRecipeDownloadRequest[] asmVerifyRecipeDownloadRequest)
{
if (asmVerifyRecipeDownloadRequest == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest> itacVerifyRecipeDownloadRequest = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest>();
for (int i = 0; i < asmVerifyRecipeDownloadRequest.Length; i++)
{
itacVerifyRecipeDownloadRequest.Add(VerifyRecipeDownloadRequestMapper.get(asmVerifyRecipeDownloadRequest[i]));
}
return itacVerifyRecipeDownloadRequest;
}
// map type from ASM namespace to iTAC namespace
public static VerifyRecipeDownloadRequest get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest asmVerifyRecipeDownloadRequest)
{
if (asmVerifyRecipeDownloadRequest == null) { return null; }
VerifyRecipeDownloadRequest itacVerifyRecipeDownloadRequest = new VerifyRecipeDownloadRequest();
mapAsm2Itac(asmVerifyRecipeDownloadRequest, itacVerifyRecipeDownloadRequest);
return itacVerifyRecipeDownloadRequest;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest asmVerifyRecipeDownloadRequest, VerifyRecipeDownloadRequest itacVerifyRecipeDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeDownloadRequest
// array mapping
itacVerifyRecipeDownloadRequest.DownloadVerificationData = DownloadVerificationDataMapper.getArray(asmVerifyRecipeDownloadRequest.DownloadVerificationData);
// complex asm property DownloadVerificationData
itacVerifyRecipeDownloadRequest.LineName = asmVerifyRecipeDownloadRequest.LineName;
}
// maps ASM namespace conform list to iTAC namespace array
public static VerifyRecipeDownloadRequest[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest> asmVerifyRecipeDownloadRequest)
{
if (asmVerifyRecipeDownloadRequest == null) { return null; }
VerifyRecipeDownloadRequest[] itacVerifyRecipeDownloadRequest = new VerifyRecipeDownloadRequest[asmVerifyRecipeDownloadRequest.Count];
for (int i = 0; i < asmVerifyRecipeDownloadRequest.Count; i++)
{
itacVerifyRecipeDownloadRequest[i] = VerifyRecipeDownloadRequestMapper.get(asmVerifyRecipeDownloadRequest[i]);
}
return itacVerifyRecipeDownloadRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static VerifyRecipeDownloadRequest[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeDownloadRequest[] asmVerifyRecipeDownloadRequest)
{
if (asmVerifyRecipeDownloadRequest == null) { return null; }
VerifyRecipeDownloadRequest[] itacVerifyRecipeDownloadRequest = new VerifyRecipeDownloadRequest[asmVerifyRecipeDownloadRequest.Length];
for (int i = 0; i < asmVerifyRecipeDownloadRequest.Length; i++)
{
itacVerifyRecipeDownloadRequest[i] = VerifyRecipeDownloadRequestMapper.get(asmVerifyRecipeDownloadRequest[i]);
}
return itacVerifyRecipeDownloadRequest;
}
}
}

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 26.11.2018 13:28:02
// skip property ExtensionDataObject, declared in VerifyRecipeForAutoProgramDownloadRequest
using System;
using System.Collections.Generic;
namespace com.itac.oib.linecontrol.contracts.data
{
// source: assembly 3.0.0.0
// source: assembly ASM.AS.OIB.Client
public class VerifyRecipeForAutoProgramDownloadRequestMapper
{
// 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._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest get(VerifyRecipeForAutoProgramDownloadRequest itacVerifyRecipeForAutoProgramDownloadRequest)
{
if (itacVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest asmVerifyRecipeForAutoProgramDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest();
mapItac2Asm(asmVerifyRecipeForAutoProgramDownloadRequest, itacVerifyRecipeForAutoProgramDownloadRequest);
return asmVerifyRecipeForAutoProgramDownloadRequest;
}
public static void mapItac2Asm(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest asmVerifyRecipeForAutoProgramDownloadRequest, VerifyRecipeForAutoProgramDownloadRequest itacVerifyRecipeForAutoProgramDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeForAutoProgramDownloadRequest
// complex property AutoProgramDownloadVerificationData, isArray:False, isGeneric:False
asmVerifyRecipeForAutoProgramDownloadRequest.AutoProgramDownloadVerificationData = com.itac.oib.linecontrol.contracts.data.AutoProgramDownloadRecipeVerificationDataMapper.get( itacVerifyRecipeForAutoProgramDownloadRequest.AutoProgramDownloadVerificationData);
asmVerifyRecipeForAutoProgramDownloadRequest.LineName = itacVerifyRecipeForAutoProgramDownloadRequest.LineName;
}
// maps iTAC namespace conform array to ASM namespace array
public static www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest[] get(VerifyRecipeForAutoProgramDownloadRequest[] itacVerifyRecipeForAutoProgramDownloadRequest)
{
if (itacVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest[] asmVerifyRecipeForAutoProgramDownloadRequest = new www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest[itacVerifyRecipeForAutoProgramDownloadRequest.Length];
for (int i = 0; i < itacVerifyRecipeForAutoProgramDownloadRequest.Length; i++)
{
// to itac array
asmVerifyRecipeForAutoProgramDownloadRequest[i] = VerifyRecipeForAutoProgramDownloadRequestMapper.get(itacVerifyRecipeForAutoProgramDownloadRequest[i]);
}
return asmVerifyRecipeForAutoProgramDownloadRequest;
}
// maps iTAC namespace conform array to ASM namespace list
public static List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest> getList(VerifyRecipeForAutoProgramDownloadRequest[] asmVerifyRecipeForAutoProgramDownloadRequest)
{
if (asmVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest> itacVerifyRecipeForAutoProgramDownloadRequest = new List<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest>();
for (int i = 0; i < asmVerifyRecipeForAutoProgramDownloadRequest.Length; i++)
{
itacVerifyRecipeForAutoProgramDownloadRequest.Add(VerifyRecipeForAutoProgramDownloadRequestMapper.get(asmVerifyRecipeForAutoProgramDownloadRequest[i]));
}
return itacVerifyRecipeForAutoProgramDownloadRequest;
}
// map type from ASM namespace to iTAC namespace
public static VerifyRecipeForAutoProgramDownloadRequest get(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest asmVerifyRecipeForAutoProgramDownloadRequest)
{
if (asmVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
VerifyRecipeForAutoProgramDownloadRequest itacVerifyRecipeForAutoProgramDownloadRequest = new VerifyRecipeForAutoProgramDownloadRequest();
mapAsm2Itac(asmVerifyRecipeForAutoProgramDownloadRequest, itacVerifyRecipeForAutoProgramDownloadRequest);
return itacVerifyRecipeForAutoProgramDownloadRequest;
}
public static void mapAsm2Itac(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest asmVerifyRecipeForAutoProgramDownloadRequest, VerifyRecipeForAutoProgramDownloadRequest itacVerifyRecipeForAutoProgramDownloadRequest)
{
// skip property ExtensionDataObject, declared in VerifyRecipeForAutoProgramDownloadRequest
itacVerifyRecipeForAutoProgramDownloadRequest.AutoProgramDownloadVerificationData = com.itac.oib.linecontrol.contracts.data.AutoProgramDownloadRecipeVerificationDataMapper.get(asmVerifyRecipeForAutoProgramDownloadRequest.AutoProgramDownloadVerificationData);
// complex asm property AutoProgramDownloadVerificationData
itacVerifyRecipeForAutoProgramDownloadRequest.LineName = asmVerifyRecipeForAutoProgramDownloadRequest.LineName;
}
// maps ASM namespace conform list to iTAC namespace array
public static VerifyRecipeForAutoProgramDownloadRequest[] getArray(IList<www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest> asmVerifyRecipeForAutoProgramDownloadRequest)
{
if (asmVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
VerifyRecipeForAutoProgramDownloadRequest[] itacVerifyRecipeForAutoProgramDownloadRequest = new VerifyRecipeForAutoProgramDownloadRequest[asmVerifyRecipeForAutoProgramDownloadRequest.Count];
for (int i = 0; i < asmVerifyRecipeForAutoProgramDownloadRequest.Count; i++)
{
itacVerifyRecipeForAutoProgramDownloadRequest[i] = VerifyRecipeForAutoProgramDownloadRequestMapper.get(asmVerifyRecipeForAutoProgramDownloadRequest[i]);
}
return itacVerifyRecipeForAutoProgramDownloadRequest;
}
// maps ASM namespace conform array to iTAC namespace array
public static VerifyRecipeForAutoProgramDownloadRequest[] getArray(www.siplace.com.OIB._2015._10.LineControlServer.Contracts.Data.VerifyRecipeForAutoProgramDownloadRequest[] asmVerifyRecipeForAutoProgramDownloadRequest)
{
if (asmVerifyRecipeForAutoProgramDownloadRequest == null) { return null; }
VerifyRecipeForAutoProgramDownloadRequest[] itacVerifyRecipeForAutoProgramDownloadRequest = new VerifyRecipeForAutoProgramDownloadRequest[asmVerifyRecipeForAutoProgramDownloadRequest.Length];
for (int i = 0; i < asmVerifyRecipeForAutoProgramDownloadRequest.Length; i++)
{
itacVerifyRecipeForAutoProgramDownloadRequest[i] = VerifyRecipeForAutoProgramDownloadRequestMapper.get(asmVerifyRecipeForAutoProgramDownloadRequest[i]);
}
return itacVerifyRecipeForAutoProgramDownloadRequest;
}
}
}