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