Table of Contents

Method GetParameterDisplayValue

Namespace
Skyline.DataMiner.Net.Messages
Assembly
SLNetTypes.dll

GetParameterDisplayValue(int, string, bool, bool)

Converts the given raw value into a format ready for display.

public string GetParameterDisplayValue(int parameterID, string rawValue, bool isFromRawString = true, bool includeUnits = true)

Parameters

parameterID int

The parameter ID.

rawValue string

The raw value.

isFromRawString bool

Whether the origin of the value is raw-based. Default is true.

includeUnits bool

Whether units should be included in the value. Default is true.

Returns

string

GetParameterDisplayValue(int, string, CultureInfo, bool, bool, bool)

Converts the given raw value into a format ready for display.

public string GetParameterDisplayValue(int parameterID, string rawValue, CultureInfo culture, bool displayNumberGroupSeparator, bool isFromRawString = true, bool includeUnits = true)

Parameters

parameterID int

The parameter ID.

rawValue string

The raw value.

culture CultureInfo

Overrides the default culture (InvariantCulture). Use ParameterInfo.DataMinerNumberCulture if you want to use the default DataMiner number grouping separator.

displayNumberGroupSeparator bool

If true, the digits will be grouped using the number group separator of the culture.

isFromRawString bool

Whether the origin of the value is raw-based. Default is true.

includeUnits bool

Whether units should be included in the value. Default is true.

Returns

string

The parameter display value.

GetParameterDisplayValue(int, ParameterValue, CultureInfo, bool)

Converts the given parameter value into a format that is ready for display.

public string GetParameterDisplayValue(int parameterID, ParameterValue value, CultureInfo culture, bool displayNumberGroupSeparator)

Parameters

parameterID int

The parameter ID.

value ParameterValue

The value.

culture CultureInfo

Overrides the default culture (InvariantCulture). Use ParameterInfo.DataMinerNumberCulture if you want to use the default DataMiner number grouping separator.

displayNumberGroupSeparator bool

If true, the digits will be grouped using the number group separator of the culture.

Returns

string

The display value.

GetParameterDisplayValue(int, ParameterValue)

Converts the given parameter value into a format that is ready for display.

public string GetParameterDisplayValue(int parameterID, ParameterValue value)

Parameters

parameterID int

The parameter ID.

value ParameterValue

The value.

Returns

string

The display value.