Crank Torque Frequency Sensor Class
The crank torque frequency sensor class.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public class CrankTorqueFrequencySensor : BicyclePowerVB
Public Class CrankTorqueFrequencySensor
Inherits BicyclePowerC++
public ref class CrankTorqueFrequencySensor : public BicyclePowerF#
type CrankTorqueFrequencySensor =
class
inherit BicyclePower
end- Inheritance
- ObservableObject AntDevice BicyclePower CrankTorqueFrequencySensor
Remarks
Bicycle Power sensors fall into two main categories - StandardPowerSensor and CrankTorqueFrequencySensor.
Standard power sensors may support TorqueSensor in addition to the power only profile. The property TorqueSensor is set when a StandardCrankTorqueSensor or StandardWheelTorqueSensor message is received.
The CrankTorqueFrequencySensor class is somewhat unique among bicycle power sensors. It provides limited commonality and functionality compared to StandardPowerSensors.
Constructors
| CrankTorqueFrequencySensor(ChannelId, IAntChannel, ILoggerCrankTorqueFrequencySensor, TimeoutOptions) | Initializes a new instance of the CrankTorqueFrequencySensor class. |
| CrankTorqueFrequencySensor(ChannelId, IAntChannel, ILoggerCrankTorqueFrequencySensor, Int32) | Initializes a new instance of the CrankTorqueFrequencySensor class. |
Properties
| Cadence | Gets the cadence in revolutions per minute. |
| CalibrationStatus | The calibration operation status common to all bicycle power sensors. (Inherited from BicyclePower) |
| ChannelCount | This is a multiple of the base transmission frequency. All derived classes must implement this property.
See the master Channel Period specified in the specific ANT device specification for the count value. (Inherited from BicyclePower) |
| ChannelId | Gets the channel identifier. (Inherited from AntDevice) |
| DeviceImageStream | Gets the device image stream from the embedded resource image associated with the derived device class. (Overrides AntDeviceDeviceImageStream) |
| Offline | Gets a value indicating whether this AntDevice is offline. (Inherited from AntDevice) |
| Offset | Gets the zero offset in Hz. |
| Power | Gets the power in watts. |
| Slope | Gets the slope. Slope ranges in value from 10.0Nm/Hz to 50.0Nm/Hz. Resolution is 0.1 Nm/Hz. |
| Torque | Gets the torque in Nm. |
Methods
| Dispose |
Releases the resources used by the current instance of the class.
(Inherited from AntDevice) |
| Parse |
Parses the specified data page.
(Overrides AntDeviceParse(Byte)) |
| RequestDataPageT | Requests the data page. (Inherited from AntDevice) |
| RequestManualCalibration | Requests manual calibration. (Inherited from BicyclePower) |
| SaveSerialNumberToFlash | Saves the serial number to flash. |
| SaveSlopeToFlash | Saves the slope to flash. |
| SendExtAcknowledgedMessage | Sends an acknowledged message to the ANT device. (Inherited from AntDevice) |
| ToString |
Returns a string representation of the current derived AntDevice.
(Overrides AntDeviceToString) |
Events
| DeviceWentOffline | Occurs when no messages have been received from the device within the specified timeout duration. (Inherited from AntDevice) |