示例#1
0
 private void initCircuitFlows(TrainUI.TrainMode mode)
 {
     if (mode == TrainUI.TrainMode.Study)
     {
         circuitFlows  = topicDB.getCircuitNamesStudy();
         circuitTopics = new Dictionary <string, CircuitTopicNew>();
         foreach (string flow in circuitFlows)
         {
             circuitTopics.Add(flow, topicDB.getCircuitTopicsNew(flow));
         }
     }
     else if (mode == TrainUI.TrainMode.Training)
     {
         circuitFlows  = topicDB.getCircuitNamesTrain();
         circuitTopics = new Dictionary <string, CircuitTopicNew>();
         foreach (string flow in circuitFlows)
         {
             circuitTopics.Add(flow, topicDB.getCircuitTopicsNew(flow));
         }
     }
     else if (mode == TrainUI.TrainMode.Exam)
     {
         circuitFlows      = topicDB.getCircuitNamesExam();
         circuitScoreFlows = topicDB.getCircuitScoreExam();
         circuitTopics     = new Dictionary <string, CircuitTopicNew>();
         foreach (string flow in circuitFlows)
         {
             circuitTopics.Add(flow, topicDB.getCircuitTopicsBack(flow));
         }
     }
     // CircuitTopicNew topic = circuitTopics[circuitFlows[0]];
 }
示例#2
0
        /// <summary>
        /// 初始化树形菜单界面
        /// </summary>
        public void initTreeMenu(string knowType, TrainUI.TrainMode mode)
        {
            change.setYesSwitchClick(changeMode);
            uiTool.setReturnBtnClick(backMenu);
            uiTool.setNextBtnClick(setNextBtnClick);
            uiTool.setPreBtnClick(setBackBtnClick);
            uiTool.setRatateBtnClick(setRotateBtnClick);
            //popWindows.GetComponent<PopWindowsInit>().setItemClick(setPopItemClick);
            tabStrip.init(1, tabStripClick, 0);
            //tabStrip.setTabActiveState(0);
            clear();
            kemu = knowType;
            treeMenu.init();
            this.equipKnows = InitConfigs.Instance.SubjectDic[knowType];
            List <MyTreeMenuItemVO> vos = EquipKnowSwitchTreeItem(equipKnows);

            treeMenu.setValue(vos, leafNodesClick, true);
            if (mode == TrainUI.TrainMode.Exam)
            {
                tempMode = mode;
                changeMode();
            }
            info.text = "学员" + H5Camera.GetComponent <UICommunicationsScript>().getUsetName() + ",欢迎来到S700K学习模式";
            info.gameObject.SetActive(true);
            circuitUIStart.SetActive(true);
            circuitUIIsStart = false;
            treeMenu.treeGrid.repositionNow = true;
            treeMenu.treeGrid.Reposition();
            //leafNodesClick("Circle001", true);
            //treeTitle.Play(true);
            //toolTitle.Play(true);
            //specificInfoUI.setValue(null, null);
        }
示例#3
0
        private string getFlowTitleSprite(TrainUI.TrainMode trainMode, bool isOpen)
        {
            string str = getTrainTypeStr();

            Debug.Log(trainMode);
            switch (trainMode)
            {
            case TrainUI.TrainMode.Study:
                maskPanel.gameObject.SetActive(false);
                str += "_xuexi";
                break;

            case TrainUI.TrainMode.Training:
                maskPanel.gameObject.SetActive(false);
                str += "_lianxi";
                break;

            case TrainUI.TrainMode.Exam:
                maskPanel.gameObject.SetActive(true);
                str += "_kaoshi";
                break;
            }
            if (isOpen)
            {
                str += "_p";
            }
            return(str);
        }
示例#4
0
 /// <summary>
 /// from result to back traning
 /// </summary>
 /// <param name="Sindex"></param>
 public void cause(int Sindex)
 {
     examGrade.GetComponent <Camera>().depth = -50;
     CoherentUISystem.Instance.UIViews.Remove(examGrade);
     tempMode = TrainUI.TrainMode.Training;
     changeMode();
     flowOperateMenuClick(Sindex);
 }
