using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using EfemDualSimulator.Devices; namespace EfemDualSimulator.Views { /// /// Interaction logic for SimuAdTecGeneratorView.xaml /// public partial class SimuAdTecGeneratorView : UserControl { public SimuAdTecGeneratorView() { InitializeComponent(); this.DataContext = new MockAdTecGeneratorViewModel(); } } class MockAdTecGeneratorViewModel : SerialPortDeviceViewModel { public string Title { get { return "AdTec RFG simulator"; } } public MockAdTecGeneratorViewModel() : base("AdTecRFG") { Init(new AdTecGeneratorMock()); } } }