CustomLibrary DataTable
More...
Inherits DataTable.
|
| TCustomLibraryDataTable (string FileName) |
| Constructor More...
|
|
TCustomLibraryDataTable | Convert () |
| Convert all values in the table from the string to the number with respect to the units of each column. All numbers are stored in basic (SI) units More...
|
|
TStructure | GetStructure (DataRow Row) |
| Convert values from the given row of the table. Values are converted from the string to the number with respect to the units of each column. All numbers are stored in basic (SI) units More...
|
|
new object | Select (string ItemName, string Symbol) |
| Finds the first row whose "Item" is equal to parameter 'ItemName' and returns its property defined by parameter 'Symbol' More...
|
|
Constructor
- Parameters
-
FileName | Reelative path to the source file. Source file must be located it CustomLibrary data folder. |
Convert all values in the table from the string to the number with respect to the units of each column. All numbers are stored in basic (SI) units
- Returns
Convert values from the given row of the table. Values are converted from the string to the number with respect to the units of each column. All numbers are stored in basic (SI) units
- Parameters
-
- Returns
- Structured variable with converted values in basic (SI) units
new object Select |
( |
string |
ItemName, |
|
|
string |
Symbol |
|
) |
| |
Finds the first row whose "Item" is equal to parameter 'ItemName' and returns its property defined by parameter 'Symbol'
- Parameters
-
ItemName | Value of the "Item" property, according to which the row of the table is found. |
Symbol | Name of the property to be returned as a result |
- Returns
- The value of the property 'Symbol' from the DataRow whose "Item" equals to 'ItemName'