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