46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
namespace com.itac.oib.traceability.contracts.data
|
|
{
|
|
// source: assembly 3.0.0.0
|
|
// source: assembly ASM.AS.OIB.Client
|
|
public class PingRequestMapper
|
|
{
|
|
// used for itac->asm: False
|
|
// used for asm->itac: True
|
|
|
|
// maps iTAC namespace conform type to ASM namespace type
|
|
public static PingRequest get(www.siplace.com.OIB._2012._03.Traceability.Contracts.Data.PingRequest pingRequest)
|
|
{
|
|
if (pingRequest == null) { return null; }
|
|
PingRequest result = new PingRequest();
|
|
// skip complex asm property ExtensionData
|
|
return result;
|
|
}
|
|
|
|
// maps ASM namespace conform list to iTAC namespace array
|
|
public static PingRequest[] getArray(List<www.siplace.com.OIB._2012._03.Traceability.Contracts.Data.PingRequest> pingRequest)
|
|
{
|
|
if (pingRequest == null) { return null; }
|
|
PingRequest[] result = new PingRequest[pingRequest.Count];
|
|
for (int i = 0; i < pingRequest.Count; i++)
|
|
{
|
|
result[i] = PingRequestMapper.get(pingRequest[i]);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
// maps ASM namespace conform array to iTAC namespace array
|
|
public static PingRequest[] getArray(www.siplace.com.OIB._2012._03.Traceability.Contracts.Data.PingRequest[] pingRequest)
|
|
{
|
|
if (pingRequest == null) { return null; }
|
|
PingRequest[] result = new PingRequest[pingRequest.Length];
|
|
for (int i = 0; i < pingRequest.Length; i++)
|
|
{
|
|
result[i] = PingRequestMapper.get(pingRequest[i]);
|
|
}
|
|
return result;
|
|
}
|
|
}
|
|
}
|