public AntHRreceiver(ANT_Device device, AntChannels channel = AntChannels.Channel0, byte networkNum = 0) : base(device, channel, networkNum) { // ChannelType = ChannelType.BidirectionalSlaveChannel; DeviceNumber = 0;// 35032; DeviceType = 120; TransmissionType = 1; RFChannelNumber = 57; MessagePeriod = 8070; ChannelResponse = onChannelResponse; Init(); }
public AntDevice(ANT_Device device, AntChannels channel = AntChannels.Channel0, byte networkNum = 0) { _antDevice = device; _channel = _antDevice.getChannel((int)channel); NetworkNumber = networkNum; }