ODCinterfacesdataIndex
IDOData
Interface defines functions to interact with data stored in DataObjects and associated with DataPoints
read
Reads stored data
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | Identifier of the DataPoint |
operation | bytes4 | Read operation to execute on the data |
data | bytes | Operation-specific data |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes | Operation-specific data |
write
Stores data
Access to this function MUST be protected and allowed only for Data Index Implementation registered for this DataPoint
Parameters
Name | Type | Description |
---|---|---|
dp | DataPoint | Identifier of the DataPoint |
operation | bytes4 | Write operation to execute on the data |
data | bytes | Operation-specific data |
Return Values
Name | Type | Description |
---|---|---|
[0] | bytes | Operation-specific data (can be empty) |