public void MirrorEnvPressTestForLabelling(IndustryLabellingData input) { //Labelling IndustryLabellingPanel.NavigateToIndustryLabelling(); //A. Select Single Hierarchy node HM 中国/Area01/CN0101 IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies[0]); //电 IndustryLabellingPanel.CheckTags(input.InputData.tagNames); TimeManager.LongPause(); //2015全年 IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[1].year); IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[1].month); EnergyViewToolbar.SelectLabellingUnitTypeConvertTarget(input.InputData.UnitTypeValue); EnergyViewToolbar.SelectLabellingIndustryConvertTarget(input.InputData.Industries[0]); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); //2014全年 IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month); IndustryLabellingPanel.SetYear(input.InputData.YearAndMonth[0].year); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); }
public void SmokeTestLabelling(SmokeTestEnergyViewData input) { //Hierarchy = ["NancyCostCustomer2", "组织A", "园区A", "楼宇A"] IndustryLabellingPanel.NavigateToIndustryLabelling(); JazzMessageBox.LoadingMask.WaitSubMaskLoading(); TimeManager.MediumPause(); IndustryLabellingPanel.SelectHierarchy(input.InputData.Hierarchies); JazzMessageBox.LoadingMask.WaitSubMaskLoading(); TimeManager.MediumPause(); //Tags = BAV1Root IndustryLabellingPanel.CheckTags(input.InputData.TagNames); TimeManager.ShortPause(); //全年 IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); TimeManager.MediumPause(); EnergyViewToolbar.SelectTagModeConvertTarget(TagModeConvertTarget.MultipleHierarchyTag); TimeManager.LongPause(); //Select multiple tags Hierarchy = ["NancyCostCustomer2", "组织A", "园区A", "楼宇B"] MultiHieCompareWindow.SelectHierarchyNode(input.InputData.MultipleHierarchyAndtags[0].HierarchyPath); JazzMessageBox.LoadingMask.WaitSubMaskLoading(); TimeManager.ShortPause(); //Tags = BBV1Root MultiHieCompareWindow.SwitchTagTab(TagTabs.HierarchyTag); MultiHieCompareWindow.CheckTag(input.InputData.MultipleHierarchyAndtags[0].TagsName[0]); TimeManager.ShortPause(); MultiHieCompareWindow.ClickConfirmButton(); TimeManager.LongPause(); TimeManager.LongPause(); //全年 IndustryLabellingPanel.SetMonth(input.InputData.YearAndMonth[0].month); EnergyViewToolbar.ClickViewButton(); JazzMessageBox.LoadingMask.WaitChartMaskerLoading(); TimeManager.MediumPause(); }