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