/* This software is subject to the license described in the License.txt file included with this software distribution. You may not use this file except in compliance with this license. Copyright (c) Dynastream Innovations Inc. 2016 All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ANT_Managed_Library { /// /// Structure containing the data composing a channel ID /// public struct ANT_ChannelID { /// /// Device Number /// public UInt16 deviceNumber; /// /// Pairing Bit /// public bool pairingBit; /// /// Device Type ID /// public byte deviceTypeID; /// /// Transmission Type ID /// public byte transmissionTypeID; /// /// Initializes a new Channel ID Object /// /// Device Number /// Device Type ID /// Transmission Type ID public ANT_ChannelID(ushort deviceNumber, byte deviceType, byte transmissionType) { this.deviceNumber = deviceNumber; this.deviceTypeID = deviceType; this.transmissionTypeID = transmissionType; this.pairingBit = false; } } }