UA Bundle SDK .NET
2.1.2.227
|
An object that represents a file that can be accessed via the server. More...
Inherits UnifiedAutomation.UaServer.ModelControllerBase, and UnifiedAutomation.UaServer.IMethodDispatcher.
Inherited by UnifiedAutomation.UaServer.AddressSpaceFileModel.
Public Member Functions | |
FileModel () | |
Initializes a new instance of the FileModel class. More... | |
FileModel (FileModel template) | |
Initializes a new instance of the FileModel class. More... | |
virtual CallMethodEventHandler | GetMethodDispatcher (RequestContext context, NodeId objectId, NodeId methodId) |
Gets the method dispatcher. More... | |
virtual StatusCode | DispatchMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, List< StatusCode > inputArgumentResults, List< Variant > outputArguments) |
Dispatches the method. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
virtual ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) |
Gets the metadata handle. More... | |
virtual DataValue | GetValue (IMapperContext context, ModelMapping mapping) |
Gets the value associated with the mapping. More... | |
virtual bool | SetValue (IMapperContext context, ModelMapping mapping, DataValue value) |
Sets the value associated with the mapping. More... | |
Properties | |
ushort | OpenCount [get, set] |
Gets or sets the OpenCount More... | |
ulong | Size [get, set] |
Gets or sets the Size More... | |
bool | UserWriteable [get, set] |
Gets or sets the UserWriteable More... | |
bool | Writeable [get, set] |
Gets or sets the Writeable More... | |
IFileMethods | FileMethods [get, set] |
Gets or sets the File methods. More... | |
Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
ModelHandle | ModelHandle [get, set] |
Gets or sets the metadata handle. More... | |
object | UserData [get, set] |
Gets or sets the user data. More... | |
An object that represents a file that can be accessed via the server.
UnifiedAutomation.UaServer.FileModel.FileModel | ( | ) |
Initializes a new instance of the FileModel class.
UnifiedAutomation.UaServer.FileModel.FileModel | ( | FileModel | template | ) |
Initializes a new instance of the FileModel class.
template | The template. |
|
virtual |
Dispatches the method.
context | The request context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
inputArgumentResults | The input argument results. |
outputArguments | The output arguments. |
Reimplemented in UnifiedAutomation.UaServer.AddressSpaceFileModel.
|
virtual |
Gets the method dispatcher.
context | The request context. |
objectId | The object id. |
methodId | The method id. |
Implements UnifiedAutomation.UaServer.IMethodDispatcher.
Reimplemented in UnifiedAutomation.UaServer.AddressSpaceFileModel.
|
getset |
Gets or sets the File methods.
The File methods.
|
getset |
Gets or sets the OpenCount
The OpenCount The current number of open file handles.
|
getset |
Gets or sets the Size
The Size The size of the file in bytes.
|
getset |
Gets or sets the UserWriteable
The UserWriteable Whether the file is writeable by the current user.
|
getset |
Gets or sets the Writeable
The Writeable Whether the file is writeable.