HamBook – Diff between revs 11 and 12
?pathlinks?
Rev 11 | Rev 12 | |||
---|---|---|---|---|
Line 20... | Line 20... | |||
20 | using PowerState = HamBook.Radios.Generic.PowerState; |
20 | using PowerState = HamBook.Radios.Generic.PowerState; |
|
21 | using System.Media; |
21 | using System.Media; |
|
22 | using HamBook.Utilities.Controls; |
22 | using HamBook.Utilities.Controls; |
|
23 | using RJCP.IO.Ports; |
23 | using RJCP.IO.Ports; |
|
24 | using System.Text; |
24 | using System.Text; |
|
- | 25 | using System.Collections.ObjectModel; |
||
- | 26 | using Configuration; |
||
- | 27 | using System.Collections.Generic; |
||
Line 25... | Line 28... | |||
25 | |
28 | |
|
26 | namespace HamBook |
29 | namespace HamBook |
|
27 | { |
30 | { |
|
28 | public partial class Form1 : Form |
31 | public partial class Form1 : Form |
|
Line 518... | Line 521... | |||
518 | { |
521 | { |
|
519 | await _bandScan.Stop(); |
522 | await _bandScan.Stop(); |
|
520 | _bandScan = null; |
523 | _bandScan = null; |
|
521 | } |
524 | } |
|
Line 522... | Line 525... | |||
522 | |
525 | |
|
Line 523... | Line -... | |||
523 | _bandScan = new BandScan(_catAssemblies, band.Min, band.Max, _serialPort); |
- | ||
524 | |
526 | _bandScan = new BandScan(_catAssemblies, band.Min, band.Max, _serialPort, Configuration); |
|
525 | #pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed |
- | ||
526 | _bandScan.Start(step, pause, Configuration.ScanDetectPause); |
527 | |
|
Line 527... | Line 528... | |||
527 | #pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed |
528 | _bandScan.Start(step, pause, Configuration.ScanDetectPause); |
|
528 | } |
529 | } |
|
529 | |
530 | |