using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using EfemDualSimulator.Devices; namespace EfemDualSimulator.Views { /// /// Interaction logic for SimuAdTecMatchView.xaml /// public partial class SimuAdTecMatchPMBView : UserControl { public SimuAdTecMatchPMBView(string param) { InitializeComponent(); this.DataContext = new MockAdTecMatchViewModelPMB(param); } } class MockAdTecMatchViewModelPMB : SerialPortDeviceViewModel { public string Title { get { return "AdTEC match PMB simulator"; } } public MockAdTecMatchViewModelPMB(string param) : base("AdTecMatchPMBSimulator") { Init(new AdTecMatchMockPMB(param)); } } }