public void ViewDayNightIndustryLabelling03(IndustryLabellingData input)
        {
            //Go to NancyOtherCustomer3. Go to Function Labelling view.
            //Select BuildingLabelling1, select Labellingtag1,
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[0]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();

            IndustryLabellingPanel.SwitchTagTab(TagTabs.HierarchyTag);
            TimeManager.LongPause();

            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[0]);
            TimeManager.ShortPause();

            //select a 行业区域=夏热冬暖酒店三星级行业; Go to 昼夜比 option, time range=2012/10 to view chart.(There is no data from 2012-10 to 2015-01)
            EnergyViewToolbar.SelectLabellingUnitTypeConvertTarget(input.InputData.UnitTypeValue);
            EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[0]);
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[0].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            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]);

            //Select time range=2010/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();

            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]);

            //Select time range=2012/09 to view chart.
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[2].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[2].month);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            Assert.IsTrue(JazzMessageBox.MessageBox.GetMessage().Contains(input.ExpectedData.messages[0]));
            JazzMessageBox.MessageBox.OK();
            TimeManager.LongPause();
            Assert.IsTrue(IndustryLabellingPanel.EntirelyNoLabellingChartDrawn());

            //Select Labellingtag2, select 行业区域=夏热冬暖酒店三星级行业;time range=2013/10 to view chart.
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[1]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.MediumPause();

            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[1]);
            TimeManager.ShortPause();

            // Select time range=2013/10 to view chart.
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[3].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[3].month);
            EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[0]);
            EnergyViewToolbar.SelectLabellingUnitTypeConvertTarget(input.InputData.UnitTypeValue);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            labellingInfo1 = IndustryLabellingPanel.GetSingleLabellingInfo(input.InputData.Hierarchies[1], input.InputData.YearAndMonth[3], input.InputData.Industries[0][1], input.InputData.UnitTypeValue);
            IndustryLabellingPanel.ExportExpectedStringToExcel(input.ExpectedData.expectedFileName[2], labellingInfo1);
            TimeManager.MediumPause();
            IndustryLabellingPanel.CompareStringsOfEnergyAnalysis(input.ExpectedData.expectedFileName[2], input.InputData.failedFileName[2]);

            //Select Labellingtag2, select  行业区域=夏热冬暖酒店三星级行业;time range=2012/09 to view chart.
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[4].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[4].month);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            Assert.IsTrue(JazzMessageBox.MessageBox.GetMessage().Contains(input.ExpectedData.messages[0]));
            JazzMessageBox.MessageBox.OK();
            TimeManager.LongPause();

            Assert.IsTrue(IndustryLabellingPanel.EntirelyNoLabellingChartDrawn());

            //Change to NancyCostCustomer2, select 楼宇B-> system dimension=空调 to select BBV1KT(Or area dimension=一层 to select BBV1A1)select a 行业区域=严寒地区B区机场行业 option to view chart.
            HomePagePanel.SelectCustomer("NancyCostCustomer2");
            TimeManager.ShortPause();

            IndustryLabellingPanel.NavigateToIndustryLabelling();
            TimeManager.MediumPause();

            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[2]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.MediumPause();

            IndustryLabellingPanel.SwitchTagTab(TagTabs.SystemDimensionTab);
            TimeManager.MediumPause();

            IndustryLabellingPanel.SelectSystemDimension(input.InputData.SystemDimensionPath[0]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.MediumPause();

            //BBV1KT
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[2]);
            TimeManager.ShortPause();

            //2014-1, 严寒地区B区全行业
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[5].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[5].month);
            EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[1]);
            EnergyViewToolbar.SelectLabellingUnitTypeConvertTarget(input.InputData.UnitTypeValue);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            //Assert.AreEqual(5, IndustryLabellingPanel.GetLabellingNumber());
            labellingInfo1 = IndustryLabellingPanel.GetSingleLabellingInfo(input.InputData.Hierarchies[2], input.InputData.YearAndMonth[5], input.InputData.Industries[1][1], input.InputData.UnitTypeValue);
            IndustryLabellingPanel.ExportExpectedStringToExcel(input.ExpectedData.expectedFileName[3], labellingInfo1);
            TimeManager.MediumPause();
            IndustryLabellingPanel.CompareStringsOfEnergyAnalysis(input.ExpectedData.expectedFileName[3], input.InputData.failedFileName[3]);

            //Select tag BBV1Root, and “全部区域全行业" Click "查看数据".2014-1
            IndustryLabellingPanel.SwitchTagTab(TagTabs.HierarchyTag);
            TimeManager.MediumPause();

            IndustryLabellingPanel.UncheckTag(input.InputData.tagNames[2]);
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[3]);
            TimeManager.MediumPause();

            EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[2]);
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[5].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[5].month);

            EnergyViewToolbar.ClickViewButton();
            JazzMessageBox.LoadingMask.WaitChartMaskerLoading();
            TimeManager.MediumPause();

            Assert.IsFalse(IndustryLabellingPanel.EntirelyNoLabellingChartDrawn());
        }
        public void SelectIndustyLabelling03(IndustryLabellingData input)
        {
            //Select "园区测试多层级", 非楼宇节点
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[0]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();
            Assert.IsTrue(HomePagePanel.GetPopNotesValue().Contains(input.ExpectedData.popupNotes[0]));
            TimeManager.LongPause();
            Assert.AreEqual(false, LabellingIndustryConvertButton.IsEnabled());
            TimeManager.LongPause();
            //Select Nancycustomer1,非楼宇节点
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[1]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();
            Assert.IsTrue(HomePagePanel.GetPopNotesValue().Contains(input.ExpectedData.popupNotes[0]));
            TimeManager.LongPause();
            TimeManager.LongPause();
            Assert.AreEqual(false, LabellingIndustryConvertButton.IsEnabled());
            TimeManager.LongPause();

            //'所选数据点不是同一介质,请重新选择'
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[2]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[0]);
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[1]);
            Assert.IsTrue(HomePagePanel.GetPopNotesValue().Contains(input.ExpectedData.popupNotes[1]));
            TimeManager.LongPause();
            Assert.AreEqual(false, LabellingIndustryConvertButton.IsEnabled());
            TimeManager.LongPause();
            //系统区域数据点,'所选数据点不是同一介质,请重新选择'
            IndustryLabellingPanel.UncheckTag(input.InputData.tagNames[1]);
            IndustryLabellingPanel.SwitchTagTab(TagTabs.SystemDimensionTab);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.MediumPause();
            IndustryLabellingPanel.SelectSystemDimension(input.InputData.SystemDimensionPath[0]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.MediumPause();
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[2]);
            Assert.IsTrue(HomePagePanel.GetPopNotesValue().Contains(input.ExpectedData.popupNotes[1]));
            TimeManager.LongPause();
            Assert.AreEqual(false, LabellingIndustryConvertButton.IsEnabled());
            TimeManager.LongPause();
            //Uncheck Labellingtag12,
            IndustryLabellingPanel.SwitchTagTab(TagTabs.HierarchyTag);
            IndustryLabellingPanel.UncheckTag(input.InputData.tagNames[0]);
            // Assert.AreEqual(input.ExpectedData.IndustryValues[0], LabellingIndustryConvertButton.GetText());
            Assert.AreEqual(input.ExpectedData.IndustryValues[2], LabellingIndustryConvertButton.GetText());
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[1]);
            //time 2014-01
            IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[0].year);
            IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month);

            TimeManager.LongPause();
            Assert.AreEqual(input.ExpectedData.Industries, EnergyViewToolbar.GetIndustryLabellingMenuListItems(input.InputData.Industries[0][0]));
            TimeManager.LongPause();
            TimeManager.MediumPause();
            //选择BuildingLabelling2,
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[3]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();
            TimeManager.LongPause();
            Assert.AreEqual(true, LabellingIndustryConvertButton.IsEnabled());
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[4]);

            //Click "删除所有" and 确定
            EnergyViewToolbar.SelectMoreOption(EnergyViewMoreOption.DeleteAll);
            TimeManager.MediumPause();
            Assert.IsTrue(JazzMessageBox.MessageBox.GetMessage().Contains(input.ExpectedData.ClearAllMessage));
            JazzMessageBox.MessageBox.Clear();
            TimeManager.LongPause();
            //Assert.AreEqual("$@Zone_Extreme_Cold_Region_A$@Industry_Hotel_Five_stat", LabellingIndustryConvertButton.GetText());
            TimeManager.LongPause();

            //验证多层级不同介质
            EnergyViewToolbar.SelectTagModeConvertTarget(TagModeConvertTarget.MultipleHierarchyTag);
            TimeManager.LongPause();
            MultiHieCompareWindow.SelectHierarchyNode(input.InputData.MultipleHierarchyAndtags[3].HierarchyPath);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.ShortPause();
            MultiHieCompareWindow.SwitchTagTab(TagTabs.HierarchyTag);
            MultiHieCompareWindow.CheckTag(input.InputData.MultipleHierarchyAndtags[3].TagsName[0]);
            TimeManager.ShortPause();

            MultiHieCompareWindow.SelectHierarchyNode(input.InputData.MultipleHierarchyAndtags[1].HierarchyPath);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.ShortPause();
            MultiHieCompareWindow.SwitchTagTab(TagTabs.HierarchyTag);
            MultiHieCompareWindow.CheckTag(input.InputData.MultipleHierarchyAndtags[1].TagsName[0]);
            TimeManager.ShortPause();

            MultiHieCompareWindow.ClickConfirmButton();
            TimeManager.LongPause();
            Assert.AreEqual(false, LabellingIndustryConvertButton.IsEnabled());
            TimeManager.LongPause();
            //切换到Ratio indicator,验证ConvertTargetButton status状态
            RadioPanel.NavigateToRatio();
            TimeManager.MediumPause();
            Assert.AreEqual(input.ExpectedData.IndustryValues[0], IndustryConvertTargetButton.GetText());
            TimeManager.LongPause();
            //切换到Labelling,验证行业labelling为空,自定义不为空
            IndustryLabellingPanel.NavigateToIndustryLabelling();
            TimeManager.MediumPause();
            IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[4]);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();
            TimeManager.LongPause();
            IndustryLabellingPanel.CheckTag(input.InputData.tagNames[3]);
            TimeManager.ShortPause();
            Assert.AreEqual(input.ExpectedData.IndustryValues[1], LabellingIndustryConvertButton.GetText());
            EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[1]);
            Assert.AreEqual("SelectIndustryLabelling", LabellingIndustryConvertButton.GetText());
        }