HamBook – Diff between revs 45 and 46

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 45 Rev 46
Line 31... Line 31...
31 using System.Diagnostics; 31 using System.Diagnostics;
32 using Newtonsoft.Json.Linq; 32 using Newtonsoft.Json.Linq;
33 using System.Collections.Concurrent; 33 using System.Collections.Concurrent;
34 using Org.BouncyCastle.Math.Field; 34 using Org.BouncyCastle.Math.Field;
35 using System.Runtime.Remoting.Channels; 35 using System.Runtime.Remoting.Channels;
-   36 using HamBook.Radios.Generic.CAT;
-   37 using Org.BouncyCastle.Asn1.X509.Qualified;
Line 36... Line 38...
36   38  
37 namespace HamBook 39 namespace HamBook
38 { 40 {
39 public partial class Form1 : Form 41 public partial class Form1 : Form
Line 154... Line 156...
154 return; 156 return;
155 } 157 }
Line 156... Line 158...
156   158  
Line 157... Line 159...
157 scrollableToolStripComboBox12.Items.Add(memoryBank); 159 scrollableToolStripComboBox12.Items.Add(memoryBank);
Line 158... Line 160...
158   160  
159 MemoryChannel memoryChannel = new MemoryChannel(); 161 MemoryChannel memoryChannel = MemoryChannel.Create(Configuration.Radio);
160   162  
Line 1394... Line 1396...
1394 var channel = scrollableToolStripComboBox.Text; 1396 var channel = scrollableToolStripComboBox.Text;
1395 if (!string.IsNullOrEmpty(channel)) 1397 if (!string.IsNullOrEmpty(channel))
1396 { 1398 {
1397 if (!_memoryChannelStore.TryGetValue(channel, out var memoryChannel)) 1399 if (!_memoryChannelStore.TryGetValue(channel, out var memoryChannel))
1398 { 1400 {
1399 memoryChannel = new MemoryChannel(); 1401 memoryChannel = MemoryChannel.Create(Configuration.Radio);
1400 memoryChannel.CurrentLocation = channel; 1402 memoryChannel.CurrentLocation = channel;
1401 memoryChannel.MemoryRadioMode = MemoryRadioMode.Create(Configuration.Radio, toolStripComboBox1.Text); 1403 memoryChannel.MemoryRadioMode = MemoryRadioMode.Create(Configuration.Radio, toolStripComboBox1.Text);
1402 } 1404 }
Line 1403... Line 1405...
1403   1405