|
PowerConvertFrom Method
|
Converts the
value in the specified
sourceUnit to a new
Power in watts.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
SyntaxPublic Shared Function ConvertFrom (
value As Double,
sourceUnit As PowerUnit
) As Power
public:
static Power ConvertFrom(
double value,
PowerUnit sourceUnit
)
static member ConvertFrom :
value : float *
sourceUnit : PowerUnit -> Power
GSF.Units.Power.ConvertFrom = function(value, sourceUnit);
View SourceParameters
- value Double
- Source value.
- sourceUnit PowerUnit
- Source value units.
Return Value
PowerNew
Power from the specified
value in
sourceUnit.
See Also