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