12345678910111213141516171819202122232425262728293031 |
- using System.Windows.Controls;
- using MECF.Framework.Simulator.Core.Commons;
- using CyberX8_Simulator.Devices;
- namespace CyberX8_Simulator.Views
- {
- /// <summary>
- /// SimuTemperatureControllerView.xaml 的交互逻辑
- /// </summary>
- public partial class LinmotView : UserControl
- {
- public LinmotView()
- {
- InitializeComponent();
- }
- }
- class LinmotViewModel : SerialPortDeviceViewModel
- {
- public string Title
- {
- get { return "Linmot simulator"; }
- }
- public LinmotViewModel(string port) : base("LinmotSimulator")
- {
- Init(new LinmotSerialPortDevice(port));
- }
- }
- }
|