FileType

The representation of the FileType ObjectType in the address space is shown in the following table:
Name | Attribute |
---|---|
NodeId | i=11575 |
NamespaceUri | http://opcfoundation.org/UA/ |
BrowseName | FileType |
NodeClass | ObjectType |
IsAbstract | False |
SubtypeOf | BaseObjectType |
Categories | Base Info FileType Base |
The references from the FileType ObjectType Node are shown in the following table:
Reference | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
---|---|---|---|---|---|
HasProperty | Variable | Size | UInt64 | PropertyType | Mandatory |
HasProperty | Variable | Writable | Boolean | PropertyType | Mandatory |
HasProperty | Variable | UserWritable | Boolean | PropertyType | Mandatory |
HasProperty | Variable | OpenCount | UInt16 | PropertyType | Mandatory |
HasProperty | Variable | MimeType | String | PropertyType | Optional |
HasProperty | Variable | MaxByteStringLength | UInt32 | PropertyType | Optional |
HasProperty | Variable | LastModifiedTime | DateTime | PropertyType | Optional |
HasComponent | Method | Open | Mandatory | ||
HasComponent | Method | Close | Mandatory | ||
HasComponent | Method | Read | Mandatory | ||
HasComponent | Method | Write | Mandatory | ||
HasComponent | Method | GetPosition | Mandatory | ||
HasComponent | Method | SetPosition | Mandatory | ||
HasSubtype | ObjectType | AddressSpaceFileType | |||
HasSubtype | ObjectType | TrustListType | |||
HasSubtype | ObjectType | PubSubConfigurationType |
Open
Signature
Open(
[in] Byte Mode
[out] UInt32 FileHandle
);
Argument | Description |
---|---|
Mode | |
FileHandle |
Close
Signature
Close(
[in] UInt32 FileHandle
);
Argument | Description |
---|---|
FileHandle |
Read
Signature
Read(
[in] UInt32 FileHandle
[in] Int32 Length
[out] ByteString Data
);
Argument | Description |
---|---|
FileHandle | |
Length | |
Data |
Write
Signature
Write(
[in] UInt32 FileHandle
[in] ByteString Data
);
Argument | Description |
---|---|
FileHandle | |
Data |
GetPosition
Signature
GetPosition(
[in] UInt32 FileHandle
[out] UInt64 Position
);
Argument | Description |
---|---|
FileHandle | |
Position |
SetPosition
Signature
SetPosition(
[in] UInt32 FileHandle
[in] UInt64 Position
);
Argument | Description |
---|---|
FileHandle | |
Position |