using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using EfemDualSimulator.Devices; namespace EfemDualSimulator.Views { /// /// Interaction logic for SimuAdTecMatchView.xaml /// public partial class SimuSkyPumpPMBView : UserControl { public SimuSkyPumpPMBView(string param) { InitializeComponent(); this.DataContext = new MockSkyPumpViewModelPMB(param); } } class MockSkyPumpViewModelPMB : SerialPortDeviceViewModel { public string Title { get { return "Sky pump PMB simulator"; } } public MockSkyPumpViewModelPMB(string param) : base("SkyPumpPMBSimulator") { Init(new SkyPumpMockPMB(param)); } } }