public DevBrief() { DevWeeklies weeklies = new DevWeeklies(); weeklies.Load().Summarize(); FrontDevBriefList = ToBriefItemList(DepartmentType.FRONT, weeklies.CurrentWeekWorksDevDivisions); FrontDataBriefList = ToBriefItemList(DepartmentType.FRONT, weeklies.CurrentWeekWorksDataSci); BackDevBriefList = ToBriefItemList(DepartmentType.BACK, weeklies.CurrentWeekWorksDevDivisions); BackDataBriefList = ToBriefItemList(DepartmentType.BACK, weeklies.CurrentWeekWorksDataSci); }
//比对项目计划与周报中的项目部分,生成草稿 static void Phase1() { Console.WriteLine("phase 1 start ... "); DevWeeklies devWeeklies = new DevWeeklies(); devWeeklies.Load().Summarize(); new ProjectPlan() .CompareWith(devWeeklies) .ReNewProjectPlan(); Console.WriteLine("phase 1 complete ... "); }