/// <summary> /// 跳转到穿戴界面 /// </summary> public void StepToDressPage() { CommonHelper.SpeechToPrompt("请根据焊接类型从工具柜中检查挑选正确的安全用具,并穿戴,操作完成后点击下一步。"); ExamEnv.Reset(); ExamEnv.RandomWelding(); DressPage.Model.WeldingDescription = EnumHelper.GetEnumDescription(ExamEnv.CurrentWeldingType);//将随机产生的焊接类型赋值给穿戴界面 Content = DressPage; ExamEnv.StartDetectUtensils(); DressPage.DisableNextButtonFor1S(); }
private void InitPages() { LoginPage = new Login(); IntroductionPage = new ExamIntroductionPage(); DressPage = new DressPage(); InspectionBeforeWeldingPage = new InspectionBeforeWeldingPage(); SwitchOnPage = new SwitchOnPage(); SwitchOffPage = new SwitchOffPage(); CheckTroublePage = new CheckTroublePage(); }
public OrderDressWorkFlowSteps() { _dressPage = new DressPage(); }