예제 #1
0
        public ResultsPage()
        {
            InitializeComponent();
            var RPVM = new ResultPageVM();

            //display the results from the scans and display them in the textblock called Fullresults
            FullResults.Text = (RPVM.DisplayOutput(string.Empty));
        }
예제 #2
0
        public ResultPage()
        {
            InitializeComponent();
            VM = new ResultPageVM();
            VM.AddCommands(this);
            //VM.Init();
            volAndEleChart.DataContext = VM;
            ohmChart.DataContext       = VM;
            this.DataContext           = VM;
            Common.SelectedDateTime    = DateTime.Now;//将当前日期赋值给要显示的曲线的日期
            //dpDate.Text= DateTime.Now.AddDays(3).ToString("yyyy-MM-dd");
            ResultPageVM resultPageVM = (ResultPageVM)VM as ResultPageVM;

            resultPageVM.StartTimer();
        }