| 1234567891011121314151617181920212223242526272829303132 | 
							- using System.Windows.Controls;
 
- using MECF.Framework.Simulator.Core.Commons;
 
- using Venus_Simulator.Devices;
 
- namespace Venus_Simulator.Views
 
- {
 
-     /// <summary>
 
-     /// SimuSMCChillerPMDView.xaml 的交互逻辑
 
-     /// </summary>
 
-     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"));
 
-         }
 
-     }
 
- }
 
 
  |