Generated by DocFX

Interface IIoTDataDriver

Basic interface for IoT Data Driver

Namespace: VEDriversLite.Devices
Assembly: VEDriversLite.dll
Syntax
public interface IIoTDataDriver

Properties

| Improve this Doc View Source

CancelToken

Cancelation token for the cancel of automatic loading of the messages

Declaration
CancellationToken CancelToken { get; set; }
Property Value
Type Description
System.Threading.CancellationToken
| Improve this Doc View Source

CancelTokenSource

Cancelation token source for the cancel of automatic loading of the messages

Declaration
CancellationTokenSource CancelTokenSource { get; set; }
Property Value
Type Description
System.Threading.CancellationTokenSource
| Improve this Doc View Source

CommonConnParams

Main connection parameters

Declaration
CommonConnectionParams CommonConnParams { get; set; }
Property Value
Type Description
CommonConnectionParams
| Improve this Doc View Source

ComSchemeType

Communication Schemes (Requests - classic API), (PubSub - like MQTT)

Declaration
CommunicationSchemeType ComSchemeType { get; set; }
Property Value
Type Description
CommunicationSchemeType
| Improve this Doc View Source

IoTComType

Communication type - REST API, MSSQL Database, MQTT, etc.

Declaration
IoTCommunicationType IoTComType { get; set; }
Property Value
Type Description
IoTCommunicationType
| Improve this Doc View Source

IsRunning

Is the Driver running - means autorefresh of the messages

Declaration
bool IsRunning { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

Name of the driver

Declaration
string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

Driver type

Declaration
IoTDataDriverType Type { get; set; }
Property Value
Type Description
IoTDataDriverType

Methods

| Improve this Doc View Source

DeInit()

Deinit driver communiation - means autorefresh of the messages

Declaration
Task DeInit()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

Init(INFT)

Init driver communication - means autorefresh of the messages

Declaration
Task Init(INFT nft)
Parameters
Type Name Description
INFT nft
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SetConnParams(CommonConnectionParams)

Set connection parameters

Declaration
Task SetConnParams(CommonConnectionParams ccop)
Parameters
Type Name Description
CommonConnectionParams ccop
Returns
Type Description
System.Threading.Tasks.Task

Events

| Improve this Doc View Source

NewDataReceived

New message found

Declaration
event EventHandler<string> NewDataReceived
Event Type
Type Description
System.EventHandler<System.String>