/// <summary> /// Configures the device to capture. /// </summary> public void Configure() { TC08DeviceImports.SetRejectionFreq(Handle, (short)FrequencyRejection); for (int i = 1; i < TC08MaxChannels + 1; i++) { TC08ChannelConfig found = EnabledChannels.FirstOrDefault(dev => dev.Number == i); SetChannel(i, found != null ? found.ThermoType : ' '); } }
public void DisableChatChannel(ChatChannelEnum Channel) { if (this.myChatChannelEnabled.Contains(Channel)) { this.myChatChannelEnabled.Remove(Channel); } if (this.EnabledChannels.Contains((char)Channel)) { this.EnabledChannels = EnabledChannels.Remove(EnabledChannels.IndexOf((char)Channel), 1); } }