The manager class for Block related stuff.
More...
|
| static bool | BlockGroupExists (string name) |
| |
| static List< String > | GetAllBlockValues (Boolean visibleOnly, Boolean includeSetpoint, Boolean includeGroup, Boolean includeWaitState) |
| | Get all the current block values, including any in the components. Format of String is "blockname: value units". More...
|
| |
| static BlockDictionary | GetBlocksClone () |
| | Creates a new BlockDictionary containing all the blocks, including any which are in a component. More...
|
| |
| static String | GetBlockSetpoint (String block) |
| | Gets the set-point value of a specified block in the configuration or its components. More...
|
| |
| static String | GetBlockValue (String blockname) |
| | Gets the value of a specified block in the configuration or its components. More...
|
| |
| static String | GetFormattedBlockValue (String blockname, Boolean includeSetpoint, Boolean includeGroup, Boolean includeWaiting) |
| | Gets a formatted string of form "BlockName: value units". More...
|
| |
| static void | ReorderBlockGroups (List< string > neworder) |
| |
| static Boolean | SetBlockRunControl (String blockname, Boolean enabled, Double low, Double high) |
| | Sets the run-control limits for a block, includes any blocks in components. This is the recommended method for changing all the run-control settings. More...
|
| |
| static void | SetBlocks (BlockDictionary blocks) |
| | This method set the blocks in SECI after they have been created or modified More...
|
| |
| static Boolean | ToggleRunContol (String blockname, Boolean enabled) |
| | Toggle whether run-control is enabled - uses limits set previously. More...
|
| |
The manager class for Block related stuff.
Definition at line 11 of file BlockMgr.cs.
| static bool Seci.Managers.BlockMgr.BlockGroupExists |
( |
string |
name | ) |
|
|
inlinestatic |
| delegate void Seci.Managers.BlockMgr.EnableLoggingChangedEventHandler |
( |
Boolean |
enabled | ) |
|
| static List<String> Seci.Managers.BlockMgr.GetAllBlockValues |
( |
Boolean |
visibleOnly, |
|
|
Boolean |
includeSetpoint, |
|
|
Boolean |
includeGroup, |
|
|
Boolean |
includeWaitState |
|
) |
| |
|
inlinestatic |
Get all the current block values, including any in the components. Format of String is "blockname: value units".
- Parameters
-
| visibleOnly | Whether to include only the blocks set to visible |
| includeSetpoint | Whether to add the setpoint to the string |
| includeGroup | Whether to include the group |
| includeWaitState | Whether to include the waiting state |
- Returns
- String list containing the current values
Definition at line 92 of file BlockMgr.cs.
| static String Seci.Managers.BlockMgr.GetBlockSetpoint |
( |
String |
block | ) |
|
|
inlinestatic |
Gets the set-point value of a specified block in the configuration or its components.
- Parameters
-
| block | The name of the block |
- Returns
- String setpoint value, no units
Definition at line 139 of file BlockMgr.cs.
| static String Seci.Managers.BlockMgr.GetBlockValue |
( |
String |
blockname | ) |
|
|
inlinestatic |
Gets the value of a specified block in the configuration or its components.
- Parameters
-
| blockname | The name of the block |
- Returns
- String value, no units
Definition at line 116 of file BlockMgr.cs.
| static String Seci.Managers.BlockMgr.GetFormattedBlockValue |
( |
String |
blockname, |
|
|
Boolean |
includeSetpoint, |
|
|
Boolean |
includeGroup, |
|
|
Boolean |
includeWaiting |
|
) |
| |
|
inlinestatic |
Gets a formatted string of form "BlockName: value units".
- Parameters
-
| blockname | The name of the block |
| includeSetpoint | Whether to add the setpoint to the string |
| includeGroup | Whether to include the group |
| includeWaiting | Whether to include the waiting state |
- Returns
- Formatted string
Definition at line 129 of file BlockMgr.cs.
| static void Seci.Managers.BlockMgr.ReorderBlockGroups |
( |
List< string > |
neworder | ) |
|
|
inlinestatic |
| static Boolean Seci.Managers.BlockMgr.SetBlockRunControl |
( |
String |
blockname, |
|
|
Boolean |
enabled, |
|
|
Double |
low, |
|
|
Double |
high |
|
) |
| |
|
inlinestatic |
Sets the run-control limits for a block, includes any blocks in components. This is the recommended method for changing all the run-control settings.
- Parameters
-
| blockname | The name of the block |
| enabled | Whether to enable run-control |
| low | The lower limit for run-control |
| high | The upper limit for run-control |
- Returns
- Result
Definition at line 153 of file BlockMgr.cs.
This method set the blocks in SECI after they have been created or modified
- Parameters
-
| blocks | The blocks to replace the existing set |
Definition at line 45 of file BlockMgr.cs.
| static Boolean Seci.Managers.BlockMgr.ToggleRunContol |
( |
String |
blockname, |
|
|
Boolean |
enabled |
|
) |
| |
|
inlinestatic |
Toggle whether run-control is enabled - uses limits set previously.
- Parameters
-
| blockname | The name of the block |
| enabled | Whether to enable run-control |
- Returns
- Result
Definition at line 170 of file BlockMgr.cs.
| Boolean Seci.Managers.BlockMgr._logValuesEnabled = true |
|
staticprivate |
| DateTime Seci.Managers.BlockMgr._timeWentOutOfRange = new DateTime() |
|
staticprivate |
| SerialisableList<BlockGroup> Seci.Managers.BlockMgr.Groups |
|
staticgetset |
| Boolean Seci.Managers.BlockMgr.LogValuesEnabled |
|
staticgetset |
The documentation for this class was generated from the following file:
- /isis2/instcontrol_temp/NewSECI/Sample_Environment_Control_Interface/Seci/Managers/BlockMgr.cs