Example #1
0
        public void LoadPage(byte selectedTube)
        {
            log.Debug("TubeRecipePage:LoadTubePage");
            mSelectedTube = selectedTube;

            Visibility = Visibility.Visible;

            mController.LoadRecipe(mSelectedTube);

            //synchronize recipe step data
            //mTubeRecipePageModel.LoadData(mSelectedTube);
            mSelectedStep = 1;
            StepItems[0].Item_Click(null, null);

            mViewModel.ProcessName = mController.GetRecipeName(mSelectedTube);

            /*
             * bool startSyn = mController.SynStep(mSelectedTube, 1, null, OnSynStepComplete1);
             * if (startSyn)
             * {
             *  mProgressDlg.ProgressModel.MaxValue = 64;
             *  mProgressDlg.ProgressModel.Progress = 0;
             *  mProgressDlg.ShowDialog();
             * }
             */
        }