List of TableElement objects.
More...
List of TableElement objects.
DirectOutput.Table.TableElementList.TableElementList |
( |
| ) |
|
new void DirectOutput.Table.TableElementList.Add |
( |
TableElement |
TableElement | ) |
|
Adds a TableElement to the list.
- Parameters
-
- Exceptions
-
System.Exception | Cant add null to the list of table elements or The TableElement {Type} {Number} cant be added to the list. Another entry with the same type and number does already exist. |
void DirectOutput.Table.TableElementList.Add |
( |
TableElementTypeEnum |
TableElementType, |
|
|
int |
Number, |
|
|
int |
State |
|
) |
| |
Method for adding a entry to the list.
- Parameters
-
TableElementType | Type of entry to add. |
Number | Number of entry to add. |
State | State of entry to add. |
- Exceptions
-
System.Exception | Cant add null to the list of table elements or The TableElement {Type} {Number} cant be added to the list. Another entry with the same type and number does already exist. |
new bool DirectOutput.Table.TableElementList.Contains |
( |
TableElement |
TableElement | ) |
|
Checks if a specified TableElement is contained in the list.
- Parameters
-
- Returns
- true/false
bool DirectOutput.Table.TableElementList.Contains |
( |
TableElementTypeEnum |
TableElementType, |
|
|
int |
Number |
|
) |
| |
Checks if a specified TableElement is contained in the list.
- Parameters
-
- Returns
- true/false
void DirectOutput.Table.TableElementList.FinishAssignedEffects |
( |
| ) |
|
Finishes the AssignedEffects for all TableElements in this list.
Returns a dictionary for the specified TableElementType
Returns a list of the TableElement objects with the specified type.
- Note
- This method does internaly create a new list of the specified table elements on every call. This is not very fast.
void DirectOutput.Table.TableElementList.InitAssignedEffects |
( |
Table |
Table | ) |
|
Initializes the AssignedEffects for all TableElements in this list.
new bool DirectOutput.Table.TableElementList.Remove |
( |
TableElement |
TableElement | ) |
|
Removes the specified TableElement from the List.
- Parameters
-
- Returns
- true if TableElement has been removed, otherwise false.
bool DirectOutput.Table.TableElementList.Remove |
( |
TableElementTypeEnum |
TableElementType, |
|
|
int |
Number |
|
) |
| |
Removes the TableElement with the specified TableElementType and Number from the list.
- Parameters
-
EventHandler for TableElementValueChanged events.
- Parameters
-
void DirectOutput.Table.TableElementList.UpdateState |
( |
TableElementTypeEnum |
TableElementType, |
|
|
int |
Number, |
|
|
int |
State |
|
) |
| |
Method to update the state and/or add a entry to the list
- Parameters
-
TableElementType | Type of entry to update |
Number | Number of entry to update |
State | State of entry to update |
Dictionary<int, TableElement> DirectOutput.Table.TableElementList.GIString |
|
get |
Returns a dictionary of GIString table elements
Dictionary<int, TableElement> DirectOutput.Table.TableElementList.Lamp |
|
get |
Returns a dictionary of Lamp table elements
Dictionary<int, TableElement> DirectOutput.Table.TableElementList.Mech |
|
get |
Returns a dictionary of Mech table elements
Dictionary<int, TableElement> DirectOutput.Table.TableElementList.Solenoid |
|
get |
Returns a dictionary of Solenoid table elements
Dictionary<int, TableElement> DirectOutput.Table.TableElementList.Switch |
|
get |
Returns a dictionary of Switch table elements
TableElement DirectOutput.Table.TableElementList.this[string TableElementDescriptor] |
|
get |
Gets the TableElement with the specified descriptor (e.g. S48, W14, L59).
The TableElement for the specified descriptor.
- Parameters
-
TableElementDescriptor | The table element descriptor (e.g. S48, W14, L59). |
- Returns
Indexer for for List
- Parameters
-
TableElementType | TableElementType of the TableElement |
Number | Number of TheTableElement |
- Returns
- TableElement with specified TableElementType and Number
Is fired on changes of the value of any TableElement in this collection
The documentation for this class was generated from the following file: