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