FitnessEquipmentSetTrackResistance Method
Sets the track resistance.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipmentAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public Task<MessagingReturnCode> SetTrackResistance(
double grade,
double rollingResistanceCoefficient = 0.004
)
Public Function SetTrackResistance (
grade As Double,
Optional rollingResistanceCoefficient As Double = 0.004
) As Task(Of MessagingReturnCode)
public:
Task<MessagingReturnCode>^ SetTrackResistance(
double grade,
double rollingResistanceCoefficient = 0.004
)
member SetTrackResistance :
grade : float *
?rollingResistanceCoefficient : float
(* Defaults:
let _rollingResistanceCoefficient = defaultArg rollingResistanceCoefficient 0.004
*)
-> Task<MessagingReturnCode>
- grade Double
- The grade. Set as a percentage of vertical displacement to horizontal displacement.
- rollingResistanceCoefficient Double (Optional)
- The rolling resistance coefficient.
TaskMessagingReturnCodeStatus of the request.