SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | Static Private Attributes | List of all members
Seci.Helpers.DatabaseLogger Class Reference

This class is used performs the following tasks: More...

Collaboration diagram for Seci.Helpers.DatabaseLogger:
Collaboration graph

Static Public Member Functions

static void AddCurrentValue (String blockname, String value, String setpoint)
 Add a current value to the queue More...
 
static void AddLogValue (String time, String blockname, String value)
 Add a log value to the queue More...
 
static void ClearQueues ()
 
static void CloseDatabase ()
 Close the database connection More...
 
static void LogConfigName (String config)
 Log the configuration name More...
 
static void StartLogger ()
 Starts the logger thread. More...
 
static void StopDatabaseLoggerThread ()
 Stop the logging thread More...
 
static void WriteBlockDetails ()
 

Static Private Attributes

static Queue< CurrValInfo_currValsQueue
 
static DatabaseWriter _dbWriter
 
static Thread _dbWriterThread
 
static Queue< LogInfo_logQueue
 

Detailed Description

This class is used performs the following tasks:

Definition at line 16 of file DatabaseLogger.cs.

Member Function Documentation

static void Seci.Helpers.DatabaseLogger.AddCurrentValue ( String  blockname,
String  value,
String  setpoint 
)
inlinestatic

Add a current value to the queue

Parameters
blocknameThe name of the block
valueThe value to log
setpointThe setpoint to log

Definition at line 71 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.AddLogValue ( String  time,
String  blockname,
String  value 
)
inlinestatic

Add a log value to the queue

Parameters
timeThe log time
blocknameThe name of the block
valueThe value to log

Definition at line 41 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.ClearQueues ( )
inlinestatic

Definition at line 153 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.CloseDatabase ( )
inlinestatic

Close the database connection

Definition at line 175 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.LogConfigName ( String  config)
inlinestatic

Log the configuration name

Parameters
configThe name of the configuration

Definition at line 107 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.StartLogger ( )
inlinestatic

Starts the logger thread.

Definition at line 26 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.StopDatabaseLoggerThread ( )
inlinestatic

Stop the logging thread

Definition at line 98 of file DatabaseLogger.cs.

static void Seci.Helpers.DatabaseLogger.WriteBlockDetails ( )
inlinestatic

Definition at line 112 of file DatabaseLogger.cs.

Member Data Documentation

Queue<CurrValInfo> Seci.Helpers.DatabaseLogger._currValsQueue
staticprivate

Definition at line 20 of file DatabaseLogger.cs.

DatabaseWriter Seci.Helpers.DatabaseLogger._dbWriter
staticprivate

Definition at line 18 of file DatabaseLogger.cs.

Thread Seci.Helpers.DatabaseLogger._dbWriterThread
staticprivate

Definition at line 21 of file DatabaseLogger.cs.

Queue<LogInfo> Seci.Helpers.DatabaseLogger._logQueue
staticprivate

Definition at line 19 of file DatabaseLogger.cs.


The documentation for this class was generated from the following file: