12345678910111213141516171819202122232425262728293031 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using Venus_Simulator.Devices;
- namespace Venus_Simulator.Views
- {
- /// <summary>
- /// Interaction logic for SimuAdTecGeneratorView.xaml
- /// </summary>
- public partial class SimuAdTecGeneratorPMDView : UserControl
- {
- public SimuAdTecGeneratorPMDView()
- {
- InitializeComponent();
- this.DataContext = new MockAdTecGeneratorViewModelPMD();
- }
- }
- class MockAdTecGeneratorViewModelPMD : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "AdTec RFG PMD simulator"; }
- }
- public MockAdTecGeneratorViewModelPMD() : base("AdTecPMDRFG")
- {
- Init(new AdTecGeneratorMockPMD());
- }
- }
- }
|