FitnessEquipmentSetTrackResistance Method
Sets the track resistance.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipmentAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
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.