Esempio n. 1
0
        public void showReports()
        {
            ReportsWindowViewModel plotEditor = new ReportsWindowViewModel();

            plotEditor.loadExperimentBatch(m_batchFilename);
            CaliburnUtility.showVMDialog(plotEditor, "Plot editor");
        }
Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 4
0
 public void setParent(ReportsWindowViewModel parent)
 {
     m_parent = parent;
 }
 public LoggedVariableViewModel(string name, ReportsWindowViewModel parent)
 {
     m_parent = parent;
     m_name   = name;
 }
Esempio n. 6
0
        public void showPlotWindow()
        {
            ReportsWindowViewModel plotEditor = new ReportsWindowViewModel();

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