using System.Windows.Controls; using MECF.Framework.Simulator.Core.Commons; using Venus_Simulator.Devices; namespace Venus_Simulator.Views { /// /// SimuSMCChillerPMDView.xaml 的交互逻辑 /// public partial class SimuSMCChillerPMDView : UserControl { public SimuSMCChillerPMDView() { InitializeComponent(); this.DataContext = new MockSMCChillerViewModelPMD(); } } class MockSMCChillerViewModelPMD : SerialPortDeviceViewModel { public string Title { get { return "SMC Chiller PMD simulator"; } } public MockSMCChillerViewModelPMD() : base("SMCChillerPMDSimulator") { Init(new SMCChillerMock("COM28")); } } }