This class does the actual logging to the database
More...
|
| void | CloseDatabase () |
| | Close the database connection More...
|
| |
| | DatabaseWriter (Queue< LogInfo > logqueue, Queue< CurrValInfo > currvalsqueue) |
| | The constructor More...
|
| |
| void | RequestThreadExit () |
| | Request that the thread should exit More...
|
| |
| void | ThreadRun () |
| | This is the method that is run on a separate thread More...
|
| |
| void | WriteBlockDetails (String name, String setpoint, String vi, String readcontrol, String setcontrol, String buttoncontrol, int options, String nexusname, Double lowlimit, Double highlimit, String units, String currentvalue) |
| | This method is used to write the details about the block to the database. More...
|
| |
| void | WriteConfigName (String name) |
| | Write the configuration name to the database More...
|
| |
This class does the actual logging to the database
Definition at line 184 of file DatabaseLogger.cs.
| Seci.Helpers.DatabaseWriter.DatabaseWriter |
( |
Queue< LogInfo > |
logqueue, |
|
|
Queue< CurrValInfo > |
currvalsqueue |
|
) |
| |
|
inline |
The constructor
- Parameters
-
| logqueue | The log queue |
| currvalsqueue | The current values queue |
Definition at line 206 of file DatabaseLogger.cs.
| void Seci.Helpers.DatabaseWriter.CloseDatabase |
( |
| ) |
|
|
inline |
| static Single Seci.Helpers.DatabaseWriter.correctLimit |
( |
Single |
value | ) |
|
|
inlinestaticprivate |
| void Seci.Helpers.DatabaseWriter.RequestThreadExit |
( |
| ) |
|
|
inline |
| void Seci.Helpers.DatabaseWriter.ThreadRun |
( |
| ) |
|
|
inline |
| void Seci.Helpers.DatabaseWriter.WriteBlockDetails |
( |
String |
name, |
|
|
String |
setpoint, |
|
|
String |
vi, |
|
|
String |
readcontrol, |
|
|
String |
setcontrol, |
|
|
String |
buttoncontrol, |
|
|
int |
options, |
|
|
String |
nexusname, |
|
|
Double |
lowlimit, |
|
|
Double |
highlimit, |
|
|
String |
units, |
|
|
String |
currentvalue |
|
) |
| |
|
inline |
This method is used to write the details about the block to the database.
- Parameters
-
| name | The block name |
| setpoint | The current setpoint |
| vi | The VI |
| readcontrol | The VI control to read |
| setcontrol | The VI control to set |
| buttoncontrol | The VI button to press to set the setpoint |
| options | Is it enabled, under run-control etc |
| nexusname | The NeXus name for the block |
| lowlimit | The lower limit for run-control |
| highlimit | The upper limit for run-control |
| units | The scientific units |
| currentvalue | The current value |
Definition at line 350 of file DatabaseLogger.cs.
| void Seci.Helpers.DatabaseWriter.WriteConfigName |
( |
String |
name | ) |
|
|
inline |
Write the configuration name to the database
- Parameters
-
| name | The name of the configuration |
Definition at line 319 of file DatabaseLogger.cs.
| List<String> Seci.Helpers.DatabaseWriter._currValsNames = new List<string>() |
|
private |
| Queue<CurrValInfo> Seci.Helpers.DatabaseWriter._currValsQueue |
|
private |
| List<String> Seci.Helpers.DatabaseWriter._currValsSetpoints = new List<string>() |
|
private |
| List<String> Seci.Helpers.DatabaseWriter._currValsValues = new List<string>() |
|
private |
| selogcomLib.selog Seci.Helpers.DatabaseWriter._dbCom = new selogcomLib.selog() |
|
private |
| Boolean Seci.Helpers.DatabaseWriter._exitThread |
|
private |
| DateTime Seci.Helpers.DatabaseWriter._firstErrorTime |
|
private |
| Boolean Seci.Helpers.DatabaseWriter._inError = false |
|
private |
| List<String> Seci.Helpers.DatabaseWriter._logNames = new List<string>() |
|
private |
| Queue<LogInfo> Seci.Helpers.DatabaseWriter._logQueue |
|
private |
| List<String> Seci.Helpers.DatabaseWriter._logTimes = new List<string>() |
|
private |
| List<String> Seci.Helpers.DatabaseWriter._logValues = new List<string>() |
|
private |
The documentation for this class was generated from the following file:
- /isis2/instcontrol_temp/NewSECI/Sample_Environment_Control_Interface/Seci/Helpers/DatabaseLogger.cs