| 123456789101112131415161718192021222324252627282930313233343536373839404142 | 
							- using System.Windows;
 
- using System.Windows.Controls;
 
- using System.Windows.Input;
 
- using System.Collections.Generic;
 
- using Aitex.Core.UI.MVVM;
 
- using Aitex.Core.Utilities;
 
- using MECF.Framework.Simulator.Core.Commons;
 
- using VirgoSimulator.Devices;
 
- namespace VirgoSimulator.Views
 
- {
 
-     /// <summary>
 
-     /// SimuRevtechMatchPMAView.xaml 的交互逻辑
 
-     /// </summary>
 
-     public partial class SimuRevtechMatchPMAView : UserControl
 
-     {
 
-         public SimuRevtechMatchPMAView()
 
-         {
 
-             InitializeComponent();
 
-             this.DataContext = new MockRevtechMatchViewModelPMA();
 
-             this.Loaded += OnViewLoaded;
 
-         }
 
-         private void OnViewLoaded(object sender, RoutedEventArgs e)
 
-         {
 
-             (DataContext as TimerViewModelBase)?.Start();
 
-         }
 
-     }
 
-     class MockRevtechMatchViewModelPMA : SocketDeviceViewModel
 
-     {
 
-         public string Title
 
-         {
 
-             get { return "Revtech match PMA simulator"; }
 
-         }
 
-         public MockRevtechMatchViewModelPMA() : base("RevtechMatchPMASimulator")
 
-         {
 
-             Init(new RevtechMatchMockPMA());
 
-         }
 
-     }
 
- }
 
 
  |