HamBook – Blame information for rev 9
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
3 | office | 1 | using System; |
1 | office | 2 | using System.Collections.Generic; |
3 | using System.IO.Ports; |
||
4 | using System.Linq; |
||
5 | using System.Text; |
||
9 | office | 6 | using System.Threading; |
1 | office | 7 | using System.Threading.Tasks; |
9 | office | 8 | using RJCP.IO.Ports; |
1 | office | 9 | |
10 | namespace HamBook.Radios.Generic.CAT |
||
11 | { |
||
12 | public abstract class MD : Cat |
||
13 | { |
||
14 | public override string Name => "MD"; |
||
15 | |||
16 | public override string Definition => "OPERATING MODE"; |
||
17 | |||
9 | office | 18 | public MD(SerialPortStream serialPort) : base(serialPort) |
1 | office | 19 | { |
20 | } |
||
21 | |||
9 | office | 22 | public abstract bool Set(RadioMode radioMode); |
1 | office | 23 | |
9 | office | 24 | public abstract Task<bool> SetAsync(RadioMode radioMode, CancellationToken cancellationToken); |
25 | |||
1 | office | 26 | public abstract RadioMode Read(); |
9 | office | 27 | |
28 | public abstract Task<RadioMode> ReadAsync(CancellationToken cancellationToken); |
||
1 | office | 29 | } |
30 | } |