Outputs - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

Transfer object using the simple list as defined above.

Dim ldatSince As Nullable(Of Date) = Nothing

‘ Default setting was 01/01/2000 so if date different then use it.

If datSinceDate.Value.Year <> 2000 Or datSinceDate.Value.Month <> 1 Or datSinceDate.Value.Day <> 1 Then

ldatSince = datSinceDate.Value

End If

Dim lobjDownloadService As New DownloadService.DownloadSoapClient

Dim lobjResponse As DownloadService.XFRDataTransfer = lobjDownloadService.GetObjectsNewlyAllocated(lblSessionId.Text, lstrClassDef, lstrName, ldatSince, CheckBox1.Checked, CInt(MaxNumber.Value))

In the Serialized DataTransfer response below, it returned three items each with a set of normalized attributes/properties.

<XFRDataTransfer SourceUTCDateYYYYMMDD="05/02/2010 14:04:32" Description="Count = 3 Criteria: ClassDef DEVTag Name 20% SinceDate IncludeHistorical False MaxNumber 0" Source="GetObjectsNewlyAllocated">

<XFRConfiguration Plant="PlantA" xmlns="http://localhost/SPF40Server/" />

<XFRItems xmlns="http://localhost/SPF40Server/">

<XFRItem N="20CB200-PLA" C="DEVTag">

<XFRA V="99W000A" N="OBID" />

<XFRA V="SPF" N="DomainUID" />

<XFRA V="c2ada62f-8394-4c76-be5d-90118cce95bb" N="UID" />

<XFRA V="PL_PlantA" N="Config" />

<XFRA V="2010/01/29-18:12:00:177" N="CreationDate" />

<XFRA V="2010/01/29-18:12:00:208" N="LastUpdatedDate" />

<XFRA V="9999/12/31-23:59:59:999" N="TerminationDate" />

<XFRA V="superuser" N="CreationUser" />

<XFRA V="TG_20CB200-PLA_PlantA" N="UniqueKey" />

</XFRItem>

<XFRItem N="20CB201" C="DEVTag">

<XFRA V="1JP000A" N="OBID" />

<XFRA V="SPF" N="DomainUID" />

<XFRA V="084987e2-f49d-46d9-827e-172c5c2d00fd" N="UID" />

<XFRA V="2009/12/17-16:31:55:002" N="CreationDate" />

<XFRA V="2010/01/11-12:41:19:399" N="LastUpdatedDate" />

<XFRA V="9999/12/31-23:59:59:999" N="TerminationDate" />

<XFRA V="superuser" N="CreationUser" />

<XFRA V="TG_20CB201_ConfigurationTop" N="UniqueKey" />

</XFRItem>

<XFRItem N="20CB201-PLA" C="DEVTag">

<XFRA V="99X000A" N="OBID" />

<XFRA V="SPF" N="DomainUID" />

<XFRA V="b5308780-a7cf-44d1-b4c3-9aa1ddef497a" N="UID" />

<XFRA V="PL_PlantA" N="Config" />

<XFRA V="2010/01/29-18:12:08:913" N="CreationDate" />

<XFRA V="2010/01/29-18:12:08:929" N="LastUpdatedDate" />

<XFRA V="9999/12/31-23:59:59:999" N="TerminationDate" />

<XFRA V="superuser" N="CreationUser" />

<XFRA V="TG_20CB201-PLA_PlantA" N="UniqueKey" />

</XFRItem>

</XFRItems>

</XFRDataTransfer>