Assembly: OpenTD.Results.dll An abstract class representing a set of solution results from a Sinda run. Returns data as DataArrays.
Inheritance
object ← DatasetDerived
SimpleDatasetImplements
IDatasetInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
Dataset()
Properties
AutoCommenter
Property Value
AutoCommenterAutoNamer
Property Value
AutoNamerComment
Property Value
stringInternalSuggestedComment
Property Value
stringInternalSuggestedName
Property Value
stringName
Property Value
stringSource
The name of the source of the data.Property Value
stringUDFAManager
Property Value
IUDFAManagerUnits
The unit system of the dataset.Property Value
UnitsDataMethods
Close()
GetAbszro()
Returns
Dimensional<Temp>GetConductorIds(string)
Parameters
submodel string
Returns
List<long>GetConstraintData(long, DataSubtype, UnitsData)
Parameters
constraintNumber long
subtype DataSubtype
units UnitsData
Returns
DataArrayGetData(DataItemIdentifierCollection)
Gets data for a collection of data items (e.g., “MAIN.T10”, “FLOW.TL40”, etc.).Parameters
dataItems DataItemIdentifierCollection
Returns
DataArrayCollection ADataArrayCollection for the requested dataItems.
GetData(params string[])
Parameters
sindaNames string[]
Returns
DataArrayCollectionGetData(ItemIdentifierCollection, DataSubtype, UnitsData)
Parameters
itemIds ItemIdentifierCollection
subtype DataSubtype
units UnitsData
Returns
DataArrayCollectionGetDataAtRecord(DataSubtype, long)
Gets all data for a given subtype at a single record. If recordNum is invalid, or if no data of the given subtype exists at the record, will return an empty DataArray.Parameters
subtype DataSubtype
recordNum long
Returns
DataArrayExceptions
OpenTDException Thrown if theDataSubtype
represents a character UDFA.
GetFluidSubmodels()
Returns
List<string>GetFtieIds(string)
Parameters
submodel string
Returns
List<long>GetIfaceIds(string)
Parameters
submodel string
Returns
List<long>GetInternalIndex(DataTypes, string, long)
The 0-indexed position of the given Sinda entity in arrays returned by GetDataAtRecord. Returns -1 if entity can’t be found.Parameters
dataType DataTypes
submodel string
id long
Returns
longSee Also
Dataset.GetDataAtRecord(DataSubtype, long)GetInternalIndex(string)
The 0-indexed position of the given register in arrays returned by GetRegisterDataAtRecord. Returns -1 if registerName can’t be found.Parameters
registerName string
Returns
longSee Also
Dataset.GetRegisterDataAtRecord(long, DataSubtype, UnitsData)GetLoopcoData()
Returns
List<long>GetLoopctData()
Returns
List<long>GetLumpIds(string)
Parameters
submodel string
Returns
List<long>GetNamedInt(IntegerNames)
Parameters
name IntegerNames
Returns
longGetNamedInt(string)
Parameters
name string
Returns
longGetNamedIntArray(ArrayIntegerNames)
Parameters
name ArrayIntegerNames
Returns
List<long>GetNamedIntArray(string)
Parameters
name string
Returns
List<long>GetNodeIds(string)
Parameters
submodel string
Returns
List<long>GetNpcsrec(long)
Parameters
recordNum long
Returns
longGetNsol(long)
Parameters
recordNum long
Returns
longGetPathIds(string)
Parameters
submodel string
Returns
List<long>GetPatmos()
Returns
Dimensional<Pressure>GetRecordNames()
Returns
List<string>GetRecordNumbers()
Returns
List<long>GetRecordNumbersAsDataArray()
Returns
DataArrayGetRegisterData(string, DataSubtype, UnitsData)
Gets all data for a register across all records. If data doesn’t exist at a record, NaN will be returned instead.Parameters
registerName string
subtype DataSubtype
units UnitsData
Returns
DataArrayGetRegisterDataAtRecord(long, DataSubtype, UnitsData)
Gets all register data at a single record. Use GetRegisterNames to get a list of register names in the same order as the data returned from this method. Or use GetInternalIndex to find the index of a specific register in this list. If recordNum is invalid, or if no register data exists at the record, will return an empty DataArray.Parameters
recordNum long
subtype DataSubtype
units UnitsData
Returns
DataArraySee Also
Dataset.GetRegisterNames(), Dataset.GetInternalIndex(DataTypes, string, long)GetRegisterNames()
Returns
List<string>GetReliabilityData(long, DataSubtype, UnitsData)
Parameters
reliabilityNumber long
subtype DataSubtype
units UnitsData
Returns
DataArrayGetSelfSuggestedComment()
Returns
stringGetSelfSuggestedName()
Returns
stringGetSigma()
Returns
Dimensional<StefanBoltzmann>GetThermalSubmodels()
Returns
List<string>GetTieIds(string)
Parameters
submodel string
Returns
List<long>GetTimes()
Returns
DataArrayGetTimesOrRecordNumbers()
Returns
DataArrayGetUDFAManager()
Returns
IUDFAManagerGetUdcaData(DataItemIdentifierCollection)
Gets data for a collection of data items representing character UDFAs.Parameters
dataItems DataItemIdentifierCollection
Returns
List<List<string>> ADataArrayCollection for the requested dataItems.
Exceptions
OpenTDException Thrown if any of items in dataItems do not specify character UDFAsGetUdcaDataAtRecord(DataSubtype, long)
Gets the UDFA of strings represented by aDataSubtype at a given record
Parameters
subtype DataSubtype
recordNum long
Record number from which to extract UDFA strings.
Returns
List<string> A list of character UDFA values.Exceptions
OpenTDException Thrown if theDataSubtype
represents a noncharacter UDFA.
GetUdfasAtRecord(long)
GetsDataSubtypes UDFA at the given record number.
Parameters
recordNum long
Record number from which to extract UDFA subtypes.
Returns
List<DataSubtype> A list ofDataSubtype objects.
ReOpen()
Relay<T_collection, T_item>(T_collection)
Parameters
x T_collection
Returns
List<T_item>Type Parameters
T_collection
T_item
Relay<T_item>(List<T_item>)
Parameters
x List<T_item>
Returns
List<T_item>Type Parameters
T_item