public IRadio GetRadio(RadioModel model, RadioConnectionSettings connectionSettings) { switch (model) { case RadioModel.ElecraftK3: return new Elecraft.K3(connectionSettings); case RadioModel.FT950: return new Yaesu.FT950(connectionSettings); case RadioModel.IcomGeneric: return new Icom.GenericIcom(connectionSettings); default: throw new UnsupportedRadioException(); } }
public MeterViewModel(RadioModel model, uint channel) { _model = model; _channel = channel; }
public MasterViewModel(RadioModel model, ViewObject vo) { exciterView_ = new ExciterViewModel(); // paxView_ = new PaxViewModel(); // _userView = new UserViewModel(radioView_, exciterView_); }
public void ActivateRadio(RadioModel model) { _currentRadioModel = model; }