diff --git a/src/main/java/com/bonus/autoweb/UI/frame/DailyAction.java b/src/main/java/com/bonus/autoweb/UI/frame/DailyAction.java deleted file mode 100644 index 3ff2a68..0000000 --- a/src/main/java/com/bonus/autoweb/UI/frame/DailyAction.java +++ /dev/null @@ -1,5705 +0,0 @@ -package com.bonus.autoweb.UI.frame; - -import com.bonus.autoweb.UI.entity.*; -import com.bonus.autoweb.base.DataConfig; -import com.thoughtworks.xstream.XStream; -import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver; - -import javax.swing.*; -import java.awt.*; -import java.awt.event.FocusEvent; -import java.awt.event.FocusListener; -import java.awt.event.MouseEvent; -import java.awt.event.MouseListener; -import java.io.*; -import java.nio.charset.Charset; -import java.util.ArrayList; -import java.util.List; - -/** - * 日报页面 - * @author zys - */ -public class DailyAction extends JFrame implements MouseListener { - - private static final long serialVersionUID = 1L; - - JPanel jp; - - JTextArea overallJt, importantMattersJt, safetyProductionJt, personnelDailyWorkJt, - powerGuaranteeTodayWorkJt, powerGuaranteeTomorrowWorkJt, powerGuaranteeTodayPestilenceJt, - warningCompanyJt, warningCompanyImpatientJt, warningSocietyEmergencyJt, otherSituationsJt; - - JTextField - exercisePersonNumJt, exerciseVehicleNumJt, exercisePowerVehicleNumJt, exerciseDynamoNumJt, - exerciseFindProblemsJt, exerciseRemarkJt, verificationPersonNumJt, verificationTeamNumJt, - verificationEquipNumJt, verificationMaterialNumJt, verificationVehicleNumJt, - verificationFindProblemsJt, verificationRemarkJt, designatedHospitalsJt, feverClinicJt, - epidemicEnterpriseJt, otherImportantUsersJt, customerPowerPersonnelJt, powerDevopsPersonnelJt, - electricallyVehiclesJt, emergencyPowerVehiclesJt, emergencyGeneratorJt, leadersCommandStaffJt, - inputAmountPersonJt, inputAmountVehicleJt, inputAmountPowerVehicleJt, inputAmountDynamoJt, inputAmountRemarkJt, - powerSubstationAddOutageUvhJt,powerSubstationAddOutageFiveJt,powerSubstationAddOutageTwoJt,powerSubstationAddOutageOneJt,powerSubstationAddOutageThreeJt, - powerSubstationAddRepairOutageUvhJt,powerSubstationAddRepairOutageFiveJt,powerSubstationAddRepairOutageTwoJt,powerSubstationAddRepairOutageOneJt,powerSubstationAddRepairOutageThreeJt, - powerSubstationAddNoRepairOutageUvhJt,powerSubstationAddNoRepairOutageFiveJt,powerSubstationAddNoRepairOutageTwoJt,powerSubstationAddNoRepairOutageOneJt,powerSubstationAddNoRepairOutageThreeJt, - powerSubstationCumulativeOutageUvhJt,powerSubstationCumulativeOutageFiveJt,powerSubstationCumulativeOutageTwoJt,powerSubstationCumulativeOutageOneJt,powerSubstationCumulativeOutageThreeJt, - powerSubstationCumulativeRepairOutageUvhJt,powerSubstationCumulativeRepairOutageFiveJt,powerSubstationCumulativeRepairOutageTwoJt,powerSubstationCumulativeRepairOutageOneJt,powerSubstationCumulativeRepairOutageThreeJt, - powerSubstationCumulativeNoRepairOutageUvhJt,powerSubstationCumulativeNoRepairOutageFiveJt,powerSubstationCumulativeNoRepairOutageTwoJt,powerSubstationCumulativeNoRepairOutageOneJt,powerSubstationCumulativeNoRepairOutageThreeJt, - transmitElectricityAddOutageUvhJt,transmitElectricityAddOutageFiveJt,transmitElectricityAddOutageTwoJt,transmitElectricityAddOutageOneJt,transmitElectricityAddOutageThreeJt,transmitElectricityAddOutageTenJt, - transmitElectricityAddRepairOutageUvhJt,transmitElectricityAddRepairOutageFiveJt,transmitElectricityAddRepairOutageTwoJt,transmitElectricityAddRepairOutageOneJt,transmitElectricityAddRepairOutageThreeJt,transmitElectricityAddRepairOutageTenJt, - transmitElectricityAddNoRepairOutageUvhJt,transmitElectricityAddNoRepairOutageFiveJt,transmitElectricityAddNoRepairOutageTwoJt,transmitElectricityAddNoRepairOutageOneJt,transmitElectricityAddNoRepairOutageThreeJt,transmitElectricityAddNoRepairOutageTenJt, - transmitElectricityCumulativeOutageUvhJt,transmitElectricityCumulativeOutageFiveJt,transmitElectricityCumulativeOutageTwoJt,transmitElectricityCumulativeOutageOneJt,transmitElectricityCumulativeOutageThreeJt,transmitElectricityCumulativeOutageTenJt, - transmitElectricityCumulativeRepairOutageUvhJt,transmitElectricityCumulativeRepairOutageFiveJt,transmitElectricityCumulativeRepairOutageTwoJt,transmitElectricityCumulativeRepairOutageOneJt,transmitElectricityCumulativeRepairOutageThreeJt,transmitElectricityCumulativeRepairOutageTenJt, - transmitElectricityCumulativeNoRepairOutageUvhJt,transmitElectricityCumulativeNoRepairOutageFiveJt,transmitElectricityCumulativeNoRepairOutageTwoJt,transmitElectricityCumulativeNoRepairOutageOneJt,transmitElectricityCumulativeNoRepairOutageThreeJt,transmitElectricityCumulativeNoRepairOutageTenJt, - nineAddTaiDistrictDisasterJt,nineAddPersonnelDisasterJt,nineAddTaiDistrictRepairJt,nineAddPersonnelRepairJt,nineAddTaiDistrictNoRepairJt,nineAddPersonnelNoRepairJt,powerPersonnelAddNineJt,powerVehicleAddNineJt, - nineCumulativeTaiDistrictDisasterJt,nineCumulativePersonnelDisasterJt,nineCumulativeTaiDistrictRepairJt,nineCumulativePersonnelRepairJt,nineCumulativeTaiDistrictNoRepairJt,nineCumulativePersonnelNoRepairJt,powerPersonnelCumulativeNineJt,powerVehicleCumulativeNineJt, - totalAddDiagnosedJt, totalAddHealJt , totalAddSuspectedJt,totalExistingDiagnosedJt, totalExistingHealJt , totalExistingSuspectedJt, - dispatchAddDiagnosedJt, dispatchAddHealJt , dispatchAddSuspectedJt,dispatchExistingDiagnosedJt, dispatchExistingHealJt , dispatchExistingSuspectedJt, - repairAddDiagnosedJt, repairAddHealJt , repairAddSuspectedJt,repairExistingDiagnosedJt, repairExistingHealJt , repairExistingSuspectedJt, - marketingAddDiagnosedJt, marketingAddHealJt , marketingAddSuspectedJt,marketingExistingDiagnosedJt, marketingExistingHealJt , marketingExistingSuspectedJt, - constructionAddDiagnosedJt, constructionAddHealJt , constructionAddSuspectedJt,constructionExistingDiagnosedJt, constructionExistingHealJt , constructionExistingSuspectedJt, - airportPortJt,venueHospitalJt,guesthouseHotelJt,safeguardPersonnelJt, electricallyGuaranteedVehiclesJt,powerGenerationVehiclesJt,dynamoJt,fiveRemarkJt, - - tenUhvJt,tenFiveHundredKvJt,tenTwoHundredTwentyKvJt,tenOneHundredTenKvJt,tenThirtyFiveKvJt,tenTenKvJt,tenAverageWaterLevelJt,tenMeasuredValueJt,tenDesignValuesJt,tenActionHasBeenTakenJt, - - elevenUhvJt,elevenFiveHundredKvJt,elevenTwoHundredTwentyKvJt,elevenOneHundredTenKvJt,elevenThirtyFiveKvJt,elevenTenKvJt,elevenAverageWaterLevelJt,elevenMeasuredValueJt,elevenActionHasBeenTakenJt, - twelveUhvJt,twelveFiveHundredKvJt,twelveTwoHundredTwentyKvJt,twelveOneHundredTenKvJt,twelveThirtyFiveKvJt,twelveTenKvJt,twelveAverageWaterLevelJt,twelveMeasuredValueJt,twelveDesignValuesJt,twelveActionHasBeenTakenJt, - thirteenUhvJt,thirteenFiveHundredKvJt,thirteenTwoHundredTwentyKvJt,thirteenOneHundredTenKvJt,thirteenThirtyFiveKvJt,thirteenTenKvJt,thirteenAverageWaterLevelJt,thirteenMeasuredValueJt,thirteenDesignValuesJt,thirteenActionHasBeenTakenJt, - fourteenUhvJt,fourteenFiveHundredKvJt,fourteenTwoHundredTwentyKvJt,fourteenOneHundredTenKvJt,fourteenThirtyFiveKvJt,fourteenTenKvJt,fourteenAverageWaterLevelJt,fourteenMeasuredValueJt,fourteenDesignValuesJt,fourteenActionHasBeenTakenJt; - - String[] strArray = {"“四要素”检查", "通信测试", "重要站线视频连线检查"}; - - String type; - JComboBox exerciseContentBox; - JButton btn; - - public static void main(String[] args) { - /** - * morning_daily - * evening_daily - */ - new DailyAction("evening_daily"); - } - - public DailyAction(String value) { - type = value; - String val = "日报填报"; - if(value.equals("morning_daily")){ - val = "早报填报"; - }else{ - val = "晚报填报"; - } - //设置显示窗口标题 - setTitle(val); - Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize(); -// //设置窗口显示尺寸 - setSize((dimension.width + 420) / 2, dimension.height); - Point p = GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint(); - setBounds(p.x - (dimension.width + 180) / 3 * 2 / 2-180, p.y - dimension.height / 2 + 25, - (dimension.width + 720) / 3 * 2, dimension.height - 50); - setResizable(false); -// //设置窗口是否可以关闭 - setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - //获取本窗口的内容窗格 - Container c = getContentPane(); - JPanel jPanel = initMainJpanel(); - JScrollPane jScroller = new JScrollPane(jPanel,ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, - ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS); - //设置滚轮速度 - jScroller.getVerticalScrollBar().setUnitIncrement(20); - c.add(jScroller); - //设置本窗口是否可见 - setVisible(true); - initData(); - } - - private void initData() { - String path = DataConfig.filePath+"\\" + type + ".xml"; - if(new File(path).exists()){ - File file = new File(path); - InputStreamReader in = null; - String xml = null; - try { - //主要就是这里的设置 - in = new InputStreamReader(new FileInputStream(file), Charset.forName("gbk") ); - StringBuffer sb = new StringBuffer(); - char[] array= new char[1024]; - int length = -1; - while((length=in.read(array))!= -1){ - sb.append(array, 0, length); - } - in.close(); - xml=sb.toString().trim(); - System.out.println(xml); - } catch (Exception e) { - // TODO: handle exception - } - - XStream xstream = new XStream(new JettisonMappedXmlDriver()); - xstream.alias(type, DailyBean.class); - DailyBean bean = (DailyBean) xstream.fromXML(xml); - AnnexOneBean oneBean = bean.getOneBean(); - AnnexTwoBean twoBean = bean.getTwoBean(); - AnnexFourBean fourBean = bean.getFourBean(); - AnnexSixBean sixBean = bean.getSixBean(); - AnnexSevenBean sevenBean = bean.getSevenBean(); - AnnexEightBean eightBean = bean.getEightBean(); - AnnexNineBean nineBean = bean.getNineBean(); - AnnexThreeBean threeBean = bean.getThreeBean(); - AnnexFiveBean fiveBean = bean.getFiveBean(); - AnnexTenBean tenBean = bean.getTenBean(); - AnnexElevenBean elevenBean = bean.getElevenBean(); - AnnexTwelveBean twelveBean = bean.getTwelveBean(); - AnnexThirteenBean thirteenBean = bean.getThirteenBean(); - AnnexFourteenBean fourteenBean = bean.getFourteenBean(); - overallJt.setText(bean.getOverall()); - importantMattersJt.setText(bean.getImportant_matters()); - safetyProductionJt.setText(bean.getSafety_production()); - personnelDailyWorkJt.setText(bean.getPersonnel_daily_work()); - powerGuaranteeTodayWorkJt.setText(bean.getPower_guarantee_today_work()); - powerGuaranteeTomorrowWorkJt.setText(bean.getPower_guarantee_tomorrow_work()); - powerGuaranteeTodayPestilenceJt.setText(bean.getPower_guarantee_today_pestilence()); - warningCompanyJt.setText(bean.getWarning_company()); - warningCompanyImpatientJt.setText(bean.getWarning_company_impatient()); - warningSocietyEmergencyJt.setText(bean.getWarning_society_emergency()); - otherSituationsJt.setText(bean.getOther_situations()); - int index = 0; - for (int i = 0; i < strArray.length; i++) { - if(oneBean.getExercise_content().equals(strArray[i])){ - index = i; - } - } - exerciseContentBox.setSelectedIndex(index); - exercisePersonNumJt.setText(oneBean.getExercise_person_num()); - exerciseVehicleNumJt.setText(oneBean.getExercise_vehicle_num()); - exercisePowerVehicleNumJt.setText(oneBean.getExercise_power_vehicle_num()); - exerciseDynamoNumJt.setText(oneBean.getExercise_dynamo_num()); - exerciseFindProblemsJt.setText(oneBean.getExercise_find_problems()); - exerciseRemarkJt.setText(oneBean.getRemark()); - verificationPersonNumJt.setText(twoBean.getVerification_person_num()); - verificationTeamNumJt.setText(twoBean.getVerification_team_num()); - verificationEquipNumJt.setText(twoBean.getVerification_equip_num()); - verificationMaterialNumJt.setText(twoBean.getVerification_material_num()); - verificationVehicleNumJt.setText(twoBean.getVerification_vehicle_num()); - verificationFindProblemsJt.setText(twoBean.getVerification_find_problems()); - verificationRemarkJt.setText(twoBean.getRemark()); - designatedHospitalsJt.setText(fourBean.getDesignated_hospitals()); - feverClinicJt.setText(fourBean.getFever_clinic()); - epidemicEnterpriseJt.setText(fourBean.getEpidemic_enterprise()); - otherImportantUsersJt.setText(fourBean.getOther_important_users()); - customerPowerPersonnelJt.setText(fourBean.getCustomer_power_personnel()); - powerDevopsPersonnelJt.setText(fourBean.getPower_devops_personnel()); - electricallyVehiclesJt.setText(fourBean.getElectrically_vehicles()); - emergencyPowerVehiclesJt.setText(fourBean.getEmergency_power_vehicles()); - emergencyGeneratorJt.setText(fourBean.getEmergency_generator()); - leadersCommandStaffJt.setText(sixBean.getLeaders_command_staff()); - inputAmountPersonJt.setText(sixBean.getInput_amount_person()); - inputAmountVehicleJt.setText(sixBean.getInput_amount_vehicle()); - inputAmountPowerVehicleJt.setText(sixBean.getInput_amount_power_vehicle()); - inputAmountDynamoJt.setText(sixBean.getInput_amount_dynamo()); - inputAmountRemarkJt.setText(sixBean.getRemark()); - - powerSubstationAddOutageUvhJt.setText(sevenBean.getPower_substation_add_outage_uvh()); - powerSubstationAddOutageFiveJt.setText(sevenBean.getPower_substation_add_outage_five()); - powerSubstationAddOutageTwoJt.setText(sevenBean.getPower_substation_add_outage_two()); - powerSubstationAddOutageOneJt.setText(sevenBean.getPower_substation_add_outage_one()); - powerSubstationAddOutageThreeJt.setText(sevenBean.getPower_substation_add_outage_three()); - powerSubstationAddRepairOutageUvhJt.setText(sevenBean.getPower_substation_add_repair_uvh()); - powerSubstationAddRepairOutageFiveJt.setText(sevenBean.getPower_substation_add_repair_five()); - powerSubstationAddRepairOutageTwoJt.setText(sevenBean.getPower_substation_add_repair_two()); - powerSubstationAddRepairOutageOneJt.setText(sevenBean.getPower_substation_add_repair_one()); - powerSubstationAddRepairOutageThreeJt.setText(sevenBean.getPower_substation_add_repair_three()); - powerSubstationAddNoRepairOutageUvhJt.setText(sevenBean.getPower_substation_add_no_repair_uvh()); - powerSubstationAddNoRepairOutageFiveJt.setText(sevenBean.getPower_substation_add_no_repair_five()); - powerSubstationAddNoRepairOutageTwoJt.setText(sevenBean.getPower_substation_add_no_repair_two()); - powerSubstationAddNoRepairOutageOneJt.setText(sevenBean.getPower_substation_add_no_repair_one()); - powerSubstationAddNoRepairOutageThreeJt.setText(sevenBean.getPower_substation_add_no_repair_three()); - powerSubstationCumulativeOutageUvhJt.setText(sevenBean.getPower_substation_cumulative_outage_uvh()); - powerSubstationCumulativeOutageFiveJt.setText(sevenBean.getPower_substation_cumulative_outage_five()); - powerSubstationCumulativeOutageTwoJt.setText(sevenBean.getPower_substation_cumulative_outage_two()); - powerSubstationCumulativeOutageOneJt.setText(sevenBean.getPower_substation_cumulative_outage_one()); - powerSubstationCumulativeOutageThreeJt.setText(sevenBean.getPower_substation_cumulative_outage_three()); - powerSubstationCumulativeRepairOutageUvhJt.setText(sevenBean.getPower_substation_cumulative_repair_uvh()); - powerSubstationCumulativeRepairOutageFiveJt.setText(sevenBean.getPower_substation_cumulative_repair_five()); - powerSubstationCumulativeRepairOutageTwoJt.setText(sevenBean.getPower_substation_cumulative_repair_two()); - powerSubstationCumulativeRepairOutageOneJt.setText(sevenBean.getPower_substation_cumulative_repair_one()); - powerSubstationCumulativeRepairOutageThreeJt.setText(sevenBean.getPower_substation_cumulative_repair_three()); - powerSubstationCumulativeNoRepairOutageUvhJt.setText(sevenBean.getPower_substation_cumulative_no_repair_uvh()); - powerSubstationCumulativeNoRepairOutageFiveJt.setText(sevenBean.getPower_substation_cumulative_no_repair_five()); - powerSubstationCumulativeNoRepairOutageTwoJt.setText(sevenBean.getPower_substation_cumulative_no_repair_two()); - powerSubstationCumulativeNoRepairOutageOneJt.setText(sevenBean.getPower_substation_cumulative_no_repair_one()); - powerSubstationCumulativeNoRepairOutageThreeJt.setText(sevenBean.getPower_substation_cumulative_no_repair_three()); - - transmitElectricityAddOutageUvhJt.setText(eightBean.getTransmit_electricity_add_outage_uvh()); - transmitElectricityAddOutageFiveJt.setText(eightBean.getTransmit_electricity_add_outage_five()); - transmitElectricityAddOutageTwoJt.setText(eightBean.getTransmit_electricity_add_outage_two()); - transmitElectricityAddOutageOneJt.setText(eightBean.getTransmit_electricity_add_outage_one()); - transmitElectricityAddOutageThreeJt.setText(eightBean.getTransmit_electricity_add_outage_three()); - transmitElectricityAddOutageTenJt.setText(eightBean.getTransmit_electricity_add_outage_ten()); - transmitElectricityAddRepairOutageUvhJt.setText(eightBean.getTransmit_electricity_add_repair_uvh()); - transmitElectricityAddRepairOutageFiveJt.setText(eightBean.getTransmit_electricity_add_repair_five()); - transmitElectricityAddRepairOutageTwoJt.setText(eightBean.getTransmit_electricity_add_repair_two()); - transmitElectricityAddRepairOutageOneJt.setText(eightBean.getTransmit_electricity_add_repair_one()); - transmitElectricityAddRepairOutageThreeJt.setText(eightBean.getTransmit_electricity_add_repair_three()); - transmitElectricityAddRepairOutageTenJt.setText(eightBean.getTransmit_electricity_add_repair_ten()); - transmitElectricityAddNoRepairOutageUvhJt.setText(eightBean.getTransmit_electricity_add_no_repair_uvh()); - transmitElectricityAddNoRepairOutageFiveJt.setText(eightBean.getTransmit_electricity_add_no_repair_five()); - transmitElectricityAddNoRepairOutageTwoJt.setText(eightBean.getTransmit_electricity_add_no_repair_two()); - transmitElectricityAddNoRepairOutageOneJt.setText(eightBean.getTransmit_electricity_add_no_repair_one()); - transmitElectricityAddNoRepairOutageThreeJt.setText(eightBean.getTransmit_electricity_add_no_repair_three()); - transmitElectricityAddNoRepairOutageTenJt.setText(eightBean.getTransmit_electricity_add_no_repair_ten()); - transmitElectricityCumulativeOutageUvhJt.setText(eightBean.getTransmit_electricity_cumulative_outage_uvh()); - transmitElectricityCumulativeOutageFiveJt.setText(eightBean.getTransmit_electricity_cumulative_outage_five()); - transmitElectricityCumulativeOutageTwoJt.setText(eightBean.getTransmit_electricity_cumulative_outage_two()); - transmitElectricityCumulativeOutageOneJt.setText(eightBean.getTransmit_electricity_cumulative_outage_one()); - transmitElectricityCumulativeOutageThreeJt.setText(eightBean.getTransmit_electricity_cumulative_outage_three()); - transmitElectricityCumulativeOutageTenJt.setText(eightBean.getTransmit_electricity_cumulative_outage_ten()); - transmitElectricityCumulativeRepairOutageUvhJt.setText(eightBean.getTransmit_electricity_cumulative_repair_uvh()); - transmitElectricityCumulativeRepairOutageFiveJt.setText(eightBean.getTransmit_electricity_cumulative_repair_five()); - transmitElectricityCumulativeRepairOutageTwoJt.setText(eightBean.getTransmit_electricity_cumulative_repair_two()); - transmitElectricityCumulativeRepairOutageOneJt.setText(eightBean.getTransmit_electricity_cumulative_repair_one()); - transmitElectricityCumulativeRepairOutageThreeJt.setText(eightBean.getTransmit_electricity_cumulative_repair_three()); - transmitElectricityCumulativeRepairOutageTenJt.setText(eightBean.getTransmit_electricity_cumulative_repair_ten()); - transmitElectricityCumulativeNoRepairOutageUvhJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_uvh()); - transmitElectricityCumulativeNoRepairOutageFiveJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_five()); - transmitElectricityCumulativeNoRepairOutageTwoJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_two()); - transmitElectricityCumulativeNoRepairOutageOneJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_one()); - transmitElectricityCumulativeNoRepairOutageThreeJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_three()); - transmitElectricityCumulativeNoRepairOutageTenJt.setText(eightBean.getTransmit_electricity_cumulative_no_repair_ten()); - - nineAddTaiDistrictDisasterJt.setText(nineBean.getAdd_blackout_tai_district()); - nineAddPersonnelDisasterJt.setText(nineBean.getAdd_blackout_user()); - nineAddTaiDistrictRepairJt.setText(nineBean.getAdd_repair_tai_district()); - nineAddPersonnelRepairJt.setText(nineBean.getAdd_repair_user()); - nineAddTaiDistrictNoRepairJt.setText(nineBean.getAdd_no_repair_tai_district()); - nineAddPersonnelNoRepairJt.setText(nineBean.getAdd_no_repair_user()); - powerPersonnelAddNineJt.setText(nineBean.getAdd_power_personnel()); - powerVehicleAddNineJt.setText(nineBean.getAdd_power_vehicle()); - nineCumulativeTaiDistrictDisasterJt.setText(nineBean.getCumulative_blackout_tai_district()); - nineCumulativePersonnelDisasterJt.setText(nineBean.getCumulative_blackout_user()); - nineCumulativeTaiDistrictRepairJt.setText(nineBean.getCumulative_repair_tai_district()); - nineCumulativePersonnelRepairJt.setText(nineBean.getCumulative_repair_user()); - nineCumulativeTaiDistrictNoRepairJt.setText(nineBean.getCumulative_no_repair_tai_district()); - nineCumulativePersonnelNoRepairJt.setText(nineBean.getCumulative_no_repair_user()); - powerPersonnelCumulativeNineJt.setText(nineBean.getCumulative_power_personnel()); - powerVehicleCumulativeNineJt.setText(nineBean.getCumulative_power_vehicle()); - - /** - * 附件三 五 十二 十三 十四 赋值 - */ - totalAddDiagnosedJt.setText(threeBean.getTotalAddDiagnosed()); - totalAddHealJt.setText(threeBean.getTotalAddHeal()); - totalAddSuspectedJt.setText(threeBean.getTotalAddSuspected()); - totalExistingDiagnosedJt.setText(threeBean.getTotalExistingDiagnosed()); - totalExistingHealJt.setText(threeBean.getTotalExistingHeal()); - totalExistingSuspectedJt.setText(threeBean.getTotalExistingSuspected()); - - dispatchAddDiagnosedJt.setText(threeBean.getDispatchAddDiagnosed()); - dispatchAddHealJt.setText(threeBean.getDispatchAddHeal()); - dispatchAddSuspectedJt.setText(threeBean.getDispatchAddSuspected()); - dispatchExistingDiagnosedJt.setText(threeBean.getDispatchExistingDiagnosed()); - dispatchExistingHealJt.setText(threeBean.getDispatchExistingHeal()); - dispatchExistingSuspectedJt.setText(threeBean.getDispatchExistingSuspected()); - - repairAddDiagnosedJt.setText(threeBean.getRepairAddDiagnosed()); - repairAddHealJt.setText(threeBean.getRepairAddHeal()); - repairAddSuspectedJt.setText(threeBean.getRepairAddSuspected()); - repairExistingDiagnosedJt.setText(threeBean.getRepairExistingDiagnosed()); - repairExistingHealJt.setText(threeBean.getRepairExistingHeal()); - repairExistingSuspectedJt.setText(threeBean.getRepairExistingSuspected()); - - marketingAddDiagnosedJt.setText(threeBean.getMarketingAddDiagnosed()); - marketingAddHealJt.setText(threeBean.getMarketingAddHeal()); - marketingAddSuspectedJt.setText(threeBean.getMarketingAddSuspected()); - marketingExistingDiagnosedJt.setText(threeBean.getMarketingExistingDiagnosed()); - marketingExistingHealJt.setText(threeBean.getMarketingExistingHeal()); - marketingExistingSuspectedJt.setText(threeBean.getMarketingExistingSuspected()); - - constructionAddDiagnosedJt.setText(threeBean.getConstructionAddDiagnosed()); - constructionAddHealJt.setText(threeBean.getConstructionAddHeal()); - constructionAddSuspectedJt.setText(threeBean.getConstructionAddSuspected()); - constructionExistingDiagnosedJt.setText(threeBean.getConstructionExistingDiagnosed()); - constructionExistingHealJt.setText(threeBean.getConstructionExistingHeal()); - constructionExistingSuspectedJt.setText(threeBean.getConstructionExistingSuspected()); - - airportPortJt.setText(fiveBean.getAirportPort()); - venueHospitalJt.setText(fiveBean.getVenueHospital()); - guesthouseHotelJt.setText(fiveBean.getGuesthouseHotel()); - safeguardPersonnelJt.setText(fiveBean.getSafeguardPersonnel()); - electricallyGuaranteedVehiclesJt.setText(fiveBean.getElectricallyGuaranteedVehicles()); - powerGenerationVehiclesJt.setText(fiveBean.getPowerGenerationVehicles()); - dynamoJt.setText(fiveBean.getDynamo()); - fiveRemarkJt.setText(fiveBean.getRemark()); - - tenUhvJt.setText(tenBean.getUhv()); - tenFiveHundredKvJt.setText(tenBean.getFiveHundredKv()); - tenTwoHundredTwentyKvJt.setText(tenBean.getTwoHundredTwentyKv()); - tenOneHundredTenKvJt.setText(tenBean.getOneHundredTenKv()); - tenThirtyFiveKvJt.setText(tenBean.getThirtyFiveKv()); - tenTenKvJt.setText(tenBean.getTenKv()); - tenAverageWaterLevelJt.setText(tenBean.getAverageWaterLevel()); - tenMeasuredValueJt.setText(tenBean.getMeasuredValue()); - tenDesignValuesJt.setText(tenBean.getDesignValues()); - tenActionHasBeenTakenJt.setText(tenBean.getActionHasBeenTaken()); - - elevenUhvJt.setText(elevenBean.getUhv()); - elevenFiveHundredKvJt.setText(elevenBean.getFiveHundredKv()); - elevenTwoHundredTwentyKvJt.setText(elevenBean.getTwoHundredTwentyKv()); - elevenOneHundredTenKvJt.setText(elevenBean.getOneHundredTenKv()); - elevenThirtyFiveKvJt.setText(elevenBean.getThirtyFiveKv()); - elevenTenKvJt.setText(elevenBean.getTenKv()); - elevenAverageWaterLevelJt.setText(elevenBean.getAverageWaterLevel()); - elevenMeasuredValueJt.setText(elevenBean.getMeasuredValue()); - elevenActionHasBeenTakenJt.setText(elevenBean.getActionHasBeenTaken()); - - twelveUhvJt.setText(twelveBean.getUhv()); - twelveFiveHundredKvJt.setText(twelveBean.getFiveHundredKv()); - twelveTwoHundredTwentyKvJt.setText(twelveBean.getTwoHundredTwentyKv()); - twelveOneHundredTenKvJt.setText(twelveBean.getOneHundredTenKv()); - twelveThirtyFiveKvJt.setText(twelveBean.getThirtyFiveKv()); - twelveTenKvJt.setText(twelveBean.getTenKv()); - twelveAverageWaterLevelJt.setText(twelveBean.getAverageWaterLevel()); - twelveMeasuredValueJt.setText(twelveBean.getMeasuredValue()); - twelveDesignValuesJt.setText(twelveBean.getDesignValues()); - twelveActionHasBeenTakenJt.setText(twelveBean.getActionHasBeenTaken()); - - thirteenUhvJt.setText(thirteenBean.getUhv()); - thirteenFiveHundredKvJt.setText(thirteenBean.getFiveHundredKv()); - thirteenTwoHundredTwentyKvJt.setText(thirteenBean.getTwoHundredTwentyKv()); - thirteenOneHundredTenKvJt.setText(thirteenBean.getOneHundredTenKv()); - thirteenThirtyFiveKvJt.setText(thirteenBean.getThirtyFiveKv()); - thirteenTenKvJt.setText(thirteenBean.getTenKv()); - thirteenAverageWaterLevelJt.setText(thirteenBean.getAverageWaterLevel()); - thirteenMeasuredValueJt.setText(thirteenBean.getMeasuredValue()); - thirteenDesignValuesJt.setText(thirteenBean.getDesignValues()); - thirteenActionHasBeenTakenJt.setText(thirteenBean.getActionHasBeenTaken()); - - fourteenUhvJt.setText(fourteenBean.getUhv()); - fourteenFiveHundredKvJt.setText(fourteenBean.getFiveHundredKv()); - fourteenTwoHundredTwentyKvJt.setText(fourteenBean.getTwoHundredTwentyKv()); - fourteenOneHundredTenKvJt.setText(fourteenBean.getOneHundredTenKv()); - fourteenThirtyFiveKvJt.setText(fourteenBean.getThirtyFiveKv()); - fourteenTenKvJt.setText(fourteenBean.getTenKv()); - fourteenAverageWaterLevelJt.setText(fourteenBean.getAverageWaterLevel()); - fourteenMeasuredValueJt.setText(fourteenBean.getMeasuredValue()); - fourteenDesignValuesJt.setText(fourteenBean.getDesignValues()); - fourteenActionHasBeenTakenJt.setText(fourteenBean.getActionHasBeenTaken()); - } - } - - private JPanel initMainJpanel() { - int height = 176 * 156 + 120; //此处调节整个长度,可适当增大或减小70 - Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize(); - jp = new JPanel(); - jp.setOpaque(false); - jp.setLayout(null); - jp.setSize(dimension); - jp.setPreferredSize(new Dimension((dimension.width + 100) / 2, height)); - int oneLabelY = 20; - - /** - * 一、总体情况 - */ - JLabel overallLabel = new JLabel("一、总体情况"); - overallLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - overallLabel.setForeground(new Color(11, 24, 76)); - int overallJlx = 30; - int overallJly = oneLabelY; - overallLabel.setBounds(overallJlx, overallJly, 500, 100); - /** - * 总体情况输入框 - */ -// overallJt = new JTextField(); -// setTextFiledColor(overallJt); -// int overallJtY = overallJly + 120; -// overallJt.setBounds(overallJlx, overallJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(overallJt.getText())) { -// overallJt.addFocusListener(new MyFocusListener("请输入总体情况", overallJt)); -// } - overallJt=new JTextArea(7,26); - Placeholder placeholder0 = new Placeholder(overallJt, "请输入总体情况..."); - overallJt.setLineWrap(true); //设置文本域中的文本为自动换行 - overallJt.setForeground(Color.BLACK); //设置组件的背景色 - overallJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - overallJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane overallJtJsp=new JScrollPane(overallJt); //将文本域放入滚动窗口 - Dimension overallJtSize=overallJt.getPreferredSize(); //获得文本域的首选大小 - int overallJtY = overallJly + 120; - overallJtJsp.setBounds(overallJlx,overallJtY,1310,overallJtSize.height+20); - jp.add(overallJtJsp); - - /** - * 二、重要事项 - */ - JLabel importantMattersLabel = new JLabel("二、重要事项"); - importantMattersLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - importantMattersLabel.setForeground(new Color(11, 24, 76)); - int importantMattersJlx = 30; - int importantMattersJly = overallJtY + 450; - importantMattersLabel.setBounds(importantMattersJlx, importantMattersJly, 500, 100); - /** - * 重要事项输入框 - */ -// importantMattersJt = new JTextField(); -// setTextFiledColor(importantMattersJt); -// int importantMattersJtY = importantMattersJly + 120; -// importantMattersJt.setBounds(importantMattersJlx, importantMattersJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(importantMattersJt.getText())) { -// importantMattersJt.addFocusListener(new MyFocusListener("请输入重要事项", importantMattersJt)); -// } - importantMattersJt=new JTextArea(7,26); - Placeholder placeholder1 = new Placeholder(importantMattersJt, "请输入重要事项..."); - importantMattersJt.setLineWrap(true); //设置文本域中的文本为自动换行 - importantMattersJt.setForeground(Color.BLACK); //设置组件的背景色 - importantMattersJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - importantMattersJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane importantMattersJtJsp=new JScrollPane(importantMattersJt); //将文本域放入滚动窗口 - Dimension importantMattersJtSize=importantMattersJt.getPreferredSize(); //获得文本域的首选大小 - int importantMattersJtY = importantMattersJly + 120; - importantMattersJtJsp.setBounds(overallJlx,importantMattersJtY,1310,importantMattersJtSize.height+20); - jp.add(importantMattersJtJsp); - /** - * 三、安全生产情况 - */ - JLabel safetyProductionLabel = new JLabel("三、安全生产情况"); - safetyProductionLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - safetyProductionLabel.setForeground(new Color(11, 24, 76)); - int safetyProductionJlx = 30; - int safetyProductionJly = importantMattersJtY + 450; - safetyProductionLabel.setBounds(safetyProductionJlx, safetyProductionJly, 500, 100); - /** - * 安全生产情况输入框 - */ -// safetyProductionJt = new JTextField(); -// setTextFiledColor(safetyProductionJt); -// int safetyProductionJtY = safetyProductionJly + 120; -// safetyProductionJt.setBounds(safetyProductionJlx, safetyProductionJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(safetyProductionJt.getText())) { -// safetyProductionJt.addFocusListener(new MyFocusListener("请输入安全生产情况", safetyProductionJt)); -// } - safetyProductionJt=new JTextArea(7,26); - Placeholder placeholder2 = new Placeholder(safetyProductionJt, "请输入安全生产情况..."); - safetyProductionJt.setLineWrap(true); //设置文本域中的文本为自动换行 - safetyProductionJt.setForeground(Color.BLACK); //设置组件的背景色 - safetyProductionJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - safetyProductionJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane safetyProductionJtJsp=new JScrollPane(safetyProductionJt); //将文本域放入滚动窗口 - Dimension safetyProductionJtSize=safetyProductionJt.getPreferredSize(); //获得文本域的首选大小 - int safetyProductionJtY = safetyProductionJly + 120; - safetyProductionJtJsp.setBounds(overallJlx,safetyProductionJtY,1310,safetyProductionJtSize.height+20); - jp.add(safetyProductionJtJsp); - /** - * 四、值班员日常工作情况 - */ - JLabel personnelDailyWorkLabel = new JLabel("四、值班员日常工作情况"); - personnelDailyWorkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelDailyWorkLabel.setForeground(new Color(11, 24, 76)); - int personnelDailyWorkJlx = 30; - int personnelDailyWorkJly = safetyProductionJtY + 450; - personnelDailyWorkLabel.setBounds(personnelDailyWorkJlx, personnelDailyWorkJly, 800, 100); - /** - * 值班员日常工作情况输入框 - */ -// personnelDailyWorkJt = new JTextField(); -// setTextFiledColor(personnelDailyWorkJt); -// int personnelDailyWorkJtY = personnelDailyWorkJly + 120; -// personnelDailyWorkJt.setBounds(personnelDailyWorkJlx, personnelDailyWorkJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(personnelDailyWorkJt.getText())) { -// personnelDailyWorkJt.addFocusListener(new MyFocusListener("请输入值班员日常工作情况", personnelDailyWorkJt)); -// } - personnelDailyWorkJt=new JTextArea(7,26); - Placeholder placeholder3 = new Placeholder(personnelDailyWorkJt, "请输入值班员日常工作情况..."); - personnelDailyWorkJt.setLineWrap(true); //设置文本域中的文本为自动换行 - personnelDailyWorkJt.setForeground(Color.BLACK); //设置组件的背景色 - personnelDailyWorkJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - personnelDailyWorkJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane personnelDailyWorkJtJsp=new JScrollPane(personnelDailyWorkJt); //将文本域放入滚动窗口 - Dimension personnelDailyWorkJtSize=personnelDailyWorkJt.getPreferredSize(); //获得文本域的首选大小 - int personnelDailyWorkJtY = personnelDailyWorkJly + 120; - personnelDailyWorkJtJsp.setBounds(overallJlx,personnelDailyWorkJtY,1310,personnelDailyWorkJtSize.height+20); - jp.add(personnelDailyWorkJtJsp); - /** - * 五、供电保障情况 - */ - JLabel powerGuaranteeLabel = new JLabel("五、供电保障情况"); - powerGuaranteeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerGuaranteeLabel.setForeground(new Color(11, 24, 76)); - int powerGuaranteeWorkJlx = 30; - int powerGuaranteeWorkJly = personnelDailyWorkJtY + 450; - powerGuaranteeLabel.setBounds(powerGuaranteeWorkJlx, powerGuaranteeWorkJly, 500, 100); - - /** - * (一)今日重大活动保电情况 - */ - JLabel powerGuaranteeTodayWorkLabel = new JLabel("(一)今日重大活动保电情况"); - powerGuaranteeTodayWorkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerGuaranteeTodayWorkLabel.setForeground(new Color(11, 24, 76)); - int powerGuaranteeTodayWorkJlx = 30; - int powerGuaranteeTodayWorkJly = powerGuaranteeWorkJly + 120; - powerGuaranteeTodayWorkLabel.setBounds(powerGuaranteeTodayWorkJlx, powerGuaranteeTodayWorkJly, 800, 100); - /** - * 今日重大活动保电情况输入框 - */ -// powerGuaranteeTodayWorkJt = new JTextField(); -// setTextFiledColor(powerGuaranteeTodayWorkJt); -// int powerGuaranteeTodayWorkJtY = powerGuaranteeTodayWorkJly + 120; -// powerGuaranteeTodayWorkJt.setBounds(powerGuaranteeTodayWorkJlx, powerGuaranteeTodayWorkJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(powerGuaranteeTodayWorkJt.getText())) { -// powerGuaranteeTodayWorkJt.addFocusListener(new MyFocusListener("请输入今日重大活动保电情况", powerGuaranteeTodayWorkJt)); -// } - powerGuaranteeTodayWorkJt=new JTextArea(7,26); - Placeholder placeholder4 = new Placeholder(powerGuaranteeTodayWorkJt, "请输入今日重大活动保电情况..."); - powerGuaranteeTodayWorkJt.setLineWrap(true); //设置文本域中的文本为自动换行 - powerGuaranteeTodayWorkJt.setForeground(Color.BLACK); //设置组件的背景色 - powerGuaranteeTodayWorkJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - powerGuaranteeTodayWorkJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane powerGuaranteeTodayWorkJtJsp=new JScrollPane(powerGuaranteeTodayWorkJt); //将文本域放入滚动窗口 - Dimension powerGuaranteeTodayWorkJtSize=powerGuaranteeTodayWorkJt.getPreferredSize(); //获得文本域的首选大小 - int powerGuaranteeTodayWorkJtY = powerGuaranteeTodayWorkJly + 120; - powerGuaranteeTodayWorkJtJsp.setBounds(overallJlx,powerGuaranteeTodayWorkJtY,1310,powerGuaranteeTodayWorkJtSize.height+20); - jp.add(powerGuaranteeTodayWorkJtJsp); - /** - * (二)明日重大保电情况 - */ - JLabel powerGuaranteeTomorrowWorkLabel = new JLabel("(二)明日重大保电情况"); - powerGuaranteeTomorrowWorkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerGuaranteeTomorrowWorkLabel.setForeground(new Color(11, 24, 76)); - int powerGuaranteeTomorrowWorkJlx = 30; - int powerGuaranteeTomorrowWorkJly = powerGuaranteeTodayWorkJtY + 450; - powerGuaranteeTomorrowWorkLabel.setBounds(powerGuaranteeTomorrowWorkJlx, powerGuaranteeTomorrowWorkJly, 500, 100); - /** - * 明日重大保电情况输入框 - */ -// powerGuaranteeTomorrowWorkJt = new JTextField(); -// setTextFiledColor(powerGuaranteeTomorrowWorkJt); -// int powerGuaranteeTomorrowWorkJtY = powerGuaranteeTomorrowWorkJly + 120; -// powerGuaranteeTomorrowWorkJt.setBounds(powerGuaranteeTomorrowWorkJlx, powerGuaranteeTomorrowWorkJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(powerGuaranteeTomorrowWorkJt.getText())) { -// powerGuaranteeTomorrowWorkJt.addFocusListener(new MyFocusListener("请输入明日重大保电情况", powerGuaranteeTomorrowWorkJt)); -// } - powerGuaranteeTomorrowWorkJt=new JTextArea(7,26); - Placeholder placeholder5 = new Placeholder(powerGuaranteeTomorrowWorkJt, "请输入明日重大保电情况..."); - powerGuaranteeTomorrowWorkJt.setLineWrap(true); //设置文本域中的文本为自动换行 - powerGuaranteeTomorrowWorkJt.setForeground(Color.BLACK); //设置组件的背景色 - powerGuaranteeTomorrowWorkJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - powerGuaranteeTomorrowWorkJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane powerGuaranteeTomorrowWorkJtJsp=new JScrollPane(powerGuaranteeTomorrowWorkJt); //将文本域放入滚动窗口 - Dimension powerGuaranteeTomorrowWorkJtSize=powerGuaranteeTomorrowWorkJt.getPreferredSize(); //获得文本域的首选大小 - int powerGuaranteeTomorrowWorkJtY = powerGuaranteeTomorrowWorkJly + 120; - powerGuaranteeTomorrowWorkJtJsp.setBounds(overallJlx,powerGuaranteeTomorrowWorkJtY,1310,powerGuaranteeTomorrowWorkJtSize.height+20); - jp.add(powerGuaranteeTomorrowWorkJtJsp); - /** - * (三)今日疫情防控应急保电情况 - */ - JLabel powerGuaranteeTodayPestilenceLabel = new JLabel("(三)今日疫情防控应急保电情况"); - powerGuaranteeTodayPestilenceLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerGuaranteeTodayPestilenceLabel.setForeground(new Color(11, 24, 76)); - int powerGuaranteeTodayPestilenceJlx = 30; - int powerGuaranteeTodayPestilenceJly = powerGuaranteeTomorrowWorkJtY + 450; - powerGuaranteeTodayPestilenceLabel.setBounds(powerGuaranteeTodayPestilenceJlx, powerGuaranteeTodayPestilenceJly, 800, 100); - /** - * 今日疫情防控应急保电情况输入框 - */ -// powerGuaranteeTodayPestilenceJt = new JTextField(); -// setTextFiledColor(powerGuaranteeTodayPestilenceJt); -// int powerGuaranteeTodayPestilenceJtY = powerGuaranteeTodayPestilenceJly + 120; -// powerGuaranteeTodayPestilenceJt.setBounds(powerGuaranteeTodayPestilenceJlx, powerGuaranteeTodayPestilenceJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(powerGuaranteeTodayPestilenceJt.getText())) { -// powerGuaranteeTodayPestilenceJt.addFocusListener(new MyFocusListener("请输入今日疫情防控应急保电情况", powerGuaranteeTodayPestilenceJt)); -// } - powerGuaranteeTodayPestilenceJt=new JTextArea(7,26); - Placeholder placeholder6 = new Placeholder(powerGuaranteeTodayPestilenceJt, "请输入今日疫情防控应急保电情况..."); - powerGuaranteeTodayPestilenceJt.setLineWrap(true); //设置文本域中的文本为自动换行 - powerGuaranteeTodayPestilenceJt.setForeground(Color.BLACK); //设置组件的背景色 - powerGuaranteeTodayPestilenceJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - powerGuaranteeTodayPestilenceJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane powerGuaranteeTodayPestilenceJtJsp=new JScrollPane(powerGuaranteeTodayPestilenceJt); //将文本域放入滚动窗口 - Dimension powerGuaranteeTodayPestilenceJtSize=powerGuaranteeTodayPestilenceJt.getPreferredSize(); //获得文本域的首选大小 - int powerGuaranteeTodayPestilenceJtY = powerGuaranteeTodayPestilenceJly + 120; - powerGuaranteeTodayPestilenceJtJsp.setBounds(overallJlx,powerGuaranteeTodayPestilenceJtY,1310,powerGuaranteeTodayPestilenceJtSize.height+20); - jp.add(powerGuaranteeTodayPestilenceJtJsp); - /** - * 六、预警及应急响应情况 - */ - JLabel warningLabel = new JLabel("六、预警及应急响应情况"); - warningLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - warningLabel.setForeground(new Color(11, 24, 76)); - int warningWorkJlx = 30; - int warningWorkJly = powerGuaranteeTodayPestilenceJtY + 450; - warningLabel.setBounds(warningWorkJlx, warningWorkJly, 800, 100); - - /** - * (一)公司预警情况 - */ - JLabel warningCompanyLabel = new JLabel("(一)公司预警情况"); - warningCompanyLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - warningCompanyLabel.setForeground(new Color(11, 24, 76)); - int warningCompanyJlx = 30; - int warningCompanyJly = warningWorkJly + 120; - warningCompanyLabel.setBounds(warningCompanyJlx, warningCompanyJly, 800, 100); - /** - * 公司预警情况输入框 - */ -// warningCompanyJt = new JTextField(); -// setTextFiledColor(warningCompanyJt); -// int warningCompanyJtY = warningCompanyJly + 120; -// warningCompanyJt.setBounds(warningCompanyJlx, warningCompanyJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(warningCompanyJt.getText())) { -// warningCompanyJt.addFocusListener(new MyFocusListener("请输入公司预警情况", warningCompanyJt)); -// } - warningCompanyJt=new JTextArea(7,26); - Placeholder placeholder7 = new Placeholder(warningCompanyJt, "请输入公司预警情况..."); - warningCompanyJt.setLineWrap(true); //设置文本域中的文本为自动换行 - warningCompanyJt.setForeground(Color.BLACK); //设置组件的背景色 - warningCompanyJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - warningCompanyJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane warningCompanyJtJsp=new JScrollPane(warningCompanyJt); //将文本域放入滚动窗口 - Dimension warningCompanyJtSize=warningCompanyJt.getPreferredSize(); //获得文本域的首选大小 - int warningCompanyJtY = warningCompanyJly + 120; - warningCompanyJtJsp.setBounds(overallJlx,warningCompanyJtY,1310,warningCompanyJtSize.height+20); - jp.add(warningCompanyJtJsp); - /** - * (二)公司应急响应情况 - */ - JLabel warningCompanyImpatientLabel = new JLabel("(二)公司应急响应情况"); - warningCompanyImpatientLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - warningCompanyImpatientLabel.setForeground(new Color(11, 24, 76)); - int warningCompanyImpatientJlx = 30; - int warningCompanyImpatientJly = warningCompanyJtY + 450; - warningCompanyImpatientLabel.setBounds(warningCompanyImpatientJlx, warningCompanyImpatientJly, 500, 100); - /** - * 公司应急响应情况输入框 - */ -// warningCompanyImpatientJt = new JTextField(); -// setTextFiledColor(warningCompanyImpatientJt); -// int warningCompanyImpatientJtY = warningCompanyImpatientJly + 120; -// warningCompanyImpatientJt.setBounds(warningCompanyImpatientJlx, warningCompanyImpatientJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(warningCompanyImpatientJt.getText())) { -// warningCompanyImpatientJt.addFocusListener(new MyFocusListener("请输入公司应急响应情况", warningCompanyImpatientJt)); -// } - warningCompanyImpatientJt=new JTextArea(7,26); - Placeholder placeholder8 = new Placeholder(warningCompanyImpatientJt, "请输入公司应急响应情况..."); - warningCompanyImpatientJt.setLineWrap(true); //设置文本域中的文本为自动换行 - warningCompanyImpatientJt.setForeground(Color.BLACK); //设置组件的背景色 - warningCompanyImpatientJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - warningCompanyImpatientJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane warningCompanyImpatientJtJsp=new JScrollPane(warningCompanyImpatientJt); //将文本域放入滚动窗口 - Dimension warningCompanyImpatientJtSize=warningCompanyImpatientJt.getPreferredSize(); //获得文本域的首选大小 - int warningCompanyImpatientJtY = warningCompanyImpatientJly + 120; - warningCompanyImpatientJtJsp.setBounds(overallJlx,warningCompanyImpatientJtY,1310,warningCompanyImpatientJtSize.height+20); - jp.add(warningCompanyImpatientJtJsp); - /** - * (三)社会突发事件救援及处置情况 - */ - JLabel warningSocietyEmergencyLabel = new JLabel("(三)社会突发事件救援及处置情况"); - warningSocietyEmergencyLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - warningSocietyEmergencyLabel.setForeground(new Color(11, 24, 76)); - int warningSocietyEmergencyJlx = 30; - int warningSocietyEmergencyJly = warningCompanyImpatientJtY + 450; - warningSocietyEmergencyLabel.setBounds(warningSocietyEmergencyJlx, warningSocietyEmergencyJly, 800, 100); - /** - * 社会突发事件救援及处置情况输入框 - */ -// warningSocietyEmergencyJt = new JTextField(); -// setTextFiledColor(warningSocietyEmergencyJt); -// int warningSocietyEmergencyJtY = warningSocietyEmergencyJly + 120; -// warningSocietyEmergencyJt.setBounds(warningSocietyEmergencyJlx, warningSocietyEmergencyJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(warningSocietyEmergencyJt.getText())) { -// warningSocietyEmergencyJt.addFocusListener(new MyFocusListener("请输入社会突发事件救援及处置情况", warningSocietyEmergencyJt)); -// } - warningSocietyEmergencyJt=new JTextArea(7,26); - Placeholder placeholder9 = new Placeholder(warningSocietyEmergencyJt, "请输入社会突发事件救援及处置情况..."); - warningSocietyEmergencyJt.setLineWrap(true); //设置文本域中的文本为自动换行 - warningSocietyEmergencyJt.setForeground(Color.BLACK); //设置组件的背景色 - warningSocietyEmergencyJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - warningSocietyEmergencyJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane warningSocietyEmergencyJtJsp=new JScrollPane(warningSocietyEmergencyJt); //将文本域放入滚动窗口 - Dimension warningSocietyEmergencyJtSize=warningSocietyEmergencyJt.getPreferredSize(); //获得文本域的首选大小 - int warningSocietyEmergencyJtY = warningSocietyEmergencyJly + 120; - warningSocietyEmergencyJtJsp.setBounds(overallJlx,warningSocietyEmergencyJtY,1310,warningSocietyEmergencyJtSize.height+20); - jp.add(warningSocietyEmergencyJtJsp); - /** - * 七、其他情况说明 - */ - JLabel otherSituationsLabel = new JLabel("七、其他情况说明"); - otherSituationsLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - otherSituationsLabel.setForeground(new Color(11, 24, 76)); - int otherSituationsJlx = 30; - int otherSituationsJly = warningSocietyEmergencyJtY + 450; - otherSituationsLabel.setBounds(otherSituationsJlx, otherSituationsJly, 800, 100); - /** - * 其他情况说明输入框 - */ -// otherSituationsJt = new JTextField(); -// setTextFiledColor(otherSituationsJt); -// int otherSituationsJtY = otherSituationsJly + 120; -// otherSituationsJt.setBounds(otherSituationsJlx, otherSituationsJtY, 1310, 120); -// if(StringHelper.isEmptyAndNull(otherSituationsJt.getText())) { -// otherSituationsJt.addFocusListener(new MyFocusListener("请输入其他情况说明", otherSituationsJt)); -// } - otherSituationsJt=new JTextArea(7,26); - Placeholder placeholder10 = new Placeholder(otherSituationsJt, "请输入其他情况说明..."); - otherSituationsJt.setLineWrap(true); //设置文本域中的文本为自动换行 - otherSituationsJt.setForeground(Color.BLACK); //设置组件的背景色 - otherSituationsJt.setFont(new Font("微软雅黑",Font.PLAIN,40)); //修改字体样式 - otherSituationsJt.setBackground(Color.WHITE); //设置按钮背景色 - JScrollPane otherSituationsJtJsp=new JScrollPane(otherSituationsJt); //将文本域放入滚动窗口 - Dimension otherSituationsJtSize=otherSituationsJt.getPreferredSize(); //获得文本域的首选大小 - int otherSituationsJtY = otherSituationsJly + 120; - otherSituationsJtJsp.setBounds(overallJlx,otherSituationsJtY,1310,otherSituationsJtSize.height+20); - jp.add(otherSituationsJtJsp); - /** - * 附件一-操练情况统计表 - */ - JLabel annexOneLabel = new JLabel("附件一-操练情况统计表"); - annexOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexOneLabel.setForeground(new Color(11, 24, 76)); - int annexOneJlx = 30; - int annexOneJly = otherSituationsJtY + 450; - annexOneLabel.setBounds(annexOneJlx, annexOneJly, 1000, 100); - - /** - * 操练内容 - */ - JLabel exerciseContentLabel = new JLabel("操练内容"); - exerciseContentLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseContentLabel.setForeground(new Color(11, 24, 76)); - int exerciseContentJlx = 30; - int exerciseContentJly = annexOneJly + 120; - exerciseContentLabel.setBounds(exerciseContentJlx, exerciseContentJly, 800, 100); - - /** - * 操练内容下拉框 - */ - exerciseContentBox = new JComboBox(); - // 绑定下拉框选项 - for (String item : strArray) { - exerciseContentBox.addItem(item); - } - exerciseContentBox.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseContentBox.setForeground(new Color(11, 24, 76)); - exerciseContentBox.setBounds(30, exerciseContentJly + 120, 800, 100); - - /** - * 操练数量 - */ - JLabel exerciseNumLabel = new JLabel("操练数量"); - exerciseNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseNumLabel.setForeground(new Color(11, 24, 76)); - int exerciseNumJlx = 30; - int exerciseNumJly = exerciseContentJly + 240; - exerciseNumLabel.setBounds(exerciseNumJlx, exerciseNumJly, 800, 100); - - /** - * 操练数量-人员 - */ - JLabel exercisePersonNumLabel = new JLabel("人员数量"); - exercisePersonNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exercisePersonNumLabel.setForeground(new Color(11, 24, 76)); - int exercisePersonNumJlx = 30; - int exercisePersonNumJly = exerciseNumJly + 120; - exercisePersonNumLabel.setBounds(exercisePersonNumJlx, exercisePersonNumJly, 800, 100); - /** - * 操练数量-车辆 - */ - JLabel exerciseVehicleNumLabel = new JLabel("车辆数量"); - exerciseVehicleNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseVehicleNumLabel.setForeground(new Color(11, 24, 76)); - int exerciseVehicleNumJlx = exercisePersonNumJlx + 350; - int exerciseVehicleNumJly = exerciseNumJly + 120; - exerciseVehicleNumLabel.setBounds(exerciseVehicleNumJlx, exerciseVehicleNumJly, 800, 100); - - /** - * 操练数量-发电车 - */ - JLabel exercisePowerVehicleNumLabel = new JLabel("发电车数量"); - exercisePowerVehicleNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exercisePowerVehicleNumLabel.setForeground(new Color(11, 24, 76)); - int exercisePowerVehicleNumJlx = exerciseVehicleNumJlx + 300; - int exercisePowerVehicleNumJly = exerciseNumJly + 120; - exercisePowerVehicleNumLabel.setBounds(exercisePowerVehicleNumJlx, exercisePowerVehicleNumJly, 800, 100); - - /** - * 操练数量-发电机 - */ - JLabel exerciseDynamoNumLabel = new JLabel("发电车数量"); - exerciseDynamoNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseDynamoNumLabel.setForeground(new Color(11, 24, 76)); - int exerciseDynamoNumJlx = exercisePowerVehicleNumJlx + 350; - int exerciseDynamoNumJly = exerciseNumJly + 120; - exerciseDynamoNumLabel.setBounds(exerciseDynamoNumJlx, exerciseDynamoNumJly, 800, 100); - - /** - * 操练数量-人员输入框 - */ - exercisePersonNumJt = new JTextField(); - setTextFiledColor(exercisePersonNumJt); - int exercisePersonNumJtY = exercisePersonNumJly + 120; - exercisePersonNumJt.setBounds(exercisePersonNumJlx, exercisePersonNumJtY, 260, 120); - - /** - * 操练数量-车辆输入框 - */ - exerciseVehicleNumJt = new JTextField(); - setTextFiledColor(exerciseVehicleNumJt); - int exerciseVehicleNumJtY = exercisePersonNumJly + 120; - exerciseVehicleNumJt.setBounds(exercisePersonNumJlx + 350, exerciseVehicleNumJtY, 260, 120); - - /** - * 操练数量-发电车输入框 - */ - exercisePowerVehicleNumJt = new JTextField(); - setTextFiledColor(exercisePowerVehicleNumJt); - int exercisePowerVehicleNumJtY = exercisePersonNumJly + 120; - exercisePowerVehicleNumJt.setBounds(exercisePersonNumJlx + 650, exercisePowerVehicleNumJtY, 260, 120); - - /** - * 操练数量-发电机输入框 - */ - exerciseDynamoNumJt = new JTextField(); - setTextFiledColor(exerciseDynamoNumJt); - int exerciseDynamoNumJtY = exercisePersonNumJly + 120; - exerciseDynamoNumJt.setBounds(exercisePersonNumJlx + 1000, exerciseDynamoNumJtY, 260, 120); - - /** - * 操练发现的问题 - */ - JLabel exerciseFindProblemsLabel = new JLabel("操练发现的问题"); - exerciseFindProblemsLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseFindProblemsLabel.setForeground(new Color(11, 24, 76)); - int exerciseFindProblemsJlx = 30; - int exerciseFindProblemsJly = exerciseDynamoNumJtY + 120; - exerciseFindProblemsLabel.setBounds(exerciseFindProblemsJlx, exerciseFindProblemsJly, 800, 100); - /** - * 操练发现的问题 - */ - exerciseFindProblemsJt = new JTextField(); - setTextFiledColor(exerciseFindProblemsJt); - int exerciseFindProblemsJtY = exerciseFindProblemsJly + 120; - exerciseFindProblemsJt.setBounds(30, exerciseFindProblemsJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(exerciseFindProblemsJt.getText())) { - exerciseFindProblemsJt.addFocusListener(new MyFocusListener("请输入操练发现的问题", exerciseFindProblemsJt)); - } - - /** - * 操练备注 - */ - JLabel exerciseRemarkLabel = new JLabel("备注"); - exerciseRemarkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - exerciseRemarkLabel.setForeground(new Color(11, 24, 76)); - int exerciseRemarkJlx = 30; - int exerciseRemarkJly = exerciseFindProblemsJtY + 120; - exerciseRemarkLabel.setBounds(exerciseRemarkJlx, exerciseRemarkJly, 800, 100); - /** - * 操练备注 - */ - exerciseRemarkJt = new JTextField(); - setTextFiledColor(exerciseRemarkJt); - int exerciseRemarkJtY = exerciseRemarkJly + 120; - exerciseRemarkJt.setBounds(30, exerciseRemarkJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(exerciseRemarkJt.getText())) { - exerciseRemarkJt.addFocusListener(new MyFocusListener("请输入操练备注", exerciseRemarkJt)); - } - - /** - * 附件二-资源核查问题数量统计表 - */ - JLabel annexTwoLabel = new JLabel("附件二-资源核查问题数量统计表"); - annexTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexTwoLabel.setForeground(new Color(11, 24, 76)); - int annexTwoJlx = 30; - int annexTwoJly = exerciseRemarkJtY + 120; - annexTwoLabel.setBounds(annexTwoJlx, annexTwoJly, 1000, 100); - - /** - * 核查数量 - */ - JLabel verificationNumLabel = new JLabel("核查数量"); - verificationNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationNumLabel.setForeground(new Color(11, 24, 76)); - int verificationNumJlx = 30; - int verificationNumJly = annexTwoJly + 120; - verificationNumLabel.setBounds(verificationNumJlx, verificationNumJly, 800, 100); - - /** - * 核查数量-人员 - */ - JLabel verificationPersonNumLabel = new JLabel("人员数量"); - verificationPersonNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationPersonNumLabel.setForeground(new Color(11, 24, 76)); - int verificationPersonNumJlx = 30; - int verificationPersonNumJly = verificationNumJly + 120; - verificationPersonNumLabel.setBounds(verificationPersonNumJlx, verificationPersonNumJly, 800, 100); - /** - * 核查数量-车辆 - */ - JLabel verificationVehicleNumLabel = new JLabel("车辆数量"); - verificationVehicleNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationVehicleNumLabel.setForeground(new Color(11, 24, 76)); - int verificationVehicleNumJlx = verificationPersonNumJlx + 250; - int verificationVehicleNumJly = verificationNumJly + 120; - verificationVehicleNumLabel.setBounds(verificationVehicleNumJlx, verificationVehicleNumJly, 800, 100); - - /** - * 核查数量-队伍 - */ - JLabel verificationTeamNumLabel = new JLabel("队伍数量"); - verificationTeamNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationTeamNumLabel.setForeground(new Color(11, 24, 76)); - int verificationTeamNumJlx = verificationVehicleNumJlx + 250; - int verificationTeamNumJly = verificationNumJly + 120; - verificationTeamNumLabel.setBounds(verificationTeamNumJlx, verificationTeamNumJly, 800, 100); - - /** - * 核查数量-装备 - */ - JLabel verificationEquipNumLabel = new JLabel("装备数量"); - verificationEquipNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationEquipNumLabel.setForeground(new Color(11, 24, 76)); - int verificationEquipNumJlx = verificationTeamNumJlx + 250; - int verificationEquipNumJly = verificationNumJly + 120; - verificationEquipNumLabel.setBounds(verificationEquipNumJlx, verificationEquipNumJly, 800, 100); - - /** - * 核查数量-物资 - */ - JLabel verificationMaterialNumLabel = new JLabel("物资数量"); - verificationMaterialNumLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationMaterialNumLabel.setForeground(new Color(11, 24, 76)); - int verificationMaterialNumJlx = verificationEquipNumJlx + 250; - int verificationMaterialNumJly = verificationNumJly + 120; - verificationMaterialNumLabel.setBounds(verificationMaterialNumJlx, verificationMaterialNumJly, 800, 100); - - - /** - * 核查数量-人员输入框 - */ - verificationPersonNumJt = new JTextField(); - setTextFiledColor(verificationPersonNumJt); - int verificationPersonNumJtY = verificationPersonNumJly + 120; - verificationPersonNumJt.setBounds(verificationPersonNumJlx, verificationPersonNumJtY, 240, 120); - - /** - * 核查数量-车辆输入框 - */ - verificationVehicleNumJt = new JTextField(); - setTextFiledColor(verificationVehicleNumJt); - int verificationVehicleNumJtY = verificationPersonNumJly + 120; - verificationVehicleNumJt.setBounds(verificationPersonNumJlx + 250, verificationVehicleNumJtY, 240, 120); - - /** - * 核查数量-队伍输入框 - */ - verificationTeamNumJt = new JTextField(); - setTextFiledColor(verificationTeamNumJt); - int verificationTeamNumJtY = verificationPersonNumJly + 120; - verificationTeamNumJt.setBounds(verificationPersonNumJlx + 500, verificationTeamNumJtY, 240, 120); - - /** - * 核查数量-装备输入框 - */ - verificationEquipNumJt = new JTextField(); - setTextFiledColor(verificationEquipNumJt); - int verificationEquipNumJtY = verificationPersonNumJly + 120; - verificationEquipNumJt.setBounds(verificationPersonNumJlx + 750, verificationEquipNumJtY, 240, 120); - - /** - * 核查数量-装备输入框 - */ - verificationMaterialNumJt = new JTextField(); - setTextFiledColor(verificationMaterialNumJt); - int verificationMaterialNumJtY = verificationPersonNumJly + 120; - verificationMaterialNumJt.setBounds(verificationPersonNumJlx + 1000, verificationMaterialNumJtY, 240, 120); - - /** - * 核查发现的问题 - */ - JLabel verificationFindProblemsLabel = new JLabel("核查发现的问题"); - verificationFindProblemsLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationFindProblemsLabel.setForeground(new Color(11, 24, 76)); - int verificationFindProblemsJlx = 30; - int verificationFindProblemsJly = verificationMaterialNumJtY + 120; - verificationFindProblemsLabel.setBounds(verificationFindProblemsJlx, verificationFindProblemsJly, 800, 100); - /** - * 核查发现的问题 - */ - verificationFindProblemsJt = new JTextField(); - setTextFiledColor(verificationFindProblemsJt); - int verificationFindProblemsJtY = verificationFindProblemsJly + 120; - verificationFindProblemsJt.setBounds(30, verificationFindProblemsJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(verificationFindProblemsJt.getText())) { - verificationFindProblemsJt.addFocusListener(new MyFocusListener("请输入核查发现的问题", verificationFindProblemsJt)); - } - - /** - * 核查备注 - */ - JLabel verificationRemarkLabel = new JLabel("备注"); - verificationRemarkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - verificationRemarkLabel.setForeground(new Color(11, 24, 76)); - int verificationRemarkJlx = 30; - int verificationRemarkJly = verificationFindProblemsJtY + 120; - verificationRemarkLabel.setBounds(verificationRemarkJlx, verificationRemarkJly, 800, 100); - /** - * 核查备注 - */ - verificationRemarkJt = new JTextField(); - setTextFiledColor(verificationRemarkJt); - int verificationRemarkJtY = verificationRemarkJly + 120; - verificationRemarkJt.setBounds(30, verificationRemarkJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(verificationRemarkJt.getText())) { - verificationRemarkJt.addFocusListener(new MyFocusListener("请输入核查备注", verificationRemarkJt)); - } - - /** - * 附件三-电网生产相关专业员工感染情况统计 - */ - JLabel annexThreeLabel = new JLabel("附件三-电网生产相关专业员工感染情况统计"); - annexThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexThreeLabel.setForeground(new Color(11, 24, 76)); - int annexThreeJlx = 30; - int annexThreeJly = verificationRemarkJtY + 150; - annexThreeLabel.setBounds(annexThreeJlx, annexThreeJly, 1000, 100); - - /** - * 合计 - 新增 - */ - JLabel totalAddition = new JLabel("合计-新增"); - totalAddition.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalAddition.setForeground(new Color(11, 24, 76)); - int totalAdditionJlx = 30; - int totalAdditionJly = annexThreeJly + 120; - totalAddition.setBounds(totalAdditionJlx, totalAdditionJly, 800, 100); - - /** - * 确诊 - */ - JLabel totalAddDiagnosedLabel = new JLabel("确诊"); - totalAddDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalAddDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int totalAddDiagnosedJlx = 30; - int totalAddDiagnosedJly = totalAdditionJly + 120; - totalAddDiagnosedLabel.setBounds(totalAddDiagnosedJlx, totalAddDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel totalAddHealLabel = new JLabel("治愈"); - totalAddHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalAddHealLabel.setForeground(new Color(11, 24, 76)); - int totalAddHealJlx = totalAddDiagnosedJlx + 350; - int totalAddHealJly = totalAdditionJly + 120; - totalAddHealLabel.setBounds(totalAddHealJlx, totalAddHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel totalAddSuspectedLabel = new JLabel("疑似"); - totalAddSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalAddSuspectedLabel.setForeground(new Color(11, 24, 76)); - int totalAddSuspectedJlx = totalAddHealJlx + 350; - int totalAddSuspectedJly = totalAdditionJly + 120; - totalAddSuspectedLabel.setBounds(totalAddSuspectedJlx, totalAddSuspectedJly, 800, 100); - - /** - * 确诊 - */ - totalAddDiagnosedJt = new JTextField(); - setTextFiledColor(totalAddDiagnosedJt); - int totalAddDiagnosedJtY = totalAddSuspectedJly + 120; - totalAddDiagnosedJt.setBounds(totalAdditionJlx, totalAddDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - totalAddHealJt = new JTextField(); - setTextFiledColor(totalAddHealJt); - int totalAddHealJtY = totalAddSuspectedJly + 120; - totalAddHealJt.setBounds(totalAdditionJlx + 350, totalAddHealJtY, 300, 120); - - /** - * 疑似 - */ - totalAddSuspectedJt = new JTextField(); - setTextFiledColor(totalAddSuspectedJt); - int totalAddSuspectedJtY = totalAddSuspectedJly + 120; - totalAddSuspectedJt.setBounds(totalAdditionJlx + 700, totalAddSuspectedJtY, 300, 120); - - /** - * 合计 - 现有 - */ - JLabel totalExisting = new JLabel("合计-现有"); - totalExisting.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalExisting.setForeground(new Color(11, 24, 76)); - int totalExistingJlx = 30; - int totalExistingJly = totalAddSuspectedJtY + 120; - totalExisting.setBounds(totalExistingJlx, totalExistingJly, 800, 100); - - /** - * 确诊 - */ - JLabel totalExistingDiagnosedLabel = new JLabel("确诊"); - totalExistingDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalExistingDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int totalExistingDiagnosedJlx = 30; - int totalExistingDiagnosedJly = totalExistingJly + 120; - totalExistingDiagnosedLabel.setBounds(totalExistingDiagnosedJlx, totalExistingDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel totalExistingHealLabel = new JLabel("治愈"); - totalExistingHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalExistingHealLabel.setForeground(new Color(11, 24, 76)); - int totalExistingHealJlx = totalExistingDiagnosedJlx + 350; - int totalExistingHealJly = totalExistingJly + 120; - totalExistingHealLabel.setBounds(totalExistingHealJlx, totalExistingHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel totalExistingSuspectedLabel = new JLabel("疑似"); - totalExistingSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - totalExistingSuspectedLabel.setForeground(new Color(11, 24, 76)); - int totalExistingSuspectedJlx = totalExistingHealJlx + 350; - int totalExistingSuspectedJly = totalExistingJly + 120; - totalExistingSuspectedLabel.setBounds(totalExistingSuspectedJlx, totalExistingSuspectedJly, 800, 100); - - /** - * 确诊 - */ - totalExistingDiagnosedJt = new JTextField(); - setTextFiledColor(totalExistingDiagnosedJt); - int totalExistingDiagnosedJtY = totalExistingSuspectedJly + 120; - totalExistingDiagnosedJt.setBounds(totalExistingDiagnosedJlx, totalExistingDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - totalExistingHealJt = new JTextField(); - setTextFiledColor(totalExistingHealJt); - int totalExistingHealJtY = totalExistingSuspectedJly + 120; - totalExistingHealJt.setBounds(totalExistingDiagnosedJlx + 350, totalExistingHealJtY, 300, 120); - - /** - * 疑似 - */ - totalExistingSuspectedJt = new JTextField(); - setTextFiledColor(totalExistingSuspectedJt); - int totalExistingSuspectedJtY = totalExistingSuspectedJly + 120; - totalExistingSuspectedJt.setBounds(totalExistingDiagnosedJlx + 700, totalExistingSuspectedJtY, 300, 120); - - /** - * 电网调度 - 新增 - */ - JLabel dispatchAddition = new JLabel("电网调度-新增"); - dispatchAddition.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchAddition.setForeground(new Color(11, 24, 76)); - int dispatchAdditionJlx = 30; - int dispatchAdditionJly = totalExistingSuspectedJtY + 120; - dispatchAddition.setBounds(dispatchAdditionJlx, dispatchAdditionJly, 800, 100); - - /** - * 确诊 - */ - JLabel dispatchAddDiagnosedLabel = new JLabel("确诊"); - dispatchAddDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchAddDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int dispatchAddDiagnosedJlx = 30; - int dispatchAddDiagnosedJly = dispatchAdditionJly + 120; - dispatchAddDiagnosedLabel.setBounds(dispatchAddDiagnosedJlx, dispatchAddDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel dispatchAddHealLabel = new JLabel("治愈"); - dispatchAddHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchAddHealLabel.setForeground(new Color(11, 24, 76)); - int dispatchAddHealJlx = dispatchAddDiagnosedJlx + 350; - int dispatchAddHealJly = dispatchAdditionJly + 120; - dispatchAddHealLabel.setBounds(dispatchAddHealJlx, dispatchAddHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel dispatchAddSuspectedLabel = new JLabel("疑似"); - dispatchAddSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchAddSuspectedLabel.setForeground(new Color(11, 24, 76)); - int dispatchAddSuspectedJlx = dispatchAddHealJlx + 350; - int dispatchAddSuspectedJly = dispatchAdditionJly + 120; - dispatchAddSuspectedLabel.setBounds(dispatchAddSuspectedJlx, dispatchAddSuspectedJly, 800, 100); - - /** - * 确诊 - */ - dispatchAddDiagnosedJt = new JTextField(); - setTextFiledColor(dispatchAddDiagnosedJt); - int dispatchAddDiagnosedJtY = dispatchAddSuspectedJly + 120; - dispatchAddDiagnosedJt.setBounds(dispatchAdditionJlx, dispatchAddDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - dispatchAddHealJt = new JTextField(); - setTextFiledColor(dispatchAddHealJt); - int dispatchAddHealJtY = dispatchAddSuspectedJly + 120; - dispatchAddHealJt.setBounds(dispatchAdditionJlx + 350, dispatchAddHealJtY, 300, 120); - - /** - * 疑似 - */ - dispatchAddSuspectedJt = new JTextField(); - setTextFiledColor(dispatchAddSuspectedJt); - int dispatchAddSuspectedJtY = dispatchAddSuspectedJly + 120; - dispatchAddSuspectedJt.setBounds(dispatchAdditionJlx + 700,dispatchAddSuspectedJtY, 300, 120); - - /** - * 电网调度 - 现有 - */ - JLabel dispatchExisting = new JLabel("电网调度-现有"); - dispatchExisting.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchExisting.setForeground(new Color(11, 24, 76)); - int dispatchExistingJlx = 30; - int dispatchExistingJly = dispatchAddSuspectedJtY + 120; - dispatchExisting.setBounds(dispatchExistingJlx, dispatchExistingJly, 800, 100); - - /** - * 确诊 - */ - JLabel dispatchExistingDiagnosedLabel = new JLabel("确诊"); - dispatchExistingDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchExistingDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int dispatchExistingDiagnosedJlx = 30; - int dispatchExistingDiagnosedJly = dispatchExistingJly + 120; - dispatchExistingDiagnosedLabel.setBounds(dispatchExistingDiagnosedJlx, dispatchExistingDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel dispatchExistingHealLabel = new JLabel("治愈"); - dispatchExistingHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchExistingHealLabel.setForeground(new Color(11, 24, 76)); - int dispatchExistingHealJlx = dispatchExistingDiagnosedJlx + 350; - int dispatchExistingHealJly = dispatchExistingJly + 120; - dispatchExistingHealLabel.setBounds(dispatchExistingHealJlx, dispatchExistingHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel dispatchExistingSuspectedLabel = new JLabel("疑似"); - dispatchExistingSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dispatchExistingSuspectedLabel.setForeground(new Color(11, 24, 76)); - int dispatchExistingSuspectedJlx = dispatchExistingHealJlx + 350; - int dispatchExistingSuspectedJly = dispatchExistingJly + 120; - dispatchExistingSuspectedLabel.setBounds(dispatchExistingSuspectedJlx, dispatchExistingSuspectedJly, 800, 100); - - /** - * 确诊 - */ - dispatchExistingDiagnosedJt = new JTextField(); - setTextFiledColor(dispatchExistingDiagnosedJt); - int dispatchExistingDiagnosedJtY = dispatchExistingSuspectedJly + 120; - dispatchExistingDiagnosedJt.setBounds(dispatchExistingDiagnosedJlx, dispatchExistingDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - dispatchExistingHealJt = new JTextField(); - setTextFiledColor(dispatchExistingHealJt); - int dispatchExistingHealJtY = dispatchExistingSuspectedJly + 120; - dispatchExistingHealJt.setBounds(dispatchExistingDiagnosedJlx + 350, dispatchExistingHealJtY, 300, 120); - - /** - * 疑似 - */ - dispatchExistingSuspectedJt = new JTextField(); - setTextFiledColor(dispatchExistingSuspectedJt); - int dispatchExistingSuspectedJtY = dispatchExistingSuspectedJly + 120; - dispatchExistingSuspectedJt.setBounds(dispatchExistingDiagnosedJlx + 700, dispatchExistingSuspectedJtY, 300, 120); - /** - * 运维检修 - 新增 - */ - JLabel repairAddition = new JLabel("运维检修-新增"); - repairAddition.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairAddition.setForeground(new Color(11, 24, 76)); - int repairAdditionJlx = 30; - int repairAdditionJly = dispatchExistingSuspectedJtY + 120; - repairAddition.setBounds(repairAdditionJlx, repairAdditionJly, 800, 100); - - /** - * 确诊 - */ - JLabel repairAddDiagnosedLabel = new JLabel("确诊"); - repairAddDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairAddDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int repairAddDiagnosedJlx = 30; - int repairAddDiagnosedJly = repairAdditionJly + 120; - repairAddDiagnosedLabel.setBounds(repairAddDiagnosedJlx, repairAddDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel repairAddHealLabel = new JLabel("治愈"); - repairAddHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairAddHealLabel.setForeground(new Color(11, 24, 76)); - int repairAddHealJlx = repairAddDiagnosedJlx + 350; - int repairAddHealJly = repairAdditionJly + 120; - repairAddHealLabel.setBounds(repairAddHealJlx, repairAddHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel repairAddSuspectedLabel = new JLabel("疑似"); - repairAddSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairAddSuspectedLabel.setForeground(new Color(11, 24, 76)); - int repairAddSuspectedJlx = repairAddHealJlx + 350; - int repairAddSuspectedJly = repairAdditionJly + 120; - repairAddSuspectedLabel.setBounds(repairAddSuspectedJlx, repairAddSuspectedJly, 800, 100); - - /** - * 确诊 - */ - repairAddDiagnosedJt = new JTextField(); - setTextFiledColor(repairAddDiagnosedJt); - int repairAddDiagnosedJtY = repairAddSuspectedJly + 120; - repairAddDiagnosedJt.setBounds(repairAdditionJlx, repairAddDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - repairAddHealJt = new JTextField(); - setTextFiledColor(repairAddHealJt); - int repairAddHealJtY = repairAddSuspectedJly + 120; - repairAddHealJt.setBounds(repairAdditionJlx + 350, repairAddHealJtY, 300, 120); - - /** - * 疑似 - */ - repairAddSuspectedJt = new JTextField(); - setTextFiledColor(repairAddSuspectedJt); - int repairAddSuspectedJtY = repairAddSuspectedJly + 120; - repairAddSuspectedJt.setBounds(repairAdditionJlx + 700,repairAddSuspectedJtY, 300, 120); - - /** - * 运维检修 - 现有 - */ - JLabel repairExisting = new JLabel("运维检修-现有"); - repairExisting.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairExisting.setForeground(new Color(11, 24, 76)); - int repairExistingJlx = 30; - int repairExistingJly = repairAddSuspectedJtY + 120; - repairExisting.setBounds(repairExistingJlx, repairExistingJly, 800, 100); - - /** - * 确诊 - */ - JLabel repairExistingDiagnosedLabel = new JLabel("确诊"); - repairExistingDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairExistingDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int repairExistingDiagnosedJlx = 30; - int repairExistingDiagnosedJly = repairExistingJly + 120; - repairExistingDiagnosedLabel.setBounds(repairExistingDiagnosedJlx, repairExistingDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel repairExistingHealLabel = new JLabel("治愈"); - repairExistingHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairExistingHealLabel.setForeground(new Color(11, 24, 76)); - int repairExistingHealJlx = repairExistingDiagnosedJlx + 350; - int repairExistingHealJly = repairExistingJly + 120; - repairExistingHealLabel.setBounds(repairExistingHealJlx, repairExistingHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel repairExistingSuspectedLabel = new JLabel("疑似"); - repairExistingSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairExistingSuspectedLabel.setForeground(new Color(11, 24, 76)); - int repairExistingSuspectedJlx = repairExistingHealJlx + 350; - int repairExistingSuspectedJly = repairExistingJly + 120; - repairExistingSuspectedLabel.setBounds(repairExistingSuspectedJlx, repairExistingSuspectedJly, 800, 100); - - /** - * 确诊 - */ - repairExistingDiagnosedJt = new JTextField(); - setTextFiledColor(repairExistingDiagnosedJt); - int repairExistingDiagnosedJtY = repairExistingSuspectedJly + 120; - repairExistingDiagnosedJt.setBounds(repairExistingDiagnosedJlx, repairExistingDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - repairExistingHealJt = new JTextField(); - setTextFiledColor(repairExistingHealJt); - int repairExistingHealJtY = repairExistingSuspectedJly + 120; - repairExistingHealJt.setBounds(repairExistingDiagnosedJlx + 350, repairExistingHealJtY, 300, 120); - - /** - * 疑似 - */ - repairExistingSuspectedJt = new JTextField(); - setTextFiledColor(repairExistingSuspectedJt); - int repairExistingSuspectedJtY = repairExistingSuspectedJly + 120; - repairExistingSuspectedJt.setBounds(repairExistingDiagnosedJlx + 700, repairExistingSuspectedJtY, 300, 120); - -/** - * 营销服务 - 新增 - */ - JLabel marketingAddition = new JLabel("营销服务-新增"); - marketingAddition.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingAddition.setForeground(new Color(11, 24, 76)); - int marketingAdditionJlx = 30; - int marketingAdditionJly = repairExistingSuspectedJtY + 120; - marketingAddition.setBounds(marketingAdditionJlx, marketingAdditionJly, 800, 100); - - /** - * 确诊 - */ - JLabel marketingAddDiagnosedLabel = new JLabel("确诊"); - marketingAddDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingAddDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int marketingAddDiagnosedJlx = 30; - int marketingAddDiagnosedJly = marketingAdditionJly + 120; - marketingAddDiagnosedLabel.setBounds(marketingAddDiagnosedJlx, marketingAddDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel marketingAddHealLabel = new JLabel("治愈"); - marketingAddHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingAddHealLabel.setForeground(new Color(11, 24, 76)); - int marketingAddHealJlx = marketingAddDiagnosedJlx + 350; - int marketingAddHealJly = marketingAdditionJly + 120; - marketingAddHealLabel.setBounds(marketingAddHealJlx, marketingAddHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel marketingAddSuspectedLabel = new JLabel("疑似"); - marketingAddSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingAddSuspectedLabel.setForeground(new Color(11, 24, 76)); - int marketingAddSuspectedJlx = marketingAddHealJlx + 350; - int marketingAddSuspectedJly = marketingAdditionJly + 120; - marketingAddSuspectedLabel.setBounds(marketingAddSuspectedJlx, marketingAddSuspectedJly, 800, 100); - - /** - * 确诊 - */ - marketingAddDiagnosedJt = new JTextField(); - setTextFiledColor(marketingAddDiagnosedJt); - int marketingAddDiagnosedJtY = marketingAddSuspectedJly + 120; - marketingAddDiagnosedJt.setBounds(marketingAdditionJlx, marketingAddDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - marketingAddHealJt = new JTextField(); - setTextFiledColor(marketingAddHealJt); - int marketingAddHealJtY = marketingAddSuspectedJly + 120; - marketingAddHealJt.setBounds(marketingAdditionJlx + 350, marketingAddHealJtY, 300, 120); - - /** - * 疑似 - */ - marketingAddSuspectedJt = new JTextField(); - setTextFiledColor(marketingAddSuspectedJt); - int marketingAddSuspectedJtY = marketingAddSuspectedJly + 120; - marketingAddSuspectedJt.setBounds(marketingAdditionJlx + 700,marketingAddSuspectedJtY, 300, 120); - - /** - * 营销服务 - 现有 - */ - JLabel marketingExisting = new JLabel("营销服务-现有"); - marketingExisting.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingExisting.setForeground(new Color(11, 24, 76)); - int marketingExistingJlx = 30; - int marketingExistingJly = marketingAddSuspectedJtY + 120; - marketingExisting.setBounds(marketingExistingJlx, marketingExistingJly, 800, 100); - - /** - * 确诊 - */ - JLabel marketingExistingDiagnosedLabel = new JLabel("确诊"); - marketingExistingDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingExistingDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int marketingExistingDiagnosedJlx = 30; - int marketingExistingDiagnosedJly = marketingExistingJly + 120; - marketingExistingDiagnosedLabel.setBounds(marketingExistingDiagnosedJlx, marketingExistingDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel marketingExistingHealLabel = new JLabel("治愈"); - marketingExistingHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingExistingHealLabel.setForeground(new Color(11, 24, 76)); - int marketingExistingHealJlx = marketingExistingDiagnosedJlx + 350; - int marketingExistingHealJly = marketingExistingJly + 120; - marketingExistingHealLabel.setBounds(marketingExistingHealJlx, marketingExistingHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel marketingExistingSuspectedLabel = new JLabel("疑似"); - marketingExistingSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - marketingExistingSuspectedLabel.setForeground(new Color(11, 24, 76)); - int marketingExistingSuspectedJlx = marketingExistingHealJlx + 350; - int marketingExistingSuspectedJly = marketingExistingJly + 120; - marketingExistingSuspectedLabel.setBounds(marketingExistingSuspectedJlx, marketingExistingSuspectedJly, 800, 100); - - /** - * 确诊 - */ - marketingExistingDiagnosedJt = new JTextField(); - setTextFiledColor(marketingExistingDiagnosedJt); - int marketingExistingDiagnosedJtY = marketingExistingSuspectedJly + 120; - marketingExistingDiagnosedJt.setBounds(marketingExistingDiagnosedJlx, marketingExistingDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - marketingExistingHealJt = new JTextField(); - setTextFiledColor(marketingExistingHealJt); - int marketingExistingHealJtY = marketingExistingSuspectedJly + 120; - marketingExistingHealJt.setBounds(marketingExistingDiagnosedJlx + 350, marketingExistingHealJtY, 300, 120); - - /** - * 疑似 - */ - marketingExistingSuspectedJt = new JTextField(); - setTextFiledColor(marketingExistingSuspectedJt); - int marketingExistingSuspectedJtY = marketingExistingSuspectedJly + 120; - marketingExistingSuspectedJt.setBounds(marketingExistingDiagnosedJlx + 700, marketingExistingSuspectedJtY, 300, 120); - - /** - * 电网建设 - 新增 - */ - JLabel constructionAddition = new JLabel("电网建设-新增"); - constructionAddition.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionAddition.setForeground(new Color(11, 24, 76)); - int constructionAdditionJlx = 30; - int constructionAdditionJly = marketingExistingSuspectedJtY + 120; - constructionAddition.setBounds(constructionAdditionJlx, constructionAdditionJly, 800, 100); - - /** - * 确诊 - */ - JLabel constructionAddDiagnosedLabel = new JLabel("确诊"); - constructionAddDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionAddDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int constructionAddDiagnosedJlx = 30; - int constructionAddDiagnosedJly = constructionAdditionJly + 120; - constructionAddDiagnosedLabel.setBounds(constructionAddDiagnosedJlx, constructionAddDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel constructionAddHealLabel = new JLabel("治愈"); - constructionAddHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionAddHealLabel.setForeground(new Color(11, 24, 76)); - int constructionAddHealJlx = constructionAddDiagnosedJlx + 350; - int constructionAddHealJly = constructionAdditionJly + 120; - constructionAddHealLabel.setBounds(constructionAddHealJlx, constructionAddHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel constructionAddSuspectedLabel = new JLabel("疑似"); - constructionAddSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionAddSuspectedLabel.setForeground(new Color(11, 24, 76)); - int constructionAddSuspectedJlx = constructionAddHealJlx + 350; - int constructionAddSuspectedJly = constructionAdditionJly + 120; - constructionAddSuspectedLabel.setBounds(constructionAddSuspectedJlx, constructionAddSuspectedJly, 800, 100); - - /** - * 确诊 - */ - constructionAddDiagnosedJt = new JTextField(); - setTextFiledColor(constructionAddDiagnosedJt); - int constructionAddDiagnosedJtY = constructionAddSuspectedJly + 120; - constructionAddDiagnosedJt.setBounds(constructionAdditionJlx, constructionAddDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - constructionAddHealJt = new JTextField(); - setTextFiledColor(constructionAddHealJt); - int constructionAddHealJtY = constructionAddSuspectedJly + 120; - constructionAddHealJt.setBounds(constructionAdditionJlx + 350, constructionAddHealJtY, 300, 120); - - /** - * 疑似 - */ - constructionAddSuspectedJt = new JTextField(); - setTextFiledColor(constructionAddSuspectedJt); - int constructionAddSuspectedJtY = constructionAddSuspectedJly + 120; - constructionAddSuspectedJt.setBounds(constructionAdditionJlx + 700,constructionAddSuspectedJtY, 300, 120); - - /** - * 电网建设 - 现有 - */ - JLabel constructionExisting = new JLabel("电网建设-现有"); - constructionExisting.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionExisting.setForeground(new Color(11, 24, 76)); - int constructionExistingJlx = 30; - int constructionExistingJly = constructionAddSuspectedJtY + 120; - constructionExisting.setBounds(constructionExistingJlx, constructionExistingJly, 800, 100); - - /** - * 确诊 - */ - JLabel constructionExistingDiagnosedLabel = new JLabel("确诊"); - constructionExistingDiagnosedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionExistingDiagnosedLabel.setForeground(new Color(11, 24, 76)); - int constructionExistingDiagnosedJlx = 30; - int constructionExistingDiagnosedJly = constructionExistingJly + 120; - constructionExistingDiagnosedLabel.setBounds(constructionExistingDiagnosedJlx, constructionExistingDiagnosedJly, 800, 100); - /** - * 治愈 - */ - JLabel constructionExistingHealLabel = new JLabel("治愈"); - constructionExistingHealLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionExistingHealLabel.setForeground(new Color(11, 24, 76)); - int constructionExistingHealJlx = constructionExistingDiagnosedJlx + 350; - int constructionExistingHealJly = constructionExistingJly + 120; - constructionExistingHealLabel.setBounds(constructionExistingHealJlx, constructionExistingHealJly, 800, 100); - - /** - * 疑似 - */ - JLabel constructionExistingSuspectedLabel = new JLabel("疑似"); - constructionExistingSuspectedLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - constructionExistingSuspectedLabel.setForeground(new Color(11, 24, 76)); - int constructionExistingSuspectedJlx = constructionExistingHealJlx + 350; - int constructionExistingSuspectedJly = constructionExistingJly + 120; - constructionExistingSuspectedLabel.setBounds(constructionExistingSuspectedJlx, constructionExistingSuspectedJly, 800, 100); - - /** - * 确诊 - */ - constructionExistingDiagnosedJt = new JTextField(); - setTextFiledColor(constructionExistingDiagnosedJt); - int constructionExistingDiagnosedJtY = constructionExistingSuspectedJly + 120; - constructionExistingDiagnosedJt.setBounds(constructionExistingDiagnosedJlx, constructionExistingDiagnosedJtY, 300, 120); - - /** - * 治愈 - */ - constructionExistingHealJt = new JTextField(); - setTextFiledColor(constructionExistingHealJt); - int constructionExistingHealJtY = constructionExistingSuspectedJly + 120; - constructionExistingHealJt.setBounds(constructionExistingDiagnosedJlx + 350, constructionExistingHealJtY, 300, 120); - - /** - * 疑似 - */ - constructionExistingSuspectedJt = new JTextField(); - setTextFiledColor(constructionExistingSuspectedJt); - int constructionExistingSuspectedJtY = constructionExistingSuspectedJly + 120; - constructionExistingSuspectedJt.setBounds(constructionExistingDiagnosedJlx + 700, constructionExistingSuspectedJtY, 300, 120); - - - /** - * 附件四-疫情防控供电保障情况统计表 - */ - JLabel annexFourLabel = new JLabel("附件四-疫情防控供电保障情况统计表"); - annexFourLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexFourLabel.setForeground(new Color(11, 24, 76)); - int annexFourJlx = 30; - int annexFourJly = constructionExistingSuspectedJtY + 120; - annexFourLabel.setBounds(annexFourJlx, annexFourJly, 1000, 100); - - /** - * 定点医院 - */ - JLabel designatedHospitalsLabel = new JLabel("定点医院"); - designatedHospitalsLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - designatedHospitalsLabel.setForeground(new Color(11, 24, 76)); - int designatedHospitalsJlx = 30; - int designatedHospitalsJly = annexFourJly + 120; - designatedHospitalsLabel.setBounds(designatedHospitalsJlx, designatedHospitalsJly, 800, 100); - /** - * 发热门诊 - */ - JLabel feverClinicLabel = new JLabel("发热门诊"); - feverClinicLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - feverClinicLabel.setForeground(new Color(11, 24, 76)); - int feverClinicJlx = designatedHospitalsJlx + 350; - int feverClinicJly = annexFourJly + 120; - feverClinicLabel.setBounds(feverClinicJlx, feverClinicJly, 800, 100); - - /** - * 防疫用品企业 - */ - JLabel epidemicEnterpriseLabel = new JLabel("防疫用品企业"); - epidemicEnterpriseLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - epidemicEnterpriseLabel.setForeground(new Color(11, 24, 76)); - int epidemicEnterpriseJlx = feverClinicJlx + 350; - int epidemicEnterpriseJly = annexFourJly + 120; - epidemicEnterpriseLabel.setBounds(epidemicEnterpriseJlx, epidemicEnterpriseJly, 800, 100); - - - /** - * 定点医院输入框 - */ - designatedHospitalsJt = new JTextField(); - setTextFiledColor(designatedHospitalsJt); - int designatedHospitalsJtY = designatedHospitalsJly + 120; - designatedHospitalsJt.setBounds(designatedHospitalsJlx, designatedHospitalsJtY, 300, 120); - - /** - * 发热门诊输入框 - */ - feverClinicJt = new JTextField(); - setTextFiledColor(feverClinicJt); - int feverClinicJtY = designatedHospitalsJly + 120; - feverClinicJt.setBounds(verificationPersonNumJlx + 350, feverClinicJtY, 300, 120); - - /** - * 防疫用品企业输入框 - */ - epidemicEnterpriseJt = new JTextField(); - setTextFiledColor(epidemicEnterpriseJt); - int epidemicEnterpriseJtY = designatedHospitalsJly + 120; - epidemicEnterpriseJt.setBounds(verificationPersonNumJlx + 700, epidemicEnterpriseJtY, 300, 120); - - /** - * 其他重要用户 - */ - JLabel otherImportantUsersLabel = new JLabel("其他重要用户"); - otherImportantUsersLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - otherImportantUsersLabel.setForeground(new Color(11, 24, 76)); - int otherImportantUsersJlx = 30; - int otherImportantUsersJly = epidemicEnterpriseJtY + 120; - otherImportantUsersLabel.setBounds(otherImportantUsersJlx, otherImportantUsersJly, 800, 100); - /** - * 客户用电保障人员 - */ - JLabel customerPowerPersonnelLabel = new JLabel("客户用电保障人员"); - customerPowerPersonnelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - customerPowerPersonnelLabel.setForeground(new Color(11, 24, 76)); - int customerPowerPersonnelJlx = otherImportantUsersJlx + 350; - int customerPowerPersonnelJly = epidemicEnterpriseJtY + 120; - customerPowerPersonnelLabel.setBounds(customerPowerPersonnelJlx, customerPowerPersonnelJly, 800, 100); - - /** - * 电网运维保障人员 - */ - JLabel powerDevopsPersonnelLabel = new JLabel("电网运维保障人员"); - powerDevopsPersonnelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerDevopsPersonnelLabel.setForeground(new Color(11, 24, 76)); - int powerDevopsPersonnelJlx = customerPowerPersonnelJlx + 450; - int powerDevopsPersonnelJly = epidemicEnterpriseJtY + 120; - powerDevopsPersonnelLabel.setBounds(powerDevopsPersonnelJlx, powerDevopsPersonnelJly, 800, 100); - - - /** - * 其他重要用户输入框 - */ - otherImportantUsersJt = new JTextField(); - setTextFiledColor(otherImportantUsersJt); - int otherImportantUsersJtY = otherImportantUsersJly + 120; - otherImportantUsersJt.setBounds(otherImportantUsersJlx, otherImportantUsersJtY, 300, 120); - - /** - * 客户用电保障人员输入框 - */ - customerPowerPersonnelJt = new JTextField(); - setTextFiledColor(customerPowerPersonnelJt); - int customerPowerPersonnelJtY = otherImportantUsersJly + 120; - customerPowerPersonnelJt.setBounds(verificationPersonNumJlx + 350, customerPowerPersonnelJtY, 300, 120); - - /** - * 电网运维保障人员输入框 - */ - powerDevopsPersonnelJt = new JTextField(); - setTextFiledColor(powerDevopsPersonnelJt); - int powerDevopsPersonnelJtY = otherImportantUsersJly + 120; - powerDevopsPersonnelJt.setBounds(verificationPersonNumJlx + 800, powerDevopsPersonnelJtY, 300, 120); - - /** - * 保电车辆 - */ - JLabel electricallyVehiclesLabel = new JLabel("保电车辆"); - electricallyVehiclesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - electricallyVehiclesLabel.setForeground(new Color(11, 24, 76)); - int electricallyVehiclesJlx = 30; - int electricallyVehiclesJly = powerDevopsPersonnelJtY + 120; - electricallyVehiclesLabel.setBounds(electricallyVehiclesJlx, electricallyVehiclesJly, 800, 100); - /** - * 应急发电车 - */ - JLabel emergencyPowerVehiclesLabel = new JLabel("应急发电车"); - emergencyPowerVehiclesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyPowerVehiclesLabel.setForeground(new Color(11, 24, 76)); - int emergencyPowerVehiclesJlx = electricallyVehiclesJlx + 350; - int emergencyPowerVehiclesJly = powerDevopsPersonnelJtY + 120; - emergencyPowerVehiclesLabel.setBounds(emergencyPowerVehiclesJlx, emergencyPowerVehiclesJly, 800, 100); - - /** - * 应急发电机 - */ - JLabel emergencyGeneratorLabel = new JLabel("应急发电机"); - emergencyGeneratorLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyGeneratorLabel.setForeground(new Color(11, 24, 76)); - int emergencyGeneratorJlx = emergencyPowerVehiclesJlx + 350; - int emergencyGeneratorJly = powerDevopsPersonnelJtY + 120; - emergencyGeneratorLabel.setBounds(emergencyGeneratorJlx, emergencyGeneratorJly, 800, 100); - - - /** - * 保电车辆输入框 - */ - electricallyVehiclesJt = new JTextField(); - setTextFiledColor(electricallyVehiclesJt); - int electricallyVehiclesJtY = electricallyVehiclesJly + 120; - electricallyVehiclesJt.setBounds(electricallyVehiclesJlx, electricallyVehiclesJtY, 300, 120); - - /** - * 应急发电车输入框 - */ - emergencyPowerVehiclesJt = new JTextField(); - setTextFiledColor(emergencyPowerVehiclesJt); - int emergencyPowerVehiclesJtY = electricallyVehiclesJly + 120; - emergencyPowerVehiclesJt.setBounds(verificationPersonNumJlx + 350, emergencyPowerVehiclesJtY, 300, 120); - - /** - * 应急发电机输入框 - */ - emergencyGeneratorJt = new JTextField(); - setTextFiledColor(emergencyGeneratorJt); - int emergencyGeneratorJtY = electricallyVehiclesJly + 120; - emergencyGeneratorJt.setBounds(verificationPersonNumJlx + 700, emergencyGeneratorJtY, 300, 120); - - /** - * 附表五 入境筛查和集中观察场所供电保障情况表 - */ - JLabel annexFiveLabel = new JLabel("附表五-入境筛查和集中观察场所供电保障情况表"); - annexFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexFiveLabel.setForeground(new Color(11, 24, 76)); - int annexFiveJlx = 30; - int annexFiveJly = emergencyGeneratorJtY + 120; - annexFiveLabel.setBounds(annexFiveJlx, annexFiveJly, 1000, 100); - - /** - * 入境筛查和集中观察场所数量-机场/港口 - */ - JLabel airportPortLabel = new JLabel("机场/港口"); - airportPortLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - airportPortLabel.setForeground(new Color(11, 24, 76)); - int airportPortJlx = 30; - int airportPortJly = annexFiveJly + 120; - airportPortLabel.setBounds(airportPortJlx, airportPortJly, 800, 100); - - /** - * 入境筛查和集中观察场所数量-场馆/医院 - */ - JLabel venueHospitalLabel = new JLabel("场馆/医院"); - venueHospitalLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - venueHospitalLabel.setForeground(new Color(11, 24, 76)); - int venueHospitalJlx = airportPortJlx + 350; - int venueHospitalJly = annexFiveJly + 120; - venueHospitalLabel.setBounds(venueHospitalJlx, venueHospitalJly, 800, 100); - - /** - * 入境筛查和集中观察场所数量-宾馆酒店 - */ - JLabel guesthouseHotelLabel = new JLabel("宾馆酒店"); - guesthouseHotelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - guesthouseHotelLabel.setForeground(new Color(11, 24, 76)); - int guesthouseHotelJlx = venueHospitalJlx + 300; - int guesthouseHotelJly = annexFiveJly + 120; - guesthouseHotelLabel.setBounds(guesthouseHotelJlx, guesthouseHotelJly, 800, 100); - - /** - * 入境筛查和集中观察场所数量-保障人员 - */ - JLabel safeguardPersonnelLabel = new JLabel("保障人员"); - safeguardPersonnelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - safeguardPersonnelLabel.setForeground(new Color(11, 24, 76)); - int safeguardPersonnelJlx = guesthouseHotelJlx + 350; - int safeguardPersonnelJly = annexFiveJly + 120; - safeguardPersonnelLabel.setBounds(safeguardPersonnelJlx, safeguardPersonnelJly, 800, 100); - - /** - * 入境筛查和集中观察场所数量-机场/港口 - */ - airportPortJt = new JTextField(); - setTextFiledColor(airportPortJt); - int airportPortJtY = safeguardPersonnelJly + 120; - airportPortJt.setBounds(airportPortJlx, airportPortJtY, 260, 120); - - /** - * 入境筛查和集中观察场所数量-场馆/医院 - */ - venueHospitalJt = new JTextField(); - setTextFiledColor(venueHospitalJt); - int venueHospitalJtY = safeguardPersonnelJly + 120; - venueHospitalJt.setBounds(airportPortJlx + 350, venueHospitalJtY, 260, 120); - - /** - * 入境筛查和集中观察场所数量-场馆/医院 - */ - guesthouseHotelJt = new JTextField(); - setTextFiledColor(guesthouseHotelJt); - int guesthouseHotelJtY = safeguardPersonnelJly + 120; - guesthouseHotelJt.setBounds(airportPortJlx + 650, guesthouseHotelJtY, 260, 120); - - /** - * 入境筛查和集中观察场所数量-保障人员 - */ - safeguardPersonnelJt = new JTextField(); - setTextFiledColor(safeguardPersonnelJt); - int safeguardPersonnelJtY = safeguardPersonnelJly + 120; - safeguardPersonnelJt.setBounds(airportPortJlx + 1000, safeguardPersonnelJtY, 260, 120); - - - - /** - * 投入力量-保电车辆 - */ - JLabel electricallyGuaranteedVehiclesLabel = new JLabel("保电车辆"); - electricallyGuaranteedVehiclesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - electricallyGuaranteedVehiclesLabel.setForeground(new Color(11, 24, 76)); - int electricallyGuaranteedVehiclesJlx = 30; - int electricallyGuaranteedVehiclesJly = safeguardPersonnelJtY + 120; - electricallyGuaranteedVehiclesLabel.setBounds(electricallyGuaranteedVehiclesJlx, electricallyGuaranteedVehiclesJly, 800, 100); - - /** - * 投入力量-发电车 - */ - JLabel powerGenerationVehiclesLabel = new JLabel("发电车"); - powerGenerationVehiclesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerGenerationVehiclesLabel.setForeground(new Color(11, 24, 76)); - int powerGenerationVehiclesJlx = electricallyGuaranteedVehiclesJlx + 350; - int powerGenerationVehiclesJly = safeguardPersonnelJtY + 120; - powerGenerationVehiclesLabel.setBounds(powerGenerationVehiclesJlx, powerGenerationVehiclesJly, 800, 100); - - /** - * 投入力量-发电机 - */ - JLabel dynamoLabel = new JLabel("发电机"); - dynamoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - dynamoLabel.setForeground(new Color(11, 24, 76)); - int dynamoJlx = powerGenerationVehiclesJlx + 300; - int dynamoJly = safeguardPersonnelJtY + 120; - dynamoLabel.setBounds(dynamoJlx, dynamoJly, 800, 100); - - - /** - * 投入力量-保电车辆 - */ - electricallyGuaranteedVehiclesJt = new JTextField(); - setTextFiledColor(electricallyGuaranteedVehiclesJt); - int electricallyGuaranteedVehiclesJtY = dynamoJly + 120; - electricallyGuaranteedVehiclesJt.setBounds(airportPortJlx, electricallyGuaranteedVehiclesJtY, 260, 120); - - /** - * 投入力量-发电车 - */ - powerGenerationVehiclesJt = new JTextField(); - setTextFiledColor(powerGenerationVehiclesJt); - int powerGenerationVehiclesJtY = dynamoJly + 120; - powerGenerationVehiclesJt.setBounds(airportPortJlx + 350, powerGenerationVehiclesJtY, 260, 120); - - /** - * 投入力量-发电机 - */ - dynamoJt = new JTextField(); - setTextFiledColor(dynamoJt); - int dynamoJtY = dynamoJly + 120; - dynamoJt.setBounds(airportPortJlx + 650, dynamoJtY, 260, 120); - - JLabel fiveRemarkLabel = new JLabel("备注"); - fiveRemarkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fiveRemarkLabel.setForeground(new Color(11, 24, 76)); - int fiveRemarkJlx = 30; - int fiveRemarkJly = dynamoJtY + 120; - fiveRemarkLabel.setBounds(fiveRemarkJlx, fiveRemarkJly, 800, 100); - /** - * 备注 - */ - fiveRemarkJt = new JTextField(); - setTextFiledColor(fiveRemarkJt); - int fiveRemarkJtY = fiveRemarkJly + 120; - fiveRemarkJt.setBounds(30, fiveRemarkJtY, 1310, 120); - - /** - * 附件六-预警及应急响应情况跟踪表 - */ - JLabel annexSixLabel = new JLabel("附件六-预警及应急响应情况跟踪表"); - annexSixLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexSixLabel.setForeground(new Color(11, 24, 76)); - int annexSixJlx = 30; - int annexSixJly = fiveRemarkJtY + 120; - annexSixLabel.setBounds(annexSixJlx, annexSixJly, 1000, 100); - - /** - * 领导及指挥人员 - */ - JLabel leadersCommandStaffLabel = new JLabel("领导及指挥人员"); - leadersCommandStaffLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - leadersCommandStaffLabel.setForeground(new Color(11, 24, 76)); - int leadersCommandStaffJlx = 30; - int leadersCommandStaffJly = annexSixJly + 120; - leadersCommandStaffLabel.setBounds(leadersCommandStaffJlx, leadersCommandStaffJly, 800, 100); - /** - * 领导及指挥人员 - */ - leadersCommandStaffJt = new JTextField(); - setTextFiledColor(leadersCommandStaffJt); - int leadersCommandStaffJtY = leadersCommandStaffJly + 120; - leadersCommandStaffJt.setBounds(leadersCommandStaffJlx, leadersCommandStaffJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(leadersCommandStaffJt.getText())) { - leadersCommandStaffJt.addFocusListener(new MyFocusListener("请输入领导及指挥人员", leadersCommandStaffJt)); - } - - /** - * 投入力量-人员 - */ - JLabel inputAmountPersonLabel = new JLabel("人员数量"); - inputAmountPersonLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - inputAmountPersonLabel.setForeground(new Color(11, 24, 76)); - int inputAmountPersonJlx = 30; - int inputAmountPersonJly = leadersCommandStaffJtY + 120; - inputAmountPersonLabel.setBounds(inputAmountPersonJlx, inputAmountPersonJly, 800, 100); - /** - * 投入力量-车辆 - */ - JLabel inputAmountVehicleLabel = new JLabel("车辆数量"); - inputAmountVehicleLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - inputAmountVehicleLabel.setForeground(new Color(11, 24, 76)); - int inputAmountVehicleJlx = inputAmountPersonJlx + 350; - int inputAmountVehicleJly = leadersCommandStaffJtY + 120; - inputAmountVehicleLabel.setBounds(inputAmountVehicleJlx, inputAmountVehicleJly, 800, 100); - - /** - * 投入力量-发电车 - */ - JLabel inputAmountPowerVehicleLabel = new JLabel("发电车数量"); - inputAmountPowerVehicleLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - inputAmountPowerVehicleLabel.setForeground(new Color(11, 24, 76)); - int inputAmountPowerVehicleJlx = inputAmountVehicleJlx + 300; - int inputAmountPowerVehicleJly = leadersCommandStaffJtY + 120; - inputAmountPowerVehicleLabel.setBounds(inputAmountPowerVehicleJlx, inputAmountPowerVehicleJly, 800, 100); - - /** - * 投入力量-发电机 - */ - JLabel inputAmountDynamoLabel = new JLabel("发电车数量"); - inputAmountDynamoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - inputAmountDynamoLabel.setForeground(new Color(11, 24, 76)); - int inputAmountDynamoJlx = inputAmountPowerVehicleJlx + 350; - int inputAmountDynamoJly = leadersCommandStaffJtY + 120; - inputAmountDynamoLabel.setBounds(inputAmountDynamoJlx, inputAmountDynamoJly, 800, 100); - - /** - * 投入力量-人员输入框 - */ - inputAmountPersonJt = new JTextField(); - setTextFiledColor(inputAmountPersonJt); - int inputAmountPersonJtY = inputAmountPersonJly + 120; - inputAmountPersonJt.setBounds(inputAmountPersonJlx, inputAmountPersonJtY, 260, 120); - - /** - * 投入力量-车辆输入框 - */ - inputAmountVehicleJt = new JTextField(); - setTextFiledColor(inputAmountVehicleJt); - int inputAmountVehicleJtY = inputAmountPersonJly + 120; - inputAmountVehicleJt.setBounds(inputAmountPersonJlx + 350, inputAmountVehicleJtY, 260, 120); - - /** - * 投入力量-发电车输入框 - */ - inputAmountPowerVehicleJt = new JTextField(); - setTextFiledColor(inputAmountPowerVehicleJt); - int inputAmountPowerVehicleJtY = inputAmountPersonJly + 120; - inputAmountPowerVehicleJt.setBounds(inputAmountPersonJlx + 650, inputAmountPowerVehicleJtY, 260, 120); - - /** - * 投入力量-发电机输入框 - */ - inputAmountDynamoJt = new JTextField(); - setTextFiledColor(inputAmountDynamoJt); - int inputAmountDynamoJtY = inputAmountPersonJly + 120; - inputAmountDynamoJt.setBounds(inputAmountPersonJlx + 1000, inputAmountDynamoJtY, 260, 120); - - /** - * 投入备注 - */ - JLabel inputAmountRemarkLabel = new JLabel("备注"); - inputAmountRemarkLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - inputAmountRemarkLabel.setForeground(new Color(11, 24, 76)); - int inputAmountRemarkJlx = 30; - int inputAmountRemarkJly = inputAmountDynamoJtY + 120; - inputAmountRemarkLabel.setBounds(inputAmountRemarkJlx, inputAmountRemarkJly, 800, 100); - /** - * 投入备注 - */ - inputAmountRemarkJt = new JTextField(); - setTextFiledColor(inputAmountRemarkJt); - int inputAmountRemarkJtY = inputAmountRemarkJly + 120; - inputAmountRemarkJt.setBounds(30, inputAmountRemarkJtY, 1310, 120); - if(StringHelper.isEmptyAndNull(inputAmountRemarkJt.getText())) { - inputAmountRemarkJt.addFocusListener(new MyFocusListener("请输入投入备注", inputAmountRemarkJt)); - } - - - /** - * 附件七-变电站停运及恢复-新增情况 - */ - JLabel annexSevenLabel = new JLabel("附件七-变电站停运及恢复-新增情况"); - annexSevenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexSevenLabel.setForeground(new Color(11, 24, 76)); - int annexSevenJlx = 30; - int annexSevenJly = inputAmountRemarkJtY + 150; - annexSevenLabel.setBounds(annexSevenJlx, annexSevenJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterLabel = new JLabel("因灾停运"); - suspensionOfDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterJlx = 30; - int suspensionOfDisasterJly = annexSevenJly + 120; - suspensionOfDisasterLabel.setBounds(suspensionOfDisasterJlx, suspensionOfDisasterJly, 800, 100); - - /** - * 因灾停运-特高压 - */ - JLabel uhvDisasterLabel = new JLabel("特高压"); - uhvDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - uhvDisasterLabel.setForeground(new Color(11, 24, 76)); - int uhvDisasterJlx = 30; - int uhvDisasterJly = suspensionOfDisasterJly + 120; - uhvDisasterLabel.setBounds(uhvDisasterJlx, uhvDisasterJly, 800, 100); - /** - * 因灾停运-500kv - */ - JLabel fiveKVDisasterLabel = new JLabel("500kV"); - fiveKVDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fiveKVDisasterLabel.setForeground(new Color(11, 24, 76)); - int fiveKVDisasterJlx = uhvDisasterJlx + 280; - int fiveKVDisasterJly = suspensionOfDisasterJly + 120; - fiveKVDisasterLabel.setBounds(fiveKVDisasterJlx, fiveKVDisasterJly, 800, 100); - - /** - * 因灾停运-220/330kv - */ - JLabel twoKVDisasterLabel = new JLabel("220/330kV"); - twoKVDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twoKVDisasterLabel.setForeground(new Color(11, 24, 76)); - int twoKVDisasterJlx = fiveKVDisasterJlx + 200; - int twoKVDisasterJly = suspensionOfDisasterJly + 120; - twoKVDisasterLabel.setBounds(twoKVDisasterJlx, twoKVDisasterJly, 800, 100); - - /** - * 因灾停运-110/66kv - */ - JLabel oneKVDisasterLabel = new JLabel("110/66kv"); - oneKVDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - oneKVDisasterLabel.setForeground(new Color(11, 24, 76)); - int oneKVDisasterJlx = twoKVDisasterJlx + 270; - int oneKVDisasterJly = suspensionOfDisasterJly + 120; - oneKVDisasterLabel.setBounds(oneKVDisasterJlx, oneKVDisasterJly, 800, 100); - - /** - * 因灾停运-35kv - */ - JLabel threeKVDisasterLabel = new JLabel("35kv"); - threeKVDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - threeKVDisasterLabel.setForeground(new Color(11, 24, 76)); - int threeKVDisasterJlx = oneKVDisasterJlx + 300; - int threeKVDisasterJly = suspensionOfDisasterJly + 120; - threeKVDisasterLabel.setBounds(threeKVDisasterJlx, threeKVDisasterJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-因灾停运-特高压 - */ - - powerSubstationAddOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationAddOutageUvhJt); - int powerSubstationAddOutageUvhJtY = threeKVDisasterJly + 120; - powerSubstationAddOutageUvhJt.setBounds(annexSevenJlx, powerSubstationAddOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-500 - */ - powerSubstationAddOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationAddOutageFiveJt); - int powerSubstationAddOutageFiveJtY = threeKVDisasterJly + 120; - powerSubstationAddOutageFiveJt.setBounds(annexSevenJlx + 250, powerSubstationAddOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-300 - */ - powerSubstationAddOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationAddOutageTwoJt); - int powerSubstationAddOutageTwoJtY = threeKVDisasterJly + 120; - powerSubstationAddOutageTwoJt.setBounds(annexSevenJlx + 500, powerSubstationAddOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-110 - */ - powerSubstationAddOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationAddOutageOneJt); - int powerSubstationAddOutageOneJtY = threeKVDisasterJly + 120; - powerSubstationAddOutageOneJt.setBounds(annexSevenJlx + 750, powerSubstationAddOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-35 - */ - powerSubstationAddOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationAddOutageThreeJt); - int powerSubstationAddOutageThreeJtY = threeKVDisasterJly + 120; - powerSubstationAddOutageThreeJt.setBounds(annexSevenJlx + 1000, powerSubstationAddOutageThreeJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel emergencyRepairRecoveryLabel = new JLabel("抢修恢复"); - emergencyRepairRecoveryLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyRepairRecoveryLabel.setForeground(new Color(11, 24, 76)); - int emergencyRepairRecoveryJlx = 30; - int emergencyRepairRecoveryJly = powerSubstationAddOutageThreeJtY + 120; - emergencyRepairRecoveryLabel.setBounds(emergencyRepairRecoveryJlx, emergencyRepairRecoveryJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel powerSubstationAddRepairUvhLabel = new JLabel("特高压"); - powerSubstationAddRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddRepairUvhJlx = 30; - int powerSubstationAddRepairUvhJly = emergencyRepairRecoveryJly + 120; - powerSubstationAddRepairUvhLabel.setBounds(powerSubstationAddRepairUvhJlx, powerSubstationAddRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel powerSubstationAddRepairFiveLabel = new JLabel("500kV"); - powerSubstationAddRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddRepairFiveJlx = powerSubstationAddRepairUvhJlx + 280; - int powerSubstationAddRepairFiveJly = emergencyRepairRecoveryJly + 120; - powerSubstationAddRepairFiveLabel.setBounds(powerSubstationAddRepairFiveJlx, powerSubstationAddRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel powerSubstationAddRepairTwoLabel = new JLabel("220/330kV"); - powerSubstationAddRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddRepairTwoJlx = powerSubstationAddRepairFiveJlx + 200; - int powerSubstationAddRepairTwoJly = emergencyRepairRecoveryJly + 120; - powerSubstationAddRepairTwoLabel.setBounds(powerSubstationAddRepairTwoJlx, powerSubstationAddRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel powerSubstationAddRepairOneLabel = new JLabel("110/66kv"); - powerSubstationAddRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddRepairOneLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddRepairOneJlx = powerSubstationAddRepairTwoJlx + 270; - int powerSubstationAddRepairOneJly = emergencyRepairRecoveryJly + 120; - powerSubstationAddRepairOneLabel.setBounds(powerSubstationAddRepairOneJlx, powerSubstationAddRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel powerSubstationAddRepairThreeLabel = new JLabel("35kv"); - powerSubstationAddRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddRepairThreeJlx = powerSubstationAddRepairOneJlx + 300; - int powerSubstationAddRepairThreeJly = emergencyRepairRecoveryJly + 120; - powerSubstationAddRepairThreeLabel.setBounds(powerSubstationAddRepairThreeJlx, powerSubstationAddRepairThreeJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-抢修恢复-特高压 - */ - powerSubstationAddRepairOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationAddRepairOutageUvhJt); - int powerSubstationRepairOutageUvhJtY = powerSubstationAddRepairThreeJly + 120; - powerSubstationAddRepairOutageUvhJt.setBounds(powerSubstationAddRepairUvhJlx, powerSubstationRepairOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-500 - */ - powerSubstationAddRepairOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationAddRepairOutageFiveJt); - int powerSubstationRepairOutageFiveJtY = powerSubstationAddRepairThreeJly + 120; - powerSubstationAddRepairOutageFiveJt.setBounds(powerSubstationAddRepairUvhJlx + 250, powerSubstationRepairOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-300 - */ - powerSubstationAddRepairOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationAddRepairOutageTwoJt); - int powerSubstationAddRepairOutageTwoJtY = powerSubstationAddRepairThreeJly + 120; - powerSubstationAddRepairOutageTwoJt.setBounds(powerSubstationAddRepairUvhJlx + 500, powerSubstationAddRepairOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-110 - */ - powerSubstationAddRepairOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationAddRepairOutageOneJt); - int powerSubstationAddRepairOutageOneJtY = powerSubstationAddRepairThreeJly + 120; - powerSubstationAddRepairOutageOneJt.setBounds(powerSubstationAddRepairUvhJlx + 750, powerSubstationAddRepairOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-35 - */ - powerSubstationAddRepairOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationAddRepairOutageThreeJt); - int powerSubstationAddRepairOutageThreeJtY = powerSubstationAddRepairThreeJly + 120; - powerSubstationAddRepairOutageThreeJt.setBounds(powerSubstationAddRepairUvhJlx + 1000, powerSubstationAddRepairOutageThreeJtY, 240, 120); - - /** - * 尚未恢复 - */ - JLabel emergencyNoRepairRecoveryLabel = new JLabel("尚未恢复"); - emergencyNoRepairRecoveryLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyNoRepairRecoveryLabel.setForeground(new Color(11, 24, 76)); - int emergencyNoRepairRecoveryJlx = 30; - int emergencyNoRepairRecoveryJly = powerSubstationAddRepairOutageThreeJtY + 120; - emergencyNoRepairRecoveryLabel.setBounds(emergencyNoRepairRecoveryJlx, emergencyNoRepairRecoveryJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel powerSubstationAddNoRepairUvhLabel = new JLabel("特高压"); - powerSubstationAddNoRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddNoRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddNoRepairUvhJlx = 30; - int powerSubstationAddNoRepairUvhJly = emergencyNoRepairRecoveryJly + 120; - powerSubstationAddNoRepairUvhLabel.setBounds(powerSubstationAddNoRepairUvhJlx, powerSubstationAddNoRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel powerSubstationAddNoRepairFiveLabel = new JLabel("500kV"); - powerSubstationAddNoRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddNoRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddNoRepairFiveJlx = powerSubstationAddNoRepairUvhJlx + 280; - int powerSubstationAddNoRepairFiveJly = emergencyNoRepairRecoveryJly + 120; - powerSubstationAddNoRepairFiveLabel.setBounds(powerSubstationAddNoRepairFiveJlx, powerSubstationAddNoRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel powerSubstationAddNoRepairTwoLabel = new JLabel("220/330kV"); - powerSubstationAddNoRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddNoRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddNoRepairTwoJlx = powerSubstationAddNoRepairFiveJlx + 200; - int powerSubstationAddNoRepairTwoJly = emergencyNoRepairRecoveryJly + 120; - powerSubstationAddNoRepairTwoLabel.setBounds(powerSubstationAddNoRepairTwoJlx, powerSubstationAddNoRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel powerSubstationAddNoRepairOneLabel = new JLabel("110/66kv"); - powerSubstationAddNoRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddNoRepairOneLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddNoRepairOneJlx = powerSubstationAddNoRepairTwoJlx + 270; - int powerSubstationAddNoRepairOneJly = emergencyNoRepairRecoveryJly + 120; - powerSubstationAddNoRepairOneLabel.setBounds(powerSubstationAddNoRepairOneJlx, powerSubstationAddNoRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel powerSubstationAddNoRepairThreeLabel = new JLabel("35kv"); - powerSubstationAddNoRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationAddNoRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationAddNoRepairThreeJlx = powerSubstationAddNoRepairOneJlx + 300; - int powerSubstationAddNoRepairThreeJly = emergencyNoRepairRecoveryJly + 120; - powerSubstationAddNoRepairThreeLabel.setBounds(powerSubstationAddNoRepairThreeJlx, powerSubstationAddNoRepairThreeJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-抢修恢复-特高压 - */ - powerSubstationAddNoRepairOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationAddNoRepairOutageUvhJt); - int powerSubstationNoRepairOutageUvhJtY = powerSubstationAddNoRepairThreeJly + 120; - powerSubstationAddNoRepairOutageUvhJt.setBounds(powerSubstationAddNoRepairUvhJlx, powerSubstationNoRepairOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-500 - */ - powerSubstationAddNoRepairOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationAddNoRepairOutageFiveJt); - int powerSubstationNoRepairOutageFiveJtY = powerSubstationAddNoRepairThreeJly + 120; - powerSubstationAddNoRepairOutageFiveJt.setBounds(powerSubstationAddNoRepairUvhJlx + 250, powerSubstationNoRepairOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-300 - */ - powerSubstationAddNoRepairOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationAddNoRepairOutageTwoJt); - int powerSubstationAddNoRepairOutageTwoJtY = powerSubstationAddNoRepairThreeJly + 120; - powerSubstationAddNoRepairOutageTwoJt.setBounds(powerSubstationAddNoRepairUvhJlx + 500, powerSubstationAddNoRepairOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-110 - */ - powerSubstationAddNoRepairOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationAddNoRepairOutageOneJt); - int powerSubstationAddNoRepairOutageOneJtY = powerSubstationAddNoRepairThreeJly + 120; - powerSubstationAddNoRepairOutageOneJt.setBounds(powerSubstationAddNoRepairUvhJlx + 750, powerSubstationAddNoRepairOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-35 - */ - powerSubstationAddNoRepairOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationAddNoRepairOutageThreeJt); - int powerSubstationAddNoRepairOutageThreeJtY = powerSubstationAddNoRepairThreeJly + 120; - powerSubstationAddNoRepairOutageThreeJt.setBounds(powerSubstationAddNoRepairUvhJlx + 1000, powerSubstationAddNoRepairOutageThreeJtY, 240, 120); - - - /** - * 附件七-变电站停运及恢复-累计情况 - */ - JLabel annexSevenCumulativeLabel = new JLabel("附件七-变电站停运及恢复-累计情况"); - annexSevenCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexSevenCumulativeLabel.setForeground(new Color(11, 24, 76)); - int annexSevenCumulativeJlx = 30; - int annexSevenCumulativeJly = powerSubstationAddNoRepairOutageThreeJtY + 150; - annexSevenCumulativeLabel.setBounds(annexSevenCumulativeJlx, annexSevenCumulativeJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterCumulativeLabel = new JLabel("因灾停运"); - suspensionOfDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterCumulativeJlx = 30; - int suspensionOfDisasterCumulativeJly = annexSevenCumulativeJly + 120; - suspensionOfDisasterCumulativeLabel.setBounds(suspensionOfDisasterCumulativeJlx, suspensionOfDisasterCumulativeJly, 800, 100); - - /** - * 因灾停运-特高压 - */ - JLabel uhvDisasterCumulativeLabel = new JLabel("特高压"); - uhvDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - uhvDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int uhvDisasterCumulativeJlx = 30; - int uhvDisasterCumulativeJly = suspensionOfDisasterCumulativeJly + 120; - uhvDisasterCumulativeLabel.setBounds(uhvDisasterCumulativeJlx, uhvDisasterCumulativeJly, 800, 100); - /** - * 因灾停运-500kv - */ - JLabel fiveKVDisasterCumulativeLabel = new JLabel("500kV"); - fiveKVDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fiveKVDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int fiveKVDisasterCumulativeJlx = uhvDisasterCumulativeJlx + 280; - int fiveKVDisasterCumulativeJly = suspensionOfDisasterCumulativeJly + 120; - fiveKVDisasterCumulativeLabel.setBounds(fiveKVDisasterCumulativeJlx, fiveKVDisasterCumulativeJly, 800, 100); - - /** - * 因灾停运-220/330kv - */ - JLabel twoKVDisasterCumulativeLabel = new JLabel("220/330kV"); - twoKVDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twoKVDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int twoKVDisasterCumulativeJlx = fiveKVDisasterCumulativeJlx + 200; - int twoKVDisasterCumulativeJly = suspensionOfDisasterCumulativeJly + 120; - twoKVDisasterCumulativeLabel.setBounds(twoKVDisasterCumulativeJlx, twoKVDisasterCumulativeJly, 800, 100); - - /** - * 因灾停运-110/66kv - */ - JLabel oneKVDisasterCumulativeLabel = new JLabel("110/66kv"); - oneKVDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - oneKVDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int oneKVDisasterCumulativeJlx = twoKVDisasterCumulativeJlx + 270; - int oneKVDisasterCumulativeJly = suspensionOfDisasterCumulativeJly + 120; - oneKVDisasterCumulativeLabel.setBounds(oneKVDisasterCumulativeJlx, oneKVDisasterCumulativeJly, 800, 100); - - /** - * 因灾停运-35kv - */ - JLabel threeKVDisasterCumulativeLabel = new JLabel("35kv"); - threeKVDisasterCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - threeKVDisasterCumulativeLabel.setForeground(new Color(11, 24, 76)); - int threeKVDisasterCumulativeJlx = oneKVDisasterCumulativeJlx + 300; - int threeKVDisasterCumulativeJly = suspensionOfDisasterCumulativeJly + 120; - threeKVDisasterCumulativeLabel.setBounds(threeKVDisasterCumulativeJlx, threeKVDisasterCumulativeJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-因灾停运-特高压 - */ - - powerSubstationCumulativeOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeOutageUvhJt); - int powerSubstationCumulativeOutageUvhJtY = threeKVDisasterCumulativeJly + 120; - powerSubstationCumulativeOutageUvhJt.setBounds(annexSevenCumulativeJlx, powerSubstationCumulativeOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-500 - */ - powerSubstationCumulativeOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeOutageFiveJt); - int powerSubstationCumulativeOutageFiveJtY = threeKVDisasterCumulativeJly + 120; - powerSubstationCumulativeOutageFiveJt.setBounds(annexSevenCumulativeJlx + 250, powerSubstationCumulativeOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-300 - */ - powerSubstationCumulativeOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeOutageTwoJt); - int powerSubstationCumulativeOutageTwoJtY = threeKVDisasterCumulativeJly + 120; - powerSubstationCumulativeOutageTwoJt.setBounds(annexSevenCumulativeJlx + 500, powerSubstationCumulativeOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-110 - */ - powerSubstationCumulativeOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeOutageOneJt); - int powerSubstationCumulativeOutageOneJtY = threeKVDisasterCumulativeJly + 120; - powerSubstationCumulativeOutageOneJt.setBounds(annexSevenCumulativeJlx + 750, powerSubstationCumulativeOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-因灾停运-35 - */ - powerSubstationCumulativeOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeOutageThreeJt); - int powerSubstationCumulativeOutageThreeJtY = threeKVDisasterCumulativeJly + 120; - powerSubstationCumulativeOutageThreeJt.setBounds(annexSevenCumulativeJlx + 1000, powerSubstationCumulativeOutageThreeJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel emergencyRepairRecoveryCumulativeLabel = new JLabel("抢修恢复"); - emergencyRepairRecoveryCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyRepairRecoveryCumulativeLabel.setForeground(new Color(11, 24, 76)); - int emergencyRepairRecoveryCumulativeJlx = 30; - int emergencyRepairRecoveryCumulativeJly = powerSubstationCumulativeOutageThreeJtY + 120; - emergencyRepairRecoveryCumulativeLabel.setBounds(emergencyRepairRecoveryCumulativeJlx, emergencyRepairRecoveryCumulativeJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel powerSubstationCumulativeRepairUvhLabel = new JLabel("特高压"); - powerSubstationCumulativeRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeRepairUvhJlx = 30; - int powerSubstationCumulativeRepairUvhJly = emergencyRepairRecoveryCumulativeJly + 120; - powerSubstationCumulativeRepairUvhLabel.setBounds(powerSubstationCumulativeRepairUvhJlx, powerSubstationCumulativeRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel powerSubstationCumulativeRepairFiveLabel = new JLabel("500kV"); - powerSubstationCumulativeRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeRepairFiveJlx = powerSubstationCumulativeRepairUvhJlx + 280; - int powerSubstationCumulativeRepairFiveJly = emergencyRepairRecoveryCumulativeJly + 120; - powerSubstationCumulativeRepairFiveLabel.setBounds(powerSubstationCumulativeRepairFiveJlx, powerSubstationCumulativeRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel powerSubstationCumulativeRepairTwoLabel = new JLabel("220/330kV"); - powerSubstationCumulativeRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeRepairTwoJlx = powerSubstationCumulativeRepairFiveJlx + 200; - int powerSubstationCumulativeRepairTwoJly = emergencyRepairRecoveryCumulativeJly + 120; - powerSubstationCumulativeRepairTwoLabel.setBounds(powerSubstationCumulativeRepairTwoJlx, powerSubstationCumulativeRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel powerSubstationCumulativeRepairOneLabel = new JLabel("110/66kv"); - powerSubstationCumulativeRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeRepairOneLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeRepairOneJlx = powerSubstationCumulativeRepairTwoJlx + 270; - int powerSubstationCumulativeRepairOneJly = emergencyRepairRecoveryCumulativeJly + 120; - powerSubstationCumulativeRepairOneLabel.setBounds(powerSubstationCumulativeRepairOneJlx, powerSubstationCumulativeRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel powerSubstationCumulativeRepairThreeLabel = new JLabel("35kv"); - powerSubstationCumulativeRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeRepairThreeJlx = powerSubstationCumulativeRepairOneJlx + 300; - int powerSubstationCumulativeRepairThreeJly = emergencyRepairRecoveryCumulativeJly + 120; - powerSubstationCumulativeRepairThreeLabel.setBounds(powerSubstationCumulativeRepairThreeJlx, powerSubstationCumulativeRepairThreeJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-抢修恢复-特高压 - */ - powerSubstationCumulativeRepairOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeRepairOutageUvhJt); - int powerSubstationCumulativeRepairOutageUvhJtY = powerSubstationCumulativeRepairThreeJly + 120; - powerSubstationCumulativeRepairOutageUvhJt.setBounds(powerSubstationAddRepairUvhJlx, powerSubstationCumulativeRepairOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-500 - */ - powerSubstationCumulativeRepairOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeRepairOutageFiveJt); - int powerSubstationCumulativeRepairOutageFiveJtY = powerSubstationCumulativeRepairThreeJly + 120; - powerSubstationCumulativeRepairOutageFiveJt.setBounds(powerSubstationCumulativeRepairUvhJlx + 250, powerSubstationCumulativeRepairOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-300 - */ - powerSubstationCumulativeRepairOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeRepairOutageTwoJt); - int powerSubstationCumulativeRepairOutageTwoJtY = powerSubstationCumulativeRepairThreeJly + 120; - powerSubstationCumulativeRepairOutageTwoJt.setBounds(powerSubstationCumulativeRepairUvhJlx + 500, powerSubstationCumulativeRepairOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-110 - */ - powerSubstationCumulativeRepairOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeRepairOutageOneJt); - int powerSubstationCumulativeRepairOutageOneJtY = powerSubstationCumulativeRepairThreeJly + 120; - powerSubstationCumulativeRepairOutageOneJt.setBounds(powerSubstationCumulativeRepairUvhJlx + 750, powerSubstationCumulativeRepairOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-35 - */ - powerSubstationCumulativeRepairOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeRepairOutageThreeJt); - int powerSubstationCumulativeRepairOutageThreeJtY = powerSubstationCumulativeRepairThreeJly + 120; - powerSubstationCumulativeRepairOutageThreeJt.setBounds(powerSubstationCumulativeRepairUvhJlx + 1000, powerSubstationCumulativeRepairOutageThreeJtY, 240, 120); - - /** - * 尚未恢复 - */ - JLabel emergencyCumulativeNoRepairRecoveryLabel = new JLabel("尚未恢复"); - emergencyCumulativeNoRepairRecoveryLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyCumulativeNoRepairRecoveryLabel.setForeground(new Color(11, 24, 76)); - int emergencyCumulativeNoRepairRecoveryJlx = 30; - int emergencyCumulativeNoRepairRecoveryJly = powerSubstationCumulativeRepairOutageThreeJtY + 120; - emergencyCumulativeNoRepairRecoveryLabel.setBounds(emergencyCumulativeNoRepairRecoveryJlx, emergencyCumulativeNoRepairRecoveryJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel powerSubstationCumulativeNoRepairUvhLabel = new JLabel("特高压"); - powerSubstationCumulativeNoRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeNoRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeNoRepairUvhJlx = 30; - int powerSubstationCumulativeNoRepairUvhJly = emergencyCumulativeNoRepairRecoveryJly + 120; - powerSubstationCumulativeNoRepairUvhLabel.setBounds(powerSubstationCumulativeNoRepairUvhJlx, powerSubstationCumulativeNoRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel powerSubstationCumulativeNoRepairFiveLabel = new JLabel("500kV"); - powerSubstationCumulativeNoRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeNoRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeNoRepairFiveJlx = powerSubstationCumulativeNoRepairUvhJlx + 280; - int powerSubstationCumulativeNoRepairFiveJly = emergencyCumulativeNoRepairRecoveryJly + 120; - powerSubstationCumulativeNoRepairFiveLabel.setBounds(powerSubstationCumulativeNoRepairFiveJlx, powerSubstationCumulativeNoRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel powerSubstationCumulativeNoRepairTwoLabel = new JLabel("220/330kV"); - powerSubstationCumulativeNoRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeNoRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeNoRepairTwoJlx = powerSubstationCumulativeNoRepairFiveJlx + 200; - int powerSubstationCumulativeNoRepairTwoJly = emergencyCumulativeNoRepairRecoveryJly + 120; - powerSubstationCumulativeNoRepairTwoLabel.setBounds(powerSubstationCumulativeNoRepairTwoJlx, powerSubstationCumulativeNoRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel powerSubstationCumulativeNoRepairOneLabel = new JLabel("110/66kv"); - powerSubstationCumulativeNoRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeNoRepairOneLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeNoRepairOneJlx = powerSubstationCumulativeNoRepairTwoJlx + 270; - int powerSubstationCumulativeNoRepairOneJly = emergencyCumulativeNoRepairRecoveryJly + 120; - powerSubstationCumulativeNoRepairOneLabel.setBounds(powerSubstationCumulativeNoRepairOneJlx, powerSubstationCumulativeNoRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel powerSubstationCumulativeNoRepairThreeLabel = new JLabel("35kv"); - powerSubstationCumulativeNoRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerSubstationCumulativeNoRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int powerSubstationCumulativeNoRepairThreeJlx = powerSubstationCumulativeNoRepairOneJlx + 300; - int powerSubstationCumulativeNoRepairThreeJly = emergencyCumulativeNoRepairRecoveryJly + 120; - powerSubstationCumulativeNoRepairThreeLabel.setBounds(powerSubstationCumulativeNoRepairThreeJlx, powerSubstationCumulativeNoRepairThreeJly, 800, 100); - - - /** - * 变电站停运及恢复-新增-抢修恢复-特高压 - */ - powerSubstationCumulativeNoRepairOutageUvhJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeNoRepairOutageUvhJt); - int powerSubstationCumulativeNoRepairOutageUvhJtY = powerSubstationCumulativeNoRepairThreeJly + 120; - powerSubstationCumulativeNoRepairOutageUvhJt.setBounds(powerSubstationCumulativeNoRepairUvhJlx, powerSubstationCumulativeNoRepairOutageUvhJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-500 - */ - powerSubstationCumulativeNoRepairOutageFiveJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeNoRepairOutageFiveJt); - int powerSubstationCumulativeNoRepairOutageFiveJtY = powerSubstationCumulativeNoRepairThreeJly + 120; - powerSubstationCumulativeNoRepairOutageFiveJt.setBounds(powerSubstationCumulativeNoRepairUvhJlx + 250, powerSubstationCumulativeNoRepairOutageFiveJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-300 - */ - powerSubstationCumulativeNoRepairOutageTwoJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeNoRepairOutageTwoJt); - int powerSubstationCumulativeNoRepairOutageTwoJtY = powerSubstationCumulativeNoRepairThreeJly + 120; - powerSubstationCumulativeNoRepairOutageTwoJt.setBounds(powerSubstationCumulativeNoRepairUvhJlx + 500, powerSubstationCumulativeNoRepairOutageTwoJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-110 - */ - powerSubstationCumulativeNoRepairOutageOneJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeNoRepairOutageOneJt); - int powerSubstationCumulativeNoRepairOutageOneJtY = powerSubstationCumulativeNoRepairThreeJly + 120; - powerSubstationCumulativeNoRepairOutageOneJt.setBounds(powerSubstationCumulativeNoRepairUvhJlx + 750, powerSubstationCumulativeNoRepairOutageOneJtY, 240, 120); - - /** - * 变电站停运及恢复-新增-抢修恢复-35 - */ - powerSubstationCumulativeNoRepairOutageThreeJt = new JTextField(); - setTextFiledColor(powerSubstationCumulativeNoRepairOutageThreeJt); - int powerSubstationCumulativeNoRepairOutageThreeJtY = powerSubstationCumulativeNoRepairThreeJly + 120; - powerSubstationCumulativeNoRepairOutageThreeJt.setBounds(powerSubstationCumulativeNoRepairUvhJlx + 1000, powerSubstationCumulativeNoRepairOutageThreeJtY, 240, 120); - - /**-----------------------------------------------------------------------------附件八----------------------------------------------------------------------------------------------------*/ - - /** - * 附件八-输配电线路停运及恢复-新增情况 - */ - JLabel annexEightLabel = new JLabel("附件八-输配电线路停运及恢复-新增情况"); - annexEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexEightLabel.setForeground(new Color(11, 24, 76)); - int annexEightJlx = 30; - int annexEightJly = powerSubstationCumulativeNoRepairOutageThreeJtY + 150; - annexEightLabel.setBounds(annexEightJlx, annexEightJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterEightLabel = new JLabel("因灾停运"); - suspensionOfDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterEightJlx = 30; - int suspensionOfDisasterEightJly = annexEightJly + 120; - suspensionOfDisasterEightLabel.setBounds(suspensionOfDisasterEightJlx, suspensionOfDisasterEightJly, 800, 100); - - /** - * 因灾停运-特高压 - */ - JLabel uhvDisasterEightLabel = new JLabel("特高压"); - uhvDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - uhvDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int uhvDisasterEightJlx = 30; - int uhvDisasterEightJly = suspensionOfDisasterEightJly + 120; - uhvDisasterEightLabel.setBounds(uhvDisasterEightJlx, uhvDisasterEightJly, 800, 100); - /** - * 因灾停运-500kv - */ - JLabel fiveKVDisasterEightLabel = new JLabel("500kV"); - fiveKVDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fiveKVDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int fiveKVDisasterEightJlx = uhvDisasterEightJlx + 280; - int fiveKVDisasterEightJly = suspensionOfDisasterEightJly + 120; - fiveKVDisasterEightLabel.setBounds(fiveKVDisasterEightJlx, fiveKVDisasterEightJly, 800, 100); - - /** - * 因灾停运-220/330kv - */ - JLabel twoKVDisasterEightLabel = new JLabel("220/330kV"); - twoKVDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twoKVDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int twoKVDisasterEightJlx = fiveKVDisasterEightJlx + 200; - int twoKVDisasterEightJly = suspensionOfDisasterEightJly + 120; - twoKVDisasterEightLabel.setBounds(twoKVDisasterEightJlx, twoKVDisasterEightJly, 800, 100); - - /** - * 因灾停运-110/66kv - */ - JLabel oneKVDisasterEightLabel = new JLabel("110/66kv"); - oneKVDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - oneKVDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int oneKVDisasterEightJlx = twoKVDisasterEightJlx + 270; - int oneKVDisasterEightJly = suspensionOfDisasterEightJly + 120; - oneKVDisasterEightLabel.setBounds(oneKVDisasterEightJlx, oneKVDisasterEightJly, 800, 100); - - /** - * 因灾停运-35kv - */ - JLabel threeKVDisasterEightLabel = new JLabel("35kv"); - threeKVDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - threeKVDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int threeKVDisasterEightJlx = oneKVDisasterEightJlx + 300; - int threeKVDisasterEightJly = suspensionOfDisasterEightJly + 120; - threeKVDisasterEightLabel.setBounds(threeKVDisasterEightJlx, threeKVDisasterEightJly, 800, 100); - - JLabel tenKVDisasterEightLabel = new JLabel("10kv"); - tenKVDisasterEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenKVDisasterEightLabel.setForeground(new Color(11, 24, 76)); - int tenKVDisasterEightJlx = threeKVDisasterEightJlx + 250; - int tenKVDisasterEightJly = suspensionOfDisasterEightJly + 120; - tenKVDisasterEightLabel.setBounds(tenKVDisasterEightJlx, tenKVDisasterEightJly, 800, 100); - - - /** - * 输配电线路停运及恢复-新增-因灾停运-特高压 - */ - transmitElectricityAddOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageUvhJt); - int transmitElectricityAddOutageUvhJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageUvhJt.setBounds(annexEightJlx, transmitElectricityAddOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-500 - */ - transmitElectricityAddOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageFiveJt); - int transmitElectricityAddOutageFiveJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageFiveJt.setBounds(annexEightJlx + 250, transmitElectricityAddOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-300 - */ - transmitElectricityAddOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageTwoJt); - int transmitElectricityAddOutageTwoJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageTwoJt.setBounds(annexEightJlx + 500, transmitElectricityAddOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-110 - */ - transmitElectricityAddOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageOneJt); - int transmitElectricityAddOutageOneJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageOneJt.setBounds(annexEightJlx + 750, transmitElectricityAddOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-35 - */ - transmitElectricityAddOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageThreeJt); - int transmitElectricityAddOutageThreeJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageThreeJt.setBounds(annexEightJlx + 1000, transmitElectricityAddOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-新增-因灾停运-10 - */ - transmitElectricityAddOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityAddOutageTenJt); - int transmitElectricityAddOutageTenJtY = threeKVDisasterEightJly + 120; - transmitElectricityAddOutageTenJt.setBounds(annexEightJlx + 1250, transmitElectricityAddOutageTenJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel emergencyRepairRecoveryEightLabel = new JLabel("抢修恢复"); - emergencyRepairRecoveryEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyRepairRecoveryEightLabel.setForeground(new Color(11, 24, 76)); - int emergencyRepairRecoveryEightJlx = 30; - int emergencyRepairRecoveryEightJly = transmitElectricityAddOutageTenJtY + 120; - emergencyRepairRecoveryEightLabel.setBounds(emergencyRepairRecoveryEightJlx, emergencyRepairRecoveryEightJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel transmitElectricityAddRepairUvhLabel = new JLabel("特高压"); - transmitElectricityAddRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairUvhJlx = 30; - int transmitElectricityAddRepairUvhJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairUvhLabel.setBounds(transmitElectricityAddRepairUvhJlx, transmitElectricityAddRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel transmitElectricityAddRepairFiveLabel = new JLabel("500kV"); - transmitElectricityAddRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairFiveJlx = transmitElectricityAddRepairUvhJlx + 280; - int transmitElectricityAddRepairFiveJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairFiveLabel.setBounds(transmitElectricityAddRepairFiveJlx, transmitElectricityAddRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel transmitElectricityAddRepairTwoLabel = new JLabel("220/330kV"); - transmitElectricityAddRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairTwoJlx = transmitElectricityAddRepairFiveJlx + 200; - int transmitElectricityAddRepairTwoJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairTwoLabel.setBounds(transmitElectricityAddRepairTwoJlx, transmitElectricityAddRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel transmitElectricityAddRepairOneLabel = new JLabel("110/66kv"); - transmitElectricityAddRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairOneLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairOneJlx = transmitElectricityAddRepairTwoJlx + 270; - int transmitElectricityAddRepairOneJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairOneLabel.setBounds(transmitElectricityAddRepairOneJlx, transmitElectricityAddRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel transmitElectricityAddRepairThreeLabel = new JLabel("35kv"); - transmitElectricityAddRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairThreeJlx = transmitElectricityAddRepairOneJlx + 300; - int transmitElectricityAddRepairThreeJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairThreeLabel.setBounds(transmitElectricityAddRepairThreeJlx, transmitElectricityAddRepairThreeJly, 800, 100); - /** - * 抢修恢复-10kv - */ - JLabel transmitElectricityAddRepairTenLabel = new JLabel("10kv"); - transmitElectricityAddRepairTenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddRepairTenLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddRepairTenJlx = transmitElectricityAddRepairThreeJlx + 250; - int transmitElectricityAddRepairTenJly = emergencyRepairRecoveryEightJly + 120; - transmitElectricityAddRepairTenLabel.setBounds(transmitElectricityAddRepairTenJlx, transmitElectricityAddRepairTenJly, 800, 100); - - - /** - * 输配电线路停运及恢复-新增-抢修恢复-特高压 - */ - transmitElectricityAddRepairOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageUvhJt); - int transmitElectricityRepairOutageUvhJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageUvhJt.setBounds(transmitElectricityAddRepairUvhJlx, transmitElectricityRepairOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-500 - */ - transmitElectricityAddRepairOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageFiveJt); - int transmitElectricityRepairOutageFiveJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageFiveJt.setBounds(transmitElectricityAddRepairUvhJlx + 250, transmitElectricityRepairOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-300 - */ - transmitElectricityAddRepairOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageTwoJt); - int transmitElectricityAddRepairOutageTwoJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageTwoJt.setBounds(transmitElectricityAddRepairUvhJlx + 500, transmitElectricityAddRepairOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-110 - */ - transmitElectricityAddRepairOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageOneJt); - int transmitElectricityAddRepairOutageOneJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageOneJt.setBounds(transmitElectricityAddRepairUvhJlx + 750, transmitElectricityAddRepairOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-35 - */ - transmitElectricityAddRepairOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageThreeJt); - int transmitElectricityAddRepairOutageThreeJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageThreeJt.setBounds(transmitElectricityAddRepairUvhJlx + 1000, transmitElectricityAddRepairOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-新增-抢修恢复-10 - */ - transmitElectricityAddRepairOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityAddRepairOutageTenJt); - int transmitElectricityAddRepairOutageTenJtY = transmitElectricityAddRepairTenJly + 120; - transmitElectricityAddRepairOutageTenJt.setBounds(transmitElectricityAddRepairUvhJlx + 1250, transmitElectricityAddRepairOutageTenJtY, 240, 120); - - /** - * 尚未恢复 - */ - JLabel emergencyNoRepairRecoveryEightLabel = new JLabel("尚未恢复"); - emergencyNoRepairRecoveryEightLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyNoRepairRecoveryEightLabel.setForeground(new Color(11, 24, 76)); - int emergencyNoRepairRecoveryEightJlx = 30; - int emergencyNoRepairRecoveryEightJly = transmitElectricityAddRepairOutageThreeJtY + 120; - emergencyNoRepairRecoveryEightLabel.setBounds(emergencyNoRepairRecoveryEightJlx, emergencyNoRepairRecoveryEightJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel transmitElectricityAddNoRepairUvhLabel = new JLabel("特高压"); - transmitElectricityAddNoRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairUvhJlx = 30; - int transmitElectricityAddNoRepairUvhJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairUvhLabel.setBounds(transmitElectricityAddNoRepairUvhJlx, transmitElectricityAddNoRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel transmitElectricityAddNoRepairFiveLabel = new JLabel("500kV"); - transmitElectricityAddNoRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairFiveJlx = transmitElectricityAddNoRepairUvhJlx + 280; - int transmitElectricityAddNoRepairFiveJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairFiveLabel.setBounds(transmitElectricityAddNoRepairFiveJlx, transmitElectricityAddNoRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel transmitElectricityAddNoRepairTwoLabel = new JLabel("220/330kV"); - transmitElectricityAddNoRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairTwoJlx = transmitElectricityAddNoRepairFiveJlx + 200; - int transmitElectricityAddNoRepairTwoJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairTwoLabel.setBounds(transmitElectricityAddNoRepairTwoJlx, transmitElectricityAddNoRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel transmitElectricityAddNoRepairOneLabel = new JLabel("110/66kv"); - transmitElectricityAddNoRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairOneLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairOneJlx = transmitElectricityAddNoRepairTwoJlx + 270; - int transmitElectricityAddNoRepairOneJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairOneLabel.setBounds(transmitElectricityAddNoRepairOneJlx, transmitElectricityAddNoRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel transmitElectricityAddNoRepairThreeLabel = new JLabel("35kv"); - transmitElectricityAddNoRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairThreeJlx = transmitElectricityAddNoRepairOneJlx + 300; - int transmitElectricityAddNoRepairThreeJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairThreeLabel.setBounds(transmitElectricityAddNoRepairThreeJlx, transmitElectricityAddNoRepairThreeJly, 800, 100); - /** - * 抢修恢复-10kv - */ - JLabel transmitElectricityAddNoRepairTenLabel = new JLabel("10kv"); - transmitElectricityAddNoRepairTenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityAddNoRepairTenLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityAddNoRepairTenJlx = transmitElectricityAddNoRepairThreeJlx + 250; - int transmitElectricityAddNoRepairTenJly = emergencyNoRepairRecoveryEightJly + 120; - transmitElectricityAddNoRepairTenLabel.setBounds(transmitElectricityAddNoRepairTenJlx, transmitElectricityAddNoRepairTenJly, 800, 100); - - - /** - * 输配电线路停运及恢复-新增-抢修恢复-特高压 - */ - transmitElectricityAddNoRepairOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageUvhJt); - int transmitElectricityNoRepairOutageUvhJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageUvhJt.setBounds(transmitElectricityAddNoRepairUvhJlx, transmitElectricityNoRepairOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-500 - */ - transmitElectricityAddNoRepairOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageFiveJt); - int transmitElectricityNoRepairOutageFiveJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageFiveJt.setBounds(transmitElectricityAddNoRepairUvhJlx + 250, transmitElectricityNoRepairOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-300 - */ - transmitElectricityAddNoRepairOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageTwoJt); - int transmitElectricityAddNoRepairOutageTwoJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageTwoJt.setBounds(transmitElectricityAddNoRepairUvhJlx + 500, transmitElectricityAddNoRepairOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-110 - */ - transmitElectricityAddNoRepairOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageOneJt); - int transmitElectricityAddNoRepairOutageOneJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageOneJt.setBounds(transmitElectricityAddNoRepairUvhJlx + 750, transmitElectricityAddNoRepairOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-35 - */ - transmitElectricityAddNoRepairOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageThreeJt); - int transmitElectricityAddNoRepairOutageThreeJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageThreeJt.setBounds(transmitElectricityAddNoRepairUvhJlx + 1000, transmitElectricityAddNoRepairOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-新增-抢修恢复-10 - */ - transmitElectricityAddNoRepairOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityAddNoRepairOutageTenJt); - int transmitElectricityAddNoRepairOutageTenJtY = transmitElectricityAddNoRepairThreeJly + 120; - transmitElectricityAddNoRepairOutageTenJt.setBounds(transmitElectricityAddNoRepairUvhJlx + 1250, transmitElectricityAddNoRepairOutageTenJtY, 240, 120); - - - /** - * 附件八-输配电线路停运及恢复-累计情况 - */ - JLabel annexEightCumulativeLabel = new JLabel("附件八-输配电线路停运及恢复-累计情况"); - annexEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int annexEightCumulativeJlx = 30; - int annexEightCumulativeJly = transmitElectricityAddNoRepairOutageTenJtY + 150; - annexEightCumulativeLabel.setBounds(annexEightCumulativeJlx, annexEightCumulativeJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterEightCumulativeLabel = new JLabel("因灾停运"); - suspensionOfDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterEightCumulativeJlx = 30; - int suspensionOfDisasterEightCumulativeJly = annexEightCumulativeJly + 120; - suspensionOfDisasterEightCumulativeLabel.setBounds(suspensionOfDisasterEightCumulativeJlx, suspensionOfDisasterEightCumulativeJly, 800, 100); - - /** - * 因灾停运-特高压 - */ - JLabel uhvDisasterEightCumulativeLabel = new JLabel("特高压"); - uhvDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - uhvDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int uhvDisasterEightCumulativeJlx = 30; - int uhvDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - uhvDisasterEightCumulativeLabel.setBounds(uhvDisasterEightCumulativeJlx, uhvDisasterEightCumulativeJly, 800, 100); - /** - * 因灾停运-500kv - */ - JLabel fiveKVDisasterEightCumulativeLabel = new JLabel("500kV"); - fiveKVDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fiveKVDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int fiveKVDisasterEightCumulativeJlx = uhvDisasterEightCumulativeJlx + 280; - int fiveKVDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - fiveKVDisasterEightCumulativeLabel.setBounds(fiveKVDisasterEightCumulativeJlx, fiveKVDisasterEightCumulativeJly, 800, 100); - - /** - * 因灾停运-220/330kv - */ - JLabel twoKVDisasterEightCumulativeLabel = new JLabel("220/330kV"); - twoKVDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twoKVDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int twoKVDisasterEightCumulativeJlx = fiveKVDisasterEightCumulativeJlx + 200; - int twoKVDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - twoKVDisasterEightCumulativeLabel.setBounds(twoKVDisasterEightCumulativeJlx, twoKVDisasterEightCumulativeJly, 800, 100); - - /** - * 因灾停运-110/66kv - */ - JLabel oneKVDisasterEightCumulativeLabel = new JLabel("110/66kv"); - oneKVDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - oneKVDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int oneKVDisasterEightCumulativeJlx = twoKVDisasterEightCumulativeJlx + 270; - int oneKVDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - oneKVDisasterEightCumulativeLabel.setBounds(oneKVDisasterEightCumulativeJlx, oneKVDisasterEightCumulativeJly, 800, 100); - - /** - * 因灾停运-35kv - */ - JLabel threeKVDisasterEightCumulativeLabel = new JLabel("35kv"); - threeKVDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - threeKVDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int threeKVDisasterEightCumulativeJlx = oneKVDisasterEightCumulativeJlx + 300; - int threeKVDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - threeKVDisasterEightCumulativeLabel.setBounds(threeKVDisasterEightCumulativeJlx, threeKVDisasterEightCumulativeJly, 800, 100); - /** - * 因灾停运-10kv - */ - JLabel tenKVDisasterEightCumulativeLabel = new JLabel("10kv"); - tenKVDisasterEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenKVDisasterEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int tenKVDisasterEightCumulativeJlx = threeKVDisasterEightCumulativeJlx + 250; - int tenKVDisasterEightCumulativeJly = suspensionOfDisasterEightCumulativeJly + 120; - tenKVDisasterEightCumulativeLabel.setBounds(tenKVDisasterEightCumulativeJlx, tenKVDisasterEightCumulativeJly, 800, 100); - - - /** - * 输配电线路停运及恢复-新增-因灾停运-特高压 - */ - - transmitElectricityCumulativeOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageUvhJt); - int transmitElectricityCumulativeOutageUvhJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageUvhJt.setBounds(annexEightCumulativeJlx, transmitElectricityCumulativeOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-500 - */ - transmitElectricityCumulativeOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageFiveJt); - int transmitElectricityCumulativeOutageFiveJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageFiveJt.setBounds(annexEightCumulativeJlx + 250, transmitElectricityCumulativeOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-300 - */ - transmitElectricityCumulativeOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageTwoJt); - int transmitElectricityCumulativeOutageTwoJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageTwoJt.setBounds(annexEightCumulativeJlx + 500, transmitElectricityCumulativeOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-110 - */ - transmitElectricityCumulativeOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageOneJt); - int transmitElectricityCumulativeOutageOneJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageOneJt.setBounds(annexEightCumulativeJlx + 750, transmitElectricityCumulativeOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-因灾停运-35 - */ - transmitElectricityCumulativeOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageThreeJt); - int transmitElectricityCumulativeOutageThreeJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageThreeJt.setBounds(annexEightCumulativeJlx + 1000, transmitElectricityCumulativeOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-新增-因灾停运-10 - */ - transmitElectricityCumulativeOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeOutageTenJt); - int transmitElectricityCumulativeOutageTenJtY = tenKVDisasterEightCumulativeJly + 120; - transmitElectricityCumulativeOutageTenJt.setBounds(annexEightCumulativeJlx + 1250, transmitElectricityCumulativeOutageTenJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel emergencyRepairRecoveryEightCumulativeLabel = new JLabel("抢修恢复"); - emergencyRepairRecoveryEightCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyRepairRecoveryEightCumulativeLabel.setForeground(new Color(11, 24, 76)); - int emergencyRepairRecoveryEightCumulativeJlx = 30; - int emergencyRepairRecoveryEightCumulativeJly = transmitElectricityCumulativeOutageTenJtY + 120; - emergencyRepairRecoveryEightCumulativeLabel.setBounds(emergencyRepairRecoveryEightCumulativeJlx, emergencyRepairRecoveryEightCumulativeJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel transmitElectricityCumulativeRepairUvhLabel = new JLabel("特高压"); - transmitElectricityCumulativeRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairUvhJlx = 30; - int transmitElectricityCumulativeRepairUvhJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairUvhLabel.setBounds(transmitElectricityCumulativeRepairUvhJlx, transmitElectricityCumulativeRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel transmitElectricityCumulativeRepairFiveLabel = new JLabel("500kV"); - transmitElectricityCumulativeRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairFiveJlx = transmitElectricityCumulativeRepairUvhJlx + 280; - int transmitElectricityCumulativeRepairFiveJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairFiveLabel.setBounds(transmitElectricityCumulativeRepairFiveJlx, transmitElectricityCumulativeRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel transmitElectricityCumulativeRepairTwoLabel = new JLabel("220/330kV"); - transmitElectricityCumulativeRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairTwoJlx = transmitElectricityCumulativeRepairFiveJlx + 200; - int transmitElectricityCumulativeRepairTwoJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairTwoLabel.setBounds(transmitElectricityCumulativeRepairTwoJlx, transmitElectricityCumulativeRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel transmitElectricityCumulativeRepairOneLabel = new JLabel("110/66kv"); - transmitElectricityCumulativeRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairOneLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairOneJlx = transmitElectricityCumulativeRepairTwoJlx + 270; - int transmitElectricityCumulativeRepairOneJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairOneLabel.setBounds(transmitElectricityCumulativeRepairOneJlx, transmitElectricityCumulativeRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel transmitElectricityCumulativeRepairThreeLabel = new JLabel("35kv"); - transmitElectricityCumulativeRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairThreeJlx = transmitElectricityCumulativeRepairOneJlx + 300; - int transmitElectricityCumulativeRepairThreeJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairThreeLabel.setBounds(transmitElectricityCumulativeRepairThreeJlx, transmitElectricityCumulativeRepairThreeJly, 800, 100); - /** - * 抢修恢复-10kv - */ - JLabel transmitElectricityCumulativeRepairTenLabel = new JLabel("10kv"); - transmitElectricityCumulativeRepairTenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeRepairTenLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeRepairTenJlx = transmitElectricityCumulativeRepairThreeJlx + 250; - int transmitElectricityCumulativeRepairTenJly = emergencyRepairRecoveryEightCumulativeJly + 120; - transmitElectricityCumulativeRepairTenLabel.setBounds(transmitElectricityCumulativeRepairTenJlx, transmitElectricityCumulativeRepairTenJly, 800, 100); - - - /** - * 输配电线路停运及恢复-新增-抢修恢复-特高压 - */ - transmitElectricityCumulativeRepairOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageUvhJt); - int transmitElectricityCumulativeRepairOutageUvhJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageUvhJt.setBounds(transmitElectricityAddRepairUvhJlx, transmitElectricityCumulativeRepairOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-500 - */ - transmitElectricityCumulativeRepairOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageFiveJt); - int transmitElectricityCumulativeRepairOutageFiveJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageFiveJt.setBounds(transmitElectricityCumulativeRepairUvhJlx + 250, transmitElectricityCumulativeRepairOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-300 - */ - transmitElectricityCumulativeRepairOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageTwoJt); - int transmitElectricityCumulativeRepairOutageTwoJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageTwoJt.setBounds(transmitElectricityCumulativeRepairUvhJlx + 500, transmitElectricityCumulativeRepairOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-110 - */ - transmitElectricityCumulativeRepairOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageOneJt); - int transmitElectricityCumulativeRepairOutageOneJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageOneJt.setBounds(transmitElectricityCumulativeRepairUvhJlx + 750, transmitElectricityCumulativeRepairOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-新增-抢修恢复-35 - */ - transmitElectricityCumulativeRepairOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageThreeJt); - int transmitElectricityCumulativeRepairOutageThreeJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageThreeJt.setBounds(transmitElectricityCumulativeRepairUvhJlx + 1000, transmitElectricityCumulativeRepairOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-新增-抢修恢复-10 - */ - transmitElectricityCumulativeRepairOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeRepairOutageTenJt); - int transmitElectricityCumulativeRepairOutageTenJtY = transmitElectricityCumulativeRepairTenJly + 120; - transmitElectricityCumulativeRepairOutageTenJt.setBounds(transmitElectricityCumulativeRepairUvhJlx + 1250, transmitElectricityCumulativeRepairOutageTenJtY, 240, 120); - - /** - * 尚未恢复 - */ - JLabel emergencyEightCumulativeNoRepairRecoveryLabel = new JLabel("尚未恢复"); - emergencyEightCumulativeNoRepairRecoveryLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - emergencyEightCumulativeNoRepairRecoveryLabel.setForeground(new Color(11, 24, 76)); - int emergencyEightCumulativeNoRepairRecoveryJlx = 30; - int emergencyEightCumulativeNoRepairRecoveryJly = transmitElectricityCumulativeRepairOutageTenJtY + 120; - emergencyEightCumulativeNoRepairRecoveryLabel.setBounds(emergencyEightCumulativeNoRepairRecoveryJlx, emergencyEightCumulativeNoRepairRecoveryJly, 800, 100); - - /** - * 抢修恢复-特高压 - */ - JLabel transmitElectricityCumulativeNoRepairUvhLabel = new JLabel("特高压"); - transmitElectricityCumulativeNoRepairUvhLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairUvhLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairUvhJlx = 30; - int transmitElectricityCumulativeNoRepairUvhJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairUvhLabel.setBounds(transmitElectricityCumulativeNoRepairUvhJlx, transmitElectricityCumulativeNoRepairUvhJly, 800, 100); - /** - * 抢修恢复-500kv - */ - - JLabel transmitElectricityCumulativeNoRepairFiveLabel = new JLabel("500kV"); - transmitElectricityCumulativeNoRepairFiveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairFiveLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairFiveJlx = transmitElectricityCumulativeNoRepairUvhJlx + 280; - int transmitElectricityCumulativeNoRepairFiveJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairFiveLabel.setBounds(transmitElectricityCumulativeNoRepairFiveJlx, transmitElectricityCumulativeNoRepairFiveJly, 800, 100); - /** - * 抢修恢复-220/330kv - */ - JLabel transmitElectricityCumulativeNoRepairTwoLabel = new JLabel("220/330kV"); - transmitElectricityCumulativeNoRepairTwoLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairTwoLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairTwoJlx = transmitElectricityCumulativeNoRepairFiveJlx + 200; - int transmitElectricityCumulativeNoRepairTwoJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairTwoLabel.setBounds(transmitElectricityCumulativeNoRepairTwoJlx, transmitElectricityCumulativeNoRepairTwoJly, 800, 100); - - /** - * 抢修恢复-110/66kv - */ - JLabel transmitElectricityCumulativeNoRepairOneLabel = new JLabel("110/66kv"); - transmitElectricityCumulativeNoRepairOneLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairOneLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairOneJlx = transmitElectricityCumulativeNoRepairTwoJlx + 270; - int transmitElectricityCumulativeNoRepairOneJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairOneLabel.setBounds(transmitElectricityCumulativeNoRepairOneJlx, transmitElectricityCumulativeNoRepairOneJly, 800, 100); - - /** - * 抢修恢复-35kv - */ - JLabel transmitElectricityCumulativeNoRepairThreeLabel = new JLabel("35kv"); - transmitElectricityCumulativeNoRepairThreeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairThreeLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairThreeJlx = transmitElectricityCumulativeNoRepairOneJlx + 300; - int transmitElectricityCumulativeNoRepairThreeJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairThreeLabel.setBounds(transmitElectricityCumulativeNoRepairThreeJlx, transmitElectricityCumulativeNoRepairThreeJly, 800, 100); - /** - * 抢修恢复-10kv - */ - JLabel transmitElectricityCumulativeNoRepairTenLabel = new JLabel("10kv"); - transmitElectricityCumulativeNoRepairTenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - transmitElectricityCumulativeNoRepairTenLabel.setForeground(new Color(11, 24, 76)); - int transmitElectricityCumulativeNoRepairTenJlx = transmitElectricityCumulativeNoRepairThreeJlx + 250; - int transmitElectricityCumulativeNoRepairTenJly = emergencyEightCumulativeNoRepairRecoveryJly + 120; - transmitElectricityCumulativeNoRepairTenLabel.setBounds(transmitElectricityCumulativeNoRepairTenJlx, transmitElectricityCumulativeNoRepairTenJly, 800, 100); - - - /** - * 输配电线路停运及恢复-累计-尚未恢复-特高压 - */ - transmitElectricityCumulativeNoRepairOutageUvhJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageUvhJt); - int transmitElectricityCumulativeNoRepairOutageUvhJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageUvhJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx, transmitElectricityCumulativeNoRepairOutageUvhJtY, 240, 120); - - /** - * 输配电线路停运及恢复-累计-尚未恢复-500 - */ - transmitElectricityCumulativeNoRepairOutageFiveJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageFiveJt); - int transmitElectricityCumulativeNoRepairOutageFiveJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageFiveJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx + 250, transmitElectricityCumulativeNoRepairOutageFiveJtY, 240, 120); - - /** - * 输配电线路停运及恢复-累计-尚未恢复-300 - */ - transmitElectricityCumulativeNoRepairOutageTwoJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageTwoJt); - int transmitElectricityCumulativeNoRepairOutageTwoJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageTwoJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx + 500, transmitElectricityCumulativeNoRepairOutageTwoJtY, 240, 120); - - /** - * 输配电线路停运及恢复-累计-尚未恢复-110 - */ - transmitElectricityCumulativeNoRepairOutageOneJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageOneJt); - int transmitElectricityCumulativeNoRepairOutageOneJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageOneJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx + 750, transmitElectricityCumulativeNoRepairOutageOneJtY, 240, 120); - - /** - * 输配电线路停运及恢复-累计-尚未恢复-35 - */ - transmitElectricityCumulativeNoRepairOutageThreeJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageThreeJt); - int transmitElectricityCumulativeNoRepairOutageThreeJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageThreeJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx + 1000, transmitElectricityCumulativeNoRepairOutageThreeJtY, 240, 120); - /** - * 输配电线路停运及恢复-累计-尚未恢复-10 - */ - transmitElectricityCumulativeNoRepairOutageTenJt = new JTextField(); - setTextFiledColor(transmitElectricityCumulativeNoRepairOutageTenJt); - int transmitElectricityCumulativeNoRepairOutageTenJtY = transmitElectricityCumulativeNoRepairTenJly + 120; - transmitElectricityCumulativeNoRepairOutageTenJt.setBounds(transmitElectricityCumulativeNoRepairUvhJlx + 1250, transmitElectricityCumulativeNoRepairOutageTenJtY, 240, 120); - - - /**-----------------------------------------------------------------------附件九------------------------------------------------------------------------------------*/ - /** - * 附件九-台区、用户停运及恢复-新增情况 - */ - JLabel annexNineAddLabel = new JLabel("附件九-台区、用户停运及恢复-新增情况"); - annexNineAddLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexNineAddLabel.setForeground(new Color(11, 24, 76)); - int annexNineAddJlx = 30; - int annexNineAddJly = transmitElectricityCumulativeNoRepairOutageTenJtY + 150; - annexNineAddLabel.setBounds(annexNineAddJlx, annexNineAddJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterAddNineLabel = new JLabel("因灾停运"); - suspensionOfDisasterAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterAddNineLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterAddNineJlx = 30; - int suspensionOfDisasterAddNineJly = annexNineAddJly + 120; - suspensionOfDisasterAddNineLabel.setBounds(suspensionOfDisasterAddNineJlx, suspensionOfDisasterAddNineJly, 800, 100); - - /** - * 因灾停运-台区 - */ - JLabel taiDistrictAddNineDisasterLabel = new JLabel("台区"); - taiDistrictAddNineDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictAddNineDisasterLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictAddNineDisasterJlx = 30; - int taiDistrictAddNineDisasterJly = suspensionOfDisasterAddNineJly + 120; - taiDistrictAddNineDisasterLabel.setBounds(taiDistrictAddNineDisasterJlx, taiDistrictAddNineDisasterJly, 800, 100); - /** - * 因灾停运-用户 - */ - JLabel personnelAddNineDisasterLabel = new JLabel("用户"); - personnelAddNineDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelAddNineDisasterLabel.setForeground(new Color(11, 24, 76)); - int personnelAddNineDisasterJlx = taiDistrictAddNineDisasterJlx + 280; - int personnelAddNineDisasterJly = suspensionOfDisasterAddNineJly + 120; - personnelAddNineDisasterLabel.setBounds(personnelAddNineDisasterJlx, personnelAddNineDisasterJly, 800, 100); - - /** - * 因灾停运-台区 - */ - nineAddTaiDistrictDisasterJt = new JTextField(); - setTextFiledColor(nineAddTaiDistrictDisasterJt); - int nineAddTaiDistrictDisasterJtY = personnelAddNineDisasterJly + 120; - nineAddTaiDistrictDisasterJt.setBounds(taiDistrictAddNineDisasterJlx, nineAddTaiDistrictDisasterJtY, 240, 120); - - /** - * 因灾停运-用户 - */ - nineAddPersonnelDisasterJt = new JTextField(); - setTextFiledColor(nineAddPersonnelDisasterJt); - int nineAddPersonnelDisasterJtY = personnelAddNineDisasterJly + 120; - nineAddPersonnelDisasterJt.setBounds(taiDistrictAddNineDisasterJlx + 250, nineAddPersonnelDisasterJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel repairAddNineLabel = new JLabel("抢修恢复"); - repairAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairAddNineLabel.setForeground(new Color(11, 24, 76)); - int repairAddNineJlx = 30; - int repairAddNineJly = nineAddPersonnelDisasterJtY + 120; - repairAddNineLabel.setBounds(repairAddNineJlx, repairAddNineJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - JLabel taiDistrictAddNineRepairLabel = new JLabel("台区"); - taiDistrictAddNineRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictAddNineRepairLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictAddNineRepairJlx = 30; - int taiDistrictAddNineRepairJly = repairAddNineJly + 120; - taiDistrictAddNineRepairLabel.setBounds(taiDistrictAddNineRepairJlx, taiDistrictAddNineRepairJly, 800, 100); - /** - * 抢修恢复-用户 - */ - JLabel personnelAddNineRepairLabel = new JLabel("用户"); - personnelAddNineRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelAddNineRepairLabel.setForeground(new Color(11, 24, 76)); - int personnelAddNineRepairJlx = taiDistrictAddNineRepairJlx + 280; - int personnelAddNineRepairJly = repairAddNineJly + 120; - personnelAddNineRepairLabel.setBounds(personnelAddNineRepairJlx, personnelAddNineRepairJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - nineAddTaiDistrictRepairJt = new JTextField(); - setTextFiledColor(nineAddTaiDistrictRepairJt); - int nineAddTaiDistrictRepairJtY = personnelAddNineRepairJly + 120; - nineAddTaiDistrictRepairJt.setBounds(taiDistrictAddNineRepairJlx, nineAddTaiDistrictRepairJtY, 240, 120); - - /** - * 抢修恢复-用户 - */ - nineAddPersonnelRepairJt = new JTextField(); - setTextFiledColor(nineAddPersonnelRepairJt); - int nineAddPersonnelRepairJtY = personnelAddNineRepairJly + 120; - nineAddPersonnelRepairJt.setBounds(taiDistrictAddNineRepairJlx + 250, nineAddPersonnelRepairJtY, 240, 120); - /** - * 尚未恢复 - */ - JLabel noRepairAddNineLabel = new JLabel("尚未恢复"); - noRepairAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - noRepairAddNineLabel.setForeground(new Color(11, 24, 76)); - int noRepairAddNineJlx = 30; - int noRepairAddNineJly = nineAddPersonnelRepairJtY + 120; - noRepairAddNineLabel.setBounds(noRepairAddNineJlx, noRepairAddNineJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - JLabel taiDistrictAddNineNoRepairLabel = new JLabel("台区"); - taiDistrictAddNineNoRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictAddNineNoRepairLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictAddNineNoRepairJlx = 30; - int taiDistrictAddNineNoRepairJly = noRepairAddNineJly + 120; - taiDistrictAddNineNoRepairLabel.setBounds(taiDistrictAddNineNoRepairJlx, taiDistrictAddNineNoRepairJly, 800, 100); - /** - * 抢修恢复-用户 - */ - JLabel personnelAddNineNoRepairLabel = new JLabel("用户"); - personnelAddNineNoRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelAddNineNoRepairLabel.setForeground(new Color(11, 24, 76)); - int personnelAddNineNoRepairJlx = taiDistrictAddNineNoRepairJlx + 280; - int personnelAddNineNoRepairJly = noRepairAddNineJly + 120; - personnelAddNineNoRepairLabel.setBounds(personnelAddNineNoRepairJlx, personnelAddNineNoRepairJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - nineAddTaiDistrictNoRepairJt = new JTextField(); - setTextFiledColor(nineAddTaiDistrictNoRepairJt); - int nineAddTaiDistrictNoRepairJtY = personnelAddNineNoRepairJly + 120; - nineAddTaiDistrictNoRepairJt.setBounds(taiDistrictAddNineNoRepairJlx, nineAddTaiDistrictNoRepairJtY, 240, 120); - - /** - * 抢修恢复-用户 - */ - nineAddPersonnelNoRepairJt = new JTextField(); - setTextFiledColor(nineAddPersonnelNoRepairJt); - int nineAddPersonnelNoRepairJtY = personnelAddNineNoRepairJly + 120; - nineAddPersonnelNoRepairJt.setBounds(taiDistrictAddNineNoRepairJlx + 250, nineAddPersonnelNoRepairJtY, 240, 120); - /** - * 出动抢修力量 - */ - JLabel powerAddNineLabel = new JLabel("出动抢修力量"); - powerAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerAddNineLabel.setForeground(new Color(11, 24, 76)); - int powerAddNineJlx = 30; - int powerAddNineJly = nineAddPersonnelNoRepairJtY + 120; - powerAddNineLabel.setBounds(powerAddNineJlx, powerAddNineJly, 800, 100); - - /** - * 出动抢修力量-人员 - */ - JLabel powerPersonnelAddNineLabel = new JLabel("人员"); - powerPersonnelAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerPersonnelAddNineLabel.setForeground(new Color(11, 24, 76)); - int powerPersonnelAddNineJlx = 30; - int powerPersonnelAddNineJly = powerAddNineJly + 120; - powerPersonnelAddNineLabel.setBounds(powerPersonnelAddNineJlx, powerPersonnelAddNineJly, 800, 100); - /** - * 出动抢修力量-车辆 - */ - JLabel powerVehicleAddNineLabel = new JLabel("车辆"); - powerVehicleAddNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerVehicleAddNineLabel.setForeground(new Color(11, 24, 76)); - int powerVehicleAddNineJlx = powerPersonnelAddNineJlx + 280; - int powerVehicleAddNineJly = powerAddNineJly + 120; - powerVehicleAddNineLabel.setBounds(powerVehicleAddNineJlx, powerVehicleAddNineJly, 800, 100); - - /** - * 出动抢修力量-人员 - */ - powerPersonnelAddNineJt = new JTextField(); - setTextFiledColor(powerPersonnelAddNineJt); - int powerPersonnelAddNineJtY = powerVehicleAddNineJly + 120; - powerPersonnelAddNineJt.setBounds(powerPersonnelAddNineJlx, powerPersonnelAddNineJtY, 240, 120); - - /** - * 出动抢修力量-车辆 - */ - powerVehicleAddNineJt = new JTextField(); - setTextFiledColor(powerVehicleAddNineJt); - int powerVehicleAddNineJtY = powerVehicleAddNineJly + 120; - powerVehicleAddNineJt.setBounds(powerPersonnelAddNineJlx + 250, powerVehicleAddNineJtY, 240, 120); - - /** - * 附件九-台区、用户停运及恢复-累计情况 - */ - JLabel annexNineCumulativeLabel = new JLabel("附件九-台区、用户停运及恢复-累计情况"); - annexNineCumulativeLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexNineCumulativeLabel.setForeground(new Color(11, 24, 76)); - int annexNineCumulativeJlx = 30; - int annexNineCumulativeJly = powerVehicleAddNineJtY + 150; - annexNineCumulativeLabel.setBounds(annexNineCumulativeJlx, annexNineCumulativeJly, 1000, 100); - - /** - * 因灾停运 - */ - JLabel suspensionOfDisasterCumulativeNineLabel = new JLabel("因灾停运"); - suspensionOfDisasterCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - suspensionOfDisasterCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int suspensionOfDisasterCumulativeNineJlx = 30; - int suspensionOfDisasterCumulativeNineJly = annexNineCumulativeJly + 120; - suspensionOfDisasterCumulativeNineLabel.setBounds(suspensionOfDisasterCumulativeNineJlx, suspensionOfDisasterCumulativeNineJly, 800, 100); - - /** - * 因灾停运-台区 - */ - JLabel taiDistrictCumulativeNineDisasterLabel = new JLabel("台区"); - taiDistrictCumulativeNineDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictCumulativeNineDisasterLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictCumulativeNineDisasterJlx = 30; - int taiDistrictCumulativeNineDisasterJly = suspensionOfDisasterCumulativeNineJly + 120; - taiDistrictCumulativeNineDisasterLabel.setBounds(taiDistrictCumulativeNineDisasterJlx, taiDistrictCumulativeNineDisasterJly, 800, 100); - /** - * 因灾停运-用户 - */ - JLabel personnelCumulativeNineDisasterLabel = new JLabel("用户"); - personnelCumulativeNineDisasterLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelCumulativeNineDisasterLabel.setForeground(new Color(11, 24, 76)); - int personnelCumulativeNineDisasterJlx = taiDistrictCumulativeNineDisasterJlx + 280; - int personnelCumulativeNineDisasterJly = suspensionOfDisasterCumulativeNineJly + 120; - personnelCumulativeNineDisasterLabel.setBounds(personnelCumulativeNineDisasterJlx, personnelCumulativeNineDisasterJly, 800, 100); - - /** - * 因灾停运-台区 - */ - nineCumulativeTaiDistrictDisasterJt = new JTextField(); - setTextFiledColor(nineCumulativeTaiDistrictDisasterJt); - int nineCumulativeTaiDistrictDisasterJtY = personnelCumulativeNineDisasterJly + 120; - nineCumulativeTaiDistrictDisasterJt.setBounds(taiDistrictCumulativeNineDisasterJlx, nineCumulativeTaiDistrictDisasterJtY, 240, 120); - - /** - * 因灾停运-用户 - */ - nineCumulativePersonnelDisasterJt = new JTextField(); - setTextFiledColor(nineCumulativePersonnelDisasterJt); - int nineCumulativePersonnelDisasterJtY = personnelCumulativeNineDisasterJly + 120; - nineCumulativePersonnelDisasterJt.setBounds(taiDistrictCumulativeNineDisasterJlx + 250, nineCumulativePersonnelDisasterJtY, 240, 120); - - /** - * 抢修恢复 - */ - JLabel repairCumulativeNineLabel = new JLabel("抢修恢复"); - repairCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - repairCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int repairCumulativeNineJlx = 30; - int repairCumulativeNineJly = nineCumulativePersonnelDisasterJtY + 120; - repairCumulativeNineLabel.setBounds(repairCumulativeNineJlx, repairCumulativeNineJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - JLabel taiDistrictCumulativeNineRepairLabel = new JLabel("台区"); - taiDistrictCumulativeNineRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictCumulativeNineRepairLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictCumulativeNineRepairJlx = 30; - int taiDistrictCumulativeNineRepairJly = repairCumulativeNineJly + 120; - taiDistrictCumulativeNineRepairLabel.setBounds(taiDistrictCumulativeNineRepairJlx, taiDistrictCumulativeNineRepairJly, 800, 100); - /** - * 抢修恢复-用户 - */ - JLabel personnelCumulativeNineRepairLabel = new JLabel("用户"); - personnelCumulativeNineRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelCumulativeNineRepairLabel.setForeground(new Color(11, 24, 76)); - int personnelCumulativeNineRepairJlx = taiDistrictCumulativeNineRepairJlx + 280; - int personnelCumulativeNineRepairJly = repairCumulativeNineJly + 120; - personnelCumulativeNineRepairLabel.setBounds(personnelCumulativeNineRepairJlx, personnelCumulativeNineRepairJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - nineCumulativeTaiDistrictRepairJt = new JTextField(); - setTextFiledColor(nineCumulativeTaiDistrictRepairJt); - int nineCumulativeTaiDistrictRepairJtY = personnelCumulativeNineRepairJly + 120; - nineCumulativeTaiDistrictRepairJt.setBounds(taiDistrictCumulativeNineRepairJlx, nineCumulativeTaiDistrictRepairJtY, 240, 120); - - /** - * 抢修恢复-用户 - */ - nineCumulativePersonnelRepairJt = new JTextField(); - setTextFiledColor(nineCumulativePersonnelRepairJt); - int nineCumulativePersonnelRepairJtY = personnelCumulativeNineRepairJly + 120; - nineCumulativePersonnelRepairJt.setBounds(taiDistrictCumulativeNineRepairJlx + 250, nineCumulativePersonnelRepairJtY, 240, 120); - /** - * 尚未恢复 - */ - JLabel noRepairCumulativeNineLabel = new JLabel("尚未恢复"); - noRepairCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - noRepairCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int noRepairCumulativeNineJlx = 30; - int noRepairCumulativeNineJly = nineCumulativePersonnelRepairJtY + 120; - noRepairCumulativeNineLabel.setBounds(noRepairCumulativeNineJlx, noRepairCumulativeNineJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - JLabel taiDistrictCumulativeNineNoRepairLabel = new JLabel("台区"); - taiDistrictCumulativeNineNoRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - taiDistrictCumulativeNineNoRepairLabel.setForeground(new Color(11, 24, 76)); - int taiDistrictCumulativeNineNoRepairJlx = 30; - int taiDistrictCumulativeNineNoRepairJly = noRepairCumulativeNineJly + 120; - taiDistrictCumulativeNineNoRepairLabel.setBounds(taiDistrictCumulativeNineNoRepairJlx, taiDistrictCumulativeNineNoRepairJly, 800, 100); - /** - * 抢修恢复-用户 - */ - JLabel personnelCumulativeNineNoRepairLabel = new JLabel("用户"); - personnelCumulativeNineNoRepairLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - personnelCumulativeNineNoRepairLabel.setForeground(new Color(11, 24, 76)); - int personnelCumulativeNineNoRepairJlx = taiDistrictCumulativeNineNoRepairJlx + 280; - int personnelCumulativeNineNoRepairJly = noRepairCumulativeNineJly + 120; - personnelCumulativeNineNoRepairLabel.setBounds(personnelCumulativeNineNoRepairJlx, personnelCumulativeNineNoRepairJly, 800, 100); - - /** - * 抢修恢复-台区 - */ - nineCumulativeTaiDistrictNoRepairJt = new JTextField(); - setTextFiledColor(nineCumulativeTaiDistrictNoRepairJt); - int nineCumulativeTaiDistrictNoRepairJtY = personnelCumulativeNineNoRepairJly + 120; - nineCumulativeTaiDistrictNoRepairJt.setBounds(taiDistrictCumulativeNineNoRepairJlx, nineCumulativeTaiDistrictNoRepairJtY, 240, 120); - - /** - * 抢修恢复-用户 - */ - nineCumulativePersonnelNoRepairJt = new JTextField(); - setTextFiledColor(nineCumulativePersonnelNoRepairJt); - int nineCumulativePersonnelNoRepairJtY = personnelCumulativeNineNoRepairJly + 120; - nineCumulativePersonnelNoRepairJt.setBounds(taiDistrictCumulativeNineNoRepairJlx + 250, nineCumulativePersonnelNoRepairJtY, 240, 120); - /** - * 出动抢修力量 - */ - JLabel powerCumulativeNineLabel = new JLabel("出动抢修力量"); - powerCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int powerCumulativeNineJlx = 30; - int powerCumulativeNineJly = nineCumulativePersonnelNoRepairJtY + 120; - powerCumulativeNineLabel.setBounds(powerCumulativeNineJlx, powerCumulativeNineJly, 800, 100); - - /** - * 出动抢修力量-人员 - */ - JLabel powerPersonnelCumulativeNineLabel = new JLabel("人员"); - powerPersonnelCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerPersonnelCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int powerPersonnelCumulativeNineJlx = 30; - int powerPersonnelCumulativeNineJly = powerCumulativeNineJly + 120; - powerPersonnelCumulativeNineLabel.setBounds(powerPersonnelCumulativeNineJlx, powerPersonnelCumulativeNineJly, 800, 100); - /** - * 出动抢修力量-车辆 - */ - JLabel powerVehicleCumulativeNineLabel = new JLabel("车辆"); - powerVehicleCumulativeNineLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - powerVehicleCumulativeNineLabel.setForeground(new Color(11, 24, 76)); - int powerVehicleCumulativeNineJlx = powerPersonnelCumulativeNineJlx + 280; - int powerVehicleCumulativeNineJly = powerCumulativeNineJly + 120; - powerVehicleCumulativeNineLabel.setBounds(powerVehicleCumulativeNineJlx, powerVehicleCumulativeNineJly, 800, 100); - - /** - * 出动抢修力量-人员 - */ - powerPersonnelCumulativeNineJt = new JTextField(); - setTextFiledColor(powerPersonnelCumulativeNineJt); - int powerPersonnelCumulativeNineJtY = powerVehicleCumulativeNineJly + 120; - powerPersonnelCumulativeNineJt.setBounds(powerPersonnelCumulativeNineJlx, powerPersonnelCumulativeNineJtY, 240, 120); - - /** - * 出动抢修力量-车辆 - */ - powerVehicleCumulativeNineJt = new JTextField(); - setTextFiledColor(powerVehicleCumulativeNineJt); - int powerVehicleCumulativeNineJtY = powerVehicleCumulativeNineJly + 120; - powerVehicleCumulativeNineJt.setBounds(powerPersonnelCumulativeNineJlx + 250, powerVehicleCumulativeNineJtY, 240, 120); - /**-----------------------------------------------------------------附件十------------------------------------------------------------------------------------------*/ - /** - * 附表十 线路覆冰总体情况统计表(仅11月-次年3月报送) - */ - JLabel annexTenLabel = new JLabel("附表十 线路覆冰总体情况统计表(仅11月-次年3月报送)"); - annexTenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexTenLabel.setForeground(new Color(11, 24, 76)); - int annexTenJlx = 30; - int annexTenJly = powerVehicleCumulativeNineJtY + 150; - annexTenLabel.setBounds(annexTenJlx, annexTenJly, 1000, 100); - - /** - * 特高压 - */ - JLabel tenUhvLabel = new JLabel("特高压"); - tenUhvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenUhvLabel.setForeground(new Color(11, 24, 76)); - int tenUhvJlx = 30; - int tenUhvJly = annexTenJly + 120; - tenUhvLabel.setBounds(tenUhvJlx, tenUhvJly, 800, 100); - /** - *500kv - */ - JLabel tenFiveHundredKvLabel = new JLabel("500kV"); - tenFiveHundredKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenFiveHundredKvLabel.setForeground(new Color(11, 24, 76)); - int tenFiveHundredKvJlx = tenUhvJlx + 280; - int tenFiveHundredKvJly = annexTenJly + 120; - tenFiveHundredKvLabel.setBounds(tenFiveHundredKvJlx, tenFiveHundredKvJly, 800, 100); - - /** - * 220/330kv - */ - JLabel tenTwoHundredTwentyKvLabel = new JLabel("220/330kV"); - tenTwoHundredTwentyKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenTwoHundredTwentyKvLabel.setForeground(new Color(11, 24, 76)); - int tenTwoHundredTwentyKvJlx = tenFiveHundredKvJlx + 200; - int tenTwoHundredTwentyKvJly = annexTenJly + 120; - tenTwoHundredTwentyKvLabel.setBounds(tenTwoHundredTwentyKvJlx, tenTwoHundredTwentyKvJly, 800, 100); - - /** - * 110/66kv - */ - JLabel tenOneHundredTenKvLabel = new JLabel("110/66kv"); - tenOneHundredTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenOneHundredTenKvLabel.setForeground(new Color(11, 24, 76)); - int tenOneHundredTenKvJlx = tenTwoHundredTwentyKvJlx + 270; - int tenOneHundredTenKvJly = annexTenJly + 120; - tenOneHundredTenKvLabel.setBounds(tenOneHundredTenKvJlx, tenOneHundredTenKvJly, 800, 100); - - /** - * 35kv - */ - JLabel tenThirtyFiveKvLabel = new JLabel("35kv"); - tenThirtyFiveKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenThirtyFiveKvLabel.setForeground(new Color(11, 24, 76)); - int tenThirtyFiveKvJlx = tenOneHundredTenKvJlx + 300; - int tenThirtyFiveKvJly = annexTenJly + 120; - tenThirtyFiveKvLabel.setBounds(tenThirtyFiveKvJlx, tenThirtyFiveKvJly, 800, 100); - /** - * 10kv - */ - JLabel tenTenKvLabel = new JLabel("10kv"); - tenTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenTenKvLabel.setForeground(new Color(11, 24, 76)); - int tenTenKvJlx = tenThirtyFiveKvJlx + 250; - int tenTenKvJly = annexTenJly + 120; - tenTenKvLabel.setBounds(tenTenKvJlx, tenTenKvJly, 800, 100); - - - /** - * 特高压 - */ - tenUhvJt = new JTextField(); - setTextFiledColor(tenUhvJt); - int tenUhvJtY = tenTenKvJly + 120; - tenUhvJt.setBounds(annexEightJlx, tenUhvJtY, 240, 120); - - /** - * 500 - */ - tenFiveHundredKvJt = new JTextField(); - setTextFiledColor(tenFiveHundredKvJt); - int tenFiveHundredKvJtY = tenTenKvJly + 120; - tenFiveHundredKvJt.setBounds(annexEightJlx + 250, tenFiveHundredKvJtY, 240, 120); - - /** - * 300 - */ - tenTwoHundredTwentyKvJt = new JTextField(); - setTextFiledColor(tenTwoHundredTwentyKvJt); - int tenTwoHundredTwentyKvJtY = tenTenKvJly + 120; - tenTwoHundredTwentyKvJt.setBounds(annexEightJlx + 500, tenTwoHundredTwentyKvJtY, 240, 120); - - /** - * 110 - */ - tenOneHundredTenKvJt = new JTextField(); - setTextFiledColor(tenOneHundredTenKvJt); - int tenOneHundredTenKvJtY = tenTenKvJly + 120; - tenOneHundredTenKvJt.setBounds(annexEightJlx + 750, tenOneHundredTenKvJtY, 240, 120); - - /** - * 35 - */ - tenThirtyFiveKvJt = new JTextField(); - setTextFiledColor(tenThirtyFiveKvJt); - int tenThirtyFiveKvJtY = tenTenKvJly + 120; - tenThirtyFiveKvJt.setBounds(annexEightJlx + 1000, tenThirtyFiveKvJtY, 240, 120); - /** - * 10 - */ - tenTenKvJt = new JTextField(); - setTextFiledColor(tenTenKvJt); - int tenTenKvJtY = tenTenKvJly + 120; - tenTenKvJt.setBounds(annexEightJlx + 1250, tenTenKvJtY, 240, 120); - - /** - * 平均水位 - */ - JLabel tenAverageWaterLevelLabel = new JLabel("平均水位"); - tenAverageWaterLevelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenAverageWaterLevelLabel.setForeground(new Color(11, 24, 76)); - int tenAverageWaterLevelJlx = 30; - int tenAverageWaterLevelJly = tenTenKvJtY + 120; - tenAverageWaterLevelLabel.setBounds(tenAverageWaterLevelJlx, tenAverageWaterLevelJly, 800, 100); - /** - *最大水位实测值 - */ - JLabel tenMeasuredValueLabel = new JLabel("最大水位实测值"); - tenMeasuredValueLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenMeasuredValueLabel.setForeground(new Color(11, 24, 76)); - int tenMeasuredValueJlx = tenUhvJlx + 350; - int tenMeasuredValueJly = tenTenKvJtY + 120; - tenMeasuredValueLabel.setBounds(tenMeasuredValueJlx, tenMeasuredValueJly, 800, 100); - - /** - * 最大水位设计值 - */ - JLabel tenDesignValuesLabel = new JLabel("最大水位设计值"); - tenDesignValuesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenDesignValuesLabel.setForeground(new Color(11, 24, 76)); - int tenDesignValuesJlx = tenFiveHundredKvJlx + 500; - int tenDesignValuesJly = tenTenKvJtY + 120; - tenDesignValuesLabel.setBounds(tenDesignValuesJlx, tenDesignValuesJly, 800, 100); - - /** - * 平均覆冰 - */ - tenAverageWaterLevelJt = new JTextField(); - setTextFiledColor(tenAverageWaterLevelJt); - int tenAverageWaterLevelJtY = tenDesignValuesJly + 120; - tenAverageWaterLevelJt.setBounds(annexEightJlx, tenAverageWaterLevelJtY, 240, 120); - - /** - * 最大覆冰实测值 - */ - tenMeasuredValueJt = new JTextField(); - setTextFiledColor(tenMeasuredValueJt); - int tenMeasuredValueJtY = tenDesignValuesJly + 120; - tenMeasuredValueJt.setBounds(annexEightJlx + 400, tenMeasuredValueJtY, 240, 120); - /** - * 最大覆冰设计值 - */ - tenDesignValuesJt = new JTextField(); - setTextFiledColor(tenDesignValuesJt); - int tenDesignValuesJtY = tenDesignValuesJly + 120; - tenDesignValuesJt.setBounds(annexEightJlx + 830, tenDesignValuesJtY, 240, 120); - - /** - * 已采取措施行动 - */ - JLabel tenActionHasBeenTakenLabel = new JLabel("已采取措施行动"); - tenActionHasBeenTakenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - tenActionHasBeenTakenLabel.setForeground(new Color(11, 24, 76)); - int tenActionHasBeenTakenJlx = 30; - int tenActionHasBeenTakenJly = tenDesignValuesJtY + 120; - tenActionHasBeenTakenLabel.setBounds(tenActionHasBeenTakenJlx, tenActionHasBeenTakenJly, 800, 100); - /** - * 已采取措施行动 - */ - tenActionHasBeenTakenJt = new JTextField(); - setTextFiledColor(tenActionHasBeenTakenJt); - int tenActionHasBeenTakenJtY = tenActionHasBeenTakenJly + 120; - tenActionHasBeenTakenJt.setBounds(30, tenActionHasBeenTakenJtY, 1310, 120); - - /**-----------------------------------------------------------------附件十一------------------------------------------------------------------------------------------*/ - /** - * 附表十一 线路覆冰详细情况统计表(仅11月-次年3月报送) - */ - JLabel annexElevenLabel = new JLabel("附表十一 线路覆冰详细情况统计表(仅11月-次年3月报送)"); - annexElevenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexElevenLabel.setForeground(new Color(11, 24, 76)); - int annexElevenJlx = 30; - int annexElevenJly = tenActionHasBeenTakenJtY + 150; - annexElevenLabel.setBounds(annexElevenJlx, annexElevenJly, 1000, 100); - - /** - * 特高压 - */ - JLabel elevenUhvLabel = new JLabel("线路电压等级"); - elevenUhvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenUhvLabel.setForeground(new Color(11, 24, 76)); - int elevenUhvJlx = 30; - int elevenUhvJly = annexElevenJly + 120; - elevenUhvLabel.setBounds(elevenUhvJlx, elevenUhvJly, 800, 100); - /** - *500kv - */ - JLabel elevenFiveHundredKvLabel = new JLabel("线路名称"); - elevenFiveHundredKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenFiveHundredKvLabel.setForeground(new Color(11, 24, 76)); - int elevenFiveHundredKvJlx = elevenUhvJlx + 320; - int elevenFiveHundredKvJly = annexElevenJly + 120; - elevenFiveHundredKvLabel.setBounds(elevenFiveHundredKvJlx, elevenFiveHundredKvJly, 800, 100); - - /** - * 220/330kv - */ - JLabel elevenTwoHundredTwentyKvLabel = new JLabel("起始杆塔号"); - elevenTwoHundredTwentyKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenTwoHundredTwentyKvLabel.setForeground(new Color(11, 24, 76)); - int elevenTwoHundredTwentyKvJlx = elevenFiveHundredKvJlx + 220; - int elevenTwoHundredTwentyKvJly = annexElevenJly + 120; - elevenTwoHundredTwentyKvLabel.setBounds(elevenTwoHundredTwentyKvJlx, elevenTwoHundredTwentyKvJly, 800, 100); - - /** - * 110/66kv - */ - JLabel elevenOneHundredTenKvLabel = new JLabel("结束杆塔号"); - elevenOneHundredTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenOneHundredTenKvLabel.setForeground(new Color(11, 24, 76)); - int elevenOneHundredTenKvJlx = elevenTwoHundredTwentyKvJlx + 270; - int elevenOneHundredTenKvJly = annexElevenJly + 120; - elevenOneHundredTenKvLabel.setBounds(elevenOneHundredTenKvJlx, elevenOneHundredTenKvJly, 800, 100); - - /** - * 35kv - */ - JLabel elevenThirtyFiveKvLabel = new JLabel("覆冰厚度"); - elevenThirtyFiveKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenThirtyFiveKvLabel.setForeground(new Color(11, 24, 76)); - int elevenThirtyFiveKvJlx = elevenOneHundredTenKvJlx + 300; - int elevenThirtyFiveKvJly = annexElevenJly + 120; - elevenThirtyFiveKvLabel.setBounds(elevenThirtyFiveKvJlx, elevenThirtyFiveKvJly, 800, 100); - - /** - * 特高压 - */ - elevenUhvJt = new JTextField(); - setTextFiledColor(elevenUhvJt); - int elevenUhvJtY = elevenThirtyFiveKvJly + 120; - elevenUhvJt.setBounds(annexEightJlx, elevenUhvJtY, 240, 120); - - /** - * 500 - */ - elevenFiveHundredKvJt = new JTextField(); - setTextFiledColor(elevenFiveHundredKvJt); - int elevenFiveHundredKvJtY = elevenThirtyFiveKvJly + 120; - elevenFiveHundredKvJt.setBounds(annexEightJlx + 300, elevenFiveHundredKvJtY, 240, 120); - - /** - * 300 - */ - elevenTwoHundredTwentyKvJt = new JTextField(); - setTextFiledColor(elevenTwoHundredTwentyKvJt); - int elevenTwoHundredTwentyKvJtY = elevenThirtyFiveKvJly + 120; - elevenTwoHundredTwentyKvJt.setBounds(annexEightJlx + 550, elevenTwoHundredTwentyKvJtY, 240, 120); - - /** - * 110 - */ - elevenOneHundredTenKvJt = new JTextField(); - setTextFiledColor(elevenOneHundredTenKvJt); - int elevenOneHundredTenKvJtY = elevenThirtyFiveKvJly + 120; - elevenOneHundredTenKvJt.setBounds(annexEightJlx + 800, elevenOneHundredTenKvJtY, 240, 120); - - /** - * 35 - */ - elevenThirtyFiveKvJt = new JTextField(); - setTextFiledColor(elevenThirtyFiveKvJt); - int elevenThirtyFiveKvJtY = elevenThirtyFiveKvJly + 120; - elevenThirtyFiveKvJt.setBounds(annexEightJlx + 1050, elevenThirtyFiveKvJtY, 240, 120); - - - /** - * 10kv - */ - JLabel elevenTenKvLabel = new JLabel("设计覆冰厚度"); - elevenTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenTenKvLabel.setForeground(new Color(11, 24, 76)); - int elevenTenKvJlx = 30; - int elevenTenKvJly = elevenThirtyFiveKvJtY + 120; - elevenTenKvLabel.setBounds(elevenTenKvJlx, elevenTenKvJly, 800, 100); - - /** - * 平均水位 - */ - JLabel elevenAverageWaterLevelLabel = new JLabel("采取措施冰厚"); - elevenAverageWaterLevelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenAverageWaterLevelLabel.setForeground(new Color(11, 24, 76)); - int elevenAverageWaterLevelJlx = elevenTenKvJlx + 400; - int elevenAverageWaterLevelJly = elevenThirtyFiveKvJtY + 120; - elevenAverageWaterLevelLabel.setBounds(elevenAverageWaterLevelJlx, elevenAverageWaterLevelJly, 800, 100); - /** - *最大水位实测值 - */ - JLabel elevenMeasuredValueLabel = new JLabel("可供使用抗冰装备"); - elevenMeasuredValueLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenMeasuredValueLabel.setForeground(new Color(11, 24, 76)); - int elevenMeasuredValueJlx = elevenTenKvJlx + 800; - int elevenMeasuredValueJly = elevenThirtyFiveKvJtY + 120; - elevenMeasuredValueLabel.setBounds(elevenMeasuredValueJlx, elevenMeasuredValueJly, 800, 100); - /** - * 10 - */ - elevenTenKvJt = new JTextField(); - setTextFiledColor(elevenTenKvJt); - int elevenTenKvJtY = elevenMeasuredValueJly + 120; - elevenTenKvJt.setBounds(annexEightJlx, elevenTenKvJtY, 240, 120); - /** - * 平均覆冰 - */ - elevenAverageWaterLevelJt = new JTextField(); - setTextFiledColor(elevenAverageWaterLevelJt); - int elevenAverageWaterLevelJtY = elevenMeasuredValueJly + 120; - elevenAverageWaterLevelJt.setBounds(annexEightJlx + 400, elevenAverageWaterLevelJtY, 240, 120); - - /** - * 最大覆冰实测值 - */ - elevenMeasuredValueJt = new JTextField(); - setTextFiledColor(elevenMeasuredValueJt); - int elevenMeasuredValueJtY = elevenMeasuredValueJly + 120; - elevenMeasuredValueJt.setBounds(annexEightJlx + 800, elevenMeasuredValueJtY, 240, 120); - - /** - * 已采取措施行动 - */ - JLabel elevenActionHasBeenTakenLabel = new JLabel("已采取措施行动"); - elevenActionHasBeenTakenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - elevenActionHasBeenTakenLabel.setForeground(new Color(11, 24, 76)); - int elevenActionHasBeenTakenJlx = 30; - int elevenActionHasBeenTakenJly = elevenMeasuredValueJtY + 120; - elevenActionHasBeenTakenLabel.setBounds(elevenActionHasBeenTakenJlx, elevenActionHasBeenTakenJly, 800, 100); - /** - * 已采取措施行动 - */ - elevenActionHasBeenTakenJt = new JTextField(); - setTextFiledColor(elevenActionHasBeenTakenJt); - int elevenActionHasBeenTakenJtY = elevenActionHasBeenTakenJly + 120; - elevenActionHasBeenTakenJt.setBounds(30, elevenActionHasBeenTakenJtY, 1310, 120); - - /**-----------------------------------------------------------------附件十二------------------------------------------------------------------------------------------*/ - /** - * 附表十二 超设计水位变电站数量统计表(仅6月-9月报送) - */ - JLabel annexTwelveLabel = new JLabel("附表十二 超设计水位变电站数量统计表(仅6月-9月报送)"); - annexTwelveLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexTwelveLabel.setForeground(new Color(11, 24, 76)); - int annexTwelveJlx = 30; - int annexTwelveJly = elevenActionHasBeenTakenJtY + 150; - annexTwelveLabel.setBounds(annexTwelveJlx, annexTwelveJly, 1000, 100); - - /** - * 特高压 - */ - JLabel twelveUhvLabel = new JLabel("特高压"); - twelveUhvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveUhvLabel.setForeground(new Color(11, 24, 76)); - int twelveUhvJlx = 30; - int twelveUhvJly = annexTwelveJly + 120; - twelveUhvLabel.setBounds(twelveUhvJlx, twelveUhvJly, 800, 100); - /** - *500kv - */ - JLabel twelveFiveHundredKvLabel = new JLabel("500kV"); - twelveFiveHundredKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveFiveHundredKvLabel.setForeground(new Color(11, 24, 76)); - int twelveFiveHundredKvJlx = twelveUhvJlx + 280; - int twelveFiveHundredKvJly = annexTwelveJly + 120; - twelveFiveHundredKvLabel.setBounds(twelveFiveHundredKvJlx, twelveFiveHundredKvJly, 800, 100); - - /** - * 220/330kv - */ - JLabel twelveTwoHundredTwentyKvLabel = new JLabel("220/330kV"); - twelveTwoHundredTwentyKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveTwoHundredTwentyKvLabel.setForeground(new Color(11, 24, 76)); - int twelveTwoHundredTwentyKvJlx = twelveFiveHundredKvJlx + 200; - int twelveTwoHundredTwentyKvJly = annexTwelveJly + 120; - twelveTwoHundredTwentyKvLabel.setBounds(twelveTwoHundredTwentyKvJlx, twelveTwoHundredTwentyKvJly, 800, 100); - - /** - * 110/66kv - */ - JLabel twelveOneHundredTenKvLabel = new JLabel("110/66kv"); - twelveOneHundredTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveOneHundredTenKvLabel.setForeground(new Color(11, 24, 76)); - int twelveOneHundredTenKvJlx = twelveTwoHundredTwentyKvJlx + 270; - int twelveOneHundredTenKvJly = annexTwelveJly + 120; - twelveOneHundredTenKvLabel.setBounds(twelveOneHundredTenKvJlx, twelveOneHundredTenKvJly, 800, 100); - - /** - * 35kv - */ - JLabel twelveThirtyFiveKvLabel = new JLabel("35kv"); - twelveThirtyFiveKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveThirtyFiveKvLabel.setForeground(new Color(11, 24, 76)); - int twelveThirtyFiveKvJlx = twelveOneHundredTenKvJlx + 300; - int twelveThirtyFiveKvJly = annexTwelveJly + 120; - twelveThirtyFiveKvLabel.setBounds(twelveThirtyFiveKvJlx, twelveThirtyFiveKvJly, 800, 100); - /** - * 10kv - */ - JLabel twelveTenKvLabel = new JLabel("10kv"); - twelveTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveTenKvLabel.setForeground(new Color(11, 24, 76)); - int twelveTenKvJlx = twelveThirtyFiveKvJlx + 250; - int twelveTenKvJly = annexTwelveJly + 120; - twelveTenKvLabel.setBounds(twelveTenKvJlx, twelveTenKvJly, 800, 100); - - - /** - * 特高压 - */ - twelveUhvJt = new JTextField(); - setTextFiledColor(twelveUhvJt); - int twelveUhvJtY = twelveTenKvJly + 120; - twelveUhvJt.setBounds(annexEightJlx, twelveUhvJtY, 240, 120); - - /** - * 500 - */ - twelveFiveHundredKvJt = new JTextField(); - setTextFiledColor(twelveFiveHundredKvJt); - int twelveFiveHundredKvJtY = twelveTenKvJly + 120; - twelveFiveHundredKvJt.setBounds(annexEightJlx + 250, twelveFiveHundredKvJtY, 240, 120); - - /** - * 300 - */ - twelveTwoHundredTwentyKvJt = new JTextField(); - setTextFiledColor(twelveTwoHundredTwentyKvJt); - int twelveTwoHundredTwentyKvJtY = twelveTenKvJly + 120; - twelveTwoHundredTwentyKvJt.setBounds(annexEightJlx + 500, twelveTwoHundredTwentyKvJtY, 240, 120); - - /** - * 110 - */ - twelveOneHundredTenKvJt = new JTextField(); - setTextFiledColor(twelveOneHundredTenKvJt); - int twelveOneHundredTenKvJtY = twelveTenKvJly + 120; - twelveOneHundredTenKvJt.setBounds(annexEightJlx + 750, twelveOneHundredTenKvJtY, 240, 120); - - /** - * 35 - */ - twelveThirtyFiveKvJt = new JTextField(); - setTextFiledColor(twelveThirtyFiveKvJt); - int twelveThirtyFiveKvJtY = twelveTenKvJly + 120; - twelveThirtyFiveKvJt.setBounds(annexEightJlx + 1000, twelveThirtyFiveKvJtY, 240, 120); - /** - * 10 - */ - twelveTenKvJt = new JTextField(); - setTextFiledColor(twelveTenKvJt); - int twelveTenKvJtY = twelveTenKvJly + 120; - twelveTenKvJt.setBounds(annexEightJlx + 1250, twelveTenKvJtY, 240, 120); - - /** - * 平均水位 - */ - JLabel twelveAverageWaterLevelLabel = new JLabel("平均水位"); - twelveAverageWaterLevelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveAverageWaterLevelLabel.setForeground(new Color(11, 24, 76)); - int twelveAverageWaterLevelJlx = 30; - int twelveAverageWaterLevelJly = twelveTenKvJtY + 120; - twelveAverageWaterLevelLabel.setBounds(twelveAverageWaterLevelJlx, twelveAverageWaterLevelJly, 800, 100); - /** - *最大水位实测值 - */ - JLabel twelveMeasuredValueLabel = new JLabel("最大水位实测值"); - twelveMeasuredValueLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveMeasuredValueLabel.setForeground(new Color(11, 24, 76)); - int twelveMeasuredValueJlx = twelveUhvJlx + 350; - int twelveMeasuredValueJly = twelveTenKvJtY + 120; - twelveMeasuredValueLabel.setBounds(twelveMeasuredValueJlx, twelveMeasuredValueJly, 800, 100); - - /** - * 最大水位设计值 - */ - JLabel twelveDesignValuesLabel = new JLabel("最大水位设计值"); - twelveDesignValuesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveDesignValuesLabel.setForeground(new Color(11, 24, 76)); - int twelveDesignValuesJlx = twelveFiveHundredKvJlx + 500; - int twelveDesignValuesJly = twelveTenKvJtY + 120; - twelveDesignValuesLabel.setBounds(twelveDesignValuesJlx, twelveDesignValuesJly, 800, 100); - - /** - * 平均水位 - */ - twelveAverageWaterLevelJt = new JTextField(); - setTextFiledColor(twelveAverageWaterLevelJt); - int twelveAverageWaterLevelJtY = twelveDesignValuesJly + 120; - twelveAverageWaterLevelJt.setBounds(annexEightJlx, twelveAverageWaterLevelJtY, 240, 120); - - /** - * 最大水位实测值 - */ - twelveMeasuredValueJt = new JTextField(); - setTextFiledColor(twelveMeasuredValueJt); - int twelveMeasuredValueJtY = twelveDesignValuesJly + 120; - twelveMeasuredValueJt.setBounds(annexEightJlx + 400, twelveMeasuredValueJtY, 240, 120); - /** - * 最大水位设计值 - */ - twelveDesignValuesJt = new JTextField(); - setTextFiledColor(twelveDesignValuesJt); - int twelveDesignValuesJtY = twelveDesignValuesJly + 120; - twelveDesignValuesJt.setBounds(annexEightJlx + 830, twelveDesignValuesJtY, 240, 120); - - /** - * 已采取措施行动 - */ - JLabel twelveActionHasBeenTakenLabel = new JLabel("已采取措施行动"); - twelveActionHasBeenTakenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - twelveActionHasBeenTakenLabel.setForeground(new Color(11, 24, 76)); - int twelveActionHasBeenTakenJlx = 30; - int twelveActionHasBeenTakenJly = twelveDesignValuesJtY + 120; - twelveActionHasBeenTakenLabel.setBounds(twelveActionHasBeenTakenJlx, twelveActionHasBeenTakenJly, 800, 100); - /** - * 已采取措施行动 - */ - twelveActionHasBeenTakenJt = new JTextField(); - setTextFiledColor(twelveActionHasBeenTakenJt); - int twelveActionHasBeenTakenJtY = twelveActionHasBeenTakenJly + 120; - twelveActionHasBeenTakenJt.setBounds(30, twelveActionHasBeenTakenJtY, 1310, 120); - /**-----------------------------------------------------------附件十三---------------------------------------------------------------------*/ - /** - * 附表十三 超设计水位线路数量统计表(仅6月-9月报送) - */ - JLabel annexThirteenLabel = new JLabel(" 附表十三-超设计水位线路数量统计表(仅6月-9月报送)"); - annexThirteenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexThirteenLabel.setForeground(new Color(11, 24, 76)); - int annexThirteenJlx = 30; - int annexThirteenJly = twelveActionHasBeenTakenJtY + 150; - annexThirteenLabel.setBounds(annexThirteenJlx, annexThirteenJly, 1000, 100); - - /** - * 特高压 - */ - JLabel thirteenUhvLabel = new JLabel("特高压"); - thirteenUhvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenUhvLabel.setForeground(new Color(11, 24, 76)); - int thirteenUhvJlx = 30; - int thirteenUhvJly = annexThirteenJly + 120; - thirteenUhvLabel.setBounds(thirteenUhvJlx, thirteenUhvJly, 800, 100); - /** - *500kv - */ - JLabel thirteenFiveHundredKvLabel = new JLabel("500kV"); - thirteenFiveHundredKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenFiveHundredKvLabel.setForeground(new Color(11, 24, 76)); - int thirteenFiveHundredKvJlx = thirteenUhvJlx + 280; - int thirteenFiveHundredKvJly = annexThirteenJly + 120; - thirteenFiveHundredKvLabel.setBounds(thirteenFiveHundredKvJlx, thirteenFiveHundredKvJly, 800, 100); - - /** - * 220/330kv - */ - JLabel thirteenTwoHundredTwentyKvLabel = new JLabel("220/330kV"); - thirteenTwoHundredTwentyKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenTwoHundredTwentyKvLabel.setForeground(new Color(11, 24, 76)); - int thirteenTwoHundredTwentyKvJlx = thirteenFiveHundredKvJlx + 200; - int thirteenTwoHundredTwentyKvJly = annexThirteenJly + 120; - thirteenTwoHundredTwentyKvLabel.setBounds(thirteenTwoHundredTwentyKvJlx, thirteenTwoHundredTwentyKvJly, 800, 100); - - /** - * 110/66kv - */ - JLabel thirteenOneHundredTenKvLabel = new JLabel("110/66kv"); - thirteenOneHundredTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenOneHundredTenKvLabel.setForeground(new Color(11, 24, 76)); - int thirteenOneHundredTenKvJlx = thirteenTwoHundredTwentyKvJlx + 270; - int thirteenOneHundredTenKvJly = annexThirteenJly + 120; - thirteenOneHundredTenKvLabel.setBounds(thirteenOneHundredTenKvJlx, thirteenOneHundredTenKvJly, 800, 100); - - /** - * 35kv - */ - JLabel thirteenThirtyFiveKvLabel = new JLabel("35kv"); - thirteenThirtyFiveKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenThirtyFiveKvLabel.setForeground(new Color(11, 24, 76)); - int thirteenThirtyFiveKvJlx = thirteenOneHundredTenKvJlx + 300; - int thirteenThirtyFiveKvJly = annexThirteenJly + 120; - thirteenThirtyFiveKvLabel.setBounds(thirteenThirtyFiveKvJlx, thirteenThirtyFiveKvJly, 800, 100); - /** - * 10kv - */ - JLabel thirteenTenKvLabel = new JLabel("10kv"); - thirteenTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenTenKvLabel.setForeground(new Color(11, 24, 76)); - int thirteenTenKvJlx = thirteenThirtyFiveKvJlx + 250; - int thirteenTenKvJly = annexThirteenJly + 120; - thirteenTenKvLabel.setBounds(thirteenTenKvJlx, thirteenTenKvJly, 800, 100); - - - /** - * 特高压 - */ - thirteenUhvJt = new JTextField(); - setTextFiledColor(thirteenUhvJt); - int thirteenUhvJtY = thirteenTenKvJly + 120; - thirteenUhvJt.setBounds(annexEightJlx, thirteenUhvJtY, 240, 120); - - /** - * 500 - */ - thirteenFiveHundredKvJt = new JTextField(); - setTextFiledColor(thirteenFiveHundredKvJt); - int thirteenFiveHundredKvJtY = thirteenTenKvJly + 120; - thirteenFiveHundredKvJt.setBounds(annexEightJlx + 250, thirteenFiveHundredKvJtY, 240, 120); - - /** - * 300 - */ - thirteenTwoHundredTwentyKvJt = new JTextField(); - setTextFiledColor(thirteenTwoHundredTwentyKvJt); - int thirteenTwoHundredTwentyKvJtY = thirteenTenKvJly + 120; - thirteenTwoHundredTwentyKvJt.setBounds(annexEightJlx + 500, thirteenTwoHundredTwentyKvJtY, 240, 120); - - /** - * 110 - */ - thirteenOneHundredTenKvJt = new JTextField(); - setTextFiledColor(thirteenOneHundredTenKvJt); - int thirteenOneHundredTenKvJtY = thirteenTenKvJly + 120; - thirteenOneHundredTenKvJt.setBounds(annexEightJlx + 750, thirteenOneHundredTenKvJtY, 240, 120); - - /** - * 35 - */ - thirteenThirtyFiveKvJt = new JTextField(); - setTextFiledColor(thirteenThirtyFiveKvJt); - int thirteenThirtyFiveKvJtY = thirteenTenKvJly + 120; - thirteenThirtyFiveKvJt.setBounds(annexEightJlx + 1000, thirteenThirtyFiveKvJtY, 240, 120); - /** - * 10 - */ - thirteenTenKvJt = new JTextField(); - setTextFiledColor(thirteenTenKvJt); - int thirteenTenKvJtY = thirteenTenKvJly + 120; - thirteenTenKvJt.setBounds(annexEightJlx + 1250, thirteenTenKvJtY, 240, 120); - - /** - * 平均水位 - */ - JLabel thirteenAverageWaterLevelLabel = new JLabel("平均水位"); - thirteenAverageWaterLevelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenAverageWaterLevelLabel.setForeground(new Color(11, 24, 76)); - int thirteenAverageWaterLevelJlx = 30; - int thirteenAverageWaterLevelJly = thirteenTenKvJtY + 120; - thirteenAverageWaterLevelLabel.setBounds(thirteenAverageWaterLevelJlx, thirteenAverageWaterLevelJly, 800, 100); - /** - *最大水位实测值 - */ - JLabel thirteenMeasuredValueLabel = new JLabel("最大水位实测值"); - thirteenMeasuredValueLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenMeasuredValueLabel.setForeground(new Color(11, 24, 76)); - int thirteenMeasuredValueJlx = thirteenUhvJlx + 350; - int thirteenMeasuredValueJly = thirteenTenKvJtY + 120; - thirteenMeasuredValueLabel.setBounds(thirteenMeasuredValueJlx, thirteenMeasuredValueJly, 800, 100); - - /** - * 最大水位设计值 - */ - JLabel thirteenDesignValuesLabel = new JLabel("最大水位设计值"); - thirteenDesignValuesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenDesignValuesLabel.setForeground(new Color(11, 24, 76)); - int thirteenDesignValuesJlx = thirteenFiveHundredKvJlx + 500; - int thirteenDesignValuesJly = thirteenTenKvJtY + 120; - thirteenDesignValuesLabel.setBounds(thirteenDesignValuesJlx, thirteenDesignValuesJly, 800, 100); - - /** - * 平均水位 - */ - thirteenAverageWaterLevelJt = new JTextField(); - setTextFiledColor(thirteenAverageWaterLevelJt); - int thirteenAverageWaterLevelJtY = thirteenDesignValuesJly + 120; - thirteenAverageWaterLevelJt.setBounds(annexEightJlx, thirteenAverageWaterLevelJtY, 240, 120); - - /** - * 最大水位实测值 - */ - thirteenMeasuredValueJt = new JTextField(); - setTextFiledColor(thirteenMeasuredValueJt); - int thirteenMeasuredValueJtY = thirteenDesignValuesJly + 120; - thirteenMeasuredValueJt.setBounds(annexEightJlx + 400, thirteenMeasuredValueJtY, 240, 120); - /** - * 最大水位设计值 - */ - thirteenDesignValuesJt = new JTextField(); - setTextFiledColor(thirteenDesignValuesJt); - int thirteenDesignValuesJtY = thirteenDesignValuesJly + 120; - thirteenDesignValuesJt.setBounds(annexEightJlx + 830, thirteenDesignValuesJtY, 240, 120); - - /** - * 已采取措施行动 - */ - JLabel thirteenActionHasBeenTakenLabel = new JLabel("已采取措施行动"); - thirteenActionHasBeenTakenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - thirteenActionHasBeenTakenLabel.setForeground(new Color(11, 24, 76)); - int thirteenActionHasBeenTakenJlx = 30; - int thirteenActionHasBeenTakenJly = thirteenDesignValuesJtY + 120; - thirteenActionHasBeenTakenLabel.setBounds(thirteenActionHasBeenTakenJlx, thirteenActionHasBeenTakenJly, 800, 100); - /** - * 已采取措施行动 - */ - thirteenActionHasBeenTakenJt = new JTextField(); - setTextFiledColor(thirteenActionHasBeenTakenJt); - int thirteenActionHasBeenTakenJtY = thirteenActionHasBeenTakenJly + 120; - thirteenActionHasBeenTakenJt.setBounds(30, thirteenActionHasBeenTakenJtY, 1310, 120); - /**-----------------------------------------------------------附件十四---------------------------------------------------------------------*/ - /** - * 附表十四 超设计风力线路数量统计表 - */ - JLabel annexFourteenLabel = new JLabel("附表十四- 超设计风力线路数量统计表"); - annexFourteenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - annexFourteenLabel.setForeground(new Color(11, 24, 76)); - int annexFourteenJlx = 30; - int annexFourteenJly = thirteenActionHasBeenTakenJtY + 150; - annexFourteenLabel.setBounds(annexFourteenJlx, annexFourteenJly, 1000, 100); - - /** - * 特高压 - */ - JLabel fourteenUhvLabel = new JLabel("特高压"); - fourteenUhvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenUhvLabel.setForeground(new Color(11, 24, 76)); - int fourteenUhvJlx = 30; - int fourteenUhvJly = annexFourteenJly + 120; - fourteenUhvLabel.setBounds(fourteenUhvJlx, fourteenUhvJly, 800, 100); - /** - *500kv - */ - JLabel fourteenFiveHundredKvLabel = new JLabel("500kV"); - fourteenFiveHundredKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenFiveHundredKvLabel.setForeground(new Color(11, 24, 76)); - int fourteenFiveHundredKvJlx = fourteenUhvJlx + 280; - int fourteenFiveHundredKvJly = annexFourteenJly + 120; - fourteenFiveHundredKvLabel.setBounds(fourteenFiveHundredKvJlx, fourteenFiveHundredKvJly, 800, 100); - - /** - * 220/330kv - */ - JLabel fourteenTwoHundredTwentyKvLabel = new JLabel("220/330kV"); - fourteenTwoHundredTwentyKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenTwoHundredTwentyKvLabel.setForeground(new Color(11, 24, 76)); - int fourteenTwoHundredTwentyKvJlx = fourteenFiveHundredKvJlx + 200; - int fourteenTwoHundredTwentyKvJly = annexFourteenJly + 120; - fourteenTwoHundredTwentyKvLabel.setBounds(fourteenTwoHundredTwentyKvJlx, fourteenTwoHundredTwentyKvJly, 800, 100); - - /** - * 110/66kv - */ - JLabel fourteenOneHundredTenKvLabel = new JLabel("110/66kv"); - fourteenOneHundredTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenOneHundredTenKvLabel.setForeground(new Color(11, 24, 76)); - int fourteenOneHundredTenKvJlx = fourteenTwoHundredTwentyKvJlx + 270; - int fourteenOneHundredTenKvJly = annexFourteenJly + 120; - fourteenOneHundredTenKvLabel.setBounds(fourteenOneHundredTenKvJlx, fourteenOneHundredTenKvJly, 800, 100); - - /** - * 35kv - */ - JLabel fourteenThirtyFiveKvLabel = new JLabel("35kv"); - fourteenThirtyFiveKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenThirtyFiveKvLabel.setForeground(new Color(11, 24, 76)); - int fourteenThirtyFiveKvJlx = fourteenOneHundredTenKvJlx + 300; - int fourteenThirtyFiveKvJly = annexFourteenJly + 120; - fourteenThirtyFiveKvLabel.setBounds(fourteenThirtyFiveKvJlx, fourteenThirtyFiveKvJly, 800, 100); - /** - * 10kv - */ - JLabel fourteenTenKvLabel = new JLabel("10kv"); - fourteenTenKvLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenTenKvLabel.setForeground(new Color(11, 24, 76)); - int fourteenTenKvJlx = fourteenThirtyFiveKvJlx + 250; - int fourteenTenKvJly = annexFourteenJly + 120; - fourteenTenKvLabel.setBounds(fourteenTenKvJlx, fourteenTenKvJly, 800, 100); - - - /** - * 特高压 - */ - fourteenUhvJt = new JTextField(); - setTextFiledColor(fourteenUhvJt); - int fourteenUhvJtY = fourteenTenKvJly + 120; - fourteenUhvJt.setBounds(annexEightJlx, fourteenUhvJtY, 240, 120); - - /** - * 500 - */ - fourteenFiveHundredKvJt = new JTextField(); - setTextFiledColor(fourteenFiveHundredKvJt); - int fourteenFiveHundredKvJtY = fourteenTenKvJly + 120; - fourteenFiveHundredKvJt.setBounds(annexEightJlx + 250, fourteenFiveHundredKvJtY, 240, 120); - - /** - * 300 - */ - fourteenTwoHundredTwentyKvJt = new JTextField(); - setTextFiledColor(fourteenTwoHundredTwentyKvJt); - int fourteenTwoHundredTwentyKvJtY = fourteenTenKvJly + 120; - fourteenTwoHundredTwentyKvJt.setBounds(annexEightJlx + 500, fourteenTwoHundredTwentyKvJtY, 240, 120); - - /** - * 110 - */ - fourteenOneHundredTenKvJt = new JTextField(); - setTextFiledColor(fourteenOneHundredTenKvJt); - int fourteenOneHundredTenKvJtY = fourteenTenKvJly + 120; - fourteenOneHundredTenKvJt.setBounds(annexEightJlx + 750, fourteenOneHundredTenKvJtY, 240, 120); - - /** - * 35 - */ - fourteenThirtyFiveKvJt = new JTextField(); - setTextFiledColor(fourteenThirtyFiveKvJt); - int fourteenThirtyFiveKvJtY = fourteenTenKvJly + 120; - fourteenThirtyFiveKvJt.setBounds(annexEightJlx + 1000, fourteenThirtyFiveKvJtY, 240, 120); - /** - * 10 - */ - fourteenTenKvJt = new JTextField(); - setTextFiledColor(fourteenTenKvJt); - int fourteenTenKvJtY = fourteenTenKvJly + 120; - fourteenTenKvJt.setBounds(annexEightJlx + 1250, fourteenTenKvJtY, 240, 120); - - /** - * 平均风力 - */ - JLabel fourteenAverageWaterLevelLabel = new JLabel("平均风力"); - fourteenAverageWaterLevelLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenAverageWaterLevelLabel.setForeground(new Color(11, 24, 76)); - int fourteenAverageWaterLevelJlx = 30; - int fourteenAverageWaterLevelJly = fourteenTenKvJtY + 120; - fourteenAverageWaterLevelLabel.setBounds(fourteenAverageWaterLevelJlx, fourteenAverageWaterLevelJly, 800, 100); - /** - *最大风力实测值 - */ - JLabel fourteenMeasuredValueLabel = new JLabel("最大风力实测值"); - fourteenMeasuredValueLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenMeasuredValueLabel.setForeground(new Color(11, 24, 76)); - int fourteenMeasuredValueJlx = fourteenUhvJlx + 350; - int fourteenMeasuredValueJly = fourteenTenKvJtY + 120; - fourteenMeasuredValueLabel.setBounds(fourteenMeasuredValueJlx, fourteenMeasuredValueJly, 800, 100); - - /** - * 最大风力设计值 - */ - JLabel fourteenDesignValuesLabel = new JLabel("最大风力设计值"); - fourteenDesignValuesLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenDesignValuesLabel.setForeground(new Color(11, 24, 76)); - int fourteenDesignValuesJlx = fourteenFiveHundredKvJlx + 500; - int fourteenDesignValuesJly = fourteenTenKvJtY + 120; - fourteenDesignValuesLabel.setBounds(fourteenDesignValuesJlx, fourteenDesignValuesJly, 800, 100); - - /** - * 平均风力 - */ - fourteenAverageWaterLevelJt = new JTextField(); - setTextFiledColor(fourteenAverageWaterLevelJt); - int fourteenAverageWaterLevelJtY = fourteenDesignValuesJly + 120; - fourteenAverageWaterLevelJt.setBounds(annexEightJlx, fourteenAverageWaterLevelJtY, 240, 120); - - /** - * 最大风力实测值 - */ - fourteenMeasuredValueJt = new JTextField(); - setTextFiledColor(fourteenMeasuredValueJt); - int fourteenMeasuredValueJtY = fourteenDesignValuesJly + 120; - fourteenMeasuredValueJt.setBounds(annexEightJlx + 400, fourteenMeasuredValueJtY, 240, 120); - /** - * 最大风力设计值 - */ - fourteenDesignValuesJt = new JTextField(); - setTextFiledColor(fourteenDesignValuesJt); - int fourteenDesignValuesJtY = fourteenDesignValuesJly + 120; - fourteenDesignValuesJt.setBounds(annexEightJlx + 830, fourteenDesignValuesJtY, 240, 120); - - /** - * 已采取措施行动 - */ - JLabel fourteenActionHasBeenTakenLabel = new JLabel("已采取措施行动"); - fourteenActionHasBeenTakenLabel.setFont(new Font("微软雅黑", Font.BOLD, 50)); - fourteenActionHasBeenTakenLabel.setForeground(new Color(11, 24, 76)); - int fourteenActionHasBeenTakenJlx = 30; - int fourteenActionHasBeenTakenJly = fourteenDesignValuesJtY + 120; - fourteenActionHasBeenTakenLabel.setBounds(fourteenActionHasBeenTakenJlx, fourteenActionHasBeenTakenJly, 800, 100); - /** - * 已采取措施行动 - */ - fourteenActionHasBeenTakenJt = new JTextField(); - setTextFiledColor(fourteenActionHasBeenTakenJt); - int fourteenActionHasBeenTakenJtY = fourteenActionHasBeenTakenJly + 120; - fourteenActionHasBeenTakenJt.setBounds(30, fourteenActionHasBeenTakenJtY, 1310, 120); - btn = new JButton(); - btn.setFont(new Font("微软雅黑",Font.BOLD,50)); - btn.setForeground(Color.BLACK); - btn.setText("提交"); - btn.addMouseListener(this); - int btnX = (dimension.width - 100) / 4; - btn.setBounds(btnX+200, fourteenActionHasBeenTakenJtY + 155, 200, 100); - - jp.add(overallLabel); -// jp.add(overallJt); - jp.add(importantMattersLabel); -// jp.add(importantMattersJt); - jp.add(safetyProductionLabel); -// jp.add(safetyProductionJt); - jp.add(personnelDailyWorkLabel); -// jp.add(personnelDailyWorkJt); - jp.add(powerGuaranteeLabel); - jp.add(powerGuaranteeTodayWorkLabel); -// jp.add(powerGuaranteeTodayWorkJt); - jp.add(powerGuaranteeTomorrowWorkLabel); -// jp.add(powerGuaranteeTomorrowWorkJt); - jp.add(powerGuaranteeTodayPestilenceLabel); -// jp.add(powerGuaranteeTodayPestilenceJt); - jp.add(warningLabel); - jp.add(warningCompanyLabel); -// jp.add(warningCompanyJt); - jp.add(warningCompanyImpatientLabel); -// jp.add(warningCompanyImpatientJt); - jp.add(warningSocietyEmergencyLabel); -// jp.add(warningSocietyEmergencyJt); - jp.add(otherSituationsLabel); -// jp.add(otherSituationsJt); - jp.add(annexOneLabel); - jp.add(exerciseContentLabel); - jp.add(exerciseContentBox); - jp.add(exerciseNumLabel); - jp.add(exercisePersonNumLabel); - jp.add(exerciseVehicleNumLabel); - jp.add(exercisePowerVehicleNumLabel); - jp.add(exerciseDynamoNumLabel); - jp.add(exercisePersonNumJt); - jp.add(exerciseVehicleNumJt); - jp.add(exercisePowerVehicleNumJt); - jp.add(exerciseDynamoNumJt); - jp.add(exerciseFindProblemsLabel); - jp.add(exerciseFindProblemsJt); - jp.add(exerciseRemarkLabel); - jp.add(exerciseRemarkJt); - jp.add(annexTwoLabel); - jp.add(verificationNumLabel); - jp.add(verificationPersonNumLabel); - jp.add(verificationVehicleNumLabel); - jp.add(verificationTeamNumLabel); - jp.add(verificationEquipNumLabel); - jp.add(verificationMaterialNumLabel); - jp.add(verificationPersonNumJt); - jp.add(verificationVehicleNumJt); - jp.add(verificationTeamNumJt); - jp.add(verificationEquipNumJt); - jp.add(verificationMaterialNumJt); - jp.add(verificationFindProblemsLabel); - jp.add(verificationFindProblemsJt); - jp.add(verificationRemarkLabel); - jp.add(verificationRemarkJt); - jp.add(annexFourLabel); - jp.add(designatedHospitalsLabel); - jp.add(feverClinicLabel); - jp.add(epidemicEnterpriseLabel); - jp.add(designatedHospitalsJt); - jp.add(feverClinicJt); - jp.add(epidemicEnterpriseJt); - jp.add(otherImportantUsersLabel); - jp.add(customerPowerPersonnelLabel); - jp.add(powerDevopsPersonnelLabel); - jp.add(otherImportantUsersJt); - jp.add(customerPowerPersonnelJt); - jp.add(powerDevopsPersonnelJt); - jp.add(electricallyVehiclesLabel); - jp.add(emergencyPowerVehiclesLabel); - jp.add(emergencyGeneratorLabel); - jp.add(electricallyVehiclesJt); - jp.add(emergencyPowerVehiclesJt); - jp.add(emergencyGeneratorJt); - jp.add(annexSixLabel); - jp.add(leadersCommandStaffLabel); - jp.add(leadersCommandStaffJt); - jp.add(inputAmountPersonLabel); - jp.add(inputAmountVehicleLabel); - jp.add(inputAmountPowerVehicleLabel); - jp.add(inputAmountDynamoLabel); - jp.add(inputAmountPersonJt); - jp.add(inputAmountVehicleJt); - jp.add(inputAmountPowerVehicleJt); - jp.add(inputAmountDynamoJt); - jp.add(inputAmountRemarkLabel); - jp.add(inputAmountRemarkJt); - - //附件三 - jp.add(annexThreeLabel); - jp.add(totalAddition); - jp.add(totalAddDiagnosedLabel); - jp.add(totalAddHealLabel); - jp.add(totalAddSuspectedLabel); - jp.add(totalAddDiagnosedJt); - jp.add(totalAddHealJt); - jp.add(totalAddSuspectedJt); - jp.add(totalExisting); - jp.add(totalExistingDiagnosedLabel); - jp.add(totalExistingHealLabel); - jp.add(totalExistingSuspectedLabel); - jp.add(totalExistingDiagnosedJt); - jp.add(totalExistingHealJt); - jp.add(totalExistingSuspectedJt); - jp.add(dispatchAddition); - jp.add(dispatchAddDiagnosedLabel); - jp.add(dispatchAddHealLabel); - jp.add(dispatchAddSuspectedLabel); - jp.add(dispatchAddDiagnosedJt); - jp.add(dispatchAddHealJt); - jp.add(dispatchAddSuspectedJt); - jp.add(dispatchExisting); - jp.add(dispatchExistingDiagnosedLabel); - jp.add(dispatchExistingHealLabel); - jp.add(dispatchExistingSuspectedLabel); - jp.add(dispatchExistingDiagnosedJt); - jp.add(dispatchExistingHealJt); - jp.add(dispatchExistingSuspectedJt); - jp.add(repairAddition); - jp.add(repairAddDiagnosedLabel); - jp.add(repairAddHealLabel); - jp.add(repairAddSuspectedLabel); - jp.add(repairAddDiagnosedJt); - jp.add(repairAddHealJt); - jp.add(repairAddSuspectedJt); - jp.add(repairExisting); - jp.add(repairExistingDiagnosedLabel); - jp.add(repairExistingHealLabel); - jp.add(repairExistingSuspectedLabel); - jp.add(repairExistingDiagnosedJt); - jp.add(repairExistingHealJt); - jp.add(repairExistingSuspectedJt); - jp.add(marketingAddition); - jp.add(marketingAddDiagnosedLabel); - jp.add(marketingAddHealLabel); - jp.add(marketingAddSuspectedLabel); - jp.add(marketingAddDiagnosedJt); - jp.add(marketingAddHealJt); - jp.add(marketingAddSuspectedJt); - jp.add(marketingExisting); - jp.add(marketingExistingDiagnosedLabel); - jp.add(marketingExistingHealLabel); - jp.add(marketingExistingSuspectedLabel); - jp.add(marketingExistingDiagnosedJt); - jp.add(marketingExistingHealJt); - jp.add(marketingExistingSuspectedJt); - jp.add(constructionAddition); - jp.add(constructionAddDiagnosedLabel); - jp.add(constructionAddHealLabel); - jp.add(constructionAddSuspectedLabel); - jp.add(constructionAddDiagnosedJt); - jp.add(constructionAddHealJt); - jp.add(constructionAddSuspectedJt); - jp.add(constructionExisting); - jp.add(constructionExistingDiagnosedLabel); - jp.add(constructionExistingHealLabel); - jp.add(constructionExistingSuspectedLabel); - jp.add(constructionExistingDiagnosedJt); - jp.add(constructionExistingHealJt); - jp.add(constructionExistingSuspectedJt); - - //附件五 - jp.add(annexFiveLabel); - jp.add(airportPortLabel); - jp.add(venueHospitalLabel); - jp.add(guesthouseHotelLabel); - jp.add(safeguardPersonnelLabel); - jp.add(airportPortJt); - jp.add(venueHospitalJt); - jp.add(guesthouseHotelJt); - jp.add(safeguardPersonnelJt); - jp.add(electricallyGuaranteedVehiclesLabel); - jp.add(powerGenerationVehiclesLabel); - jp.add(dynamoLabel); - jp.add(fiveRemarkLabel); - jp.add(electricallyGuaranteedVehiclesJt); - jp.add(powerGenerationVehiclesJt); - jp.add(dynamoJt); - jp.add(fiveRemarkJt); - - //附件七 - jp.add(annexSevenLabel); - jp.add(suspensionOfDisasterLabel); - jp.add(uhvDisasterLabel); - jp.add(fiveKVDisasterLabel); - jp.add(twoKVDisasterLabel); - jp.add(oneKVDisasterLabel); - jp.add(threeKVDisasterLabel); - jp.add(powerSubstationAddOutageUvhJt); - jp.add(powerSubstationAddOutageFiveJt); - jp.add(powerSubstationAddOutageTwoJt); - jp.add(powerSubstationAddOutageOneJt); - jp.add(powerSubstationAddOutageThreeJt); - - jp.add(emergencyRepairRecoveryLabel); - jp.add(powerSubstationAddRepairUvhLabel); - jp.add(powerSubstationAddRepairFiveLabel); - jp.add(powerSubstationAddRepairTwoLabel); - jp.add(powerSubstationAddRepairOneLabel); - jp.add(powerSubstationAddRepairThreeLabel); - jp.add(powerSubstationAddRepairOutageUvhJt); - jp.add(powerSubstationAddRepairOutageFiveJt); - jp.add(powerSubstationAddRepairOutageTwoJt); - jp.add(powerSubstationAddRepairOutageOneJt); - jp.add(powerSubstationAddRepairOutageThreeJt); - - jp.add(emergencyNoRepairRecoveryLabel); - jp.add(powerSubstationAddNoRepairUvhLabel); - jp.add(powerSubstationAddNoRepairFiveLabel); - jp.add(powerSubstationAddNoRepairTwoLabel); - jp.add(powerSubstationAddNoRepairOneLabel); - jp.add(powerSubstationAddNoRepairThreeLabel); - jp.add(powerSubstationAddNoRepairOutageUvhJt); - jp.add(powerSubstationAddNoRepairOutageFiveJt); - jp.add(powerSubstationAddNoRepairOutageTwoJt); - jp.add(powerSubstationAddNoRepairOutageOneJt); - jp.add(powerSubstationAddNoRepairOutageThreeJt); - - jp.add(annexSevenCumulativeLabel); - jp.add(suspensionOfDisasterCumulativeLabel); - jp.add(uhvDisasterCumulativeLabel); - jp.add(fiveKVDisasterCumulativeLabel); - jp.add(twoKVDisasterCumulativeLabel); - jp.add(oneKVDisasterCumulativeLabel); - jp.add(threeKVDisasterCumulativeLabel); - jp.add(powerSubstationCumulativeOutageUvhJt); - jp.add(powerSubstationCumulativeOutageFiveJt); - jp.add(powerSubstationCumulativeOutageTwoJt); - jp.add(powerSubstationCumulativeOutageOneJt); - jp.add(powerSubstationCumulativeOutageThreeJt); - - jp.add(emergencyRepairRecoveryCumulativeLabel); - jp.add(powerSubstationCumulativeRepairUvhLabel); - jp.add(powerSubstationCumulativeRepairFiveLabel); - jp.add(powerSubstationCumulativeRepairTwoLabel); - jp.add(powerSubstationCumulativeRepairOneLabel); - jp.add(powerSubstationCumulativeRepairThreeLabel); - jp.add(powerSubstationCumulativeRepairOutageUvhJt); - jp.add(powerSubstationCumulativeRepairOutageFiveJt); - jp.add(powerSubstationCumulativeRepairOutageTwoJt); - jp.add(powerSubstationCumulativeRepairOutageOneJt); - jp.add(powerSubstationCumulativeRepairOutageThreeJt); - - jp.add(emergencyCumulativeNoRepairRecoveryLabel); - jp.add(powerSubstationCumulativeNoRepairUvhLabel); - jp.add(powerSubstationCumulativeNoRepairFiveLabel); - jp.add(powerSubstationCumulativeNoRepairTwoLabel); - jp.add(powerSubstationCumulativeNoRepairOneLabel); - jp.add(powerSubstationCumulativeNoRepairThreeLabel); - jp.add(powerSubstationCumulativeNoRepairOutageUvhJt); - jp.add(powerSubstationCumulativeNoRepairOutageFiveJt); - jp.add(powerSubstationCumulativeNoRepairOutageTwoJt); - jp.add(powerSubstationCumulativeNoRepairOutageOneJt); - jp.add(powerSubstationCumulativeNoRepairOutageThreeJt); - - - jp.add(annexEightLabel); - jp.add(suspensionOfDisasterEightLabel); - jp.add(uhvDisasterEightLabel); - jp.add(fiveKVDisasterEightLabel); - jp.add(twoKVDisasterEightLabel); - jp.add(oneKVDisasterEightLabel); - jp.add(threeKVDisasterEightLabel); - jp.add(tenKVDisasterEightLabel); - jp.add(transmitElectricityAddOutageUvhJt); - jp.add(transmitElectricityAddOutageFiveJt); - jp.add(transmitElectricityAddOutageTwoJt); - jp.add(transmitElectricityAddOutageOneJt); - jp.add(transmitElectricityAddOutageThreeJt); - jp.add(transmitElectricityAddOutageTenJt); - - jp.add(emergencyRepairRecoveryEightLabel); - jp.add(transmitElectricityAddRepairUvhLabel); - jp.add(transmitElectricityAddRepairFiveLabel); - jp.add(transmitElectricityAddRepairTwoLabel); - jp.add(transmitElectricityAddRepairOneLabel); - jp.add(transmitElectricityAddRepairThreeLabel); - jp.add(transmitElectricityAddRepairTenLabel); - jp.add(transmitElectricityAddRepairOutageUvhJt); - jp.add(transmitElectricityAddRepairOutageFiveJt); - jp.add(transmitElectricityAddRepairOutageTwoJt); - jp.add(transmitElectricityAddRepairOutageOneJt); - jp.add(transmitElectricityAddRepairOutageThreeJt); - jp.add(transmitElectricityAddRepairOutageTenJt); - - jp.add(emergencyNoRepairRecoveryEightLabel); - jp.add(transmitElectricityAddNoRepairUvhLabel); - jp.add(transmitElectricityAddNoRepairFiveLabel); - jp.add(transmitElectricityAddNoRepairTwoLabel); - jp.add(transmitElectricityAddNoRepairOneLabel); - jp.add(transmitElectricityAddNoRepairThreeLabel); - jp.add(transmitElectricityAddNoRepairTenLabel); - jp.add(transmitElectricityAddNoRepairOutageUvhJt); - jp.add(transmitElectricityAddNoRepairOutageFiveJt); - jp.add(transmitElectricityAddNoRepairOutageTwoJt); - jp.add(transmitElectricityAddNoRepairOutageOneJt); - jp.add(transmitElectricityAddNoRepairOutageThreeJt); - jp.add(transmitElectricityAddNoRepairOutageTenJt); - - jp.add(annexEightCumulativeLabel); - jp.add(suspensionOfDisasterEightCumulativeLabel); - jp.add(uhvDisasterEightCumulativeLabel); - jp.add(fiveKVDisasterEightCumulativeLabel); - jp.add(twoKVDisasterEightCumulativeLabel); - jp.add(oneKVDisasterEightCumulativeLabel); - jp.add(threeKVDisasterEightCumulativeLabel); - jp.add(tenKVDisasterEightCumulativeLabel); - jp.add(transmitElectricityCumulativeOutageUvhJt); - jp.add(transmitElectricityCumulativeOutageFiveJt); - jp.add(transmitElectricityCumulativeOutageTwoJt); - jp.add(transmitElectricityCumulativeOutageOneJt); - jp.add(transmitElectricityCumulativeOutageThreeJt); - jp.add(transmitElectricityCumulativeOutageTenJt); - - jp.add(emergencyRepairRecoveryEightCumulativeLabel); - jp.add(transmitElectricityCumulativeRepairUvhLabel); - jp.add(transmitElectricityCumulativeRepairFiveLabel); - jp.add(transmitElectricityCumulativeRepairTwoLabel); - jp.add(transmitElectricityCumulativeRepairOneLabel); - jp.add(transmitElectricityCumulativeRepairThreeLabel); - jp.add(transmitElectricityCumulativeRepairTenLabel); - jp.add(transmitElectricityCumulativeRepairOutageUvhJt); - jp.add(transmitElectricityCumulativeRepairOutageFiveJt); - jp.add(transmitElectricityCumulativeRepairOutageTwoJt); - jp.add(transmitElectricityCumulativeRepairOutageOneJt); - jp.add(transmitElectricityCumulativeRepairOutageThreeJt); - jp.add(transmitElectricityCumulativeRepairOutageTenJt); - - jp.add(emergencyEightCumulativeNoRepairRecoveryLabel); - jp.add(transmitElectricityCumulativeNoRepairUvhLabel); - jp.add(transmitElectricityCumulativeNoRepairFiveLabel); - jp.add(transmitElectricityCumulativeNoRepairTwoLabel); - jp.add(transmitElectricityCumulativeNoRepairOneLabel); - jp.add(transmitElectricityCumulativeNoRepairThreeLabel); - jp.add(transmitElectricityCumulativeNoRepairTenLabel); - jp.add(transmitElectricityCumulativeNoRepairOutageUvhJt); - jp.add(transmitElectricityCumulativeNoRepairOutageFiveJt); - jp.add(transmitElectricityCumulativeNoRepairOutageTwoJt); - jp.add(transmitElectricityCumulativeNoRepairOutageOneJt); - jp.add(transmitElectricityCumulativeNoRepairOutageThreeJt); - jp.add(transmitElectricityCumulativeNoRepairOutageTenJt); - - jp.add(annexNineAddLabel); - jp.add(suspensionOfDisasterAddNineLabel); - jp.add(taiDistrictAddNineDisasterLabel); - jp.add(personnelAddNineDisasterLabel); - jp.add(nineAddTaiDistrictDisasterJt); - jp.add(nineAddPersonnelDisasterJt); - jp.add(repairAddNineLabel); - jp.add(taiDistrictAddNineRepairLabel); - jp.add(personnelAddNineRepairLabel); - jp.add(nineAddTaiDistrictRepairJt); - jp.add(nineAddPersonnelRepairJt); - jp.add(noRepairAddNineLabel); - jp.add(taiDistrictAddNineNoRepairLabel); - jp.add(personnelAddNineNoRepairLabel); - jp.add(nineAddTaiDistrictNoRepairJt); - jp.add(nineAddPersonnelNoRepairJt); - jp.add(powerAddNineLabel); - jp.add(powerPersonnelAddNineLabel); - jp.add(powerVehicleAddNineLabel); - jp.add(powerPersonnelAddNineJt); - jp.add(powerVehicleAddNineJt); - - jp.add(annexNineCumulativeLabel); - jp.add(suspensionOfDisasterCumulativeNineLabel); - jp.add(taiDistrictCumulativeNineDisasterLabel); - jp.add(personnelCumulativeNineDisasterLabel); - jp.add(nineCumulativeTaiDistrictDisasterJt); - jp.add(nineCumulativePersonnelDisasterJt); - jp.add(repairCumulativeNineLabel); - jp.add(taiDistrictCumulativeNineRepairLabel); - jp.add(personnelCumulativeNineRepairLabel); - jp.add(nineCumulativeTaiDistrictRepairJt); - jp.add(nineCumulativePersonnelRepairJt); - jp.add(noRepairCumulativeNineLabel); - jp.add(taiDistrictCumulativeNineNoRepairLabel); - jp.add(personnelCumulativeNineNoRepairLabel); - jp.add(nineCumulativeTaiDistrictNoRepairJt); - jp.add(nineCumulativePersonnelNoRepairJt); - jp.add(powerCumulativeNineLabel); - jp.add(powerPersonnelCumulativeNineLabel); - jp.add(powerVehicleCumulativeNineLabel); - jp.add(powerPersonnelCumulativeNineJt); - jp.add(powerVehicleCumulativeNineJt); - //附件十 - jp.add(annexTenLabel); - jp.add(tenUhvLabel); - jp.add(tenFiveHundredKvLabel); - jp.add(tenTwoHundredTwentyKvLabel); - jp.add(tenOneHundredTenKvLabel); - jp.add(tenThirtyFiveKvLabel); - jp.add(tenTenKvLabel); - jp.add(tenUhvJt); - jp.add(tenFiveHundredKvJt); - jp.add(tenTwoHundredTwentyKvJt); - jp.add(tenOneHundredTenKvJt); - jp.add(tenThirtyFiveKvJt); - jp.add(tenTenKvJt); - jp.add(tenAverageWaterLevelLabel); - jp.add(tenMeasuredValueLabel); - jp.add(tenDesignValuesLabel); - jp.add(tenAverageWaterLevelJt); - jp.add(tenMeasuredValueJt); - jp.add(tenDesignValuesJt); - jp.add(tenActionHasBeenTakenLabel); - jp.add(tenActionHasBeenTakenJt); - //附件十一 - jp.add(annexElevenLabel); - jp.add(elevenUhvLabel); - jp.add(elevenFiveHundredKvLabel); - jp.add(elevenTwoHundredTwentyKvLabel); - jp.add(elevenOneHundredTenKvLabel); - jp.add(elevenThirtyFiveKvLabel); - jp.add(elevenTenKvLabel); - jp.add(elevenUhvJt); - jp.add(elevenFiveHundredKvJt); - jp.add(elevenTwoHundredTwentyKvJt); - jp.add(elevenOneHundredTenKvJt); - jp.add(elevenThirtyFiveKvJt); - jp.add(elevenTenKvJt); - jp.add(elevenAverageWaterLevelLabel); - jp.add(elevenMeasuredValueLabel); - jp.add(elevenAverageWaterLevelJt); - jp.add(elevenMeasuredValueJt); - jp.add(elevenActionHasBeenTakenLabel); - jp.add(elevenActionHasBeenTakenJt); - //附件十二 - jp.add(annexTwelveLabel); - jp.add(twelveUhvLabel); - jp.add(twelveFiveHundredKvLabel); - jp.add(twelveTwoHundredTwentyKvLabel); - jp.add(twelveOneHundredTenKvLabel); - jp.add(twelveThirtyFiveKvLabel); - jp.add(twelveTenKvLabel); - jp.add(twelveUhvJt); - jp.add(twelveFiveHundredKvJt); - jp.add(twelveTwoHundredTwentyKvJt); - jp.add(twelveOneHundredTenKvJt); - jp.add(twelveThirtyFiveKvJt); - jp.add(twelveTenKvJt); - jp.add(twelveAverageWaterLevelLabel); - jp.add(twelveMeasuredValueLabel); - jp.add(twelveDesignValuesLabel); - jp.add(twelveAverageWaterLevelJt); - jp.add(twelveMeasuredValueJt); - jp.add(twelveDesignValuesJt); - jp.add(twelveActionHasBeenTakenLabel); - jp.add(twelveActionHasBeenTakenJt); - //十三 - jp.add(annexThirteenLabel); - jp.add(thirteenUhvLabel); - jp.add(thirteenFiveHundredKvLabel); - jp.add(thirteenTwoHundredTwentyKvLabel); - jp.add(thirteenOneHundredTenKvLabel); - jp.add(thirteenThirtyFiveKvLabel); - jp.add(thirteenTenKvLabel); - jp.add(thirteenUhvJt); - jp.add(thirteenFiveHundredKvJt); - jp.add(thirteenTwoHundredTwentyKvJt); - jp.add(thirteenOneHundredTenKvJt); - jp.add(thirteenThirtyFiveKvJt); - jp.add(thirteenTenKvJt); - jp.add(thirteenAverageWaterLevelLabel); - jp.add(thirteenMeasuredValueLabel); - jp.add(thirteenDesignValuesLabel); - jp.add(thirteenAverageWaterLevelJt); - jp.add(thirteenMeasuredValueJt); - jp.add(thirteenDesignValuesJt); - jp.add(thirteenActionHasBeenTakenLabel); - jp.add(thirteenActionHasBeenTakenJt); - //十四 - jp.add(annexFourteenLabel); - jp.add(fourteenUhvLabel); - jp.add(fourteenFiveHundredKvLabel); - jp.add(fourteenTwoHundredTwentyKvLabel); - jp.add(fourteenOneHundredTenKvLabel); - jp.add(fourteenThirtyFiveKvLabel); - jp.add(fourteenTenKvLabel); - jp.add(fourteenUhvJt); - jp.add(fourteenFiveHundredKvJt); - jp.add(fourteenTwoHundredTwentyKvJt); - jp.add(fourteenOneHundredTenKvJt); - jp.add(fourteenThirtyFiveKvJt); - jp.add(fourteenTenKvJt); - jp.add(fourteenAverageWaterLevelLabel); - jp.add(fourteenMeasuredValueLabel); - jp.add(fourteenDesignValuesLabel); - jp.add(fourteenAverageWaterLevelJt); - jp.add(fourteenMeasuredValueJt); - jp.add(fourteenDesignValuesJt); - jp.add(fourteenActionHasBeenTakenLabel); - jp.add(fourteenActionHasBeenTakenJt); - jp.add(btn); - return jp; - } - - /** - * 设置数据框中的字体颜色及大小 - * @param jtf - */ - private void setTextFiledColor(JTextField jtf){ - jtf.setFont(new Font("微软雅黑",Font.BOLD,50)); - jtf.setForeground(Color.BLACK); - } - - @Override - public void mouseClicked(MouseEvent e) { - JButton temp = (JButton) e.getSource(); - if(temp.equals(btn)){ - List list = getAllField(); - Boolean check = checkEmpty(list); - if(check){ - DailyBean dailyBean = getDailyBean(); - insertData(dailyBean); - }else{ - JOptionPane.showMessageDialog(jp,"请检查数据是否填写完毕!","错误",0); - } - } - } - - private DailyBean getDailyBean() { - DailyBean bean = new DailyBean(); - AnnexOneBean oneBean = new AnnexOneBean(); - AnnexTwoBean twoBean = new AnnexTwoBean(); - AnnexFourBean fourBean = new AnnexFourBean(); - AnnexSixBean sixBean = new AnnexSixBean(); - AnnexSevenBean sevenBean = new AnnexSevenBean(); - AnnexEightBean eightBean = new AnnexEightBean(); - AnnexNineBean nineBean = new AnnexNineBean(); - AnnexThreeBean threeBean = new AnnexThreeBean(); - AnnexFiveBean fiveBean = new AnnexFiveBean(); - AnnexTenBean tenBean = new AnnexTenBean(); - AnnexElevenBean elevenBean = new AnnexElevenBean(); - AnnexTwelveBean twelveBean = new AnnexTwelveBean(); - AnnexThirteenBean thirteenBean = new AnnexThirteenBean(); - AnnexFourteenBean fourteenBean = new AnnexFourteenBean(); - - bean.setOverall(overallJt.getText()); - bean.setImportant_matters(importantMattersJt.getText()); - bean.setSafety_production(safetyProductionJt.getText()); - bean.setPersonnel_daily_work(personnelDailyWorkJt.getText()); - bean.setPower_guarantee_today_work(powerGuaranteeTodayWorkJt.getText()); - bean.setPower_guarantee_tomorrow_work(powerGuaranteeTomorrowWorkJt.getText()); - bean.setPower_guarantee_today_pestilence(powerGuaranteeTodayPestilenceJt.getText()); - bean.setWarning_company(warningCompanyJt.getText()); - bean.setWarning_company_impatient(warningCompanyImpatientJt.getText()); - bean.setWarning_society_emergency(warningSocietyEmergencyJt.getText()); - bean.setOther_situations(otherSituationsJt.getText()); - oneBean.setExercise_content(exerciseContentBox.getSelectedItem() + ""); - oneBean.setExercise_person_num(exercisePersonNumJt.getText()); - oneBean.setExercise_vehicle_num(exerciseVehicleNumJt.getText()); - oneBean.setExercise_power_vehicle_num(exercisePowerVehicleNumJt.getText()); - oneBean.setExercise_dynamo_num(exerciseDynamoNumJt.getText()); - oneBean.setExercise_find_problems(exerciseFindProblemsJt.getText()); - String exerciseRemark = ""; - if(!exerciseRemarkJt.getText().contains("请输入")){ - exerciseRemark = exerciseRemarkJt.getText(); - } - oneBean.setRemark(exerciseRemark); - bean.setOneBean(oneBean); - twoBean.setVerification_person_num(verificationPersonNumJt.getText()); - twoBean.setVerification_team_num(verificationTeamNumJt.getText()); - twoBean.setVerification_equip_num(verificationEquipNumJt.getText()); - twoBean.setVerification_material_num(verificationMaterialNumJt.getText()); - twoBean.setVerification_vehicle_num(verificationVehicleNumJt.getText()); - twoBean.setVerification_find_problems(verificationFindProblemsJt.getText()); - String verificationRemark = ""; - if(!verificationRemarkJt.getText().contains("请输入")){ - verificationRemark = verificationRemarkJt.getText(); - } - twoBean.setRemark(verificationRemark); - bean.setTwoBean(twoBean); - fourBean.setDesignated_hospitals(designatedHospitalsJt.getText()); - fourBean.setFever_clinic(feverClinicJt.getText()); - fourBean.setEpidemic_enterprise(epidemicEnterpriseJt.getText()); - fourBean.setOther_important_users(otherImportantUsersJt.getText()); - fourBean.setCustomer_power_personnel(customerPowerPersonnelJt.getText()); - fourBean.setPower_devops_personnel(powerDevopsPersonnelJt.getText()); - fourBean.setElectrically_vehicles(electricallyVehiclesJt.getText()); - fourBean.setEmergency_power_vehicles(emergencyPowerVehiclesJt.getText()); - fourBean.setEmergency_generator(emergencyGeneratorJt.getText()); - bean.setFourBean(fourBean); - sixBean.setLeaders_command_staff(leadersCommandStaffJt.getText()); - sixBean.setInput_amount_person(inputAmountPersonJt.getText()); - sixBean.setInput_amount_vehicle(inputAmountVehicleJt.getText()); - sixBean.setInput_amount_power_vehicle(inputAmountPowerVehicleJt.getText()); - sixBean.setInput_amount_dynamo(inputAmountDynamoJt.getText()); - String inputAmountRemark = ""; - if(!inputAmountRemarkJt.getText().contains("请输入")){ - inputAmountRemark = inputAmountRemarkJt.getText(); - } - sixBean.setRemark(inputAmountRemark); - bean.setSixBean(sixBean); - - sevenBean.setPower_substation_add_outage_uvh(powerSubstationAddOutageUvhJt.getText()); - sevenBean.setPower_substation_add_outage_five(powerSubstationAddOutageFiveJt.getText()); - sevenBean.setPower_substation_add_outage_two(powerSubstationAddOutageTwoJt.getText()); - sevenBean.setPower_substation_add_outage_one(powerSubstationAddOutageOneJt.getText()); - sevenBean.setPower_substation_add_outage_three(powerSubstationAddOutageThreeJt.getText()); - sevenBean.setPower_substation_add_repair_uvh(powerSubstationAddRepairOutageUvhJt.getText()); - sevenBean.setPower_substation_add_repair_five(powerSubstationAddRepairOutageFiveJt.getText()); - sevenBean.setPower_substation_add_repair_two(powerSubstationAddRepairOutageTwoJt.getText()); - sevenBean.setPower_substation_add_repair_one(powerSubstationAddRepairOutageOneJt.getText()); - sevenBean.setPower_substation_add_repair_three(powerSubstationAddRepairOutageThreeJt.getText()); - sevenBean.setPower_substation_add_no_repair_uvh(powerSubstationAddNoRepairOutageUvhJt.getText()); - sevenBean.setPower_substation_add_no_repair_five(powerSubstationAddNoRepairOutageFiveJt.getText()); - sevenBean.setPower_substation_add_no_repair_two(powerSubstationAddNoRepairOutageTwoJt.getText()); - sevenBean.setPower_substation_add_no_repair_one(powerSubstationAddNoRepairOutageOneJt.getText()); - sevenBean.setPower_substation_add_no_repair_three(powerSubstationAddNoRepairOutageThreeJt.getText()); - sevenBean.setPower_substation_cumulative_outage_uvh(powerSubstationCumulativeOutageUvhJt.getText()); - sevenBean.setPower_substation_cumulative_outage_five(powerSubstationCumulativeOutageFiveJt.getText()); - sevenBean.setPower_substation_cumulative_outage_two(powerSubstationCumulativeOutageTwoJt.getText()); - sevenBean.setPower_substation_cumulative_outage_one(powerSubstationCumulativeOutageOneJt.getText()); - sevenBean.setPower_substation_cumulative_outage_three(powerSubstationCumulativeOutageThreeJt.getText()); - sevenBean.setPower_substation_cumulative_repair_uvh(powerSubstationCumulativeRepairOutageUvhJt.getText()); - sevenBean.setPower_substation_cumulative_repair_five(powerSubstationCumulativeRepairOutageFiveJt.getText()); - sevenBean.setPower_substation_cumulative_repair_two(powerSubstationCumulativeRepairOutageTwoJt.getText()); - sevenBean.setPower_substation_cumulative_repair_one(powerSubstationCumulativeRepairOutageOneJt.getText()); - sevenBean.setPower_substation_cumulative_repair_three(powerSubstationCumulativeRepairOutageThreeJt.getText()); - sevenBean.setPower_substation_cumulative_no_repair_uvh(powerSubstationCumulativeNoRepairOutageUvhJt.getText()); - sevenBean.setPower_substation_cumulative_no_repair_five(powerSubstationCumulativeNoRepairOutageFiveJt.getText()); - sevenBean.setPower_substation_cumulative_no_repair_two(powerSubstationCumulativeNoRepairOutageTwoJt.getText()); - sevenBean.setPower_substation_cumulative_no_repair_one(powerSubstationCumulativeNoRepairOutageOneJt.getText()); - sevenBean.setPower_substation_cumulative_no_repair_three(powerSubstationCumulativeNoRepairOutageThreeJt.getText()); - bean.setSevenBean(sevenBean); - eightBean.setTransmit_electricity_add_outage_uvh(transmitElectricityAddOutageUvhJt.getText()); - eightBean.setTransmit_electricity_add_outage_five(transmitElectricityAddOutageFiveJt.getText()); - eightBean.setTransmit_electricity_add_outage_two(transmitElectricityAddOutageTwoJt.getText()); - eightBean.setTransmit_electricity_add_outage_one(transmitElectricityAddOutageOneJt.getText()); - eightBean.setTransmit_electricity_add_outage_three(transmitElectricityAddOutageThreeJt.getText()); - eightBean.setTransmit_electricity_add_outage_ten(transmitElectricityAddOutageTenJt.getText()); - eightBean.setTransmit_electricity_add_repair_uvh(transmitElectricityAddRepairOutageUvhJt.getText()); - eightBean.setTransmit_electricity_add_repair_five(transmitElectricityAddRepairOutageFiveJt.getText()); - eightBean.setTransmit_electricity_add_repair_two(transmitElectricityAddRepairOutageTwoJt.getText()); - eightBean.setTransmit_electricity_add_repair_one(transmitElectricityAddRepairOutageOneJt.getText()); - eightBean.setTransmit_electricity_add_repair_three(transmitElectricityAddRepairOutageThreeJt.getText()); - eightBean.setTransmit_electricity_add_repair_ten(transmitElectricityAddRepairOutageTenJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_uvh(transmitElectricityAddNoRepairOutageUvhJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_five(transmitElectricityAddNoRepairOutageFiveJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_two(transmitElectricityAddNoRepairOutageTwoJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_one(transmitElectricityAddNoRepairOutageOneJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_three(transmitElectricityAddNoRepairOutageThreeJt.getText()); - eightBean.setTransmit_electricity_add_no_repair_ten(transmitElectricityAddNoRepairOutageTenJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_uvh(transmitElectricityCumulativeOutageUvhJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_five(transmitElectricityCumulativeOutageFiveJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_two(transmitElectricityCumulativeOutageTwoJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_one(transmitElectricityCumulativeOutageOneJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_three(transmitElectricityCumulativeOutageThreeJt.getText()); - eightBean.setTransmit_electricity_cumulative_outage_ten(transmitElectricityCumulativeOutageTenJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_uvh(transmitElectricityCumulativeRepairOutageUvhJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_five(transmitElectricityCumulativeRepairOutageFiveJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_two(transmitElectricityCumulativeRepairOutageTwoJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_one(transmitElectricityCumulativeRepairOutageOneJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_three(transmitElectricityCumulativeRepairOutageThreeJt.getText()); - eightBean.setTransmit_electricity_cumulative_repair_ten(transmitElectricityCumulativeRepairOutageTenJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_uvh(transmitElectricityCumulativeNoRepairOutageUvhJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_five(transmitElectricityCumulativeNoRepairOutageFiveJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_two(transmitElectricityCumulativeNoRepairOutageTwoJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_one(transmitElectricityCumulativeNoRepairOutageOneJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_three(transmitElectricityCumulativeNoRepairOutageThreeJt.getText()); - eightBean.setTransmit_electricity_cumulative_no_repair_ten(transmitElectricityCumulativeNoRepairOutageTenJt.getText()); - bean.setEightBean(eightBean); - nineBean.setAdd_blackout_tai_district(nineAddTaiDistrictDisasterJt.getText()); - nineBean.setAdd_blackout_user(nineAddPersonnelDisasterJt.getText()); - nineBean.setAdd_repair_tai_district(nineAddTaiDistrictRepairJt.getText()); - nineBean.setAdd_repair_user(nineAddPersonnelRepairJt.getText()); - nineBean.setAdd_no_repair_tai_district(nineAddTaiDistrictNoRepairJt.getText()); - nineBean.setAdd_no_repair_user(nineAddPersonnelNoRepairJt.getText()); - nineBean.setAdd_power_personnel(powerPersonnelAddNineJt.getText()); - nineBean.setAdd_power_vehicle(powerVehicleAddNineJt.getText()); - nineBean.setCumulative_blackout_tai_district(nineCumulativeTaiDistrictDisasterJt.getText()); - nineBean.setCumulative_blackout_user(nineCumulativePersonnelDisasterJt.getText()); - nineBean.setCumulative_repair_tai_district(nineCumulativeTaiDistrictRepairJt.getText()); - nineBean.setCumulative_repair_user(nineCumulativePersonnelRepairJt.getText()); - nineBean.setCumulative_no_repair_tai_district(nineCumulativeTaiDistrictNoRepairJt.getText()); - nineBean.setCumulative_no_repair_user(nineCumulativePersonnelNoRepairJt.getText()); - nineBean.setCumulative_power_personnel(powerPersonnelCumulativeNineJt.getText()); - nineBean.setCumulative_power_vehicle(powerVehicleCumulativeNineJt.getText()); - bean.setNineBean(nineBean); - /** - * 获取附件三 - */ - threeBean.setTotalAddDiagnosed(totalAddDiagnosedJt.getText()); - threeBean.setTotalAddHeal(totalAddHealJt.getText()); - threeBean.setTotalAddSuspected(totalAddSuspectedJt.getText()); - threeBean.setTotalExistingDiagnosed(totalExistingDiagnosedJt.getText()); - threeBean.setTotalExistingHeal(totalExistingHealJt.getText()); - threeBean.setTotalExistingSuspected(totalExistingSuspectedJt.getText()); - - threeBean.setDispatchAddDiagnosed(dispatchAddDiagnosedJt.getText()); - threeBean.setDispatchAddHeal(dispatchAddHealJt.getText()); - threeBean.setDispatchAddSuspected(dispatchAddSuspectedJt.getText()); - threeBean.setDispatchExistingDiagnosed(dispatchExistingDiagnosedJt.getText()); - threeBean.setDispatchExistingHeal(dispatchExistingHealJt.getText()); - threeBean.setDispatchExistingSuspected(dispatchExistingSuspectedJt.getText()); - - threeBean.setRepairAddDiagnosed(repairAddDiagnosedJt.getText()); - threeBean.setRepairAddHeal(repairAddHealJt.getText()); - threeBean.setRepairAddSuspected(repairAddSuspectedJt.getText()); - threeBean.setRepairExistingDiagnosed(repairExistingDiagnosedJt.getText()); - threeBean.setRepairExistingHeal(repairExistingHealJt.getText()); - threeBean.setRepairExistingSuspected(repairExistingSuspectedJt.getText()); - - threeBean.setMarketingAddDiagnosed(marketingAddDiagnosedJt.getText()); - threeBean.setMarketingAddHeal(marketingAddHealJt.getText()); - threeBean.setMarketingAddSuspected(marketingAddSuspectedJt.getText()); - threeBean.setMarketingExistingDiagnosed(marketingExistingDiagnosedJt.getText()); - threeBean.setMarketingExistingHeal(marketingExistingHealJt.getText()); - threeBean.setMarketingExistingSuspected(marketingExistingSuspectedJt.getText()); - - threeBean.setConstructionAddDiagnosed(constructionAddDiagnosedJt.getText()); - threeBean.setConstructionAddHeal(constructionAddHealJt.getText()); - threeBean.setConstructionAddSuspected(constructionAddSuspectedJt.getText()); - threeBean.setConstructionExistingDiagnosed(constructionExistingDiagnosedJt.getText()); - threeBean.setConstructionExistingHeal(constructionExistingHealJt.getText()); - threeBean.setConstructionExistingSuspected(constructionExistingSuspectedJt.getText()); - bean.setThreeBean(threeBean); - - fiveBean.setAirportPort(airportPortJt.getText()); - fiveBean.setVenueHospital(venueHospitalJt.getText()); - fiveBean.setGuesthouseHotel(guesthouseHotelJt.getText()); - fiveBean.setSafeguardPersonnel(safeguardPersonnelJt.getText()); - fiveBean.setElectricallyGuaranteedVehicles(electricallyGuaranteedVehiclesJt.getText()); - fiveBean.setPowerGenerationVehicles(powerGenerationVehiclesJt.getText()); - fiveBean.setDynamo(dynamoJt.getText()); - if(!fiveRemarkJt.getText().contains("请输入")){ - fiveBean.setRemark(fiveRemarkJt.getText()); - }else{ - fiveBean.setRemark(""); - } - bean.setFiveBean(fiveBean); - - tenBean.setUhv(tenUhvJt.getText()); - tenBean.setFiveHundredKv(tenFiveHundredKvJt.getText()); - tenBean.setTwoHundredTwentyKv(tenTwoHundredTwentyKvJt.getText()); - tenBean.setOneHundredTenKv(tenOneHundredTenKvJt.getText()); - tenBean.setThirtyFiveKv(tenThirtyFiveKvJt.getText()); - tenBean.setTenKv(tenTenKvJt.getText()); - tenBean.setAverageWaterLevel(tenAverageWaterLevelJt.getText()); - tenBean.setMeasuredValue(tenMeasuredValueJt.getText()); - tenBean.setDesignValues(tenDesignValuesJt.getText()); - tenBean.setActionHasBeenTaken(tenActionHasBeenTakenJt.getText()); - bean.setTenBean(tenBean); - - elevenBean.setUhv(elevenUhvJt.getText()); - elevenBean.setFiveHundredKv(elevenFiveHundredKvJt.getText()); - elevenBean.setTwoHundredTwentyKv(elevenTwoHundredTwentyKvJt.getText()); - elevenBean.setOneHundredTenKv(elevenOneHundredTenKvJt.getText()); - elevenBean.setThirtyFiveKv(elevenThirtyFiveKvJt.getText()); - elevenBean.setTenKv(elevenTenKvJt.getText()); - elevenBean.setAverageWaterLevel(elevenAverageWaterLevelJt.getText()); - elevenBean.setMeasuredValue(elevenMeasuredValueJt.getText()); - elevenBean.setActionHasBeenTaken(elevenActionHasBeenTakenJt.getText()); - bean.setElevenBean(elevenBean); - - twelveBean.setUhv(twelveUhvJt.getText()); - twelveBean.setFiveHundredKv(twelveFiveHundredKvJt.getText()); - twelveBean.setTwoHundredTwentyKv(twelveTwoHundredTwentyKvJt.getText()); - twelveBean.setOneHundredTenKv(twelveOneHundredTenKvJt.getText()); - twelveBean.setThirtyFiveKv(twelveThirtyFiveKvJt.getText()); - twelveBean.setTenKv(twelveTenKvJt.getText()); - twelveBean.setAverageWaterLevel(twelveAverageWaterLevelJt.getText()); - twelveBean.setMeasuredValue(twelveMeasuredValueJt.getText()); - twelveBean.setDesignValues(twelveDesignValuesJt.getText()); - twelveBean.setActionHasBeenTaken(twelveActionHasBeenTakenJt.getText()); - bean.setTwelveBean(twelveBean); - - thirteenBean.setUhv(thirteenUhvJt.getText()); - thirteenBean.setFiveHundredKv(thirteenFiveHundredKvJt.getText()); - thirteenBean.setTwoHundredTwentyKv(thirteenTwoHundredTwentyKvJt.getText()); - thirteenBean.setOneHundredTenKv(thirteenOneHundredTenKvJt.getText()); - thirteenBean.setThirtyFiveKv(thirteenThirtyFiveKvJt.getText()); - thirteenBean.setTenKv(thirteenTenKvJt.getText()); - thirteenBean.setAverageWaterLevel(thirteenAverageWaterLevelJt.getText()); - thirteenBean.setMeasuredValue(thirteenMeasuredValueJt.getText()); - thirteenBean.setDesignValues(thirteenDesignValuesJt.getText()); - thirteenBean.setActionHasBeenTaken(thirteenActionHasBeenTakenJt.getText()); - bean.setThirteenBean(thirteenBean); - - fourteenBean.setUhv(fourteenUhvJt.getText()); - fourteenBean.setFiveHundredKv(fourteenFiveHundredKvJt.getText()); - fourteenBean.setTwoHundredTwentyKv(fourteenTwoHundredTwentyKvJt.getText()); - fourteenBean.setOneHundredTenKv(fourteenOneHundredTenKvJt.getText()); - fourteenBean.setThirtyFiveKv(fourteenThirtyFiveKvJt.getText()); - fourteenBean.setTenKv(fourteenTenKvJt.getText()); - fourteenBean.setAverageWaterLevel(fourteenAverageWaterLevelJt.getText()); - fourteenBean.setMeasuredValue(fourteenMeasuredValueJt.getText()); - fourteenBean.setDesignValues(fourteenDesignValuesJt.getText()); - fourteenBean.setActionHasBeenTaken(fourteenActionHasBeenTakenJt.getText()); - bean.setFourteenBean(fourteenBean); - return bean; - } - - private void insertData(DailyBean bean) { - String path = DataConfig.filePath+"\\" + type + ".xml"; - String xml = null; - XStream xstream = new XStream(new JettisonMappedXmlDriver()); - xstream.setMode(XStream.NO_REFERENCES); - xstream.alias(type, DailyBean.class); - try { - xml = xstream.toXML(bean); - // 将XML字符串写入文件,并指定字符编码为UTF-8 - FileOutputStream fos = new FileOutputStream(path); - OutputStreamWriter writer = new OutputStreamWriter(fos, "GBK"); - writer.write(xml); - writer.close(); - System.out.println("文件保存成功"); - } catch (IOException e) { - throw new RuntimeException(e); - } - if(new File(path).exists()){ - JOptionPane.showMessageDialog(jp,"日报保存成功!","提示",1); - System.exit(0); - } - } - - - - public List getAllField(){ - List list = new ArrayList(); - list.add(overallJt.getText() + ""); - list.add(importantMattersJt.getText() + ""); - list.add(safetyProductionJt.getText() + ""); - list.add(personnelDailyWorkJt.getText() + ""); - list.add(powerGuaranteeTodayWorkJt.getText() + ""); - list.add(powerGuaranteeTomorrowWorkJt.getText() + ""); - list.add(powerGuaranteeTodayPestilenceJt.getText() + ""); - list.add(warningCompanyJt.getText() + ""); - list.add(warningCompanyImpatientJt.getText() + ""); - list.add(warningSocietyEmergencyJt.getText() + ""); - list.add(otherSituationsJt.getText() + ""); - list.add(exercisePersonNumJt.getText() + ""); - list.add(exerciseVehicleNumJt.getText() + ""); - list.add(exercisePowerVehicleNumJt.getText() + ""); - list.add(exerciseDynamoNumJt.getText() + ""); - list.add(exerciseFindProblemsJt.getText() + ""); - list.add(verificationPersonNumJt.getText() + ""); - list.add(verificationTeamNumJt.getText() + ""); - list.add(verificationEquipNumJt.getText() + ""); - list.add(verificationMaterialNumJt.getText() + ""); - list.add(verificationVehicleNumJt.getText() + ""); - list.add(verificationFindProblemsJt.getText() + ""); - list.add(designatedHospitalsJt.getText() + ""); - list.add(feverClinicJt.getText() + ""); - list.add(epidemicEnterpriseJt.getText() + ""); - list.add(otherImportantUsersJt.getText() + ""); - list.add(customerPowerPersonnelJt.getText() + ""); - list.add(powerDevopsPersonnelJt.getText() + ""); - list.add(electricallyVehiclesJt.getText() + ""); - list.add(emergencyPowerVehiclesJt.getText() + ""); - list.add(emergencyGeneratorJt.getText() + ""); - list.add(leadersCommandStaffJt.getText() + ""); - list.add(inputAmountPersonJt.getText() + ""); - list.add(inputAmountVehicleJt.getText() + ""); - list.add(inputAmountPowerVehicleJt.getText() + ""); - list.add(inputAmountDynamoJt.getText() + ""); - return list; - } - - /** - * 检查数据是否填充完全 - * @param list - * @return - */ - public Boolean checkEmpty(List list){ - for(int i = 0;i < list.size();i++){ - if(!StringHelper.isEmptyAndNull(list.get(i))){ - continue; - }else{ - return false; - } - } - return true; - } - - @Override - public void mousePressed(MouseEvent e) { - - } - - @Override - public void mouseReleased(MouseEvent e) { - - } - - @Override - public void mouseEntered(MouseEvent e) { - - } - - @Override - public void mouseExited(MouseEvent e) { - } - - public JPanel view() { - return jp; - } - - class Placeholder implements FocusListener { - private JTextArea textArea; - private String placeholder; - - public Placeholder(JTextArea textArea, String placeholder) { - this.textArea = textArea; - this.placeholder = placeholder; - textArea.setText(placeholder); - textArea.setForeground(Color.GRAY); - textArea.addFocusListener(this); - } - - @Override - public void focusGained(FocusEvent e) { - if (textArea.getText().equals(placeholder)) { - textArea.setText(""); - textArea.setForeground(Color.BLACK); - } - } - - @Override - public void focusLost(FocusEvent e) { - if (textArea.getText().isEmpty()) { - textArea.setText(placeholder); - textArea.setForeground(Color.GRAY); - } - } - } - -}