The manager class for the configuration
More...
|
static void | addBlocks (String compName) |
| Set the owning name of the blocks then add to the block dictionary. More...
|
|
static BlockDictionary | correctOldSeciBlocks (BlockDictionary blocks) |
| Method for converting blocks from old SECI in to a format for new Seci. More...
|
|
static bool | groupExists (SerialisableList< BlockGroup > groups, string name) |
|
static void | loadAssocFiles (String compName) |
| When loading or adding a component this method loads any associated files that are part of the component. More...
|
|
static void | loadComponentExes (String compName) |
| When loading or adding a component this method loads any executables that are part of the More...
|
|
static void | loadComponentVIs (String compName) |
| When adding a component to a configuration this method loads all (if any) LabVIEW VIs in the component. More...
|
|
static void | loadVIsAndInitialise (SerialisableList< LabView.LabViewPanelInfo > panels) |
| Loads all (if any) LabVIEW VIs in the configuration when it is opened. Also loads any VIs in any components that are part of this configuration. More...
|
|
static void | openConfig (String fileName) |
| Open a configuration or component. Calls LoadConfig to open the configuration file and create a SeciConfiguration object from that file. The new configuration is copied on to the current configuration. Any VIs and executables in the configuration are then loaded. More...
|
|
static void | saveConfig (Boolean manager, Boolean isAutosave) |
| This method saves the configuration or component in a XML file. More...
|
|
static void | startVI (Seci.LabView.LabViewPanelInfo Panel) |
| This method starts the VI and waits a specified number of seconds. More...
|
|
The manager class for the configuration
Definition at line 19 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.addBlocks |
( |
String |
compName | ) |
|
|
inlinestaticprivate |
Set the owning name of the blocks then add to the block dictionary.
- Parameters
-
compName | The name of the component |
Definition at line 789 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.AddComponentTabs |
( |
| ) |
|
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.CloseConfiguration |
( |
Boolean |
killIcp | ) |
|
|
inlinestatic |
Closes the configuration - this also kills the LabVIEW process.
- Parameters
-
killIcp | Whether to kill the ICP |
Definition at line 467 of file ConfigurationMgr.cs.
Method for converting blocks from old SECI in to a format for new Seci.
- Parameters
-
- Returns
Definition at line 658 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.CreateNewConfiguration |
( |
| ) |
|
|
inlinestatic |
static int [] Seci.Managers.ConfigurationMgr.GetConfigPanelPosition |
( |
String |
filename, |
|
|
Boolean |
getPrevPosition |
|
) |
| |
|
inlinestatic |
static List<GraphDefinition> Seci.Managers.ConfigurationMgr.GetGraphDefinitions |
( |
| ) |
|
|
inlinestatic |
Method for getting the graph definitions from the configuration.
- Returns
- A list of graph definitions
Definition at line 625 of file ConfigurationMgr.cs.
static List<String> Seci.Managers.ConfigurationMgr.GetNames |
( |
| ) |
|
|
inlinestatic |
Gets a list of the names of the components that are part of the current configuration.
- Returns
- String List of the component names
Definition at line 768 of file ConfigurationMgr.cs.
static List<String> Seci.Managers.ConfigurationMgr.GetTabOrder |
( |
| ) |
|
|
inlinestatic |
Method for getting the tab order from the configuration.
- Returns
- A list of strings containing a copy of the tab names in order
Definition at line 528 of file ConfigurationMgr.cs.
static SerialisableList<Tab> Seci.Managers.ConfigurationMgr.GetTabs |
( |
| ) |
|
|
inlinestatic |
static bool Seci.Managers.ConfigurationMgr.groupExists |
( |
SerialisableList< BlockGroup > |
groups, |
|
|
string |
name |
|
) |
| |
|
inlinestaticprivate |
static void Seci.Managers.ConfigurationMgr.loadAssocFiles |
( |
String |
compName | ) |
|
|
inlinestaticprivate |
When loading or adding a component this method loads any associated files that are part of the component.
- Parameters
-
compName | The name of the component |
Definition at line 882 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.loadComponentExes |
( |
String |
compName | ) |
|
|
inlinestaticprivate |
When loading or adding a component this method loads any executables that are part of the
- Parameters
-
compName | The name of the component |
Definition at line 868 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.LoadComponentsVisExes |
( |
| ) |
|
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.loadComponentVIs |
( |
String |
compName | ) |
|
|
inlinestaticprivate |
When adding a component to a configuration this method loads all (if any) LabVIEW VIs in the component.
- Parameters
-
compName | The name of the component |
Definition at line 821 of file ConfigurationMgr.cs.
Loads all (if any) LabVIEW VIs in the configuration when it is opened. Also loads any VIs in any components that are part of this configuration.
- Parameters
-
panels | The LabViewPanelInfo for the VIs to load |
Definition at line 395 of file ConfigurationMgr.cs.
static Boolean Seci.Managers.ConfigurationMgr.OkayToSave |
( |
Boolean |
manager | ) |
|
|
inlinestatic |
Checks that the current user has permission to overwrite the configuration. Uses DotNet XPath methods to find answer.
- Parameters
-
manager | Is the current user a manager? |
- Returns
- Returns true if the user can overwrite the configuration
Definition at line 160 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.openConfig |
( |
String |
fileName | ) |
|
|
inlinestaticprivate |
static Boolean Seci.Managers.ConfigurationMgr.OpenConfiguration |
( |
String |
fileName | ) |
|
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.saveConfig |
( |
Boolean |
manager, |
|
|
Boolean |
isAutosave |
|
) |
| |
|
inlinestaticprivate |
This method saves the configuration or component in a XML file.
- Parameters
-
manager | Is the configuration being saved by the manager account? |
isAutosave | Is the configuration being saved automatically? |
Definition at line 63 of file ConfigurationMgr.cs.
static Boolean Seci.Managers.ConfigurationMgr.SaveConfiguration |
( |
Boolean |
manager, |
|
|
Boolean |
autoSave |
|
) |
| |
|
inlinestatic |
Save the current configuration or component with the current user rights.
- Parameters
-
manager | Is the current user a manager? |
autoSave | Is this an autosave? |
- Returns
- Result
Definition at line 49 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.SetConfigPanelPosition |
( |
String |
filename, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.SetGraphDefinitions |
( |
List< GraphDefinition > |
graphs | ) |
|
|
inlinestatic |
Method for adding graph definitions to the configuration for saving.
- Parameters
-
graphs | The list of graph definitions |
Definition at line 586 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.SetTabOrder |
( |
List< String > |
tabs | ) |
|
|
inlinestatic |
Method for setting the tab order in the configuration.
- Parameters
-
tabs | The list of tab names in order. |
Definition at line 511 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.SetTabs |
( |
SerialisableList< Tab > |
tabs | ) |
|
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.SetTabVisibility |
( |
String |
tabname, |
|
|
Boolean |
visible |
|
) |
| |
|
inlinestatic |
This method starts the VI and waits a specified number of seconds.
- Parameters
-
Definition at line 451 of file ConfigurationMgr.cs.
static void Seci.Managers.ConfigurationMgr.StartVIs |
( |
| ) |
|
|
inlinestatic |
static void Seci.Managers.ConfigurationMgr.SwapTabs |
( |
String |
name1, |
|
|
String |
name2 |
|
) |
| |
|
inlinestatic |
String Seci.Managers.ConfigurationMgr.ConfigName |
|
staticgetset |
This event signals that a different configuration has been requested.
Definition at line 30 of file ConfigurationMgr.cs.
The documentation for this class was generated from the following file:
- /isis2/instcontrol_temp/NewSECI/Sample_Environment_Control_Interface/Seci/Managers/ConfigurationMgr.cs