Unknown Device Class
This class supports unknown devices.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public class UnknownDevice : AntDeviceVB
Public Class UnknownDevice
Inherits AntDeviceC++
public ref class UnknownDevice : public AntDeviceF#
type UnknownDevice =
class
inherit AntDevice
end- Inheritance
- ObservableObject AntDevice UnknownDevice
Constructors
| UnknownDevice(ChannelId, IAntChannel, ILoggerUnknownDevice, TimeoutOptions) | Initializes a new instance of the UnknownDevice class. |
| UnknownDevice(ChannelId, IAntChannel, ILoggerUnknownDevice, Int32) | Initializes a new instance of the UnknownDevice class. |
Properties
| ChannelCount | This is a multiple of the base transmission frequency. All derived classes must implement this property.
See the master Channel Period specified in the specific ANT device specification for the count value. (Overrides AntDeviceChannelCount) |
| ChannelId | Gets the channel identifier. (Inherited from AntDevice) |
| DataPages | Gets the collection of data pages received from the unknown device. |
| DeviceImageStream | Gets the device image stream from the embedded resource image associated with the derived device class. (Overrides AntDeviceDeviceImageStream) |
| Offline | Gets a value indicating whether this AntDevice is offline. (Inherited from AntDevice) |
Methods
| Dispose |
Releases the resources used by the current instance of the class.
(Inherited from AntDevice) |
| Parse | Parses the specified data page. (Overrides AntDeviceParse(Byte)) |
| RequestDataPageT | Requests the data page. (Inherited from AntDevice) |
| SendExtAcknowledgedMessage | Sends an acknowledged message to the ANT device. (Inherited from AntDevice) |
| ToString |
Returns a string representation of the current derived AntDevice.
(Overrides AntDeviceToString) |
Events
| DeviceWentOffline | Occurs when no messages have been received from the device within the specified timeout duration. (Inherited from AntDevice) |
Fields
| _logger | The logger for derived classes to use. (Inherited from AntDevice) |
| CollectionLock | The collection lock. |