Skip to main content
Namespace: OpenTD.Results.Dataset
Assembly: OpenTD.Results.dll
IBrowser interface providing methods for Heatmap and HeatBetween nodes and node collecions.

Methods

GetHeatBetween(IEnumerable<INodeInfo>, IEnumerable<INodeInfo>)

Gets the heat between two INodeInfo collections. Positive for fromNodes -> toNodes.

Parameters

fromNodes IEnumerable<INodeInfo> From nodes. toNodes IEnumerable<INodeInfo> To nodes.

Returns

HeatratesBetween The HeatRatesBetween object with comparison results.

GetHeatBetween(IEnumerable<INodeInfo>, IEnumerable<ITieInfo>)

Gets the heat between a INodeInfo collection and a ITieInfo collection. Positive for fromNodes -> toTies.

Parameters

fromNodes IEnumerable<INodeInfo> From nodes. toTies IEnumerable<ITieInfo> To ties.

Returns

HeatratesBetween The HeatRatesBetween object with comparison results.

GetHeatBetweenSubmodels(string, string)

Gets the heatrates between submodels. Positive for fromSubmodel -> toSubmodel.

Parameters

fromSubmodel string From submodel name. Case insensitive. toSubmodel string To submodel name. Case insensitive.

Returns

HeatratesBetween The HeatRatesBetween object with comparison results.

Remarks

At least one of the submodels must be a thermal submodel.

Exceptions

OpenTDException Thrown if both input submodel name refer to fluid submodels, or if any submodels don’t exist.

GetHeatMap(IEnumerable<INodeInfo>)

Gets the collection of NodeHeatrates for each input node.

Parameters

nodes IEnumerable<INodeInfo> A collection of INodeInfo objects for which to map heatrates.

Returns

List<NodeHeatrates> A collection of NodeHeatrates, one for each of the input nodes.

GetHeatMap(IEnumerable<SindaName>)

Gets the collection of NodeHeatrates corresponding to each input node name.

Parameters

nodeNames IEnumerable<SindaName> A collection of INodeInfo SindaNames.

Returns

List<NodeHeatrates> A collection of NodeHeatrates, one for each of the input node names.