示例#5
0
        public void changeMode()
        {
            ouebutton.SetActive(false);
            info.gameObject.SetActive(false);
            errorCount = 0;
            examCountDown.onStop();
            uitool.setShiwaiSliderValue((float)(1) / (float)circuitFlows.Count, 1, circuitFlows.Count);
            cleanUI();
            movieManager.OnStop();
            circuitUIStart.SetActive(true);
            circuitUIIsStart = false;
            switch (tempMode)
            {
            case TrainUI.TrainMode.Study:
                info.gameObject.SetActive(true);
                if (alertMSG != null)
                {
                    Destroy(alertMSG.gameObject);
                }
                examCountDown.gameObject.SetActive(false);
                currentTrainMode = TrainUI.TrainMode.Study;
                if (coverTab[coverTab.Length - 1].activeSelf)
                {
                    coverTab[coverTab.Length - 1].SetActive(false);
                    Title[Title.Length - 1].SetActive(false);
                }
                Title[0].SetActive(true);
                coverTab[0].SetActive(true);
                skipButton.SetActive(false);
                mask.SetActive(true);
                uitool.gameObject.SetActive(true);
                movieText.text = "二维电路图原理动画";
                break;

            case TrainUI.TrainMode.Exam:
                ouebutton.SetActive(true);
                //examCountDown.gameObject.SetActive(true);
                //examCountDown.startTimer();
                currentTrainMode = TrainUI.TrainMode.Exam;
                if (coverTab[0].activeSelf)
                {
                    coverTab[0].SetActive(false);
                    Title[0].SetActive(false);
                }
                Title[Title.Length - 1].SetActive(true);
                coverTab[coverTab.Length - 1].SetActive(true);
                skipButton.SetActive(true);
                mask.SetActive(false);
                uitool.gameObject.SetActive(false);
                TrainingManager.initCircuitUI();
                movieText.text = "二维电路图考试";
                break;

            default:
                break;
            }
            flowOperateMenu.initFlowMenu(circuitFlows, flowOperateMenuClick, currentTrainMode);
        }
示例#6
0
 public void cause()
 {
     examGrade.GetComponent <Camera>().depth = -50;
     CoherentUISystem.Instance.UIViews.Remove(examGrade);
     flowOperateMenuClick(0);
     //examCountDown.onRestart();
     tempMode = TrainUI.TrainMode.Study;
     changeMode();
     playMovieStart();
 }
示例#7
0
        public void initUI(TrainUI.TrainMode mode)
        {
            if (gradeManager == null)
            {
                gradeManager = new TLGradeManager();
            }
            examCountDown.setTotalSeconds((int)gradeManager.getExamTimeById(2));
            examCountDown.setTimeEndEvent(timeOver);
            if (topicDB == null)
            {
                topicDB = new TopicCircuitDBHelper();
                readXml(Application.streamingAssetsPath + "/XFTrain/MovieTime.xml");
            }
            initCircuitFlows(mode);
            flowOperateMenu.initFlowMenu(circuitFlows, flowOperateMenuClick, mode);
            currentTrainMode = mode;
            popWindow.setYesSwitchClick(changeMode);
            popWindow.setNoSwitchClick(noClick);
            circuitUIStart.SetActive(true);
            info.text        = "学员" + H5Camera.GetComponent <UICommunicationsScript>().getUsetName() + ",欢迎来到S700K的学习模式";
            circuitUIIsStart = false;
            tempMode         = mode;
            changeMode();
            toolMenu.initToolMenu(toolMenuItemClick);

            if (circuitTopics[circuitFlows[0]].StudyMode == CircuitStudyMode.Image)
            {
                studyImage.gameObject.SetActive(true);
            }
            else if (circuitTopics[circuitFlows[0]].StudyMode == CircuitStudyMode.Movie)
            {
                studyMovie.movie.SetActive(true);
                studyMovie.init();
            }
            else if (circuitTopics[circuitFlows[0]].StudyMode == CircuitStudyMode.ImageMovie)
            {
                studyMovieText.uiPanel.SetActive(true);
                studyMovieText.init();
            }
            else if (circuitTopics[circuitFlows[0]].StudyMode == CircuitStudyMode.Training)
            {
                if (mode == TrainUI.TrainMode.Training)
                {
                    traningMovie.movie.SetActive(true);
                    traningMovie.init();
                }
                else if (mode == TrainUI.TrainMode.Exam)
                {
                    examMovie.movie.SetActive(true);
                    examMovie.init();
                }
            }
        }
