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