BicyclePower Class

Base class for bicycle power sensors.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.2+92d79d127283ce9ab80906ab6fb15f5ffa8ae8ac
C#
public abstract class BicyclePower : AntDevice
Inheritance
ObservableObject    AntDevice    BicyclePower
Derived

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

BicyclePower(ChannelId, IAntChannel, ILogger, TimeoutOptions)Initializes a new instance of the BicyclePower class.
BicyclePower(ChannelId, IAntChannel, ILogger, Int32)Initializes a new instance of the BicyclePower class.

Properties

CalibrationStatusThe calibration operation status common to all bicycle power sensors.
ChannelCountThis 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.
(Overrides AntDeviceChannelCount)
ChannelIdGets the channel identifier.
(Inherited from AntDevice)
DeviceImageStreamGets the device image stream from the embedded resource image associated with the derived device class.
(Inherited from AntDevice)
OfflineGets a value indicating whether this AntDevice is offline.
(Inherited from AntDevice)

Methods

Dispose Releases the resources used by the current instance of the class.
(Inherited from AntDevice)
GetBicyclePowerSensorGets the bicycle power sensor.
ParseParses the specified data page.
(Inherited from AntDevice)
RequestDataPageTRequests the data page.
(Inherited from AntDevice)
RequestManualCalibrationRequests manual calibration.
SendExtAcknowledgedMessageSends an acknowledged message to the ANT device.
(Inherited from AntDevice)
ToString Returns a string representation of the current derived AntDevice.
(Inherited from AntDevice)

Events

DeviceWentOfflineOccurs when no messages have been received from the device within the specified timeout duration.
(Inherited from AntDevice)

Fields

_loggerThe logger for derived classes to use.
(Inherited from AntDevice)
DeviceClass The device type value transmitted in the channel ID.

See Also