x4Trace Documentation v1.0
Loading...
Searching...
No Matches
Ix4Trace.Server.Engine.Driver Namespace Reference

Classes

class  DriverTimeoutException
 Exception: Driver process is timed out. More...
 
class  DriverVariableNotFoundException
 Exception: Driver varriable is missing. More...
 
class  IDriver
 Represents a driver of x4Trace. Handles the variables of a device. For example via modbus or S7 protokoll or etc... You can implement a driver for the server, server will load and run it. More...
 
class  IDriverManager
 Represents a driver manager. Containg all of driverts of x4Trace. More...
 

Functions

delegate void VariableSet (IDriver driver, Ix4Trace.Engine.Features.Driver.IDriverVariableFeature var, object val)
 Delegate of variable set event.
 
delegate void VariableGet (IDriver driver, Ix4Trace.Engine.Features.Driver.IDriverVariableFeature var, object val)
 Delegate of variable get event.
 
delegate void Disconnected (IDriver driver)
 Delegate of driver disconnected event.
 
delegate void Connected (IDriver driver)
 Delegate of driver connected event.
 
delegate void PollFinished (IDriver driver)
 Delegate of poll of variables is finished.
 
delegate void WriteLog (IDriver driver, string message)
 Delegate of driver log event.
 

Function Documentation

◆ Connected()

delegate void Ix4Trace.Server.Engine.Driver.Connected ( IDriver driver)

Delegate of driver connected event.

Parameters
driverThe driver.

◆ Disconnected()

delegate void Ix4Trace.Server.Engine.Driver.Disconnected ( IDriver driver)

Delegate of driver disconnected event.

Parameters
driverThe driver.

◆ PollFinished()

delegate void Ix4Trace.Server.Engine.Driver.PollFinished ( IDriver driver)

Delegate of poll of variables is finished.

Parameters
driverThe driver.

◆ VariableGet()

delegate void Ix4Trace.Server.Engine.Driver.VariableGet ( IDriver driver,
Ix4Trace.Engine.Features.Driver.IDriverVariableFeature var,
object val )

Delegate of variable get event.

Parameters
driverThe driver.
varThe variable.
valValue to get.

◆ VariableSet()

delegate void Ix4Trace.Server.Engine.Driver.VariableSet ( IDriver driver,
Ix4Trace.Engine.Features.Driver.IDriverVariableFeature var,
object val )

Delegate of variable set event.

Parameters
driverThe driver.
varThe variable.
valValue to set.

◆ WriteLog()

delegate void Ix4Trace.Server.Engine.Driver.WriteLog ( IDriver driver,
string message )

Delegate of driver log event.

Parameters
driverThe driver.
messageThe message.