//按下一次初始化一次 protected void InitLightModule() { LightModule = new LightModule(); LightExamItem = LightModule.LightExamItem; LightModule.InitAsync(new ExamInitializationContext(MapSet.Empty)).Wait(); var lightGroup = dataService.AllLightExamItems; LightGroups = new Queue <string>(); foreach (var item in lightGroup) { //考试完成后在继续考试 LightGroups.Enqueue(item.GroupName); } }
protected void InitModule() { LightModule = new LightModule(); LightExamItem = LightModule.LightExamItem; LightModule.InitAsync(new ExamInitializationContext(MapSet.Empty)).Wait(); }