Пример #1
0
        public void showReports()
        {
            ReportsWindowViewModel plotEditor = new ReportsWindowViewModel();

            plotEditor.loadExperimentBatch(m_batchFilename);
            CaliburnUtility.showVMDialog(plotEditor, "Plot editor");
        }
Пример #2
0
        public ExperimentLogViewModel(string name, string logDescriptorFilePath
                                      , string logFilePath, ReportsWindowViewModel parent)
        {
            m_parent        = parent;
            m_name          = name;
            m_logDescriptor = new XmlDocument();
            logDescriptor.Load(logDescriptorFilePath);
            processDescriptor();

            m_logFilePath = logFilePath;
        }
Пример #3
0
        /// <summary>
        ///     Class constructor.
        /// </summary>
        public MainWindowViewModel()
        {
            //Save the instance
            Instance = this;

            EditorWindowVM  = new EditorWindowViewModel();
            MonitorWindowVM = new MonitorWindowViewModel();
            ReportWindowVM  = new ReportsWindowViewModel();

            //set culture as invariant to write numbers as in english
            System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
        }
Пример #4
0
 public void setParent(ReportsWindowViewModel parent)
 {
     m_parent = parent;
 }
Пример #5
0
 public LoggedVariableViewModel(string name, ReportsWindowViewModel parent)
 {
     m_parent = parent;
     m_name   = name;
 }
Пример #6
0
        public void showPlotWindow()
        {
            ReportsWindowViewModel plotEditor = new ReportsWindowViewModel();

            CaliburnUtility.showVMDialog(plotEditor, "Plot editor");
        }