CrankTorqueFrequencySensor(ChannelId, IAntChannel, ILoggerCrankTorqueFrequencySensor, Int32) Constructor

Initializes a new instance of the CrankTorqueFrequencySensor class.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
C#
public CrankTorqueFrequencySensor(
	ChannelId channelId,
	IAntChannel antChannel,
	ILogger<CrankTorqueFrequencySensor> logger,
	int timeout
)

Parameters

channelId  ChannelId
The channel identifier.
antChannel  IAntChannel
Channel to send messages to.
logger  ILoggerCrankTorqueFrequencySensor
Logger to use.
timeout  Int32
Time in milliseconds before firing DeviceWentOffline. To disable the device timeout, set the timeout argument to -1 and skip setting the missedMessages argument.

See Also