HamBook – Blame information for rev 1

Subversion Repositories:
Rev:
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;
6 using System.Threading.Tasks;
7  
8 namespace HamBook.Radios
9 {
10 public abstract class Cat : IDisposable
11 {
12 public abstract string Name { get; }
13  
14 public abstract string Definition { get; }
15  
16 public SerialPort SerialPort { get; set; }
17  
18 public Cat(SerialPort serialPort)
19 {
20 SerialPort = serialPort;
21 }
22  
23 public void Dispose()
24 {
25 SerialPort.Dispose();
26 }
27 }
28 }