12345678910111213141516171819202122232425262728293031 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using VirgoSimulator.Devices;
- namespace VirgoSimulator.Views
- {
- /// <summary>
- /// Interaction logic for SimuAdTecMatchView.xaml
- /// </summary>
- public partial class SimuSkyPumpPMAView : UserControl
- {
- public SimuSkyPumpPMAView()
- {
- InitializeComponent();
- this.DataContext = new MockSkyPumpViewModelPMA();
- }
- }
- class MockSkyPumpViewModelPMA : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "Sky pump PMA simulator"; }
- }
- public MockSkyPumpViewModelPMA() : base("SkyPumpPMASimulator")
- {
- Init(new SkyPumpMockPMA());
- }
- }
- }
|