SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | Private Attributes | List of all members
Seci.Definitions.Configuration Class Reference

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...

Collaboration diagram for Seci.Definitions.Configuration:
Collaboration graph

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< AssociatedFileAssociatedFiles [get, set]
 
BlockDictionary Blocks [get, set]
 
ComponentList Components [get, set]
 
String ConfigName [get, set]
 
SerialisableList< ExecutableExecutables [get, set]
 
SerialisableList< GraphDefinitionGraphDefinitions [get, set]
 
SerialisableList< BlockGroupGroups [get, set]
 
SerialisableList
< LabView.LabViewPanelInfo
LVPanels [get, set]
 
Boolean OldSeciFirstTime [get, set]
 
Boolean SavedAsManager [get, set]
 
SerialisableList< String > TabOrder [get, set]
 
SerialisableList< TabTabs [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...
 

Detailed Description

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.

Constructor & Destructor Documentation

Seci.Definitions.Configuration.Configuration ( )
inline

Default Constructor. This constructor is required for XML serialisation and deserialisation.

Definition at line 64 of file Configuration.cs.

Member Function Documentation

void Seci.Definitions.Configuration.DirtySave ( String  fileName)
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.

Parameters
fileNameThe filename to save under

Definition at line 83 of file Configuration.cs.

Member Data Documentation

Tools.AlertsBox Seci.Definitions.Configuration._alerts
private

Container for any alerts that have been set-up.

Definition at line 28 of file Configuration.cs.

SerialisableList<AssociatedFile> Seci.Definitions.Configuration._associatedFiles
private

Container for associated file information.

Definition at line 24 of file Configuration.cs.

BlockDictionary Seci.Definitions.Configuration._blocks
private

The BlockDictionary that stores the block information for this configuration and those of any components.

Definition at line 18 of file Configuration.cs.

ComponentList Seci.Definitions.Configuration._components
private

Container for the components which are part of this configuration.

Definition at line 22 of file Configuration.cs.

String Seci.Definitions.Configuration._configName
private

The name of the configuration.

Definition at line 32 of file Configuration.cs.

SerialisableList<Executable> Seci.Definitions.Configuration._executables
private

Container for any non-LabVIEW programmes.

Definition at line 26 of file Configuration.cs.

SerialisableList<GraphDefinition> Seci.Definitions.Configuration._graphDefinitions
private

Container for graph definitions.

Definition at line 39 of file Configuration.cs.

SerialisableList<BlockGroup> Seci.Definitions.Configuration._groups
private

Container for the groups. The groups are in order.

Definition at line 43 of file Configuration.cs.

SerialisableList<LabView.LabViewPanelInfo> Seci.Definitions.Configuration._lvPanels
private

Container for the LabVIEW VI information that needs to be saved.

Definition at line 20 of file Configuration.cs.

Boolean Seci.Definitions.Configuration._oldSeciFirstTime = false
private

Is it an old Seci config being loaded for the first time?

Definition at line 41 of file Configuration.cs.

Boolean Seci.Definitions.Configuration._savedAsManager
private

Was the configuration saved by the manager account?

Definition at line 30 of file Configuration.cs.

SerialisableList<String> Seci.Definitions.Configuration._tabOrder
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.

SerialisableList<Tab> Seci.Definitions.Configuration._tabs
private

Container for the tabs. The tabs are in order.

Definition at line 37 of file Configuration.cs.

Property Documentation

Tools.AlertsBox Seci.Definitions.Configuration.Alerts
getset

Definition at line 57 of file Configuration.cs.

SerialisableList<AssociatedFile> Seci.Definitions.Configuration.AssociatedFiles
getset

Definition at line 50 of file Configuration.cs.

BlockDictionary Seci.Definitions.Configuration.Blocks
getset

Definition at line 48 of file Configuration.cs.

Referenced by Seci.Managers.ConfigurationMgr.openConfig().

ComponentList Seci.Definitions.Configuration.Components
getset

Definition at line 49 of file Configuration.cs.

String Seci.Definitions.Configuration.ConfigName
getset

Definition at line 46 of file Configuration.cs.

SerialisableList<Executable> Seci.Definitions.Configuration.Executables
getset

Definition at line 51 of file Configuration.cs.

SerialisableList<GraphDefinition> Seci.Definitions.Configuration.GraphDefinitions
getset

Definition at line 56 of file Configuration.cs.

SerialisableList<BlockGroup> Seci.Definitions.Configuration.Groups
getset

Definition at line 55 of file Configuration.cs.

Referenced by Seci.Managers.ConfigurationMgr.openConfig().

SerialisableList<LabView.LabViewPanelInfo> Seci.Definitions.Configuration.LVPanels
getset

Definition at line 47 of file Configuration.cs.

Referenced by Seci.Managers.ConfigurationMgr.openConfig().

Boolean Seci.Definitions.Configuration.OldSeciFirstTime
getset

Definition at line 58 of file Configuration.cs.

Referenced by Seci.Managers.ConfigurationMgr.openConfig().

Boolean Seci.Definitions.Configuration.SavedAsManager
getset

Definition at line 52 of file Configuration.cs.

SerialisableList<String> Seci.Definitions.Configuration.TabOrder
getset

Definition at line 53 of file Configuration.cs.

Referenced by Seci.Managers.ConfigurationMgr.openConfig().

SerialisableList<Tab> Seci.Definitions.Configuration.Tabs
getset

Definition at line 54 of file Configuration.cs.


The documentation for this class was generated from the following file: