Class CommonIoTDataDriver
Common base for the IoTDataDrivers
Implements
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 SourceCancelToken
Cancelation token for the cancel of automatic loading of the messages
Declaration
public CancellationToken CancelToken { get; set; }
Property Value
Type | Description |
---|---|
System.Threading.CancellationToken |
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 |
CommonConnParams
Main connection parameters
Declaration
public CommonConnectionParams CommonConnParams { get; set; }
Property Value
Type | Description |
---|---|
CommonConnectionParams |
ComSchemeType
Communication Schemes (Requests - classic API), (PubSub - like MQTT)
Declaration
public CommunicationSchemeType ComSchemeType { get; set; }
Property Value
Type | Description |
---|---|
CommunicationSchemeType |
IoTComType
Communication type - REST API, MSSQL Database, MQTT, etc.
Declaration
public IoTCommunicationType IoTComType { get; set; }
Property Value
Type | Description |
---|---|
IoTCommunicationType |
IsRunning
Is the Driver running - means autorefresh of the messages
Declaration
public bool IsRunning { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Name of the driver
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Driver type
Declaration
public IoTDataDriverType Type { get; set; }
Property Value
Type | Description |
---|---|
IoTDataDriverType |
Methods
| Improve this Doc View SourceDeInit()
Deinit driver communiation - means autorefresh of the messages
Declaration
public abstract Task DeInit()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
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 |
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 SourceNewDataReceived
New message found
Declaration
public abstract event EventHandler<string> NewDataReceived
Event Type
Type | Description |
---|---|
System.EventHandler<System.String> |