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