public void ViewWorkNotworkIndustryLabelling01(IndustryLabellingData input) { //Go to NancyOtherCustomer3. Go to Function Labelling view. HomePagePanel.SelectCustomer("NancyOtherCustomer3"); TimeManager.ShortPause(); IndustryLabellingPanel.NavigateToIndustryLabelling(); TimeManager.MediumPause(); //Select the BuildingDayNight from Hierarchy Tree IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[0]); JazzMessageBox.LoadingMask.WaitSubMaskLoading(); TimeManager.MediumPause(); //select DayNightP, select 公休比 option. select a 行业区域=严寒地区B区数据中心 option to view chart. IndustryLabellingPanel.CheckTag(input.InputData.tagNames[0]); TimeManager.ShortPause(); //time 2013年 全年 IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[0].year); IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month); EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[0]); EnergyViewToolbar.SelectLabellingUnitTypeConvertTarget(input.InputData.UnitTypeValue); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); TimeManager.MediumPause(); //Assert.AreEqual(7, IndustryLabellingPanel.GetLabellingNumber()); string labellingInfo1 = IndustryLabellingPanel.GetSingleLabellingInfo(input.InputData.Hierarchies[0], input.InputData.YearAndMonth[0], input.InputData.Industries[0][1], input.InputData.UnitTypeValue); IndustryLabellingPanel.ExportExpectedStringToExcel(input.ExpectedData.expectedFileName[0], labellingInfo1); TimeManager.MediumPause(); IndustryLabellingPanel.CompareStringsOfEnergyAnalysis(input.ExpectedData.expectedFileName[0], input.InputData.failedFileName[0]); //Change different time range 年=2012,月=10月 to view chart. IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[1].year); IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[1].month); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); TimeManager.MediumPause(); Assert.AreEqual(8, IndustryLabellingPanel.GetLabellingNumber()); labellingInfo1 = IndustryLabellingPanel.GetSingleLabellingInfo(input.InputData.Hierarchies[0], input.InputData.YearAndMonth[1], input.InputData.Industries[0][1], input.InputData.UnitTypeValue); IndustryLabellingPanel.ExportExpectedStringToExcel(input.ExpectedData.expectedFileName[1], labellingInfo1); TimeManager.MediumPause(); IndustryLabellingPanel.CompareStringsOfEnergyAnalysis(input.ExpectedData.expectedFileName[1], input.InputData.failedFileName[1]); IndustryLabellingPanel.SetYearAndMonth(input.InputData.YearAndMonth[2].year, input.InputData.YearAndMonth[2].month); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); TimeManager.MediumPause(); labellingInfo1 = IndustryLabellingPanel.GetSingleLabellingInfo(input.InputData.Hierarchies[0], input.InputData.YearAndMonth[1], input.InputData.Industries[0][1], input.InputData.UnitTypeValue); IndustryLabellingPanel.ExportExpectedStringToExcel(input.ExpectedData.expectedFileName[3], labellingInfo1); }