Commit 267b0ce5 authored by Ivan Tyagov's avatar Ivan Tyagov

WIP.

parent 147b95a2
......@@ -41,6 +41,7 @@
<Reference ReferenceType="HasProperty">ns=1;i=13</Reference>
</References>
</UAObject>
<!-- getLogLineList method -->
<UAMethod BrowseName="getLogLineList" ParentNodeId="i=85" NodeId="ns=1;i=1">
<DisplayName>getLogLineList</DisplayName>
<Description>Returns all lines of log between two given dates. Raise exception if too many lines</Description>
......@@ -48,36 +49,7 @@
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAMethod BrowseName="getLogLineCount" ParentNodeId="i=85" NodeId="ns=1;i=2">
<DisplayName>getLogLineCount</DisplayName>
<Description> Returns the number of lines of log between two given dates.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAMethod BrowseName="getLogTimeRange" ParentNodeId="i=85" NodeId="ns=1;i=3">
<DisplayName>getLogTimeRange</DisplayName>
<Description>Returns first data and last date of the log.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAMethod BrowseName="getLogIdList" ParentNodeId="i=85" NodeId="ns=1;i=4">
<DisplayName>getLogIdList</DisplayName>
<Description>Returns a list of log IDs.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<!-- getLogDescription method-->
<UAMethod BrowseName="getLogDescription" ParentNodeId="i=85" NodeId="ns=1;i=5">
<DisplayName>getLogDescription</DisplayName>
<Description>Returns a description of a log. Format: {"id": "the log id", "description": "a text describing what this log includes", "format": "a URI to the log format."}</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAVariable NodeId="i=10001" BrowseName="InputArguments" ParentNodeId="ns=1;i=5" DataType="i=296" ValueRank="1">
<UAVariable NodeId="i=10004" BrowseName="InputArguments" ParentNodeId="ns=1;i=1" DataType="i=296" ValueRank="1">
<DisplayName>InputArguments</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
......@@ -94,7 +66,7 @@
<Argument>
<Name>logId</Name>
<DataType>
<Identifier>i=7</Identifier>
<Identifier>i=8</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
......@@ -103,7 +75,194 @@
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
</UANodeSet>
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>from_date</Name>
<DataType>
<Identifier>i=13</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>to_date</Name>
<DataType>
<Identifier>i=13</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
<!-- getLogLineCount method -->
<UAMethod BrowseName="getLogLineCount" ParentNodeId="i=85" NodeId="ns=1;i=2">
<DisplayName>getLogLineCount</DisplayName>
<Description> Returns the number of lines of log between two given dates.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAVariable NodeId="i=10003" BrowseName="InputArguments" ParentNodeId="ns=1;i=2" DataType="i=296" ValueRank="1">
<DisplayName>InputArguments</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">i=11492</Reference>
</References>
<Value>
<ListOfExtensionObject
xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>logId</Name>
<DataType>
<Identifier>i=8</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>from_date</Name>
<DataType>
<Identifier>i=13</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>to_date</Name>
<DataType>
<Identifier>i=13</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
<!-- getLogIdList method -->
<UAMethod BrowseName="getLogIdList" ParentNodeId="i=85" NodeId="ns=1;i=4">
<DisplayName>getLogIdList</DisplayName>
<Description>Returns a list of log IDs.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<!-- getLogTimeRange method -->
<UAMethod BrowseName="getLogTimeRange" ParentNodeId="i=85" NodeId="ns=1;i=3">
<DisplayName>getLogTimeRange</DisplayName>
<Description>Returns first data and last date of the log.</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAVariable NodeId="i=10002" BrowseName="InputArguments" ParentNodeId="ns=1;i=3" DataType="i=296" ValueRank="1">
<DisplayName>InputArguments</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">i=11492</Reference>
</References>
<Value>
<ListOfExtensionObject
xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>logId</Name>
<DataType>
<Identifier>i=8</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
<!-- getLogDescription method-->
<UAMethod BrowseName="getLogDescription" ParentNodeId="i=85" NodeId="ns=1;i=5">
<DisplayName>getLogDescription</DisplayName>
<Description>Returns a description of a log. Format: {"id": "the log id", "description": "a text describing what this log includes", "format": "a URI to the log format."}</Description>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">i=2004</Reference>
</References>
</UAMethod>
<UAVariable NodeId="i=10001" BrowseName="InputArguments" ParentNodeId="ns=1;i=5" DataType="i=296" ValueRank="1">
<DisplayName>InputArguments</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">i=11492</Reference>
</References>
<Value>
<ListOfExtensionObject
xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name>logId</Name>
<DataType>
<Identifier>i=8</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
<ArrayDimensions/>
<Description p5:nil="true"
xmlns:p5="http://www.w3.org/2001/XMLSchema-instance"/>
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
</UANodeSet>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment