Documentation
¶
Index ¶
- Constants
- func CommandValuesToEventDTO(cvs []*models.CommandValue, deviceName string, sourceName string, ...) (*dtos.Event, errors.EdgeX)
- func TransformReadResult(cv *sdkModels.CommandValue, pv models.ResourceProperties) errors.EdgeX
- func TransformWriteParameter(cv *dsModels.CommandValue, pv models.ResourceProperties) errors.EdgeX
Constants ¶
View Source
const ( Overflow = "overflow" NaN = "NaN" )
Variables ¶
This section is empty.
Functions ¶
func CommandValuesToEventDTO ¶
func TransformReadResult ¶
func TransformReadResult(cv *sdkModels.CommandValue, pv models.ResourceProperties) errors.EdgeX
TransformReadResult performs the data transformation on outgoing data the outgoing data transformations order can refer to https://docs.edgexfoundry.org/4.0/design/adr/device-service/0011-DeviceService-Rest-API/#data-transformations
func TransformWriteParameter ¶
func TransformWriteParameter(cv *dsModels.CommandValue, pv models.ResourceProperties) errors.EdgeX
TransformWriteParameter performs the data transformation on incoming data the incoming data transformations order can refer to https://docs.edgexfoundry.org/4.0/design/adr/device-service/0011-DeviceService-Rest-API/#data-transformations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.