123456789101112131415161718192021222324252627282930313233 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using Venus_Simulator.Devices;
- namespace Venus_Simulator.Views
- {
- /// <summary>
- /// simuESCHVPMAView.xaml 的交互逻辑
- /// </summary>
- public partial class simuESCHVPMDView : UserControl
- {
- public simuESCHVPMDView()
- {
- InitializeComponent();
- this.DataContext = new MockESCHVViewModelPMD();
- }
- }
- class MockESCHVViewModelPMD : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "ESC HV PMD simulator"; }
- }
- public MockESCHVViewModelPMD() : base("ESC_HV PMD")
- {
- Init(new ESCHVMockPMD());
- }
- }
- }
|