1234567891011121314151617181920212223242526272829303132 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using VirgoSimulator.Devices;
- namespace VirgoSimulator.Views
- {
- /// <summary>
- /// SimuEdwardsPumpView.xaml 的交互逻辑
- /// </summary>
- public partial class SimuEdwardsPumpPMBView : UserControl
- {
- public SimuEdwardsPumpPMBView()
- {
- InitializeComponent();
- this.DataContext = new MockEdwardsPumpViewModelPMB();
- }
- }
- class MockEdwardsPumpViewModelPMB : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "Edwards pump PMB simulator"; }
- }
- public MockEdwardsPumpViewModelPMB() : base("EdwardsPumpPMBSimulator")
- {
- Init(new EdwardsPumpMockPMB());
- }
- }
- }
|