A general manager class for SECI. Contains the stuff that does not fit into any of the other manager classes
More...
|
static void | ClearDatabaseQueues () |
|
static void | ClearGraphs () |
|
static void | CloseSeci () |
| Closes SECI by making sure everything is closed etc. More...
|
|
static Boolean | InitialiseLabView (Boolean loadStandardVIs) |
| Initialise LabVIEW and load any default VIs. More...
|
|
static void | InitialiseSeci (String exeDir) |
| Initialises SECI. Needs to be called before SECI does anything else. More...
|
|
static Boolean | LogInAsManager (String password) |
| Method for logging in as manager. Tests password against that of the manager account and returns true if it matches. More...
|
|
static void | PauseThreads () |
| Pause the ValuesUpdater and LVMQUpdater. More...
|
|
static void | ResumeThreads () |
| Resume the ValuesUpdater and LVMQUpdater after pausing. More...
|
|
static void | StartThreads (Boolean startBlockUpdater, Boolean startLVMQUpdater) |
| Start the ValuesUpdater and LVMQUpdater running. More...
|
|
|
static void | clearOutLabViewLogs () |
| This clears out any logfiles that are older than a certain amount More...
|
|
static void | daeValuesUpdated (Boolean timeout) |
| This method is run when the ValuesUpdater raises a OnValuesUpdated event. The event is just passed on to the GUI level. More...
|
|
static Boolean | enableDotNetRemoting () |
| Enables Dot Net remoting for web access etc. More...
|
|
static void | initialiseDae () |
| Initialise the DAE. This loads the DAE VI and starts it running. Also adds a event handler for watching for start and end of runs. More...
|
|
static void | messageQLabviewNotThere (object sender, EventArgs e) |
|
static void | messageQNewLVMessage (object sender, EventArgs e) |
| This method is run when the LVMQUpdater raises a OnNewLVMessage event. The event is just passed on to the GUI level. More...
|
|
static void | runStartedOrEnded (DateTime time, string runNumber) |
| Logs the block values at the start or end of the run. More...
|
|
A general manager class for SECI. Contains the stuff that does not fit into any of the other manager classes
Definition at line 17 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.ClearDatabaseQueues |
( |
| ) |
|
|
inlinestatic |
static void Seci.Managers.SeciMgr.ClearGraphs |
( |
| ) |
|
|
inlinestatic |
static void Seci.Managers.SeciMgr.clearOutLabViewLogs |
( |
| ) |
|
|
inlinestaticprivate |
static void Seci.Managers.SeciMgr.CloseSeci |
( |
| ) |
|
|
inlinestatic |
Closes SECI by making sure everything is closed etc.
Definition at line 124 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.daeValuesUpdated |
( |
Boolean |
timeout | ) |
|
|
inlinestaticprivate |
This method is run when the ValuesUpdater raises a OnValuesUpdated event. The event is just passed on to the GUI level.
- Parameters
-
sender | The sender |
e | The event arguments |
Definition at line 140 of file SeciMgr.cs.
static Boolean Seci.Managers.SeciMgr.enableDotNetRemoting |
( |
| ) |
|
|
inlinestaticprivate |
Enables Dot Net remoting for web access etc.
- Returns
- Result
Definition at line 180 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.initialiseDae |
( |
| ) |
|
|
inlinestaticprivate |
Initialise the DAE. This loads the DAE VI and starts it running. Also adds a event handler for watching for start and end of runs.
Definition at line 259 of file SeciMgr.cs.
static Boolean Seci.Managers.SeciMgr.InitialiseLabView |
( |
Boolean |
loadStandardVIs | ) |
|
|
inlinestatic |
static void Seci.Managers.SeciMgr.InitialiseSeci |
( |
String |
exeDir | ) |
|
|
inlinestatic |
Initialises SECI. Needs to be called before SECI does anything else.
- Parameters
-
exeDir | The directory from which SECI is running. |
Definition at line 50 of file SeciMgr.cs.
static Boolean Seci.Managers.SeciMgr.LogInAsManager |
( |
String |
password | ) |
|
|
inlinestatic |
Method for logging in as manager. Tests password against that of the manager account and returns true if it matches.
- Parameters
-
password | The password to compare against that of the manager |
- Returns
- True if the manager is logged in
Definition at line 348 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.messageQLabviewNotThere |
( |
object |
sender, |
|
|
EventArgs |
e |
|
) |
| |
|
inlinestaticprivate |
static void Seci.Managers.SeciMgr.messageQNewLVMessage |
( |
object |
sender, |
|
|
EventArgs |
e |
|
) |
| |
|
inlinestaticprivate |
This method is run when the LVMQUpdater raises a OnNewLVMessage event. The event is just passed on to the GUI level.
- Parameters
-
sender | The sender |
e | The event arguments |
Definition at line 156 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.PauseThreads |
( |
| ) |
|
|
inlinestatic |
Pause the ValuesUpdater and LVMQUpdater.
Definition at line 306 of file SeciMgr.cs.
delegate void Seci.Managers.SeciMgr.RemotingEventHandler |
( |
String[] |
vars | ) |
|
static void Seci.Managers.SeciMgr.ResumeThreads |
( |
| ) |
|
|
inlinestatic |
Resume the ValuesUpdater and LVMQUpdater after pausing.
Definition at line 322 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.runStartedOrEnded |
( |
DateTime |
time, |
|
|
string |
runNumber |
|
) |
| |
|
inlinestaticprivate |
Logs the block values at the start or end of the run.
- Parameters
-
time | The time the run started or ended |
runNumber | The relevant run number |
Definition at line 276 of file SeciMgr.cs.
static void Seci.Managers.SeciMgr.StartThreads |
( |
Boolean |
startBlockUpdater, |
|
|
Boolean |
startLVMQUpdater |
|
) |
| |
|
inlinestatic |
Start the ValuesUpdater and LVMQUpdater running.
- Parameters
-
startBlockUpdater | Whether to start the block updater |
startLVMQUpdater | Whether to start the LVMQ updater |
Definition at line 288 of file SeciMgr.cs.
delegate void Seci.Managers.SeciMgr.ValuesUpdatedEventHandler |
( |
Boolean |
timeout | ) |
|
Delegate for passing "values updated" event to the GUI level.
Boolean Seci.Managers.SeciMgr._lvmqUpdaterEnabled |
|
staticprivate |
int Seci.Managers.SeciMgr._maxLVFileAge = 7 |
|
staticprivate |
Boolean Seci.Managers.SeciMgr._valuesUpdaterEnabled |
|
staticprivate |
Boolean Seci.Managers.SeciMgr.IsBusy |
|
staticgetset |
Boolean Seci.Managers.SeciMgr.WebDashboardEnabled |
|
staticgetset |
Boolean Seci.Managers.SeciMgr.WebDashboardShowTitle |
|
staticgetset |
EventHandler Seci.Managers.SeciMgr.OnLVNotThere |
|
static |
EventHandler Seci.Managers.SeciMgr.OnNewLVMessage |
|
static |
Delegate for passing "new LabVIEW message" event to the GUI level.
Definition at line 43 of file SeciMgr.cs.
The documentation for this class was generated from the following file:
- /isis2/instcontrol_temp/NewSECI/Sample_Environment_Control_Interface/Seci/Managers/SeciMgr.cs