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