This class is used performs the following tasks: More...
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 |
This class is used performs the following tasks:
Definition at line 16 of file DatabaseLogger.cs.
|
inlinestatic |
Add a current value to the queue
blockname | The name of the block |
value | The value to log |
setpoint | The setpoint to log |
Definition at line 71 of file DatabaseLogger.cs.
|
inlinestatic |
Add a log value to the queue
time | The log time |
blockname | The name of the block |
value | The value to log |
Definition at line 41 of file DatabaseLogger.cs.
|
inlinestatic |
Definition at line 153 of file DatabaseLogger.cs.
|
inlinestatic |
Close the database connection
Definition at line 175 of file DatabaseLogger.cs.
|
inlinestatic |
Log the configuration name
config | The name of the configuration |
Definition at line 107 of file DatabaseLogger.cs.
|
inlinestatic |
Starts the logger thread.
Definition at line 26 of file DatabaseLogger.cs.
|
inlinestatic |
Stop the logging thread
Definition at line 98 of file DatabaseLogger.cs.
|
inlinestatic |
Definition at line 112 of file DatabaseLogger.cs.
|
staticprivate |
Definition at line 20 of file DatabaseLogger.cs.
|
staticprivate |
Definition at line 18 of file DatabaseLogger.cs.
|
staticprivate |
Definition at line 21 of file DatabaseLogger.cs.
|
staticprivate |
Definition at line 19 of file DatabaseLogger.cs.