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