initialize
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class AcknowledgementTypeMapper
|
||||
{
|
||||
|
||||
// map asm enum value to itac enum value
|
||||
public static AcknowledgementType get(Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType acknowledgementType)
|
||||
{
|
||||
int intValue = (int)acknowledgementType;
|
||||
return (AcknowledgementType)intValue;
|
||||
}
|
||||
|
||||
// map itac enum value to ASM enum value
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType get(AcknowledgementType acknowledgementType)
|
||||
{
|
||||
int intValue = (int)acknowledgementType;
|
||||
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.AcknowledgementType)intValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
// skip property Guid, declared in Answer
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class AnswerMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Answer get(Answer itacAnswer)
|
||||
{
|
||||
if (itacAnswer == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.Answer("");
|
||||
mapItac2Asm(asmAnswer, itacAnswer);
|
||||
return asmAnswer;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer, Answer itacAnswer)
|
||||
{
|
||||
// skip property Guid, declared in Answer
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Answer[] get(Answer[] itacAnswer)
|
||||
{
|
||||
if (itacAnswer == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.Answer[] asmAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.Answer[itacAnswer.Length];
|
||||
for (int i = 0; i < itacAnswer.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmAnswer[i] = AnswerMapper.get(itacAnswer[i]);
|
||||
}
|
||||
return asmAnswer;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.Answer> getList(Answer[] asmAnswer)
|
||||
{
|
||||
if (asmAnswer == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.Answer> itacAnswer = new List<Asm.As.Oib.DisplayService.Contracts.Data.Answer>();
|
||||
for (int i = 0; i < asmAnswer.Length; i++)
|
||||
{
|
||||
itacAnswer.Add(AnswerMapper.get(asmAnswer[i]));
|
||||
}
|
||||
return itacAnswer;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static Answer get(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer)
|
||||
{
|
||||
if (asmAnswer == null) { return null; }
|
||||
Answer itacAnswer = new Answer();
|
||||
mapAsm2Itac(asmAnswer, itacAnswer);
|
||||
return itacAnswer;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.Answer asmAnswer, Answer itacAnswer)
|
||||
{
|
||||
// skip property Guid, declared in Answer
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static Answer[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.Answer> asmAnswer)
|
||||
{
|
||||
if (asmAnswer == null) { return null; }
|
||||
Answer[] itacAnswer = new Answer[asmAnswer.Count];
|
||||
for (int i = 0; i < asmAnswer.Count; i++)
|
||||
{
|
||||
itacAnswer[i] = AnswerMapper.get(asmAnswer[i]);
|
||||
}
|
||||
return itacAnswer;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static Answer[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.Answer[] asmAnswer)
|
||||
{
|
||||
if (asmAnswer == null) { return null; }
|
||||
Answer[] itacAnswer = new Answer[asmAnswer.Length];
|
||||
for (int i = 0; i < asmAnswer.Length; i++)
|
||||
{
|
||||
itacAnswer[i] = AnswerMapper.get(asmAnswer[i]);
|
||||
}
|
||||
return itacAnswer;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
// skip property Guid, declared in ClientRegistration
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class ClientRegistrationMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration get(ClientRegistration itacClientRegistration)
|
||||
{
|
||||
if (itacClientRegistration == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration();
|
||||
mapItac2Asm(asmClientRegistration, itacClientRegistration);
|
||||
return asmClientRegistration;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration, ClientRegistration itacClientRegistration)
|
||||
{
|
||||
// skip property Guid, declared in ClientRegistration
|
||||
asmClientRegistration.ClientReceivedConfirmation = itacClientRegistration.ClientReceivedConfirmation;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] get(ClientRegistration[] itacClientRegistration)
|
||||
{
|
||||
if (itacClientRegistration == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] asmClientRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[itacClientRegistration.Length];
|
||||
for (int i = 0; i < itacClientRegistration.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmClientRegistration[i] = ClientRegistrationMapper.get(itacClientRegistration[i]);
|
||||
}
|
||||
return asmClientRegistration;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> getList(ClientRegistration[] asmClientRegistration)
|
||||
{
|
||||
if (asmClientRegistration == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> itacClientRegistration = new List<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration>();
|
||||
for (int i = 0; i < asmClientRegistration.Length; i++)
|
||||
{
|
||||
itacClientRegistration.Add(ClientRegistrationMapper.get(asmClientRegistration[i]));
|
||||
}
|
||||
return itacClientRegistration;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static ClientRegistration get(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration)
|
||||
{
|
||||
if (asmClientRegistration == null) { return null; }
|
||||
ClientRegistration itacClientRegistration = new ClientRegistration();
|
||||
mapAsm2Itac(asmClientRegistration, itacClientRegistration);
|
||||
return itacClientRegistration;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration asmClientRegistration, ClientRegistration itacClientRegistration)
|
||||
{
|
||||
// skip property Guid, declared in ClientRegistration
|
||||
itacClientRegistration.ClientReceivedConfirmation = asmClientRegistration.ClientReceivedConfirmation;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static ClientRegistration[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration> asmClientRegistration)
|
||||
{
|
||||
if (asmClientRegistration == null) { return null; }
|
||||
ClientRegistration[] itacClientRegistration = new ClientRegistration[asmClientRegistration.Count];
|
||||
for (int i = 0; i < asmClientRegistration.Count; i++)
|
||||
{
|
||||
itacClientRegistration[i] = ClientRegistrationMapper.get(asmClientRegistration[i]);
|
||||
}
|
||||
return itacClientRegistration;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static ClientRegistration[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.ClientRegistration[] asmClientRegistration)
|
||||
{
|
||||
if (asmClientRegistration == null) { return null; }
|
||||
ClientRegistration[] itacClientRegistration = new ClientRegistration[asmClientRegistration.Length];
|
||||
for (int i = 0; i < asmClientRegistration.Length; i++)
|
||||
{
|
||||
itacClientRegistration[i] = ClientRegistrationMapper.get(asmClientRegistration[i]);
|
||||
}
|
||||
return itacClientRegistration;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class ConfirmationReceivedRequestMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest get(ConfirmationReceivedRequest itacConfirmationReceivedRequest)
|
||||
{
|
||||
if (itacConfirmationReceivedRequest == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest();
|
||||
mapItac2Asm(asmConfirmationReceivedRequest, itacConfirmationReceivedRequest);
|
||||
return asmConfirmationReceivedRequest;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest, ConfirmationReceivedRequest itacConfirmationReceivedRequest)
|
||||
{
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] get(ConfirmationReceivedRequest[] itacConfirmationReceivedRequest)
|
||||
{
|
||||
if (itacConfirmationReceivedRequest == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] asmConfirmationReceivedRequest = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[itacConfirmationReceivedRequest.Length];
|
||||
for (int i = 0; i < itacConfirmationReceivedRequest.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(itacConfirmationReceivedRequest[i]);
|
||||
}
|
||||
return asmConfirmationReceivedRequest;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> getList(ConfirmationReceivedRequest[] asmConfirmationReceivedRequest)
|
||||
{
|
||||
if (asmConfirmationReceivedRequest == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> itacConfirmationReceivedRequest = new List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest>();
|
||||
for (int i = 0; i < asmConfirmationReceivedRequest.Length; i++)
|
||||
{
|
||||
itacConfirmationReceivedRequest.Add(ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]));
|
||||
}
|
||||
return itacConfirmationReceivedRequest;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static ConfirmationReceivedRequest get(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest)
|
||||
{
|
||||
if (asmConfirmationReceivedRequest == null) { return null; }
|
||||
ConfirmationReceivedRequest itacConfirmationReceivedRequest = new ConfirmationReceivedRequest();
|
||||
mapAsm2Itac(asmConfirmationReceivedRequest, itacConfirmationReceivedRequest);
|
||||
return itacConfirmationReceivedRequest;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest asmConfirmationReceivedRequest, ConfirmationReceivedRequest itacConfirmationReceivedRequest)
|
||||
{
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static ConfirmationReceivedRequest[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest> asmConfirmationReceivedRequest)
|
||||
{
|
||||
if (asmConfirmationReceivedRequest == null) { return null; }
|
||||
ConfirmationReceivedRequest[] itacConfirmationReceivedRequest = new ConfirmationReceivedRequest[asmConfirmationReceivedRequest.Count];
|
||||
for (int i = 0; i < asmConfirmationReceivedRequest.Count; i++)
|
||||
{
|
||||
itacConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]);
|
||||
}
|
||||
return itacConfirmationReceivedRequest;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static ConfirmationReceivedRequest[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedRequest[] asmConfirmationReceivedRequest)
|
||||
{
|
||||
if (asmConfirmationReceivedRequest == null) { return null; }
|
||||
ConfirmationReceivedRequest[] itacConfirmationReceivedRequest = new ConfirmationReceivedRequest[asmConfirmationReceivedRequest.Length];
|
||||
for (int i = 0; i < asmConfirmationReceivedRequest.Length; i++)
|
||||
{
|
||||
itacConfirmationReceivedRequest[i] = ConfirmationReceivedRequestMapper.get(asmConfirmationReceivedRequest[i]);
|
||||
}
|
||||
return itacConfirmationReceivedRequest;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class ConfirmationReceivedResponseMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse get(ConfirmationReceivedResponse itacConfirmationReceivedResponse)
|
||||
{
|
||||
if (itacConfirmationReceivedResponse == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse();
|
||||
mapItac2Asm(asmConfirmationReceivedResponse, itacConfirmationReceivedResponse);
|
||||
return asmConfirmationReceivedResponse;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse, ConfirmationReceivedResponse itacConfirmationReceivedResponse)
|
||||
{
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] get(ConfirmationReceivedResponse[] itacConfirmationReceivedResponse)
|
||||
{
|
||||
if (itacConfirmationReceivedResponse == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] asmConfirmationReceivedResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[itacConfirmationReceivedResponse.Length];
|
||||
for (int i = 0; i < itacConfirmationReceivedResponse.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(itacConfirmationReceivedResponse[i]);
|
||||
}
|
||||
return asmConfirmationReceivedResponse;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> getList(ConfirmationReceivedResponse[] asmConfirmationReceivedResponse)
|
||||
{
|
||||
if (asmConfirmationReceivedResponse == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> itacConfirmationReceivedResponse = new List<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse>();
|
||||
for (int i = 0; i < asmConfirmationReceivedResponse.Length; i++)
|
||||
{
|
||||
itacConfirmationReceivedResponse.Add(ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]));
|
||||
}
|
||||
return itacConfirmationReceivedResponse;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static ConfirmationReceivedResponse get(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse)
|
||||
{
|
||||
if (asmConfirmationReceivedResponse == null) { return null; }
|
||||
ConfirmationReceivedResponse itacConfirmationReceivedResponse = new ConfirmationReceivedResponse();
|
||||
mapAsm2Itac(asmConfirmationReceivedResponse, itacConfirmationReceivedResponse);
|
||||
return itacConfirmationReceivedResponse;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse asmConfirmationReceivedResponse, ConfirmationReceivedResponse itacConfirmationReceivedResponse)
|
||||
{
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static ConfirmationReceivedResponse[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse> asmConfirmationReceivedResponse)
|
||||
{
|
||||
if (asmConfirmationReceivedResponse == null) { return null; }
|
||||
ConfirmationReceivedResponse[] itacConfirmationReceivedResponse = new ConfirmationReceivedResponse[asmConfirmationReceivedResponse.Count];
|
||||
for (int i = 0; i < asmConfirmationReceivedResponse.Count; i++)
|
||||
{
|
||||
itacConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]);
|
||||
}
|
||||
return itacConfirmationReceivedResponse;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static ConfirmationReceivedResponse[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.ConfirmationReceivedResponse[] asmConfirmationReceivedResponse)
|
||||
{
|
||||
if (asmConfirmationReceivedResponse == null) { return null; }
|
||||
ConfirmationReceivedResponse[] itacConfirmationReceivedResponse = new ConfirmationReceivedResponse[asmConfirmationReceivedResponse.Length];
|
||||
for (int i = 0; i < asmConfirmationReceivedResponse.Length; i++)
|
||||
{
|
||||
itacConfirmationReceivedResponse[i] = ConfirmationReceivedResponseMapper.get(asmConfirmationReceivedResponse[i]);
|
||||
}
|
||||
return itacConfirmationReceivedResponse;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class MessageDeliveryDetailsMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails get(MessageDeliveryDetails itacMessageDeliveryDetails)
|
||||
{
|
||||
if (itacMessageDeliveryDetails == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails = new Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails(null);
|
||||
mapItac2Asm(asmMessageDeliveryDetails, itacMessageDeliveryDetails);
|
||||
return asmMessageDeliveryDetails;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails, MessageDeliveryDetails itacMessageDeliveryDetails)
|
||||
{
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] get(MessageDeliveryDetails[] itacMessageDeliveryDetails)
|
||||
{
|
||||
if (itacMessageDeliveryDetails == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] asmMessageDeliveryDetails = new Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[itacMessageDeliveryDetails.Length];
|
||||
for (int i = 0; i < itacMessageDeliveryDetails.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(itacMessageDeliveryDetails[i]);
|
||||
}
|
||||
return asmMessageDeliveryDetails;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> getList(MessageDeliveryDetails[] asmMessageDeliveryDetails)
|
||||
{
|
||||
if (asmMessageDeliveryDetails == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> itacMessageDeliveryDetails = new List<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails>();
|
||||
for (int i = 0; i < asmMessageDeliveryDetails.Length; i++)
|
||||
{
|
||||
itacMessageDeliveryDetails.Add(MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]));
|
||||
}
|
||||
return itacMessageDeliveryDetails;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static MessageDeliveryDetails get(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails)
|
||||
{
|
||||
if (asmMessageDeliveryDetails == null) { return null; }
|
||||
MessageDeliveryDetails itacMessageDeliveryDetails = new MessageDeliveryDetails();
|
||||
mapAsm2Itac(asmMessageDeliveryDetails, itacMessageDeliveryDetails);
|
||||
return itacMessageDeliveryDetails;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails asmMessageDeliveryDetails, MessageDeliveryDetails itacMessageDeliveryDetails)
|
||||
{
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static MessageDeliveryDetails[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails> asmMessageDeliveryDetails)
|
||||
{
|
||||
if (asmMessageDeliveryDetails == null) { return null; }
|
||||
MessageDeliveryDetails[] itacMessageDeliveryDetails = new MessageDeliveryDetails[asmMessageDeliveryDetails.Count];
|
||||
for (int i = 0; i < asmMessageDeliveryDetails.Count; i++)
|
||||
{
|
||||
itacMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]);
|
||||
}
|
||||
return itacMessageDeliveryDetails;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static MessageDeliveryDetails[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.MessageDeliveryDetails[] asmMessageDeliveryDetails)
|
||||
{
|
||||
if (asmMessageDeliveryDetails == null) { return null; }
|
||||
MessageDeliveryDetails[] itacMessageDeliveryDetails = new MessageDeliveryDetails[asmMessageDeliveryDetails.Length];
|
||||
for (int i = 0; i < asmMessageDeliveryDetails.Length; i++)
|
||||
{
|
||||
itacMessageDeliveryDetails[i] = MessageDeliveryDetailsMapper.get(asmMessageDeliveryDetails[i]);
|
||||
}
|
||||
return itacMessageDeliveryDetails;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
// skip property Guid, declared in Message
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class MessageMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Message get(Message itacMessage)
|
||||
{
|
||||
if (itacMessage == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage = new Asm.As.Oib.DisplayService.Contracts.Data.Message();
|
||||
mapItac2Asm(asmMessage, itacMessage);
|
||||
return asmMessage;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage, Message itacMessage)
|
||||
{
|
||||
// skip property Guid, declared in Message
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Message[] get(Message[] itacMessage)
|
||||
{
|
||||
if (itacMessage == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.Message[] asmMessage = new Asm.As.Oib.DisplayService.Contracts.Data.Message[itacMessage.Length];
|
||||
for (int i = 0; i < itacMessage.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmMessage[i] = MessageMapper.get(itacMessage[i]);
|
||||
}
|
||||
return asmMessage;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.Message> getList(Message[] asmMessage)
|
||||
{
|
||||
if (asmMessage == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.Message> itacMessage = new List<Asm.As.Oib.DisplayService.Contracts.Data.Message>();
|
||||
for (int i = 0; i < asmMessage.Length; i++)
|
||||
{
|
||||
itacMessage.Add(MessageMapper.get(asmMessage[i]));
|
||||
}
|
||||
return itacMessage;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static Message get(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage)
|
||||
{
|
||||
if (asmMessage == null) { return null; }
|
||||
Message itacMessage = new Message();
|
||||
mapAsm2Itac(asmMessage, itacMessage);
|
||||
return itacMessage;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.Message asmMessage, Message itacMessage)
|
||||
{
|
||||
// skip property Guid, declared in Message
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static Message[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.Message> asmMessage)
|
||||
{
|
||||
if (asmMessage == null) { return null; }
|
||||
Message[] itacMessage = new Message[asmMessage.Count];
|
||||
for (int i = 0; i < asmMessage.Count; i++)
|
||||
{
|
||||
itacMessage[i] = MessageMapper.get(asmMessage[i]);
|
||||
}
|
||||
return itacMessage;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static Message[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.Message[] asmMessage)
|
||||
{
|
||||
if (asmMessage == null) { return null; }
|
||||
Message[] itacMessage = new Message[asmMessage.Length];
|
||||
for (int i = 0; i < asmMessage.Length; i++)
|
||||
{
|
||||
itacMessage[i] = MessageMapper.get(asmMessage[i]);
|
||||
}
|
||||
return itacMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class MessageStateMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageState get(MessageState itacMessageState)
|
||||
{
|
||||
if (itacMessageState == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState = new Asm.As.Oib.DisplayService.Contracts.Data.MessageState(null);
|
||||
mapItac2Asm(asmMessageState, itacMessageState);
|
||||
return asmMessageState;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState, MessageState itacMessageState)
|
||||
{
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] get(MessageState[] itacMessageState)
|
||||
{
|
||||
if (itacMessageState == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] asmMessageState = new Asm.As.Oib.DisplayService.Contracts.Data.MessageState[itacMessageState.Length];
|
||||
for (int i = 0; i < itacMessageState.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmMessageState[i] = MessageStateMapper.get(itacMessageState[i]);
|
||||
}
|
||||
return asmMessageState;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> getList(MessageState[] asmMessageState)
|
||||
{
|
||||
if (asmMessageState == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> itacMessageState = new List<Asm.As.Oib.DisplayService.Contracts.Data.MessageState>();
|
||||
for (int i = 0; i < asmMessageState.Length; i++)
|
||||
{
|
||||
itacMessageState.Add(MessageStateMapper.get(asmMessageState[i]));
|
||||
}
|
||||
return itacMessageState;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static MessageState get(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState)
|
||||
{
|
||||
if (asmMessageState == null) { return null; }
|
||||
MessageState itacMessageState = new MessageState();
|
||||
mapAsm2Itac(asmMessageState, itacMessageState);
|
||||
return itacMessageState;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.MessageState asmMessageState, MessageState itacMessageState)
|
||||
{
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static MessageState[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.MessageState> asmMessageState)
|
||||
{
|
||||
if (asmMessageState == null) { return null; }
|
||||
MessageState[] itacMessageState = new MessageState[asmMessageState.Count];
|
||||
for (int i = 0; i < asmMessageState.Count; i++)
|
||||
{
|
||||
itacMessageState[i] = MessageStateMapper.get(asmMessageState[i]);
|
||||
}
|
||||
return itacMessageState;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static MessageState[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.MessageState[] asmMessageState)
|
||||
{
|
||||
if (asmMessageState == null) { return null; }
|
||||
MessageState[] itacMessageState = new MessageState[asmMessageState.Length];
|
||||
for (int i = 0; i < asmMessageState.Length; i++)
|
||||
{
|
||||
itacMessageState[i] = MessageStateMapper.get(asmMessageState[i]);
|
||||
}
|
||||
return itacMessageState;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class SendMessageResponseMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse get(SendMessageResponse itacSendMessageResponse)
|
||||
{
|
||||
if (itacSendMessageResponse == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse();
|
||||
mapItac2Asm(asmSendMessageResponse, itacSendMessageResponse);
|
||||
return asmSendMessageResponse;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse, SendMessageResponse itacSendMessageResponse)
|
||||
{
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] get(SendMessageResponse[] itacSendMessageResponse)
|
||||
{
|
||||
if (itacSendMessageResponse == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] asmSendMessageResponse = new Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[itacSendMessageResponse.Length];
|
||||
for (int i = 0; i < itacSendMessageResponse.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmSendMessageResponse[i] = SendMessageResponseMapper.get(itacSendMessageResponse[i]);
|
||||
}
|
||||
return asmSendMessageResponse;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> getList(SendMessageResponse[] asmSendMessageResponse)
|
||||
{
|
||||
if (asmSendMessageResponse == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> itacSendMessageResponse = new List<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse>();
|
||||
for (int i = 0; i < asmSendMessageResponse.Length; i++)
|
||||
{
|
||||
itacSendMessageResponse.Add(SendMessageResponseMapper.get(asmSendMessageResponse[i]));
|
||||
}
|
||||
return itacSendMessageResponse;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static SendMessageResponse get(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse)
|
||||
{
|
||||
if (asmSendMessageResponse == null) { return null; }
|
||||
SendMessageResponse itacSendMessageResponse = new SendMessageResponse();
|
||||
mapAsm2Itac(asmSendMessageResponse, itacSendMessageResponse);
|
||||
return itacSendMessageResponse;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse asmSendMessageResponse, SendMessageResponse itacSendMessageResponse)
|
||||
{
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static SendMessageResponse[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse> asmSendMessageResponse)
|
||||
{
|
||||
if (asmSendMessageResponse == null) { return null; }
|
||||
SendMessageResponse[] itacSendMessageResponse = new SendMessageResponse[asmSendMessageResponse.Count];
|
||||
for (int i = 0; i < asmSendMessageResponse.Count; i++)
|
||||
{
|
||||
itacSendMessageResponse[i] = SendMessageResponseMapper.get(asmSendMessageResponse[i]);
|
||||
}
|
||||
return itacSendMessageResponse;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static SendMessageResponse[] getArray(Asm.As.Oib.DisplayService.Contracts.Messages.SendMessageResponse[] asmSendMessageResponse)
|
||||
{
|
||||
if (asmSendMessageResponse == null) { return null; }
|
||||
SendMessageResponse[] itacSendMessageResponse = new SendMessageResponse[asmSendMessageResponse.Length];
|
||||
for (int i = 0; i < asmSendMessageResponse.Length; i++)
|
||||
{
|
||||
itacSendMessageResponse[i] = SendMessageResponseMapper.get(asmSendMessageResponse[i]);
|
||||
}
|
||||
return itacSendMessageResponse;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class SeverityLevelMapper
|
||||
{
|
||||
|
||||
// map asm enum value to itac enum value
|
||||
public static SeverityLevel get(Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel severityLevel)
|
||||
{
|
||||
int intValue = (int)severityLevel;
|
||||
return (SeverityLevel)intValue;
|
||||
}
|
||||
|
||||
// map itac enum value to ASM enum value
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel get(SeverityLevel severityLevel)
|
||||
{
|
||||
int intValue = (int)severityLevel;
|
||||
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.SeverityLevel)intValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
// skip property Guid, declared in SubAnswer
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class SubAnswerMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer get(SubAnswer itacSubAnswer)
|
||||
{
|
||||
if (itacSubAnswer == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer("");
|
||||
mapItac2Asm(asmSubAnswer, itacSubAnswer);
|
||||
return asmSubAnswer;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer, SubAnswer itacSubAnswer)
|
||||
{
|
||||
// skip property Guid, declared in SubAnswer
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] get(SubAnswer[] itacSubAnswer)
|
||||
{
|
||||
if (itacSubAnswer == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] asmSubAnswer = new Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[itacSubAnswer.Length];
|
||||
for (int i = 0; i < itacSubAnswer.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmSubAnswer[i] = SubAnswerMapper.get(itacSubAnswer[i]);
|
||||
}
|
||||
return asmSubAnswer;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> getList(SubAnswer[] asmSubAnswer)
|
||||
{
|
||||
if (asmSubAnswer == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> itacSubAnswer = new List<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer>();
|
||||
for (int i = 0; i < asmSubAnswer.Length; i++)
|
||||
{
|
||||
itacSubAnswer.Add(SubAnswerMapper.get(asmSubAnswer[i]));
|
||||
}
|
||||
return itacSubAnswer;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static SubAnswer get(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer)
|
||||
{
|
||||
if (asmSubAnswer == null) { return null; }
|
||||
SubAnswer itacSubAnswer = new SubAnswer();
|
||||
mapAsm2Itac(asmSubAnswer, itacSubAnswer);
|
||||
return itacSubAnswer;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer asmSubAnswer, SubAnswer itacSubAnswer)
|
||||
{
|
||||
// skip property Guid, declared in SubAnswer
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static SubAnswer[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer> asmSubAnswer)
|
||||
{
|
||||
if (asmSubAnswer == null) { return null; }
|
||||
SubAnswer[] itacSubAnswer = new SubAnswer[asmSubAnswer.Count];
|
||||
for (int i = 0; i < asmSubAnswer.Count; i++)
|
||||
{
|
||||
itacSubAnswer[i] = SubAnswerMapper.get(asmSubAnswer[i]);
|
||||
}
|
||||
return itacSubAnswer;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static SubAnswer[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.SubAnswer[] asmSubAnswer)
|
||||
{
|
||||
if (asmSubAnswer == null) { return null; }
|
||||
SubAnswer[] itacSubAnswer = new SubAnswer[asmSubAnswer.Length];
|
||||
for (int i = 0; i < asmSubAnswer.Length; i++)
|
||||
{
|
||||
itacSubAnswer[i] = SubAnswerMapper.get(asmSubAnswer[i]);
|
||||
}
|
||||
return itacSubAnswer;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class ViewerIdentificationMapper
|
||||
{
|
||||
|
||||
// map asm enum value to itac enum value
|
||||
public static ViewerIdentification get(Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification viewerIdentification)
|
||||
{
|
||||
int intValue = (int)viewerIdentification;
|
||||
return (ViewerIdentification)intValue;
|
||||
}
|
||||
|
||||
// map itac enum value to ASM enum value
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification get(ViewerIdentification viewerIdentification)
|
||||
{
|
||||
int intValue = (int)viewerIdentification;
|
||||
return (Asm.As.Oib.DisplayService.Contracts.Data.Types.ViewerIdentification)intValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright (c) 2018 iTAC Software AG, Germany. All Rights Reserved.
|
||||
*
|
||||
* This software is protected by copyright. Under no circumstances may any part of this file in any form be copied,
|
||||
* printed, edited or otherwise distributed, be stored in a retrieval system, or be translated into another language
|
||||
* without the written permission of iTAC Software AG.
|
||||
*/
|
||||
// created 23.11.2018 08:05:09
|
||||
// skip (ignore generic type IPAddress)
|
||||
// skip property Guid, declared in ViewerRegistration
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace com.itac.oib.displayservice.contracts.data
|
||||
{
|
||||
// source: assembly 3.2.0.152
|
||||
// source: assembly ASM.AS.OIB.DisplayService.Contracts
|
||||
public class ViewerRegistrationMapper
|
||||
{
|
||||
// used for itac->asm: True
|
||||
// used for asm->itac: True
|
||||
|
||||
// maps iTAC namespace conform type to ASM namespace type
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration get(ViewerRegistration itacViewerRegistration)
|
||||
{
|
||||
if (itacViewerRegistration == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration();
|
||||
mapItac2Asm(asmViewerRegistration, itacViewerRegistration);
|
||||
return asmViewerRegistration;
|
||||
}
|
||||
|
||||
public static void mapItac2Asm(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration, ViewerRegistration itacViewerRegistration)
|
||||
{
|
||||
asmViewerRegistration.ComputerName = itacViewerRegistration.ComputerName;
|
||||
asmViewerRegistration.EndpointAddress = itacViewerRegistration.EndpointAddress;
|
||||
asmViewerRegistration.DispatcherEndpointAddress = itacViewerRegistration.DispatcherEndpointAddress;
|
||||
asmViewerRegistration.ViewerGUID = itacViewerRegistration.ViewerGUID;
|
||||
asmViewerRegistration.SIPLACEProStationPath = itacViewerRegistration.SIPLACEProStationPath;
|
||||
asmViewerRegistration.SIPLACEProLinePath = itacViewerRegistration.SIPLACEProLinePath;
|
||||
asmViewerRegistration.SIPLACEProStationIndexInLine = itacViewerRegistration.SIPLACEProStationIndexInLine;
|
||||
asmViewerRegistration.SIPLACEProStationOID = itacViewerRegistration.SIPLACEProStationOID;
|
||||
asmViewerRegistration.SIPLACEProLineOID = itacViewerRegistration.SIPLACEProLineOID;
|
||||
asmViewerRegistration.SIPLACEProDatabaseId = itacViewerRegistration.SIPLACEProDatabaseId;
|
||||
// skip readonly property IPAddressesString
|
||||
// skip (ignore generic type IPAddress)
|
||||
// skip property Guid, declared in ViewerRegistration
|
||||
asmViewerRegistration.MessagesDeliveredSuccessfully = itacViewerRegistration.MessagesDeliveredSuccessfully;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace array
|
||||
public static Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] get(ViewerRegistration[] itacViewerRegistration)
|
||||
{
|
||||
if (itacViewerRegistration == null) { return null; }
|
||||
Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] asmViewerRegistration = new Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[itacViewerRegistration.Length];
|
||||
for (int i = 0; i < itacViewerRegistration.Length; i++)
|
||||
{
|
||||
// to itac array
|
||||
asmViewerRegistration[i] = ViewerRegistrationMapper.get(itacViewerRegistration[i]);
|
||||
}
|
||||
return asmViewerRegistration;
|
||||
}
|
||||
|
||||
// maps iTAC namespace conform array to ASM namespace list
|
||||
public static List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> getList(ViewerRegistration[] asmViewerRegistration)
|
||||
{
|
||||
if (asmViewerRegistration == null) { return null; }
|
||||
List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> itacViewerRegistration = new List<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration>();
|
||||
for (int i = 0; i < asmViewerRegistration.Length; i++)
|
||||
{
|
||||
itacViewerRegistration.Add(ViewerRegistrationMapper.get(asmViewerRegistration[i]));
|
||||
}
|
||||
return itacViewerRegistration;
|
||||
}
|
||||
|
||||
// map type from ASM namespace to iTAC namespace
|
||||
public static ViewerRegistration get(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration)
|
||||
{
|
||||
if (asmViewerRegistration == null) { return null; }
|
||||
ViewerRegistration itacViewerRegistration = new ViewerRegistration();
|
||||
mapAsm2Itac(asmViewerRegistration, itacViewerRegistration);
|
||||
return itacViewerRegistration;
|
||||
}
|
||||
|
||||
public static void mapAsm2Itac(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration asmViewerRegistration, ViewerRegistration itacViewerRegistration)
|
||||
{
|
||||
itacViewerRegistration.ComputerName = asmViewerRegistration.ComputerName;
|
||||
itacViewerRegistration.EndpointAddress = asmViewerRegistration.EndpointAddress;
|
||||
itacViewerRegistration.DispatcherEndpointAddress = asmViewerRegistration.DispatcherEndpointAddress;
|
||||
itacViewerRegistration.ViewerGUID = asmViewerRegistration.ViewerGUID;
|
||||
itacViewerRegistration.SIPLACEProStationPath = asmViewerRegistration.SIPLACEProStationPath;
|
||||
itacViewerRegistration.SIPLACEProLinePath = asmViewerRegistration.SIPLACEProLinePath;
|
||||
itacViewerRegistration.SIPLACEProStationIndexInLine = asmViewerRegistration.SIPLACEProStationIndexInLine;
|
||||
itacViewerRegistration.SIPLACEProStationOID = asmViewerRegistration.SIPLACEProStationOID;
|
||||
itacViewerRegistration.SIPLACEProLineOID = asmViewerRegistration.SIPLACEProLineOID;
|
||||
itacViewerRegistration.SIPLACEProDatabaseId = asmViewerRegistration.SIPLACEProDatabaseId;
|
||||
itacViewerRegistration.IPAddressesString = asmViewerRegistration.IPAddressesString;
|
||||
// skip (ignore generic type IPAddress)
|
||||
// skip property Guid, declared in ViewerRegistration
|
||||
itacViewerRegistration.MessagesDeliveredSuccessfully = asmViewerRegistration.MessagesDeliveredSuccessfully;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform list to iTAC namespace array
|
||||
public static ViewerRegistration[] getArray(IList<Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration> asmViewerRegistration)
|
||||
{
|
||||
if (asmViewerRegistration == null) { return null; }
|
||||
ViewerRegistration[] itacViewerRegistration = new ViewerRegistration[asmViewerRegistration.Count];
|
||||
for (int i = 0; i < asmViewerRegistration.Count; i++)
|
||||
{
|
||||
itacViewerRegistration[i] = ViewerRegistrationMapper.get(asmViewerRegistration[i]);
|
||||
}
|
||||
return itacViewerRegistration;
|
||||
}
|
||||
|
||||
// maps ASM namespace conform array to iTAC namespace array
|
||||
public static ViewerRegistration[] getArray(Asm.As.Oib.DisplayService.Contracts.Data.ViewerRegistration[] asmViewerRegistration)
|
||||
{
|
||||
if (asmViewerRegistration == null) { return null; }
|
||||
ViewerRegistration[] itacViewerRegistration = new ViewerRegistration[asmViewerRegistration.Length];
|
||||
for (int i = 0; i < asmViewerRegistration.Length; i++)
|
||||
{
|
||||
itacViewerRegistration[i] = ViewerRegistrationMapper.get(asmViewerRegistration[i]);
|
||||
}
|
||||
return itacViewerRegistration;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user