Rower(ChannelId, IAntChannel, ILoggerRower, Int32) Constructor

Initializes a new instance of the Rower class.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipment
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public Rower(
	ChannelId channelId,
	IAntChannel antChannel,
	ILogger<Rower> logger,
	int timeout
)

Parameters

channelId  ChannelId
The channel identifier.
antChannel  IAntChannel
Channel to send messages to.
logger  ILoggerRower
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