HamBook – Blame information for rev 9
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | 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; |
1 | office | 7 | using System.Threading.Tasks; |
9 | office | 8 | using RJCP.IO.Ports; |
1 | office | 9 | |
3 | office | 10 | namespace HamBook.Radios.Generic.CAT |
1 | office | 11 | { |
12 | public abstract class PS : Cat |
||
13 | { |
||
14 | public override string Name => "PS"; |
||
15 | |||
16 | public override string Definition => "POWER SWITCH"; |
||
17 | |||
9 | office | 18 | public PS(SerialPortStream serialPort) : base(serialPort) |
1 | office | 19 | { |
20 | } |
||
21 | |||
9 | office | 22 | public abstract Task<bool> SetAsync(PowerState state, CancellationToken cancellationToken); |
1 | office | 23 | |
9 | office | 24 | public abstract Task<PowerState> ReadAsync(CancellationToken cancellationToken); |
1 | office | 25 | } |
26 | } |