C# Class CyrusBuilt.MonoPi.Components.Temperature.TempScaleUtils

Temperature scale utilities.
ファイルを表示 Open project: cyrusbuilt/MonoPi

Public Methods

Method Description
GetScaleName ( TemperatureScale scale ) : String

Gets the name of the scale.

GetScalePostfix ( TemperatureScale scale ) : Char

Gets the scale postfix.

Method Details

GetScaleName() public static method

Gets the name of the scale.
public static GetScaleName ( TemperatureScale scale ) : String
scale TemperatureScale /// The scale to get the name of. ///
return String

GetScalePostfix() public static method

Gets the scale postfix.
public static GetScalePostfix ( TemperatureScale scale ) : Char
scale TemperatureScale /// The scale to get the postfix for. ///
return Char