BikeCadenceSensor(ChannelId, IAntChannel, ILoggerBikeCadenceSensor, Int32) Constructor
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BikeSpeedAndCadenceAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public BikeCadenceSensor(
ChannelId channelId,
IAntChannel antChannel,
ILogger<BikeCadenceSensor> logger,
int timeout
)
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of BikeCadenceSensor),
timeout As Integer
)
public:
BikeCadenceSensor(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<BikeCadenceSensor^>^ logger,
int timeout
)
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<BikeCadenceSensor> *
timeout : int -> BikeCadenceSensor
Parameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerBikeCadenceSensor
- 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.