7.1.3 Method AddDateListElements

This Method adds entries to the DateList Property. Even if one entry cannot be added, the other entries are still processed and added, if possible. The signature of this Method is specified below. Table 6 and Table 7 specify the Arguments and AddressSpace representation, respectively.

Signature

	AddDateListElements (
		[in]		CalendarEntryType[]		CalendarEntries
		[out]	0:Int32[]				EntryResults
		);
Table 6 – AddDateListElements Method Arguments
Argument Description
CalendarEntriesAn array of calendar entries to be added to the DateList Property.
EntryResults

An array of results, one entry per entry in CalendarEntries, indicating if the individual entry could be added. Each result <> 0 indicates, that adding this calendar entry was not successful.

0 – OK

-1 – Duplicate – Entry already in DateList

-2 – Invalid Format – The entry contains an invalid format, e.g. an invalid range

Values larger 0 can be used for vendor-specific errors.

Method Result Codes (defined in Call Service)

Result Code Description
BadNodeIdUnknownSee OPC 10000-4 for a general description.
BadNotWritableSee OPC 10000-4 for a general description.
BadOutOfMemorySee OPC 10000-4 for a general description.
Table 7 – AddDateListElements Method AddressSpace definition
Attribute Value
BrowseNameAddDateListElements
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[] 0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[] 0:PropertyType0:Mandatory