using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using EfemDualSimulator.Devices; namespace EfemDualSimulator.Views { /// /// Interaction logic for SimuAdTecGeneratorView.xaml /// public partial class SimuAdTecGeneratorPMBView : UserControl { public SimuAdTecGeneratorPMBView(string param) { InitializeComponent(); this.DataContext = new MockAdTecGeneratorViewModelPMB(param); } } class MockAdTecGeneratorViewModelPMB : SerialPortDeviceViewModel { public string Title { get { return "AdTec RFG PMB simulator"; } } public MockAdTecGeneratorViewModelPMB(string param) : base("AdTecPMBRFG") { Init(new AdTecGeneratorMockPMB(param)); } } }