Exemplo n.º 1
0
        public LiveGraphView()
        {
            InitializeComponent();

            this._vm         = new LiveGraphViewModel();
            this.DataContext = this._vm;

            this._vm.LiveGraphSuspendNotifiCation = new Action(LiveGraphChart.SuspendSeriesNotification);
            this._vm.LiveGraphResumeNotification  = new Action(LiveGraphChart.ResumeSeriesNotification);
            this._vm.COPSuspendNotifiCation       = new Action(CopChart.SuspendSeriesNotification);
            this._vm.COPResumeNotification        = new Action(CopChart.ResumeSeriesNotification);
        }
Exemplo n.º 2
0
 public MainViewModel()
 {
     UpdateViewCommand = new UpdateViewCommand(this);
     SelectedViewModel = new LiveGraphViewModel();
     //RegisterViews();
 }
 public CloseButtonCommand(LiveGraphViewModel viewModel)
 {
     this.ViewModel = viewModel;
 }
Exemplo n.º 4
0
 public ConnectButtonCommand(LiveGraphViewModel viewModel)
 {
     this.ViewModel = viewModel;
 }
Exemplo n.º 5
0
 public RecordButtonCommand(LiveGraphViewModel viewModel)
 {
     this.ViewModel = viewModel;
 }