using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using Venus_Simulator.Devices; namespace Venus_Simulator.Views { /// /// SimuAIRSYSChillerPMBView.xaml 的交互逻辑 /// public partial class SimuAIRSYSChillerPMBView : UserControl { public SimuAIRSYSChillerPMBView() { InitializeComponent(); this.DataContext = new MockAIRSYSChillerViewModelPMB(); } } class MockAIRSYSChillerViewModelPMB : SerialPortDeviceViewModel { public string Title { get { return "AIRSYS Chiller PMB simulator"; } } public MockAIRSYSChillerViewModelPMB() : base("AIRSYSCh illerPMBSimulator") { Init(new AIRSYSChillerMock("COM72")); } } }