OPCFoundation / UA-CloudLibrary

OPC UA Information Model database with a REST and GraphQL interface, as well as user management. The global instance of this (hosted by the OPC Foundation) can be found at https://uacloudlibrary.opcfoundation.org.
Other
37 stars 18 forks source link

Take PublicationDate and LastModified entries from nodeset file instead of asking user to enter #40

Closed barnstee closed 2 years ago

barnstee commented 2 years ago

The Nodeset2 XML has the following two fields, e.g.

<UANodeSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" LastModified="2020-11-25T07:31:56.478Z" xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd">

http://opcfoundation.org/UA/DI/ http://PLCopen.org/OpcUa/IEC61131-3/
barnstee commented 2 years ago

This needs to be discussed before implementing...

barnstee commented 2 years ago

Decisions: Publication date must be set. Publication date cannot be in the future. Publication date cannot be the same as previously uploaded. Last Modified date , if set, must be later than publication date. Last Modified date cannot be in the future. If Last modified date is not present, we use DateTime.UTCNow. Both must be in UTC.