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 |
CalendarEntries |
An 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 |
BadNodeIdUnknown |
See OPC 10000-4 for a general description. |
BadNotWritable |
See OPC 10000-4 for a general description. |
BadOutOfMemory |
See OPC 10000-4 for a general description. |
Table 7 – AddDateListElements Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
AddDateListElements |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |