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