Generated by DocFX

Class CommonIoTDataDriver

Common base for the IoTDataDrivers

Inheritance
System.Object
CommonIoTDataDriver
HARDWARIOIoTDataDriver
Implements
IIoTDataDriver
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.Devices
Assembly: VEDriversLite.dll
Syntax
public abstract class CommonIoTDataDriver : IIoTDataDriver

Properties

| Improve this Doc View Source

CancelToken

Cancelation token for the cancel of automatic loading of the messages

Declaration
public 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
public CancellationTokenSource CancelTokenSource { get; set; }
Property Value
Type Description
System.Threading.CancellationTokenSource
| Improve this Doc View Source

CommonConnParams

Main connection parameters

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

ComSchemeType

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

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

IoTComType

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

Declaration
public 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
public bool IsRunning { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

Name of the driver

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

Type

Driver type

Declaration
public 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
public abstract 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
public abstract 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
public abstract 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
public abstract event EventHandler<string> NewDataReceived
Event Type
Type Description
System.EventHandler<System.String>

Implements

IIoTDataDriver