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