This class contains all the information that defines the configuration at the SECI level and contains all the code for saving and loading the configuration. Both configurations and components are made from this class. Components are mini-configurations that can be loaded as part of a configuration. All the methods are marked as private or internal as the methods should not be directly accessible from outside the DLL. More...
Public Member Functions | |
Configuration () | |
Default Constructor. This constructor is required for XML serialisation and deserialisation. More... | |
void | DirtySave (String fileName) |
This method saves the configuration in a XML file (for use from old SECI). Can be removed when old SECI is no longer used. More... | |
Properties | |
Tools.AlertsBox | Alerts [get, set] |
SerialisableList< AssociatedFile > | AssociatedFiles [get, set] |
BlockDictionary | Blocks [get, set] |
ComponentList | Components [get, set] |
String | ConfigName [get, set] |
SerialisableList< Executable > | Executables [get, set] |
SerialisableList< GraphDefinition > | GraphDefinitions [get, set] |
SerialisableList< BlockGroup > | Groups [get, set] |
SerialisableList < LabView.LabViewPanelInfo > | LVPanels [get, set] |
Boolean | OldSeciFirstTime [get, set] |
Boolean | SavedAsManager [get, set] |
SerialisableList< String > | TabOrder [get, set] |
SerialisableList< Tab > | Tabs [get, set] |
Private Attributes | |
Tools.AlertsBox | _alerts |
Container for any alerts that have been set-up. More... | |
SerialisableList< AssociatedFile > | _associatedFiles |
Container for associated file information. More... | |
BlockDictionary | _blocks |
The BlockDictionary that stores the block information for this configuration and those of any components. More... | |
ComponentList | _components |
Container for the components which are part of this configuration. More... | |
String | _configName |
The name of the configuration. More... | |
SerialisableList< Executable > | _executables |
Container for any non-LabVIEW programmes. More... | |
SerialisableList< GraphDefinition > | _graphDefinitions |
Container for graph definitions. More... | |
SerialisableList< BlockGroup > | _groups |
Container for the groups. The groups are in order. More... | |
SerialisableList < LabView.LabViewPanelInfo > | _lvPanels |
Container for the LabVIEW VI information that needs to be saved. More... | |
Boolean | _oldSeciFirstTime = false |
Is it an old Seci config being loaded for the first time? More... | |
Boolean | _savedAsManager |
Was the configuration saved by the manager account? More... | |
SerialisableList< String > | _tabOrder |
SerialisableList< Tab > | _tabs |
Container for the tabs. The tabs are in order. More... | |
This class contains all the information that defines the configuration at the SECI level and contains all the code for saving and loading the configuration. Both configurations and components are made from this class. Components are mini-configurations that can be loaded as part of a configuration. All the methods are marked as private or internal as the methods should not be directly accessible from outside the DLL.
Definition at line 15 of file Configuration.cs.
|
inline |
Default Constructor. This constructor is required for XML serialisation and deserialisation.
Definition at line 64 of file Configuration.cs.
|
inline |
This method saves the configuration in a XML file (for use from old SECI). Can be removed when old SECI is no longer used.
fileName | The filename to save under |
Definition at line 83 of file Configuration.cs.
|
private |
Container for any alerts that have been set-up.
Definition at line 28 of file Configuration.cs.
|
private |
Container for associated file information.
Definition at line 24 of file Configuration.cs.
|
private |
The BlockDictionary that stores the block information for this configuration and those of any components.
Definition at line 18 of file Configuration.cs.
|
private |
Container for the components which are part of this configuration.
Definition at line 22 of file Configuration.cs.
|
private |
The name of the configuration.
Definition at line 32 of file Configuration.cs.
|
private |
Container for any non-LabVIEW programmes.
Definition at line 26 of file Configuration.cs.
|
private |
Container for graph definitions.
Definition at line 39 of file Configuration.cs.
|
private |
Container for the groups. The groups are in order.
Definition at line 43 of file Configuration.cs.
|
private |
Container for the LabVIEW VI information that needs to be saved.
Definition at line 20 of file Configuration.cs.
|
private |
Is it an old Seci config being loaded for the first time?
Definition at line 41 of file Configuration.cs.
|
private |
Was the configuration saved by the manager account?
Definition at line 30 of file Configuration.cs.
|
private |
Container for keeping the name of the tabs in order. Did not really want to put it in the configuration but where else could it go? This container is being replaced by the _tabs, but is being kept for back compatibility
Definition at line 35 of file Configuration.cs.
|
private |
Container for the tabs. The tabs are in order.
Definition at line 37 of file Configuration.cs.
|
getset |
Definition at line 57 of file Configuration.cs.
|
getset |
Definition at line 50 of file Configuration.cs.
|
getset |
Definition at line 48 of file Configuration.cs.
Referenced by Seci.Managers.ConfigurationMgr.openConfig().
|
getset |
Definition at line 49 of file Configuration.cs.
|
getset |
Definition at line 46 of file Configuration.cs.
|
getset |
Definition at line 51 of file Configuration.cs.
|
getset |
Definition at line 56 of file Configuration.cs.
|
getset |
Definition at line 55 of file Configuration.cs.
Referenced by Seci.Managers.ConfigurationMgr.openConfig().
|
getset |
Definition at line 47 of file Configuration.cs.
Referenced by Seci.Managers.ConfigurationMgr.openConfig().
|
getset |
Definition at line 58 of file Configuration.cs.
Referenced by Seci.Managers.ConfigurationMgr.openConfig().
|
getset |
Definition at line 52 of file Configuration.cs.
|
getset |
Definition at line 53 of file Configuration.cs.
Referenced by Seci.Managers.ConfigurationMgr.openConfig().
|
getset |
Definition at line 54 of file Configuration.cs.