using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using VirgoSimulator.Devices; namespace VirgoSimulator.Views { /// /// Interaction logic for SimuAdTecMatchView.xaml /// public partial class SimuAdTecMatchPMAView : UserControl { public SimuAdTecMatchPMAView() { InitializeComponent(); this.DataContext = new MockAdTecMatchViewModelPMA(); } } class MockAdTecMatchViewModelPMA : SerialPortDeviceViewModel { public string Title { get { return "AdTEC match PMA simulator"; } } public MockAdTecMatchViewModelPMA() : base("AdTecMatchPMASimulator") { Init(new AdTecMatchMockPMA()); } } }