12345678910111213141516171819202122232425262728293031 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using EfemDualSimulator.Devices;
- namespace EfemDualSimulator.Views
- {
- /// <summary>
- /// Interaction logic for SimuAdTecGeneratorView.xaml
- /// </summary>
- public partial class SimuAdTecGeneratorPMAView : UserControl
- {
- public SimuAdTecGeneratorPMAView(string param)
- {
- InitializeComponent();
- this.DataContext = new MockAdTecGeneratorViewModelPMA(param);
- }
- }
- class MockAdTecGeneratorViewModelPMA : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "AdTec RFG PMA simulator"; }
- }
- public MockAdTecGeneratorViewModelPMA(string param) : base("AdTecPMARFG")
- {
- Init(new AdTecGeneratorMockPMA(param));
- }
- }
- }
|