1234567891011121314151617181920212223242526272829303132 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using VirgoSimulator.Devices;
- namespace VirgoSimulator.Views
- {
- /// <summary>
- /// SimuSMCChillerPMBView.xaml 的交互逻辑
- /// </summary>
- public partial class SimuSMCChillerPMBView : UserControl
- {
- public SimuSMCChillerPMBView()
- {
- InitializeComponent();
- this.DataContext = new MockSMCChillerViewModelPMB();
- }
- }
- class MockSMCChillerViewModelPMB : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "SMC Chiller PMB simulator"; }
- }
- public MockSMCChillerViewModelPMB() : base("SkyPumpPMBSimulator")
- {
- Init(new SMCChillerMock("COM45"));
- }
- }
- }
|