Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the BrowseNextResponseApiModel class.
 /// </summary>
 /// <param name="references">References, if included, otherwise
 /// null.</param>
 /// <param name="continuationToken">Continuation token if more results
 /// pending.</param>
 /// <param name="errorInfo">Service result in case of error</param>
 public BrowseNextResponseApiModel(IList <NodeReferenceApiModel> references = default(IList <NodeReferenceApiModel>), string continuationToken = default(string), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     References        = references;
     ContinuationToken = continuationToken;
     ErrorInfo         = errorInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MethodMetadataResponseApiModel
 /// class.
 /// </summary>
 /// <param name="objectId">Id of object that the method is a component
 /// of</param>
 /// <param name="inputArguments">Input argument meta data</param>
 /// <param name="outputArguments">output argument meta data</param>
 public MethodMetadataResponseApiModel(string objectId = default(string), IList <MethodMetadataArgumentApiModel> inputArguments = default(IList <MethodMetadataArgumentApiModel>), IList <MethodMetadataArgumentApiModel> outputArguments = default(IList <MethodMetadataArgumentApiModel>), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     ObjectId        = objectId;
     InputArguments  = inputArguments;
     OutputArguments = outputArguments;
     ErrorInfo       = errorInfo;
     CustomInit();
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the ValueReadResponseApiModel class.
 /// </summary>
 /// <param name="value">Value read</param>
 /// <param name="dataType">Built in data type of the value
 /// read.</param>
 /// <param name="sourcePicoseconds">Pico seconds part of when value was
 /// read at source.</param>
 /// <param name="sourceTimestamp">Timestamp of when value was read at
 /// source.</param>
 /// <param name="serverPicoseconds">Pico seconds part of when value was
 /// read at server.</param>
 /// <param name="serverTimestamp">Timestamp of when value was read at
 /// server.</param>
 public ValueReadResponseApiModel(object value = default(object), string dataType = default(string), int?sourcePicoseconds = default(int?), System.DateTime?sourceTimestamp = default(System.DateTime?), int?serverPicoseconds = default(int?), System.DateTime?serverTimestamp = default(System.DateTime?), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     Value             = value;
     DataType          = dataType;
     SourcePicoseconds = sourcePicoseconds;
     SourceTimestamp   = sourceTimestamp;
     ServerPicoseconds = serverPicoseconds;
     ServerTimestamp   = serverTimestamp;
     ErrorInfo         = errorInfo;
     CustomInit();
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the BrowsePathResponseApiModel class.
 /// </summary>
 /// <param name="targets">Targets</param>
 public BrowsePathResponseApiModel(IList <NodePathTargetApiModel> targets = default(IList <NodePathTargetApiModel>), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     Targets   = targets;
     ErrorInfo = errorInfo;
     CustomInit();
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the AttributeReadResponseApiModel
 /// class.
 /// </summary>
 /// <param name="value">Attribute value</param>
 public AttributeReadResponseApiModel(object value = default(object), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     Value     = value;
     ErrorInfo = errorInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the PublishStopResponseApiModel
 /// class.
 /// </summary>
 /// <param name="errorInfo">Service result in case of error</param>
 public PublishStopResponseApiModel(ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     ErrorInfo = errorInfo;
     CustomInit();
 }
Exemple #7
0
 /// <summary>
 /// Initializes a new instance of the AttributeWriteResponseApiModel
 /// class.
 /// </summary>
 public AttributeWriteResponseApiModel(ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     ErrorInfo = errorInfo;
     CustomInit();
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the MethodCallResponseApiModel class.
 /// </summary>
 /// <param name="results">Output results</param>
 /// <param name="errorInfo">Service result in case of error</param>
 public MethodCallResponseApiModel(IList <MethodCallArgumentApiModel> results = default(IList <MethodCallArgumentApiModel>), ServiceResultApiModel errorInfo = default(ServiceResultApiModel))
 {
     Results   = results;
     ErrorInfo = errorInfo;
     CustomInit();
 }