Treadmill(ChannelId, IAntChannel, ILoggerTreadmill, TimeoutOptions) Constructor
Initializes a new instance of the
Treadmill class.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipmentAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public Treadmill(
ChannelId channelId,
IAntChannel antChannel,
ILogger<Treadmill> logger,
TimeoutOptions? timeoutOptions
)
Public Sub New (
channelId As ChannelId,
antChannel As IAntChannel,
logger As ILogger(Of Treadmill),
timeoutOptions As TimeoutOptions
)
public:
Treadmill(
ChannelId^ channelId,
IAntChannel^ antChannel,
ILogger<Treadmill^>^ logger,
TimeoutOptions^ timeoutOptions
)
new :
channelId : ChannelId *
antChannel : IAntChannel *
logger : ILogger<Treadmill> *
timeoutOptions : TimeoutOptions -> Treadmill
Parameters
- channelId ChannelId
- The channel identifier.
- antChannel IAntChannel
- Channel to send messages to.
- logger ILoggerTreadmill
- Logger to use.
- timeoutOptions TimeoutOptions
- Timeout options.