Esempio n. 1
0
        public void OnJobAssigned(Job job)
        {
            MonitoredJobViewModel monitoredJob
                = new MonitoredJobViewModel(job, Plot, m_cancelTokenSource.Token, MainWindowViewModel.Instance.LogToFile);

            AllMonitoredJobs.Insert(0, monitoredJob);
            ViewModelFromModel[job] = monitoredJob;
        }
Esempio n. 2
0
        public void DispatchOnExperimentalUnitLaunched(Job job, ExperimentalUnit expUnit)
        {
            MonitoredJobViewModel jobVM = ViewModelFromModel[job];

            jobVM.OnExperimentalUnitLaunched(expUnit);
        }
Esempio n. 3
0
        public void DispatchOnStateChanged(Job job, string experimentId, Monitoring.State state)
        {
            MonitoredJobViewModel jobVM = ViewModelFromModel[job];

            jobVM.OnStateChanged(experimentId, state);
        }
Esempio n. 4
0
        public void DispatchOnAllStatesChanged(Job job, Monitoring.State state)
        {
            MonitoredJobViewModel jobVM = ViewModelFromModel[job];

            jobVM.OnAllStatesChanged(state);
        }
Esempio n. 5
0
        public void DispatchOnMessageReceived(Job job, string experimentId, string messageId, string messageContent)
        {
            MonitoredJobViewModel jobVM = ViewModelFromModel[job];

            jobVM.OnMessageReceived(experimentId, messageId, messageContent);
        }