示例#8
0
 public void changeMode(TrainUI.TrainMode mode)
 {
     if (coverTab[coverTab.Length - 1].activeSelf)
     {
         coverTab[coverTab.Length - 1].SetActive(false);
         Title[Title.Length - 1].SetActive(false);
     }
     Title[0].SetActive(true);
     coverTab[0].SetActive(true);
     tempMode = mode;
     changeMode();
 }
示例#9
0
 public void onTabClick(GameObject obj)
 {
     string [] name = obj.name.Split('_');
     change.setActiveSwitchMode(true);
     if (name[0].Equals("study"))
     {
         tempMode = TrainUI.TrainMode.Study;
     }
     else if (name[0].Equals("exam"))
     {
         tempMode = TrainUI.TrainMode.Exam;
     }
 }
示例#10
0
 public void onTabCilck(GameObject obj)
 {
     popWindow.setActiveSwitchMode(true);
     if (obj.name.Equals("study_tab"))
     {
         tempMode = TrainUI.TrainMode.Study;
     }
     else if (obj.name.Equals("practice_tab"))
     {
         tempMode = TrainUI.TrainMode.Training;
     }
     else if (obj.name.Equals("exam_tab"))
     {
         tempMode = TrainUI.TrainMode.Exam;
     }
 }
示例#11
0
 private void setCurrentFlow(int index, TrainUI.TrainMode mode)
 {
     if (currentFlowItem != null)
     {
         currentFlowItem.name.color = Color.white;
         currentFlowItem.arrow.SetActive(false);
         currentFlowItem.obj.GetComponent <UISprite>().spriteName   = "gaoliangxuanzhe-liebiaofenge";
         currentFlowItem.obj.GetComponent <UIButton>().normalSprite = "gaoliangxuanzhe-liebiaofenge";
     }
     flows[index].name.color = currentFlowColor;
     flows[index].arrow.SetActive(true);
     flows[index].obj.GetComponent <UISprite>().spriteName   = currentFlowImg[(int)mode];
     flows[index].obj.GetComponent <UIButton>().normalSprite = currentFlowImg[(int)mode];
     foldFlowMenuName.color      = foldFlowMenuColor[(int)mode];
     foldFlowMenuIcon.spriteName = foldFlowmenuIcon[(int)mode];
     currentFlowItem             = flows[index];
 }
示例#12
0
        public void initUI(TrainUI.TrainMode mode)
        {
            if (gradeManager == null)
            {
                gradeManager = new TLGradeManager();
            }
            examCountDown.setTotalSeconds((int)gradeManager.getExamTimeById(2));
            examCountDown.setTimeEndEvent(timeOver);
            if (mode == TrainUI.TrainMode.Training)
            {
                mode = TrainUI.TrainMode.Study;
            }
            if (topicDB == null)
            {
                topicDB = new TopicCircuitDBHelper();
                readXml(Application.streamingAssetsPath + "/XFTrain/MovieTime.xml");
            }
            initCircuitFlows();
            uitool.setReturnBtnClick(backMenu);
            uitool.setPreBtnClick(OnPreClick);
            uitool.setNextBtnClick(OnNextClick);
            uitool.setPauseBtnClick(pauseMovie);
            uitool.setRatateBtnClick(rotateClick);
            //uitool.setSkipBtnClick(onSkipBtnClick);
            flowOperateMenu.initFlowMenu(circuitFlows, flowOperateMenuClick, mode);
            currentTrainMode = mode;
            popWindow.setYesSwitchClick(changeMode);
            popWindow.setNoSwitchClick(noClick);
            circuitUIStart.SetActive(true);
            info.text        = "学员" + H5Camera.GetComponent <UICommunicationsScript>().getUsetName() + ",欢迎来到S700K的学习模式";
            circuitUIIsStart = false;
            tempMode         = mode;
            changeMode();
            toolMenu.initToolMenu(toolMenuItemClick);
            hintBtn.SetActive(false);
            multimeter.gameObject.SetActive(false);
            uitool.setShiwaiSliderValue(1.0f / (float)circuitFlows.Count, 1, circuitFlows.Count);

            ////test
            //UICommunicationsScript t = examGrade.GetComponent<UICommunicationsScript>();
            ////t.ReceiveWeb("{\"Action\":\"updateAllTopic3DScore\",\"param1\":\"20\",\"param2\":\"1\",\"param3\":\"3\"}");
            ////t.ReceiveWeb("{\"Action\":\"updateAllTopic2DScore\",\"param1\":\"20\",\"param2\":\"1\",\"param3\":\"7\"}");
            //t.ReceiveWeb("{\"Action\":\"GetStuInfo\",\"param1\":\"1\",\"param2\":\"4\"}");
            //t.ReceiveWeb("{\"Action\":\"DeleteBackup\",\"param1\":\"0\"}");
            //t.ReceiveWeb("{\"Action\":\"SubmitReportDate\",\"param1\":\"3\"}");
        }
