12345678910111213141516171819202122232425262728293031 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using EfemDualSimulator.Devices;
- namespace EfemDualSimulator.Views
- {
- /// <summary>
- /// Interaction logic for SimuAdTecMatchView.xaml
- /// </summary>
- 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());
- }
- }
- }
|