Add base Radio Model that all radios should inherit from.

This commit is contained in:
Erick Kinnee 2019-03-06 10:44:02 -06:00
parent 207bd3bcaa
commit 3601d53ed1
5 changed files with 17 additions and 7 deletions

12
SharpCAT/Models/Radio.cs Normal file
View file

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpCAT.Models
{
//Base Radio Model
class Radio
{
public readonly string CmdPad = "00000000";
}
}

View file

@ -4,7 +4,7 @@ using System.Text;
namespace SharpCAT.Models.Radios.Icom
{
class ID4100a
class ID4100a : Radio
{
}
}

View file

@ -4,7 +4,7 @@ using System.Text;
namespace SharpCAT.Models.Radios.Icom
{
class ID880H
class ID880H : Radio
{
}
}

View file

@ -4,7 +4,7 @@ using System.Text;
namespace SharpCAT.Models.Radios.Kenwood
{
class THD74A
class THD74A : Radio
{
}
}

View file

@ -1,9 +1,7 @@
namespace SharpCAT.Models.Radios.Yaesu
{
internal class FT818
{
private readonly string CmdPad = "00000000";
internal class FT818 : Radio
{
public struct Lock
{
public static readonly string ON = "00";