示例#13
0
        /// <summary>
        /// 进入设备认知的方法
        /// </summary>
        /// <param name="equipKnowName"></param>
        public void enterEquipKnow(string equipKnowName, TrainUI.TrainMode mode)
        {
            CoherentUISystem.Instance.UIViews.Remove(H5View);
            H5View.GetComponent <Camera>().depth = -40;

            GlobalConfig.loadName = "DeviceKnow1";
            //先进入LoadingScene场景
            SceneManager.LoadScene("LoadingScene");
            loading.SetActive(true);
            EquipKnowUI equipUI = (EquipKnowUI)UIManager.getInstance().setActiveUI(UIType.EquipKnow);

            if (mode == TrainUI.TrainMode.Training)
            {
                mode = TrainUI.TrainMode.Study;
            }
            equipUI.initTreeMenu(equipKnowName, mode);
            equipUI.setName(equipUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
        }
示例#14
0
        public void initFlowMenu(Action <int> action, TrainUI.TrainMode currentTrainMode)
        {
            if (!isShowGrid)
            {
                showGrid();
            }
            isCircuit      = false;
            isShowToolMenu = false;
            showFlowMenu();
            flows = new Dictionary <int, FlowItem>();
            rest();
            this.action           = action;
            this.currentTrainMode = currentTrainMode;
            TrainingBigFlow bigFlow = TrainingManager.getTrainingBigFlow(UIManager.getInstance().trainUI.CurrentTrainFlow);

            for (int i = 0; i < bigFlow.getFlowIndexs().Count; i++)
            {
                TrainingFlow flow = bigFlow.getTrainingFlow(i);
                GameObject   obj  = ResourceManager.getInstance().loadUISpawnPool(flowItemPrefab, null);
                obj.transform.position = Vector3.zero;
                obj.name = i.ToString();
                grid.AddChild(obj.transform);
                UIEventListener.Get(obj).onClick = flowItemClick;
                FlowItem flowItem = new FlowItem();
                flowItem.index = i;
                flowItem.obj   = obj;
                flowItem.arrow = obj.transform.Find("arrow").gameObject;
                flowItem.arrow.gameObject.SetActive(false);
                flowItem.name      = obj.transform.Find("name").GetComponent <UILabel>();
                flowItem.name.text = flow.name;
                flows.Add(i, flowItem);
                setCurrentFlow(0, currentTrainMode);
            }
            flowOperateTitle.spriteName = getFlowTitleSprite(currentTrainMode, isShowToolMenu);
            flowOperateTitle.GetComponent <UIButton>().normalSprite = flowOperateTitle.spriteName;

            scrollView.gameObject.SetActive(false);
            scrollView.gameObject.SetActive(true);
            grid.repositionNow = true;
            grid.Reposition();
            scrollBar.value = 0;
            scrollView.GetComponent <UIPanel>().Invalidate(true);
        }
示例#15
0
        public void initDynamicListUI(TrainUI.TrainMode trainMode)
        {
            switch (trainMode)
            {
            case TrainUI.TrainMode.Study:
                this.gameObject.SetActive(true);
                showButton.gameObject.SetActive(true);
                showButton.GetComponent <UIButton>().normalSprite = "neirongxianshikuang-xianshianniu";
                showButton.GetComponent <UIButton>().hoverSprite  = "neirongxianshikuang-xianshianniu";
                title.spriteName        = "buzhoutishi-xuexi-biaotikuang";
                numberSprite.spriteName = "buzhoutishi-xuexi-xulie";
                Foreground.spriteName   = "buzhoutishi-xuexi-huagan";
                Background.spriteName   = "buzhoutishi-xuexi-BJ";
                bottomBtn.spriteName    = "buzhoutishi-xuexi-xia";
                topBtn.spriteName       = "buzhoutishi-xuexi-shang";
                showButton.GetComponent <UISprite>().spriteName = "neirongxianshikuang-xianshianniu";
                break;

            case TrainUI.TrainMode.Training:
                this.gameObject.SetActive(true);
                showButton.gameObject.SetActive(true);
                showButton.GetComponent <UIButton>().normalSprite = "buzhoutishi-lianxi-showButton";
                showButton.GetComponent <UIButton>().hoverSprite  = "buzhoutishi-lianxi-showButton";
                title.spriteName        = "buzhoutishi-lianxi-beijng";
                numberSprite.spriteName = "buzhoutishi-lianxi-xuhaokuang";
                Foreground.spriteName   = "buzhoutishi-lianxi-huagan";
                Background.spriteName   = "buzhoutishi-lianxi-BJ";
                bottomBtn.spriteName    = "buzhoutishi-lianxi-xia";
                topBtn.spriteName       = "buzhoutishi-lianxi-shang";
                showButton.GetComponent <UISprite>().spriteName = "buzhoutishi-lianxi-showButton";
                break;

            case TrainUI.TrainMode.Exam:
                this.gameObject.SetActive(false);
                showButton.gameObject.SetActive(false);
                break;
            }
        }
示例#16
0
        public void changeMode()
        {
            info.gameObject.SetActive(false);
            switch (tempMode)
            {
            case TrainUI.TrainMode.Study:
                info.gameObject.SetActive(true);
                circuitUIStart.SetActive(true);
                circuitUIIsStart = false;
                currentTrainMode = TrainUI.TrainMode.Study;
                if (coverTab[coverTab.Length - 1].activeSelf)
                {
                    coverTab[coverTab.Length - 1].SetActive(false);
                    Title[Title.Length - 1].SetActive(false);
                }
                Title[0].SetActive(true);
                coverTab[0].SetActive(true);
                changeExamCameraDepth();
                break;

            case TrainUI.TrainMode.Exam:
                currentTrainMode = TrainUI.TrainMode.Exam;
                if (coverTab[0].activeSelf)
                {
                    coverTab[0].SetActive(false);
                    Title[0].SetActive(false);
                }
                Title[Title.Length - 1].SetActive(true);
                coverTab[coverTab.Length - 1].SetActive(true);
                changeExamCameraDepth();
                break;

            default:
                break;
            }
        }
示例#17
0
        public void changeScene(string sceneName, string equipName, UIType type, string flow, TrainUI.TrainMode trainMode)
        {
            if (!isFirstTrain)
            {
                //记录LOADING场景中需要读取的场景名称
                GlobalConfig.loadName = sceneName;
                //先进入LoadingScene场景
                SceneManager.LoadScene("LoadingScene");
                loading.SetActive(true);

                ((TrainUI)setActiveUI(type)).initTrainUI(equipName, flow, trainMode);
            }
            else
            {
                SceneManager.LoadScene("Guide");
                ((GuideHelperUI)setActiveUI(UIType.GuideUI)).setNextScene(sceneName, type, flow);
            }
            isFirstTrain = false;
        }
示例#18
0
        /// <summary>
        /// 进入流程操作场景
        /// </summary>
        /// <param name="equipName">设备名称</param>
        /// <param name="trainName">流程名:如:设备拆解</param>
        /// <param name="trainMode">学习模式</param>
        public void enterTrain(string equipName, string trainName, TrainUI.TrainMode trainMode)
        {
            modename = trainName;
            switch (trainName)
            {
            case "设备拆解":
                setActiveUI(UIType.TrainUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                changeScene("Train", equipName, UIType.TrainUI, trainName, trainMode);
                trainUI.ExamNumber = 3;
                trainUI.setName(trainUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;

            case "设备组装":
                setActiveUI(UIType.TrainUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                changeScene("Train1", equipName, UIType.TrainUI, trainName, trainMode);
                trainUI.ExamNumber = 4;
                trainUI.setName(trainUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;

            case "电路原理":
                setActiveUI(UIType.CircuitUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                circuitUI.initUI(trainMode);
                circuitUI.setName(circuitUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;

            case "设备巡视":
                setActiveUI(UIType.TrainUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                if (trainMode == TrainUI.TrainMode.Exam)
                {
                    trainMode = TrainUI.TrainMode.Study;
                }
                changeScene("Train_sbxs", equipName, UIType.TrainUI, trainName, trainMode);
                trainUI.ExamNumber = 5;
                trainUI.setName(trainUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;

            case "设备检修":
                setActiveUI(UIType.TrainUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                changeScene("Train_sbjx", equipName, UIType.TrainUI, trainName, trainMode);
                trainUI.ExamNumber = 6;
                trainUI.setName(trainUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;

            case "设备故障":
                setActiveUI(UIType.TrainUI);
                CoherentUISystem.Instance.UIViews.Remove(H5View);
                H5View.GetComponent <Camera>().depth = -40;
                changeScene("YJ_DBQ_0307", equipName, UIType.TrainUI, trainName, trainMode);
                trainUI.ExamNumber = 6;
                trainUI.setName(trainUI.H5Camera.GetComponent <UICommunicationsScript>().getUsetName());
                break;
            }
        }
示例#19
0
        /// <summary>
        /// mode change
        /// </summary>
        public void changeMode()
        {
            selectObj.gameObject.SetActive(false);
            ouebutton.SetActive(false);
            info.gameObject.SetActive(false);
            examCountDown.onStop();
            cleanUI();
            movieManager.OnStop();
            circuitUIStart.SetActive(true);
            circuitUIIsStart = false;
            initCircuitFlows(tempMode);
            flowOperateMenu.initFlowMenu(circuitFlows, flowOperateMenuClick, tempMode);
            switch (tempMode)
            {
            case TrainUI.TrainMode.Study:
                info.gameObject.SetActive(true);
                if (alertMSG != null)
                {
                    Destroy(alertMSG.gameObject);
                }
                examCountDown.gameObject.SetActive(false);
                currentTrainMode = TrainUI.TrainMode.Study;

                coverTab[2].SetActive(false);
                coverTab[1].SetActive(false);
                Title.spriteName = "xitongshijianlan-xuexii-bj";
                titleLabel.text  = "学习模式>室外设备>S700K电路原理";
                coverTab[0].SetActive(true);
                mask.SetActive(true);
                maskTop.SetActive(false);
                maskLeft.SetActive(false);
                break;

            case TrainUI.TrainMode.Training:
                currentTrainMode = TrainUI.TrainMode.Training;
                coverTab[2].SetActive(false);
                coverTab[0].SetActive(false);
                Title.spriteName = "xitongshijianlan-lianxi-bj";
                titleLabel.text  = "练习模式>室外设备>S700K电路原理";
                coverTab[1].SetActive(true);
                mask.SetActive(true);
                maskTop.SetActive(false);
                maskLeft.SetActive(false);
                break;

            case TrainUI.TrainMode.Exam:
                ouebutton.SetActive(false);
                examCountDown.gameObject.SetActive(true);
                // examCountDown.onRestart();
                //examCountDown.startTimer();
                currentTrainMode = TrainUI.TrainMode.Exam;
                coverTab[0].SetActive(false);
                coverTab[1].SetActive(false);
                Title.spriteName = "xitongshijianlan-kaoshi-bj";
                titleLabel.text  = "考试模式>室外设备>S700K电路原理";
                coverTab[2].SetActive(true);
                mask.SetActive(true);
                maskTop.SetActive(true);
                maskLeft.SetActive(true);
                TrainingManager.initCircuitUI();
                details = new List <GradeDetails>(TrainingManager.circuitUIDetails.Values);

                break;

            default:
                break;
            }
            flowOperateMenuClick(0);
            flowOperateMenu.initFlowMenu(circuitFlows, flowOperateMenuClick, currentTrainMode);
        }