| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | 
							- 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 CyberX8_Simulator.Devices;
 
- namespace CyberX8_Simulator.Views
 
- {
 
-     /// <summary>
 
-     /// Interaction logic for Simu_TMView .xaml
 
-     /// </summary>
 
-     public partial class Simu_TMView  : UserControl
 
-     {
 
-         public Simu_TMView ()
 
-         {
 
-             InitializeComponent();
 
-             this.DataContext = new TMSimulatorViewModel();
 
-             this.Loaded += OnViewLoaded;
 
-         }
 
-         private void OnViewLoaded(object sender, RoutedEventArgs e)
 
-         {
 
-             (DataContext as TimerViewModelBase)?.Start();
 
-         }
 
-     }
 
-     class TMSimulatorViewModel : SocketDeviceViewModel
 
-     {
 
-         public string Title
 
-         {
 
-             get { return "TM Simulator"; }
 
-         }
 
-         private TMSimulatorServer _sim;
 
-         public TMSimulatorViewModel() : base("TMSimuViewModel")
 
-         {
 
-             _sim = new TMSimulatorServer();
 
-             Init(_sim);
 
-         }
 
-     }
 
- }
 
 
  |