Click or drag to resize

IDataProvider Interface

Data providers can provide additional values that can be logged during measurements.

Namespace: CompreDriveSDK.Plugins
Assembly: CompreDriveSDK (in CompreDriveSDK.dll) Version: 1.17.16
Syntax
public interface IDataProvider : ICommandAcceptor

The IDataProvider type exposes the following members.

Properties
 NameDescription
Public propertyIsReady Gets a value indicating if the plugin is successfully set up and ready to provide values.
Public propertyUnit Gets the unit of the value, for e.g. display and log purposes.
Public propertyValueName Gets the name of the value, for e.g. display and log purposes.
Top
Methods
 NameDescription
Public methodAcceptApiInstance Is called during plugin initialization on CompreDriveControl start and allows the plugin to receive an API interface of the CompreDriveControl instance it is loaded into.
(Inherited from ICommandAcceptor)
Public methodExecuteCommand Execute the given command.
(Inherited from ICommandAcceptor)
Public methodGetAvailableCommands Get the commands available to run.
(Inherited from ICommandAcceptor)
Public methodGetValue Read the current value of the data provider.
Public methodSetup Is called once during CompreDriveControl startup, or on user command when starting/stopping plugins. Allows for initialization, e.g. setting up a device connection.
Public methodShutdown Is called during CompreDriveControl shutdown or on user command when starting/stopping plugins. Allows for correct disconnection of devices.
Top
See Also