Multiply Scaling
Jul 19 2024 at 12:00 AM
Overview
This function multiplies the value.
\[V_{current} = V_{raw}\cdot M\]Installation
The required NuGet Package for this function is: IoTnxt.Raptor.TransformManager
.AddRaptorTransformManager("TransformSets", (services, configuration, builder) =>
{
builder.AddDefaultTransformationFunctions(services);
})
Example Options File
{
"TransformSets": {
"Scale": {
"F1": {
"Enabled": true,
"FunctionType": "MultiplyScaling",
"ScalingFactor": 0.01
}
}
}
}
Property Details
| Property Name | Description |
|---|---|
| FunctionType | The value for this function is “MultiplyScaling”. |
| Enabled | Sets whether this Transform Function is enabled. Defaults to true. |
| ScalingFactor | A positive or negative double by which the Raw value will be multiplied. A value of zero is invalid. |
