1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Input;
- using Aitex.Core.UI.MVVM;
- using MECF.Framework.Simulator.Core.Commons;
- using MECF.Framework.Simulator.Core.Driver;
- using Venus_Simulator.Devices;
- using Venus_Simulator.Instances;
- namespace Venus_Simulator.Views
- {
- /// <summary>
- /// Simu_CometRFView.xaml 的交互逻辑
- /// </summary>
- public partial class SimuRevtechRFBoxPMDView : UserControl
- {
- public SimuRevtechRFBoxPMDView()
- {
- InitializeComponent();
- this.DataContext = new MockRevtechRFBoxViewModelPMD();
- //this.Loaded += OnViewLoaded;
- }
- //private void OnViewLoaded(object sender, RoutedEventArgs e)
- //{
- // (DataContext as TimerViewModelBase)?.Start();
- //}
- }
- class MockRevtechRFBoxViewModelPMD : SocketDeviceViewModel
- {
- public string Title
- {
- get { return "Revtech RFBox PMD simulator"; }
- }
- public MockRevtechRFBoxViewModelPMD() : base("RevtechRFBoxPMDSimulator")
- {
- Init(new RevtechRFBoxMockPMD());
- }
- }
- }
|