The WoTAssetFileType ObjectType represents a set of TD File that is used to define an WoTAsset. It is defined in Table 11.
All instances shall support a mode of Write + EraseExisting when Open is called. They may support mode of Read. Other modes are not allowed.
When writing, if Close is called the file is discard and nothing changes. If CloseAndUpdate is called the file is parsed and the variables are updated to match the WoT TD file.
Table 11 – WoTAssetFileType Definition
Attribute |
Value |
||||
BrowseName |
WoTAssetFileType |
||||
IsAbstract |
False |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of the 0:FileType defined in OPC 10000-5. |
|||||
0:HasComponent |
Method |
CloseAndUpdate |
Defined in 6.3.3.2 |
Mandatory |
|
|
|||||
Conformance Units |
|||||
WoT Connectivity Base Functionality |
The CloseAndUpdate Method parses the TD and creates Variables from the TD properties.