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