From abe4ef0db9625e767424ae2d2201f7a99b3260ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E9=A3=8E?= <2452618307@qq.com>
Date: Tue, 7 May 2024 16:59:33 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/.gitignore | 8 +
.idea/artifacts/autoWebForDangShan_jar.xml | 43 +
.idea/compiler.xml | 16 +
.idea/dangshan.iml | 50 +
.idea/google-java-format.xml | 6 +
.idea/jarRepositories.xml | 20 +
.idea/libraries/Maven__c3p0_c3p0_0_9_1_1.xml | 13 +
.../Maven__cn_hutool_hutool_all_4_6_6.xml | 13 +
..._com_google_code_findbugs_jsr305_1_3_9.xml | 13 +
...Maven__com_google_code_gson_gson_2_2_4.xml | 13 +
...rorprone_error_prone_annotations_2_1_3.xml | 13 +
...Maven__com_google_guava_guava_25_0_jre.xml | 13 +
...m_google_j2objc_j2objc_annotations_1_1.xml | 13 +
.../Maven__com_hynnet_jacob_1_18.xml | 13 +
...en__com_squareup_okhttp3_okhttp_3_11_0.xml | 13 +
.../Maven__com_squareup_okio_okio_1_14_0.xml | 13 +
...com_thoughtworks_xstream_xstream_1_4_9.xml | 13 +
...ommons_logging_commons_logging_api_1_1.xml | 13 +
.idea/libraries/Maven__log4j_log4j_1_2_17.xml | 13 +
...Maven__net_bytebuddy_byte_buddy_1_8_15.xml | 13 +
...n__org_apache_commons_commons_exec_1_3.xml | 13 +
...kerframework_checker_compat_qual_2_0_0.xml | 13 +
...__org_codehaus_jettison_jettison_1_3_7.xml | 13 +
...s_mojo_animal_sniffer_annotations_1_14.xml | 13 +
...aven__org_projectlombok_lombok_1_18_26.xml | 13 +
...ven__org_quartz_scheduler_quartz_2_2_1.xml | 13 +
...eniumhq_selenium_selenium_api_3_141_59.xml | 13 +
...lenium_selenium_chrome_driver_3_141_59.xml | 13 +
...selenium_selenium_edge_driver_3_141_59.xml | 13 +
...enium_selenium_firefox_driver_3_141_59.xml | 13 +
...q_selenium_selenium_ie_driver_3_141_59.xml | 13 +
...niumhq_selenium_selenium_java_3_141_59.xml | 13 +
...elenium_selenium_opera_driver_3_141_59.xml | 13 +
...lenium_selenium_remote_driver_3_141_59.xml | 13 +
...lenium_selenium_safari_driver_3_141_59.xml | 13 +
...mhq_selenium_selenium_support_3_141_59.xml | 13 +
.../Maven__org_slf4j_slf4j_api_1_7_26.xml | 13 +
.../Maven__org_slf4j_slf4j_log4j12_1_7_26.xml | 13 +
.../libraries/Maven__stax_stax_api_1_0_1.xml | 13 +
.../Maven__xmlpull_xmlpull_1_1_3_1.xml | 13 +
.../libraries/Maven__xpp3_xpp3_min_1_1_4c.xml | 13 +
.idea/misc.xml | 21 +
.idea/modules.xml | 8 +
.../0547c944dd90cf00982b4fb3eb0556f2f8abb86b | 18 +
.../0f8376f8ae30c5707b3b5c037bb2089149b526c6 | 38 +
.../19bc0cc492594f6a7c4be52bc3efd084adad28e4 | 2 +
.../1ba4c9f55e66c885c2156cf74e52319009f5be38 | 0
.../23582c6a26e981c5f443df7bf245933c8b02490b | 8 +
.../3047c2aabcba0e439d8af8696bad80469efb205f | 2 +
.../31c17805c9d13a1339ace9ed1068c12f857aa1eb | 32 +
.../39287f3d46b1f002aadb61cb4c324e4607f0124f | 8 +
.../5ccdfe79e922dbcd195a8a1689d153a908c53a29 | 14 +
.../63ef5783cbf71fdf39c1fd6ae6873fd812259930 | 0
.../731a49a08fac4a9e369fe96d818124a3d140329d | 2 +
.../73bef5df54f8fa481e59c361e60f3c4cdeb0e49a | 14 +
.../73c2eb8d4ef9221312ca2303ec67062f089f672a | 2 +
.../78be8ad6ce86f703230c85ec63bb71d753f3a9a5 | 32 +
.../8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834 | 7 +
.../9629df9747667de29db65a435f8e5f7103a215d5 | 8 +
.../b1bf504b55b65365aff762fd8127da19f382d918 | 2 +
.../b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54 | 0
.../ba27a18602bfe12f2800dc8838765f19d0b50183 | 11 +
.../c66eed0f458e90b2d2a4bfd823cdd8eee84389b8 | 12 +
.../c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc | 81 ++
.../dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba | 2 +
.../e13bc568c464952e3b0d020e1250b5eb622ee77f | 2 +
.../e6c33fc8310144e4ae2ccadc8fc4500dc4db707d | 2 +
.idea/sonarlint/issuestore/index.pb | 49 +
.../0547c944dd90cf00982b4fb3eb0556f2f8abb86b | 0
.../0f8376f8ae30c5707b3b5c037bb2089149b526c6 | 0
.../19bc0cc492594f6a7c4be52bc3efd084adad28e4 | 0
.../1ba4c9f55e66c885c2156cf74e52319009f5be38 | 0
.../23582c6a26e981c5f443df7bf245933c8b02490b | 0
.../3047c2aabcba0e439d8af8696bad80469efb205f | 0
.../31c17805c9d13a1339ace9ed1068c12f857aa1eb | 0
.../39287f3d46b1f002aadb61cb4c324e4607f0124f | 0
.../5ccdfe79e922dbcd195a8a1689d153a908c53a29 | 0
.../63ef5783cbf71fdf39c1fd6ae6873fd812259930 | 0
.../731a49a08fac4a9e369fe96d818124a3d140329d | 0
.../73bef5df54f8fa481e59c361e60f3c4cdeb0e49a | 0
.../73c2eb8d4ef9221312ca2303ec67062f089f672a | 0
.../78be8ad6ce86f703230c85ec63bb71d753f3a9a5 | 0
.../8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834 | 0
.../9629df9747667de29db65a435f8e5f7103a215d5 | 0
.../b1bf504b55b65365aff762fd8127da19f382d918 | 0
.../b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54 | 0
.../ba27a18602bfe12f2800dc8838765f19d0b50183 | 0
.../c66eed0f458e90b2d2a4bfd823cdd8eee84389b8 | 0
.../c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc | 0
.../dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba | 0
.../e13bc568c464952e3b0d020e1250b5eb622ee77f | 0
.../e6c33fc8310144e4ae2ccadc8fc4500dc4db707d | 0
.idea/sonarlint/securityhotspotstore/index.pb | 49 +
.idea/vcs.xml | 6 +
pom.xml | 5 +
.../java/com/bonus/autoweb/DateTimeUtils.java | 44 +-
.../java/com/bonus/autoweb/GetBasicData.java | 202 ++-
src/main/java/com/bonus/autoweb/TestMain.java | 207 ++-
.../bonus/autoweb/UI/entity/WeatherData.java | 117 ++
.../bonus/autoweb/UI/frame/StringHelper.java | 2 +-
.../java/com/bonus/autoweb/base/AutoMain.java | 15 +-
.../com/bonus/autoweb/base/DataConfig.java | 6 +-
.../bonus/autoweb/base/DutyDailyCheck.java | 3 +-
.../com/bonus/autoweb/base/DutyDailyOp.java | 1266 ++++++++++-------
.../com/bonus/autoweb/base/DutyLogIOp.java | 62 +-
105 files changed, 2226 insertions(+), 733 deletions(-)
create mode 100644 .idea/.gitignore
create mode 100644 .idea/artifacts/autoWebForDangShan_jar.xml
create mode 100644 .idea/compiler.xml
create mode 100644 .idea/dangshan.iml
create mode 100644 .idea/google-java-format.xml
create mode 100644 .idea/jarRepositories.xml
create mode 100644 .idea/libraries/Maven__c3p0_c3p0_0_9_1_1.xml
create mode 100644 .idea/libraries/Maven__cn_hutool_hutool_all_4_6_6.xml
create mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml
create mode 100644 .idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml
create mode 100644 .idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml
create mode 100644 .idea/libraries/Maven__com_google_guava_guava_25_0_jre.xml
create mode 100644 .idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml
create mode 100644 .idea/libraries/Maven__com_hynnet_jacob_1_18.xml
create mode 100644 .idea/libraries/Maven__com_squareup_okhttp3_okhttp_3_11_0.xml
create mode 100644 .idea/libraries/Maven__com_squareup_okio_okio_1_14_0.xml
create mode 100644 .idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml
create mode 100644 .idea/libraries/Maven__commons_logging_commons_logging_api_1_1.xml
create mode 100644 .idea/libraries/Maven__log4j_log4j_1_2_17.xml
create mode 100644 .idea/libraries/Maven__net_bytebuddy_byte_buddy_1_8_15.xml
create mode 100644 .idea/libraries/Maven__org_apache_commons_commons_exec_1_3.xml
create mode 100644 .idea/libraries/Maven__org_checkerframework_checker_compat_qual_2_0_0.xml
create mode 100644 .idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml
create mode 100644 .idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml
create mode 100644 .idea/libraries/Maven__org_projectlombok_lombok_1_18_26.xml
create mode 100644 .idea/libraries/Maven__org_quartz_scheduler_quartz_2_2_1.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml
create mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_api_1_7_26.xml
create mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_26.xml
create mode 100644 .idea/libraries/Maven__stax_stax_api_1_0_1.xml
create mode 100644 .idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml
create mode 100644 .idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/sonarlint/issuestore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b
create mode 100644 .idea/sonarlint/issuestore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6
create mode 100644 .idea/sonarlint/issuestore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4
create mode 100644 .idea/sonarlint/issuestore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38
create mode 100644 .idea/sonarlint/issuestore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b
create mode 100644 .idea/sonarlint/issuestore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f
create mode 100644 .idea/sonarlint/issuestore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb
create mode 100644 .idea/sonarlint/issuestore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f
create mode 100644 .idea/sonarlint/issuestore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29
create mode 100644 .idea/sonarlint/issuestore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930
create mode 100644 .idea/sonarlint/issuestore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d
create mode 100644 .idea/sonarlint/issuestore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
create mode 100644 .idea/sonarlint/issuestore/7/3/73c2eb8d4ef9221312ca2303ec67062f089f672a
create mode 100644 .idea/sonarlint/issuestore/7/8/78be8ad6ce86f703230c85ec63bb71d753f3a9a5
create mode 100644 .idea/sonarlint/issuestore/8/d/8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834
create mode 100644 .idea/sonarlint/issuestore/9/6/9629df9747667de29db65a435f8e5f7103a215d5
create mode 100644 .idea/sonarlint/issuestore/b/1/b1bf504b55b65365aff762fd8127da19f382d918
create mode 100644 .idea/sonarlint/issuestore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
create mode 100644 .idea/sonarlint/issuestore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183
create mode 100644 .idea/sonarlint/issuestore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
create mode 100644 .idea/sonarlint/issuestore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
create mode 100644 .idea/sonarlint/issuestore/d/f/dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
create mode 100644 .idea/sonarlint/issuestore/e/1/e13bc568c464952e3b0d020e1250b5eb622ee77f
create mode 100644 .idea/sonarlint/issuestore/e/6/e6c33fc8310144e4ae2ccadc8fc4500dc4db707d
create mode 100644 .idea/sonarlint/issuestore/index.pb
create mode 100644 .idea/sonarlint/securityhotspotstore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b
create mode 100644 .idea/sonarlint/securityhotspotstore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6
create mode 100644 .idea/sonarlint/securityhotspotstore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4
create mode 100644 .idea/sonarlint/securityhotspotstore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38
create mode 100644 .idea/sonarlint/securityhotspotstore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b
create mode 100644 .idea/sonarlint/securityhotspotstore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f
create mode 100644 .idea/sonarlint/securityhotspotstore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb
create mode 100644 .idea/sonarlint/securityhotspotstore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f
create mode 100644 .idea/sonarlint/securityhotspotstore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29
create mode 100644 .idea/sonarlint/securityhotspotstore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930
create mode 100644 .idea/sonarlint/securityhotspotstore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d
create mode 100644 .idea/sonarlint/securityhotspotstore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
create mode 100644 .idea/sonarlint/securityhotspotstore/7/3/73c2eb8d4ef9221312ca2303ec67062f089f672a
create mode 100644 .idea/sonarlint/securityhotspotstore/7/8/78be8ad6ce86f703230c85ec63bb71d753f3a9a5
create mode 100644 .idea/sonarlint/securityhotspotstore/8/d/8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834
create mode 100644 .idea/sonarlint/securityhotspotstore/9/6/9629df9747667de29db65a435f8e5f7103a215d5
create mode 100644 .idea/sonarlint/securityhotspotstore/b/1/b1bf504b55b65365aff762fd8127da19f382d918
create mode 100644 .idea/sonarlint/securityhotspotstore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
create mode 100644 .idea/sonarlint/securityhotspotstore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183
create mode 100644 .idea/sonarlint/securityhotspotstore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
create mode 100644 .idea/sonarlint/securityhotspotstore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
create mode 100644 .idea/sonarlint/securityhotspotstore/d/f/dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
create mode 100644 .idea/sonarlint/securityhotspotstore/e/1/e13bc568c464952e3b0d020e1250b5eb622ee77f
create mode 100644 .idea/sonarlint/securityhotspotstore/e/6/e6c33fc8310144e4ae2ccadc8fc4500dc4db707d
create mode 100644 .idea/sonarlint/securityhotspotstore/index.pb
create mode 100644 .idea/vcs.xml
create mode 100644 src/main/java/com/bonus/autoweb/UI/entity/WeatherData.java
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/artifacts/autoWebForDangShan_jar.xml b/.idea/artifacts/autoWebForDangShan_jar.xml
new file mode 100644
index 0000000..2eec21f
--- /dev/null
+++ b/.idea/artifacts/autoWebForDangShan_jar.xml
@@ -0,0 +1,43 @@
+
+
+ $PROJECT_DIR$/out/artifacts/autoWebForDangShan_jar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..d21002f
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/dangshan.iml b/.idea/dangshan.iml
new file mode 100644
index 0000000..374b7b0
--- /dev/null
+++ b/.idea/dangshan.iml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/google-java-format.xml b/.idea/google-java-format.xml
new file mode 100644
index 0000000..2aa056d
--- /dev/null
+++ b/.idea/google-java-format.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..712ab9d
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__c3p0_c3p0_0_9_1_1.xml b/.idea/libraries/Maven__c3p0_c3p0_0_9_1_1.xml
new file mode 100644
index 0000000..dde215b
--- /dev/null
+++ b/.idea/libraries/Maven__c3p0_c3p0_0_9_1_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__cn_hutool_hutool_all_4_6_6.xml b/.idea/libraries/Maven__cn_hutool_hutool_all_4_6_6.xml
new file mode 100644
index 0000000..706b054
--- /dev/null
+++ b/.idea/libraries/Maven__cn_hutool_hutool_all_4_6_6.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml
new file mode 100644
index 0000000..0e66824
--- /dev/null
+++ b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml b/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml
new file mode 100644
index 0000000..4533c1b
--- /dev/null
+++ b/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml b/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml
new file mode 100644
index 0000000..2343a7f
--- /dev/null
+++ b/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_google_guava_guava_25_0_jre.xml b/.idea/libraries/Maven__com_google_guava_guava_25_0_jre.xml
new file mode 100644
index 0000000..7de6f07
--- /dev/null
+++ b/.idea/libraries/Maven__com_google_guava_guava_25_0_jre.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml b/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml
new file mode 100644
index 0000000..c06f999
--- /dev/null
+++ b/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_hynnet_jacob_1_18.xml b/.idea/libraries/Maven__com_hynnet_jacob_1_18.xml
new file mode 100644
index 0000000..1362ca2
--- /dev/null
+++ b/.idea/libraries/Maven__com_hynnet_jacob_1_18.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_squareup_okhttp3_okhttp_3_11_0.xml b/.idea/libraries/Maven__com_squareup_okhttp3_okhttp_3_11_0.xml
new file mode 100644
index 0000000..0917a5b
--- /dev/null
+++ b/.idea/libraries/Maven__com_squareup_okhttp3_okhttp_3_11_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_squareup_okio_okio_1_14_0.xml b/.idea/libraries/Maven__com_squareup_okio_okio_1_14_0.xml
new file mode 100644
index 0000000..eb4535d
--- /dev/null
+++ b/.idea/libraries/Maven__com_squareup_okio_okio_1_14_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml b/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml
new file mode 100644
index 0000000..1922b11
--- /dev/null
+++ b/.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__commons_logging_commons_logging_api_1_1.xml b/.idea/libraries/Maven__commons_logging_commons_logging_api_1_1.xml
new file mode 100644
index 0000000..4b0a151
--- /dev/null
+++ b/.idea/libraries/Maven__commons_logging_commons_logging_api_1_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__log4j_log4j_1_2_17.xml b/.idea/libraries/Maven__log4j_log4j_1_2_17.xml
new file mode 100644
index 0000000..e383c1b
--- /dev/null
+++ b/.idea/libraries/Maven__log4j_log4j_1_2_17.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_8_15.xml b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_8_15.xml
new file mode 100644
index 0000000..c7e234c
--- /dev/null
+++ b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_8_15.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_apache_commons_commons_exec_1_3.xml b/.idea/libraries/Maven__org_apache_commons_commons_exec_1_3.xml
new file mode 100644
index 0000000..e064a82
--- /dev/null
+++ b/.idea/libraries/Maven__org_apache_commons_commons_exec_1_3.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_checkerframework_checker_compat_qual_2_0_0.xml b/.idea/libraries/Maven__org_checkerframework_checker_compat_qual_2_0_0.xml
new file mode 100644
index 0000000..29defe6
--- /dev/null
+++ b/.idea/libraries/Maven__org_checkerframework_checker_compat_qual_2_0_0.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml b/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml
new file mode 100644
index 0000000..ca43e29
--- /dev/null
+++ b/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml b/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml
new file mode 100644
index 0000000..1af11e4
--- /dev/null
+++ b/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_projectlombok_lombok_1_18_26.xml b/.idea/libraries/Maven__org_projectlombok_lombok_1_18_26.xml
new file mode 100644
index 0000000..76fa15b
--- /dev/null
+++ b/.idea/libraries/Maven__org_projectlombok_lombok_1_18_26.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_quartz_scheduler_quartz_2_2_1.xml b/.idea/libraries/Maven__org_quartz_scheduler_quartz_2_2_1.xml
new file mode 100644
index 0000000..4d3fd76
--- /dev/null
+++ b/.idea/libraries/Maven__org_quartz_scheduler_quartz_2_2_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml
new file mode 100644
index 0000000..ea95118
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml
new file mode 100644
index 0000000..aa7b6cb
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml
new file mode 100644
index 0000000..ecf2da2
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml
new file mode 100644
index 0000000..17f9a7c
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml
new file mode 100644
index 0000000..c4c9445
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml
new file mode 100644
index 0000000..bd12142
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml
new file mode 100644
index 0000000..e3736ac
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml
new file mode 100644
index 0000000..b040848
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml
new file mode 100644
index 0000000..d7bd138
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml
new file mode 100644
index 0000000..20ef3da
--- /dev/null
+++ b/.idea/libraries/Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_26.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_26.xml
new file mode 100644
index 0000000..6545f77
--- /dev/null
+++ b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_26.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_26.xml b/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_26.xml
new file mode 100644
index 0000000..3437ce2
--- /dev/null
+++ b/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_26.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__stax_stax_api_1_0_1.xml b/.idea/libraries/Maven__stax_stax_api_1_0_1.xml
new file mode 100644
index 0000000..0b13335
--- /dev/null
+++ b/.idea/libraries/Maven__stax_stax_api_1_0_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml b/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml
new file mode 100644
index 0000000..0f2d9ef
--- /dev/null
+++ b/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml b/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml
new file mode 100644
index 0000000..6726a2d
--- /dev/null
+++ b/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..42f8a47
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..95db119
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b b/.idea/sonarlint/issuestore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b
new file mode 100644
index 0000000..6a4238c
--- /dev/null
+++ b/.idea/sonarlint/issuestore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b
@@ -0,0 +1,18 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+~ java:S116"dRename this field "add_blackout_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+w java:S116"bRename this field "add_repair_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ՠ
+ java:S116"eRename this field "add_no_repair_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"kRename this field "cumulative_blackout_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(×
+~ java:S116"iRename this field "cumulative_repair_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"lRename this field "cumulative_no_repair_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+v java:S116"\Rename this field "add_blackout_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɘ
+t java:S116"ZRename this field "add_repair_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+r java:S116"]Rename this field "add_no_repair_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+} java:S116 "cRename this field "cumulative_blackout_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɤ
+{ java:S116!"aRename this field "cumulative_repair_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+~ java:S116""dRename this field "cumulative_no_repair_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ݳ
+s java:S116("^Rename this field "add_power_personnel" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+v java:S116)"\Rename this field "add_power_vehicle" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116+"eRename this field "cumulative_power_personnel" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+} java:S116,"cRename this field "cumulative_power_vehicle" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6 b/.idea/sonarlint/issuestore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6
new file mode 100644
index 0000000..1cb9c93
--- /dev/null
+++ b/.idea/sonarlint/issuestore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6
@@ -0,0 +1,38 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+ java:S116"nRename this field "transmit_electricity_add_outage_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ۣ
+ java:S116"nRename this field "transmit_electricity_add_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"qRename this field "transmit_electricity_add_no_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(љ
+ java:S116"uRename this field "transmit_electricity_cumulative_outage_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"uRename this field "transmit_electricity_cumulative_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ք
+ java:S116"xRename this field "transmit_electricity_cumulative_no_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ƺ
+ java:S116"oRename this field "transmit_electricity_add_outage_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"oRename this field "transmit_electricity_add_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(驑
+ java:S116"rRename this field "transmit_electricity_add_no_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"vRename this field "transmit_electricity_cumulative_outage_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(՞
+ java:S116 "vRename this field "transmit_electricity_cumulative_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(H
+ java:S116!"yRename this field "transmit_electricity_cumulative_no_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116&"nRename this field "transmit_electricity_add_outage_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116'"nRename this field "transmit_electricity_add_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116("qRename this field "transmit_electricity_add_no_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116*"uRename this field "transmit_electricity_cumulative_outage_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116+"uRename this field "transmit_electricity_cumulative_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɵ
+ java:S116,"xRename this field "transmit_electricity_cumulative_no_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S1161"nRename this field "transmit_electricity_add_outage_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S1162"nRename this field "transmit_electricity_add_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ͱ
+ java:S1163"qRename this field "transmit_electricity_add_no_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S1165"uRename this field "transmit_electricity_cumulative_outage_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ۖ
+ java:S1166"uRename this field "transmit_electricity_cumulative_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ɍ
+ java:S1167"xRename this field "transmit_electricity_cumulative_no_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116<"pRename this field "transmit_electricity_add_outage_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116="pRename this field "transmit_electricity_add_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ͨ
+ java:S116>"sRename this field "transmit_electricity_add_no_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116@"wRename this field "transmit_electricity_cumulative_outage_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116A"wRename this field "transmit_electricity_cumulative_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116B"zRename this field "transmit_electricity_cumulative_no_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ś
+ java:S116G"nRename this field "transmit_electricity_add_outage_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(뜓
+ java:S116H"nRename this field "transmit_electricity_add_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(䤗
+ java:S116I"qRename this field "transmit_electricity_add_no_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116K"uRename this field "transmit_electricity_cumulative_outage_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ϯ
+ java:S116L"uRename this field "transmit_electricity_cumulative_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116M"xRename this field "transmit_electricity_cumulative_no_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4 b/.idea/sonarlint/issuestore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4
new file mode 100644
index 0000000..1cea05a
--- /dev/null
+++ b/.idea/sonarlint/issuestore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4
@@ -0,0 +1,2 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38 b/.idea/sonarlint/issuestore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b b/.idea/sonarlint/issuestore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b
new file mode 100644
index 0000000..2fe5c95
--- /dev/null
+++ b/.idea/sonarlint/issuestore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b
@@ -0,0 +1,8 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+| java:S116"bRename this field "verification_person_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+z java:S116"`Rename this field "verification_team_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+u java:S116"aRename this field "verification_equip_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Q
+x java:S116#"dRename this field "verification_material_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(X
+x java:S116)"cRename this field "verification_vehicle_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɿ
+y java:S116."eRename this field "verification_find_problems" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f b/.idea/sonarlint/issuestore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f
new file mode 100644
index 0000000..db4c2d9
--- /dev/null
+++ b/.idea/sonarlint/issuestore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f
@@ -0,0 +1,2 @@
+
+o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb b/.idea/sonarlint/issuestore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb
new file mode 100644
index 0000000..a0d006d
--- /dev/null
+++ b/.idea/sonarlint/issuestore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb
@@ -0,0 +1,32 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+ java:S116"jRename this field "power_substation_add_outage_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"jRename this field "power_substation_add_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"mRename this field "power_substation_add_no_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ﮢ
+ java:S116"qRename this field "power_substation_cumulative_outage_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"qRename this field "power_substation_cumulative_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(滧
+ java:S116"tRename this field "power_substation_cumulative_no_repair_uvh" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"kRename this field "power_substation_add_outage_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(s
+ java:S116"kRename this field "power_substation_add_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"nRename this field "power_substation_add_no_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116"rRename this field "power_substation_cumulative_outage_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116 "rRename this field "power_substation_cumulative_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ԭ
+ java:S116!"uRename this field "power_substation_cumulative_no_repair_five" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116&"jRename this field "power_substation_add_outage_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(츼
+~ java:S116'"jRename this field "power_substation_add_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116("mRename this field "power_substation_add_no_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116*"qRename this field "power_substation_cumulative_outage_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116+"qRename this field "power_substation_cumulative_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ν!
+ java:S116,"tRename this field "power_substation_cumulative_no_repair_two" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S1161"jRename this field "power_substation_add_outage_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(բ
+ java:S1162"jRename this field "power_substation_add_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ō
+ java:S1163"mRename this field "power_substation_add_no_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S1165"qRename this field "power_substation_cumulative_outage_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ꑕ
+ java:S1166"qRename this field "power_substation_cumulative_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ŗ
+ java:S1167"tRename this field "power_substation_cumulative_no_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116<"lRename this field "power_substation_add_outage_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ȏ
+ java:S116="lRename this field "power_substation_add_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116>"oRename this field "power_substation_add_no_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ұ
+ java:S116@"sRename this field "power_substation_cumulative_outage_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ӝ
+ java:S116A"sRename this field "power_substation_cumulative_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+ java:S116B"vRename this field "power_substation_cumulative_no_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f b/.idea/sonarlint/issuestore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f
new file mode 100644
index 0000000..dc4c29d
--- /dev/null
+++ b/.idea/sonarlint/issuestore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f
@@ -0,0 +1,8 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+o java:S116"[Rename this field "exercise_content" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(L
+s java:S116"^Rename this field "exercise_person_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+t java:S116"_Rename this field "exercise_vehicle_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+z java:S116%"eRename this field "exercise_power_vehicle_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+s java:S116+"^Rename this field "exercise_dynamo_num" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+v java:S1160"aRename this field "exercise_find_problems" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29 b/.idea/sonarlint/issuestore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29
new file mode 100644
index 0000000..a04740e
--- /dev/null
+++ b/.idea/sonarlint/issuestore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29
@@ -0,0 +1,14 @@
+
+g
+java:S2095("LUse try-with-resources or close this "BufferedReader" in a "finally" clause.(
+b
+java:S2095"LUse try-with-resources or close this "BufferedWriter" in a "finally" clause.(
+i
+java:S2095"NUse try-with-resources or close this "FileOutputStream" in a "finally" clause.(
+U
+java:S1118":Add a private constructor to hide the implicit public one.(ߗ
+O
+java:S4719"9Replace charset name argument with StandardCharsets.UTF_8(힛
+S java:S106"9Replace this use of System.out or System.err by a logger.(
+N java:S106"9Replace this use of System.out or System.err by a logger.(ӎ
+S java:S106/"9Replace this use of System.out or System.err by a logger.(ɜ
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930 b/.idea/sonarlint/issuestore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d b/.idea/sonarlint/issuestore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d
new file mode 100644
index 0000000..1cea05a
--- /dev/null
+++ b/.idea/sonarlint/issuestore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d
@@ -0,0 +1,2 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a b/.idea/sonarlint/issuestore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
new file mode 100644
index 0000000..0cbfb1e
--- /dev/null
+++ b/.idea/sonarlint/issuestore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
@@ -0,0 +1,14 @@
+
+\
+java:S2184"FCast one of the operands of this multiplication operation to a "long".(
+\
+java:S2184C"FCast one of the operands of this multiplication operation to a "long".(
+a
+java:S2184F"FCast one of the operands of this multiplication operation to a "long".(
+Q java:S125)"
+java:S1604!"(Make this anonymous inner class a lambda(ȓ
+C
+java:S1604-"(Make this anonymous inner class a lambda(٩
+=
+java:S16049"(Make this anonymous inner class a lambda(搒2
+o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/b/1/b1bf504b55b65365aff762fd8127da19f382d918 b/.idea/sonarlint/issuestore/b/1/b1bf504b55b65365aff762fd8127da19f382d918
new file mode 100644
index 0000000..1cea05a
--- /dev/null
+++ b/.idea/sonarlint/issuestore/b/1/b1bf504b55b65365aff762fd8127da19f382d918
@@ -0,0 +1,2 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54 b/.idea/sonarlint/issuestore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/issuestore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183 b/.idea/sonarlint/issuestore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183
new file mode 100644
index 0000000..a9f2f34
--- /dev/null
+++ b/.idea/sonarlint/issuestore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183
@@ -0,0 +1,11 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+y java:S116"_Rename this field "designated_hospitals" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+q java:S116"WRename this field "fever_clinic" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ǥ
+x java:S116"^Rename this field "epidemic_enterprise" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(â
+z java:S116"`Rename this field "other_important_users" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+x java:S116$"cRename this field "customer_power_personnel" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+{ java:S116)"aRename this field "power_devops_personnel" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ۤ
+t java:S116."`Rename this field "electrically_vehicles" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.($
+} java:S1163"cRename this field "emergency_power_vehicles" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ܠ
+r java:S1168"^Rename this field "emergency_generator" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(o
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8 b/.idea/sonarlint/issuestore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
new file mode 100644
index 0000000..7ad95ac
--- /dev/null
+++ b/.idea/sonarlint/issuestore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
@@ -0,0 +1,12 @@
+
+t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+q java:S116"\Rename this field "important_matters" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ЍƔ
+q java:S116"\Rename this field "safety_production" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+y java:S116"_Rename this field "personnel_daily_work" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(մ
+ java:S116$"eRename this field "power_guarantee_today_work" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+} java:S116*"hRename this field "power_guarantee_tomorrow_work" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ݤ
+ java:S1160"kRename this field "power_guarantee_today_pestilence" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ٹ
+o java:S1166"ZRename this field "warning_company" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+~ java:S116<"dRename this field "warning_company_impatient" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+~ java:S116B"dRename this field "warning_society_emergency" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(߶
+u java:S116G"[Rename this field "other_situations" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
\ No newline at end of file
diff --git a/.idea/sonarlint/issuestore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc b/.idea/sonarlint/issuestore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
new file mode 100644
index 0000000..e4f5bb8
--- /dev/null
+++ b/.idea/sonarlint/issuestore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
@@ -0,0 +1,81 @@
+
+a java:S112"FDefine and throw a dedicated exception instead of using a generic one.(҂
+u
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(
+e
+java:S1192F"JDefine a constant instead of duplicating this literal "\\log.xml" 4 times.(
+D
+java:S5411"(Use a primitive boolean expression here.(
+1
+java:S1700"Rename field "placeholder"(ڼ
+o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(
+
+java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(
+
+java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(
+
+java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(ք
+
+java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(
+c
+java:S1659"MDeclare "lowTemperatureJt" and all following declarations on a separate line.(ݗ
+j
+java:S1659!"ODeclare "powerWorkContentJt" and all following declarations on a separate line.(Ɇ
+u
+java:S1149N"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".(҉
+S java:S106V"9Replace this use of System.out or System.err by a logger.(
+H
+java:S1135X"2Complete the task associated to this TODO comment.(ż
+\
+java:S1854"@Remove this useless assignment to local variable "placeholder0".(
+W
+java:S1854"@Remove this useless assignment to local variable "placeholder1".(
+W
+java:S1854"@Remove this useless assignment to local variable "placeholder2".(
+\
+java:S1854"@Remove this useless assignment to local variable "placeholder3".(
+W
+java:S1854"@Remove this useless assignment to local variable "placeholder4".(
+\
+java:S1854"@Remove this useless assignment to local variable "placeholder5".(
+W
+java:S1854"@Remove this useless assignment to local variable "placeholder6".(Ї
+\
+java:S1854"@Remove this useless assignment to local variable "placeholder7".(
+R java:S125"src/main/java/com/bonus/autoweb/UI/entity/AnnexElevenBean.java,d\f\dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
+l
+src/main/java/com/bonus/autoweb/UI/entity/AnnexTwelveBean.java,1\9\19bc0cc492594f6a7c4be52bc3efd084adad28e4
+k
+;src/main/java/com/bonus/autoweb/UI/entity/AnnexTwoBean.java,2\3\23582c6a26e981c5f443df7bf245933c8b02490b
+h
+8src/main/java/com/bonus/autoweb/UI/entity/DailyBean.java,c\6\c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
+d
+4src/main/java/com/bonus/autoweb/UI/frame/Jframe.java,9\6\9629df9747667de29db65a435f8e5f7103a215d5
+g
+7src/main/java/com/bonus/autoweb/UI/frame/LogAction.java,c\8\c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
+m
+=src/main/java/com/bonus/autoweb/UI/frame/MyFocusListener.java,3\0\3047c2aabcba0e439d8af8696bad80469efb205f
+R
+"src/main/java/META-INF/MANIFEST.MF,6\3\63ef5783cbf71fdf39c1fd6ae6873fd812259930
+W
+'src/main/serverRes/META-INF/MANIFEST.MF,b\4\b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
+S
+#src/main/uiRes/META-INF/MANIFEST.MF,1\b\1ba4c9f55e66c885c2156cf74e52319009f5be38
\ No newline at end of file
diff --git a/.idea/sonarlint/securityhotspotstore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b b/.idea/sonarlint/securityhotspotstore/0/5/0547c944dd90cf00982b4fb3eb0556f2f8abb86b
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6 b/.idea/sonarlint/securityhotspotstore/0/f/0f8376f8ae30c5707b3b5c037bb2089149b526c6
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4 b/.idea/sonarlint/securityhotspotstore/1/9/19bc0cc492594f6a7c4be52bc3efd084adad28e4
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38 b/.idea/sonarlint/securityhotspotstore/1/b/1ba4c9f55e66c885c2156cf74e52319009f5be38
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b b/.idea/sonarlint/securityhotspotstore/2/3/23582c6a26e981c5f443df7bf245933c8b02490b
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f b/.idea/sonarlint/securityhotspotstore/3/0/3047c2aabcba0e439d8af8696bad80469efb205f
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb b/.idea/sonarlint/securityhotspotstore/3/1/31c17805c9d13a1339ace9ed1068c12f857aa1eb
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f b/.idea/sonarlint/securityhotspotstore/3/9/39287f3d46b1f002aadb61cb4c324e4607f0124f
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29 b/.idea/sonarlint/securityhotspotstore/5/c/5ccdfe79e922dbcd195a8a1689d153a908c53a29
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930 b/.idea/sonarlint/securityhotspotstore/6/3/63ef5783cbf71fdf39c1fd6ae6873fd812259930
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d b/.idea/sonarlint/securityhotspotstore/7/3/731a49a08fac4a9e369fe96d818124a3d140329d
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a b/.idea/sonarlint/securityhotspotstore/7/3/73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/7/3/73c2eb8d4ef9221312ca2303ec67062f089f672a b/.idea/sonarlint/securityhotspotstore/7/3/73c2eb8d4ef9221312ca2303ec67062f089f672a
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/7/8/78be8ad6ce86f703230c85ec63bb71d753f3a9a5 b/.idea/sonarlint/securityhotspotstore/7/8/78be8ad6ce86f703230c85ec63bb71d753f3a9a5
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/8/d/8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834 b/.idea/sonarlint/securityhotspotstore/8/d/8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/9/6/9629df9747667de29db65a435f8e5f7103a215d5 b/.idea/sonarlint/securityhotspotstore/9/6/9629df9747667de29db65a435f8e5f7103a215d5
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/b/1/b1bf504b55b65365aff762fd8127da19f382d918 b/.idea/sonarlint/securityhotspotstore/b/1/b1bf504b55b65365aff762fd8127da19f382d918
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54 b/.idea/sonarlint/securityhotspotstore/b/4/b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183 b/.idea/sonarlint/securityhotspotstore/b/a/ba27a18602bfe12f2800dc8838765f19d0b50183
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8 b/.idea/sonarlint/securityhotspotstore/c/6/c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc b/.idea/sonarlint/securityhotspotstore/c/8/c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/d/f/dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba b/.idea/sonarlint/securityhotspotstore/d/f/dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/e/1/e13bc568c464952e3b0d020e1250b5eb622ee77f b/.idea/sonarlint/securityhotspotstore/e/1/e13bc568c464952e3b0d020e1250b5eb622ee77f
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/e/6/e6c33fc8310144e4ae2ccadc8fc4500dc4db707d b/.idea/sonarlint/securityhotspotstore/e/6/e6c33fc8310144e4ae2ccadc8fc4500dc4db707d
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb
new file mode 100644
index 0000000..720ffb2
--- /dev/null
+++ b/.idea/sonarlint/securityhotspotstore/index.pb
@@ -0,0 +1,49 @@
+
+m
+=src/main/java/com/bonus/autoweb/UI/frame/MyFocusListener.java,3\0\3047c2aabcba0e439d8af8696bad80469efb205f
+g
+7src/main/java/com/bonus/autoweb/UI/frame/LogAction.java,c\8\c86c6a1ecad5b8edc9eee9c1e7ad96e6007bf7bc
+d
+4src/main/java/com/bonus/autoweb/UI/frame/Jframe.java,9\6\9629df9747667de29db65a435f8e5f7103a215d5
+p
+@src/main/java/com/bonus/autoweb/UI/entity/AnnexThirteenBean.java,b\1\b1bf504b55b65365aff762fd8127da19f382d918
+p
+@src/main/java/com/bonus/autoweb/UI/entity/AnnexFourteenBean.java,7\3\731a49a08fac4a9e369fe96d818124a3d140329d
+n
+>src/main/java/com/bonus/autoweb/UI/entity/AnnexTwelveBean.java,1\9\19bc0cc492594f6a7c4be52bc3efd084adad28e4
+n
+>src/main/java/com/bonus/autoweb/UI/entity/AnnexElevenBean.java,d\f\dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
+m
+=src/main/java/com/bonus/autoweb/UI/entity/AnnexThreeBean.java,7\3\73c2eb8d4ef9221312ca2303ec67062f089f672a
+m
+=src/main/java/com/bonus/autoweb/UI/entity/AnnexSevenBean.java,3\1\31c17805c9d13a1339ace9ed1068c12f857aa1eb
+m
+=src/main/java/com/bonus/autoweb/UI/entity/AnnexEightBean.java,0\f\0f8376f8ae30c5707b3b5c037bb2089149b526c6
+l
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index e984032..5c56d6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,11 @@
slf4j-api
1.7.26
+
+ cn.hutool
+ hutool-all
+ 4.6.6
+
org.slf4j
diff --git a/src/main/java/com/bonus/autoweb/DateTimeUtils.java b/src/main/java/com/bonus/autoweb/DateTimeUtils.java
index 355d205..f28ceb5 100644
--- a/src/main/java/com/bonus/autoweb/DateTimeUtils.java
+++ b/src/main/java/com/bonus/autoweb/DateTimeUtils.java
@@ -1,5 +1,7 @@
package com.bonus.autoweb;
+import com.bonus.autoweb.base.DataConfig;
+
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
@@ -113,47 +115,7 @@ public class DateTimeUtils {
}
public static void main(String[] args) throws ParseException {
-// System.out.println(getMMDDByNow());
- //获取一个随机数据集合
- List list = getARandomCollectionOfData();
- for (int i = 0; i < list.size(); i++) {
- String type = "";
- String company = "";
- if (i < 2){
- type = "通信测试";
- }else {
- type = "日常操练";
- }
- switch(String.valueOf(list.get(i))){
- case "1":
- company = "宿州";
- break;
- case "2":
- company = "埇桥";
- break;
- case "3":
- company = "砀山";
- break;
- case "4":
- company = "萧县";
- break;
- case "5":
- company = "灵璧";
- break;
- case "6":
- company = "城郊";
- break;
- case "7":
- company = "泗县";
- break;
- default:
- break;
- }
- System.out.println(type);
- System.out.println(company);
- System.out.println(i+1);
- System.out.println("-------------------");
- }
+ System.out.println(DataConfig.weatherUrl);
}
public static String getCurrentDay2(){
Date date=new Date();
diff --git a/src/main/java/com/bonus/autoweb/GetBasicData.java b/src/main/java/com/bonus/autoweb/GetBasicData.java
index 9ea1460..dc0dae6 100644
--- a/src/main/java/com/bonus/autoweb/GetBasicData.java
+++ b/src/main/java/com/bonus/autoweb/GetBasicData.java
@@ -1,10 +1,17 @@
package com.bonus.autoweb;
+import cn.hutool.http.HttpRequest;
+import cn.hutool.http.HttpUtil;
import com.bonus.autoweb.UI.entity.DailyBean;
import com.bonus.autoweb.UI.entity.LogBean;
+import com.bonus.autoweb.UI.entity.WeatherData;
import com.bonus.autoweb.base.DataConfig;
+import com.google.gson.Gson;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;
+import okhttp3.OkHttpClient;
+import okhttp3.Request;
+import okhttp3.Response;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
@@ -12,6 +19,8 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.*;
+import java.net.HttpURLConnection;
+import java.net.URL;
import java.nio.charset.Charset;
import java.text.ParseException;
import java.text.SimpleDateFormat;
@@ -19,6 +28,7 @@ import java.util.Date;
import java.util.HashSet;
import java.util.Random;
import java.util.Set;
+import java.util.concurrent.TimeUnit;
/**
* 项目名称: autoWebForSuZhou
@@ -325,12 +335,12 @@ public class GetBasicData {
SimpleDateFormat outputFormat = new SimpleDateFormat("MM月dd日");
// if (tf) {
- code = "砀山供电公司发布" + weatherEle.getText() + "预警1项,(" + outputFormat.format(date) + "-" + outputFormat.format(date1) + "发布"+weatherEle.getText()+"),";
+ code = "砀山供电公司发布" + weatherEle.getText() + "预警1项,(" + outputFormat.format(date) + "-" + outputFormat.format(date1) + "发布" + weatherEle.getText() + "),";
// } else {/
// code = "砀山县未发布预警,";
// }
}
- if ("砀山县未发布预警".equals(code)){
+ if (code.indexOf("砀山县未发布预警") != -1) {
code_child = "";
code_chlid2 = "";
}
@@ -360,31 +370,33 @@ public class GetBasicData {
}
- logBean.setEvent_detection_content(data + logContentArrayArray[3].trim() + (classes == 1 ? data3 +"08:00," :
- data2 + "17:30,") + logContentArrayArray[4].trim() + code + "对系统检测图层中气象实况风速、温度、降雨进行查看、对专题灾害图层地震、台风防汛进行查看均正常,未对砀山辖区造成影响。通过首页公共气象图层检查砀山境内公共预警正常;降雨预报、预警正常;雷达预报正常。");
- logBean.setWarning_disposal_title(code.substring(0,code.length() - 1));
- logBean.setWarning_disposal_content(data+code+code_child+logContentArrayArray[18]+code_chlid2);
+ logBean.setEvent_detection_content(data + logContentArrayArray[3].trim() + (classes == 1 ? data3 + "08:00," :
+ data2 + "17:30,") + logContentArrayArray[4].trim() + code + "对系统检测图层中气象实况风速、温度、降雨进行查看、对专题灾害图层地震、台风防汛进行查看均正常,未对砀山辖区造成影响。通过首页公共气象图层检查砀山境内公共预警正常;降雨预报、预警正常;雷达预报正常。");
+ logBean.setWarning_disposal_title(code.substring(0, code.length() - 1));
+ logBean.setWarning_disposal_content(data + code + code_child + logContentArrayArray[18] + code_chlid2);
logBean.setGeneral_chronicles_content(logBean.getGeneral_chronicles_content());
insertData(null, logBean, "log");
log.info("天气预警日志更新完成");
- dailyBean.setWarning_company(data+code + dailyContentArrayArray[28]+code_chlid2);
+ dailyBean.setWarning_company(data + code + dailyContentArrayArray[28] + code_chlid2);
//一、总体情况
- dailyBean.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3+"08:00," : data2+"17:30" +
+ dailyBean.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3 + "08:00," : data2 + "17:30" +
",") + dailyContentArrayArray[3].trim() + code + "对系统检测图层中气象实况风速、温度、降雨进行查看、对专题灾害图层地震、台风防汛进行查看均正常,未对砀山辖区造成影响。通过首页公共气象图层检查砀山境内公共预警正常;降雨预报、预警正常;雷达预报正常。");
dailyBean.setPersonnel_daily_work(dailyBean.getPersonnel_daily_work());
// +("0".equals(numClasses.getText()) ? "" :"针对此次预警,今日砀山供电公司开展预警响应,对重要保电线路、变电站进行特巡,安排抢修队伍、绑定应急车辆、装备,抢修队长,通过i国网反馈巡视照片、视频,在新一代系统里均形成巡视记录、车辆队伍轨迹,未发现问题")
- dailyBean2.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3+"08:00," : data2+"17:30" +
+ dailyBean2.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3 + "08:00," : data2 + "17:30" +
",") + dailyContentArrayArray[3].trim() + code + "对系统检测图层中气象实况风速、温度、降雨进行查看、对专题灾害图层地震、台风防汛进行查看均正常,未对砀山辖区造成影响。通过首页公共气象图层检查砀山境内公共预警正常;降雨预报、预警正常;雷达预报正常。");
dailyBean2.setPersonnel_daily_work(dailyBean2.getPersonnel_daily_work());
- dailyBean2.setWarning_company(data+code + dailyContentArrayArray[28]+code_chlid2);
+ dailyBean2.setWarning_company(data + code + dailyContentArrayArray[28] + code_chlid2);
insertData(dailyBean, null, "morning_daily");
insertData(dailyBean2, null, "evening_daily");
log.info("日志内容:" + readDutyBean());
log.info("天气预警日报更新完成");
}
- public void getCaoLianBasicData(int classes) throws InterruptedException, ParseException {
+ Random random = new Random();
+
+ public void getCaoLianBasicData(int classes) throws InterruptedException, ParseException, IOException {
Thread.sleep(5000);
DailyBean dailyBean = readDailyBean("morning_daily");
DailyBean dailyBean2 = readDailyBean("evening_daily");
@@ -393,13 +405,58 @@ public class GetBasicData {
String checkContent = resolveGarbledCode("E:\\bns\\config\\七个公司资源核查情况.txt");
String checkNumContent = resolveGarbledCode("E:\\bns\\config\\七个公司核查数量.txt");
String logContent = resolveGarbledCode("E:\\bns\\config\\日志基本信息.txt");
+ String videoContent = resolveGarbledCode("E:\\bns\\config\\变电站名称.txt");
+ String lineContent = resolveGarbledCode("E:\\bns\\config\\线路名称.txt");
// String useContent = resolveGarbledCode("E:\\bns\\config\\七家公司两天记录.txt");
String[] dailyContentArrayArray = dailyContent.split("--头部不可修改--");
String[] logContentArrayArray = logContent.split("--头部不可修改--");
+ String[] videoContentArrayArray = videoContent.split("--头部不可修改--");
+ String[] lineContentArrayArray = lineContent.split("--头部不可修改--");
String[] checkContentArrayArray = checkContent.split("资源核查情况:");
String[] checkContentNumArrayArray = checkNumContent.split("装备数量:");
+
+// log.info("------开始获取企业停电的天气数据");
+// log.info("------url:" + DataConfig.weatherUrl);
+// HttpRequest request = HttpUtil.createGet(DataConfig.weatherUrl);
+// String result = request.execute().body();
+// //空
+// log.info("------result:" + result);
+// Gson gson = new Gson();
+// WeatherData weatherData = gson.fromJson(result, WeatherData.class);
+// WeatherData.WeatherDataChild weatherDataChild = weatherData.getData();
+// log.info("------weatherDataChild:" + weatherDataChild);
+// String city = weatherDataChild.getCity();
+// String weatherNoon = weatherDataChild.getWeatherNoon();
+// String weatherNight = weatherDataChild.getWeatherNight();
+// String minTemperature = weatherDataChild.getMinTemperature();
+// String maxTemperature = weatherDataChild.getMaxTemperature();
+// log.info("city:"+city);
+// log.info("weatherNoon:"+weatherNoon);
+// log.info("weatherNight:"+weatherNight);
+// log.info("minTemperature:"+minTemperature);
+// log.info("maxTemperature:"+maxTemperature);
+// logBean.setWeather(weatherNoon);
+// logBean.setMax_temperature(maxTemperature);
+// logBean.setMin_temperature(minTemperature);
// String[] useLogArr = useContent.split("记录:");
// log.info("读取本地模板数据成功");
+ String videoContentStr = "";
+ String lineContentStr = "";
+
+ Set numberSet = new HashSet<>();
+ while (numberSet.size() < 2) {
+ int randomNumber = random.nextInt(22) + 1; // Generate random number between 1 and 35
+ numberSet.add(randomNumber);
+ videoContentStr += videoContentArrayArray[randomNumber] + "、";
+ }
+ videoContentStr = videoContentStr.substring(0, videoContentStr.length() - 1);
+ Set lineNumberSet = new HashSet<>();
+ while (lineNumberSet.size() < 2) {
+ int randomNumber = random.nextInt(35) + 1; // Generate random number between 1 and 35
+ lineNumberSet.add(randomNumber);
+ lineContentStr += lineContentArrayArray[randomNumber] + "、";
+ }
+ lineContentStr = lineContentStr.substring(0, lineContentStr.length() - 1);
//昨天的日期
String data1 = DateTimeUtils.getLastDay();
// log.info("昨天的日期:" + data1);
@@ -538,6 +595,52 @@ public class GetBasicData {
// }
dailyExercisesName = "今日砀山县公司本部对所属3家中心供电所进行日常操练";
String type = "";
+
+
+ OkHttpClient client = new OkHttpClient().newBuilder()
+ .connectTimeout(180, TimeUnit.SECONDS)
+ .readTimeout(180, TimeUnit.SECONDS)
+ .writeTimeout(180, TimeUnit.SECONDS)
+ .build();
+
+ String dataUrl = DataConfig.weatherUrl;
+ log.info("dataUrl:" + dataUrl);
+ Request request = new Request.Builder()
+ .url(dataUrl)
+ .get()
+ .build();
+ Response response;
+ String result;
+ String city;
+ String weatherNoon;
+ String weatherNight;
+ String minTemperature;
+ String maxTemperature;
+ try {
+ response = client.newCall(request).execute();
+ log.info("response:" + response);
+ result = response.body().string();
+ log.info("result:" + result);
+ Gson gson = new Gson();
+ WeatherData weatherData = gson.fromJson(result, WeatherData.class);
+ log.info("------weatherData:" + weatherData);
+ WeatherData.WeatherDataChild weatherDataChild = weatherData.getData();
+ log.info("------weatherDataChild:" + weatherDataChild);
+ city = weatherDataChild.getCity();
+ log.info("city:" + city);
+ weatherNoon = weatherDataChild.getWeatherNoon();
+ log.info("weatherNoon:" + weatherNoon);
+ weatherNight = weatherDataChild.getWeatherNight();
+ log.info("weatherNight:" + weatherNight);
+ minTemperature = weatherDataChild.getMinTemperature();
+ log.info("minTemperature:" + minTemperature);
+ maxTemperature = weatherDataChild.getMaxTemperature();
+ log.info("maxTemperature:" + maxTemperature);
+ } catch (IOException e) {
+ throw new IOException("天气get请求失败", e);
+ }
+
+
if (classes == 1) {
type = "morning_daily";
//早报
@@ -555,15 +658,14 @@ public class GetBasicData {
//二、重要事项
dailyBean.setImportant_matters(data + dailyContentArrayArray[5].trim());
- Random random = new Random();
//随机-1 到 1 直接的两位小数
double randomNum = Math.random() * 2 - 1;
- double numRandom = (double)Math.round(randomNum * 100) / 100;
+ double numRandom = (double) Math.round(randomNum * 100) / 100;
//三、安全生产情况
- dailyBean.setSafety_production(data + dailyContentArrayArray[7].trim().split("--")[0]+(String.format("%.2f",Double.parseDouble(dailyContentArrayArray[7].trim().split("--")[1])+numRandom))+dailyContentArrayArray[7].trim().split("--")[2]);
+ dailyBean.setSafety_production(data + dailyContentArrayArray[7].trim().split("--")[0] + (String.format("%.2f", Double.parseDouble(dailyContentArrayArray[7].trim().split("--")[1]) + numRandom)) + dailyContentArrayArray[7].trim().split("--")[2]);
//四、值班员日常工作情况
dailyBean.setPersonnel_daily_work(data + dailyContentArrayArray[10].trim() + "(4)资源核查情况:20:00至21:00" + checkContentArrayArray[num].trim()
- + dailyContentArrayArray[11].trim() + communicationTestName + dailyContentArrayArray[13].trim() + dailyContentArrayArray[14].trim() + dailyExercisesName + dailyContentArrayArray[16].trim() + dailyContentArrayArray[18].trim());
+ + dailyContentArrayArray[11].trim() + communicationTestName + dailyContentArrayArray[13].trim() + dailyContentArrayArray[14].trim() + dailyExercisesName + dailyContentArrayArray[16].trim() + "砀山公司对" + videoContentStr + "视频监控进行检查,未发现问题,对" + lineContentStr + "线路视频进行检查,视频接入正常。");
//五、供电保障情况
//(一)今日重大活动保电情况
dailyBean.setPower_guarantee_today_work(dailyContentArrayArray[21]);
@@ -594,6 +696,11 @@ public class GetBasicData {
dailyBean.getTwoBean().setVerification_equip_num(checkContentNumArrayArray[num].split("-")[2]);
insertData(dailyBean, null, type);
+
+ logBean.setWeather(weatherNight);
+ logBean.setMax_temperature(maxTemperature);
+ logBean.setMin_temperature(minTemperature);
+
// logBean.setEvent_detection_title(logContentArrayArray[2].trim());
logBean.setEvent_detection_content(data + logContentArrayArray[3].trim() + data2 + logContentArrayArray[4].trim());
logBean.setPower_work_title(logContentArrayArray[6]);
@@ -601,9 +708,9 @@ public class GetBasicData {
logBean.setResource_check_title(logContentArrayArray[9]);
logBean.setResource_check_content(data + checkContentArrayArray[num]);
logBean.setCommunications_test_title("今日开展通信测试1项,均正常");
- logBean.setCommunications_test_content(communicationTestName +";"+ logContentArrayArray[11]);
+ logBean.setCommunications_test_content(communicationTestName + ";" + logContentArrayArray[11]);
logBean.setDaily_operation_title("今日开展日常操练1次");
- logBean.setDaily_operation_content(dailyExercisesName +";"+ logContentArrayArray[13]);
+ logBean.setDaily_operation_content(dailyExercisesName + ";" + logContentArrayArray[13]);
logBean.setDaily_submission_title(logContentArrayArray[15]);
logBean.setDaily_submission_content(data + logContentArrayArray[16]);
logBean.setGeneral_chronicles_title(logContentArrayArray[20]);
@@ -633,11 +740,11 @@ public class GetBasicData {
Random random = new Random();
//随机-1 到 1 直接的两位小数
double randomNum = Math.random() * 2 - 1;
- double numRandom = (double)Math.round(randomNum * 100) / 100;
+ double numRandom = (double) Math.round(randomNum * 100) / 100;
//四、值班员日常工作情况
dailyBean2.setPersonnel_daily_work(data + dailyContentArrayArray[9].trim() + "(4)资源核查情况:10:00至12:00," + checkContentArrayArray[num].trim()
- + dailyContentArrayArray[11].trim() + communicationTestName + dailyContentArrayArray[13].trim() + dailyContentArrayArray[14].trim() + dailyExercisesName + dailyContentArrayArray[16].trim() + "16:00至18:00" + dailyContentArrayArray[18].trim());
+ + dailyContentArrayArray[11].trim() + communicationTestName + dailyContentArrayArray[13].trim() + dailyContentArrayArray[14].trim() + dailyExercisesName + dailyContentArrayArray[16].trim() + "16:00至18:00" + "砀山公司对" + videoContentStr + "视频监控进行检查,未发现问题,对" + lineContentStr + "线路视频进行检查,视频接入正常。");
//五、供电保障情况
//(一)今日重大活动保电情况
dailyBean2.setPower_guarantee_today_work(dailyContentArrayArray[21]);
@@ -666,8 +773,13 @@ public class GetBasicData {
dailyBean2.getTwoBean().setVerification_team_num("1");
dailyBean2.getTwoBean().setVerification_equip_num(checkContentNumArrayArray[num].split("-")[2]);
//三、安全生产情况
- dailyBean2.setSafety_production(data + dailyContentArrayArray[7].trim().split("--")[0]+(String.format("%.2f",Double.parseDouble(dailyContentArrayArray[7].trim().split("--")[1])+numRandom))+dailyContentArrayArray[7].trim().split("--")[2]);
+ dailyBean2.setSafety_production(data + dailyContentArrayArray[7].trim().split("--")[0] + (String.format("%.2f", Double.parseDouble(dailyContentArrayArray[7].trim().split("--")[1]) + numRandom)) + dailyContentArrayArray[7].trim().split("--")[2]);
insertData(dailyBean2, null, type);
+
+ logBean.setWeather(weatherNight);
+ logBean.setMax_temperature(maxTemperature);
+ logBean.setMin_temperature(minTemperature);
+
logBean.setEvent_detection_title(logContentArrayArray[2].trim());
// logBean.setEvent_detection_content(data + logContentArrayArray[3].trim()+ data2 + logContentArrayArray[4].trim());
logBean.setPower_work_title(logContentArrayArray[6]);
@@ -675,9 +787,9 @@ public class GetBasicData {
logBean.setResource_check_title(logContentArrayArray[9]);
logBean.setResource_check_content(data + checkContentArrayArray[num]);
logBean.setCommunications_test_title("今日开展通信测试1项,均正常");
- logBean.setCommunications_test_content(communicationTestName +";"+ logContentArrayArray[11]);
+ logBean.setCommunications_test_content(communicationTestName + ";" + logContentArrayArray[11]);
logBean.setDaily_operation_title("今日开展日常操练1次");
- logBean.setDaily_operation_content(dailyExercisesName +";"+logContentArrayArray[13]);
+ logBean.setDaily_operation_content(dailyExercisesName + ";" + logContentArrayArray[13]);
logBean.setDaily_submission_title(logContentArrayArray[15]);
logBean.setDaily_submission_content(data + logContentArrayArray[16]);
logBean.setGeneral_chronicles_title(logContentArrayArray[20]);
@@ -780,7 +892,7 @@ public class GetBasicData {
public static void main(String[] args) throws ParseException, InterruptedException {
// getCaoLianBasicData(2);
- System.out.println(getRandom(0,11));
+// System.out.println(getRandom(0,11));
// DailyBean dailyBean = readDailyBean("morning_daily");
// DailyBean dailyBean2 = readDailyBean("evening_daily");
// LogBean logBean = readDutyBean();
@@ -858,7 +970,8 @@ public class GetBasicData {
// AutoUtils.write("E:\\bns\\config\\七家公司两天记录.txt", useLogArr[1] + "记录:" + useLogArr[2] + "记录:" + 0);
}
- String[] powerSupplyStations = {"关帝庙中心供电所","城北中心供电所","玄庙中心供电所","周寨中心供电所","城郊中心供电所","官庄中心供电所","李庄中心供电所","葛集中心供电所","唐寨中心供电所","赵屯中心供电所","朱楼中心供电所","砀城客服中心供电所",};
+ String[] powerSupplyStations = {"关帝庙中心供电所", "城北中心供电所", "玄庙中心供电所", "周寨中心供电所", "城郊中心供电所", "官庄中心供电所", "李庄中心供电所", "葛集中心供电所", "唐寨中心供电所", "赵屯中心供电所", "朱楼中心供电所", "砀城客服中心供电所",};
+
private String getDailyName(String text) {
String name = "";
switch (text) {
@@ -947,10 +1060,10 @@ public class GetBasicData {
Thread.sleep(1500);
//填写项目评价
String appraise = "";
- if("日常操练".equals(type)){
+ if ("日常操练".equals(type)) {
webDriver.findElement(By.xpath("/html/body/div/section/main/header/div/div[1]/div/div/div/div[4]")).click();
appraise = checkContentArrayArray[3].trim();
- }else{
+ } else {
webDriver.findElement(By.xpath("/html/body/div/section/main/header/div/div[1]/div/div/div/div[3]")).click();
appraise = checkContentArrayArray[4].trim();
}
@@ -1055,22 +1168,24 @@ public class GetBasicData {
//选择被检查对象
webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/section/header/form/div/div[5]/div/div[2]")).click();
Thread.sleep(3000);
- if("通信测试".equals(type)){
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/section/main/div/div[3]/table/tbody" +
- "/tr[1]")).click();
+ if ("通信测试".equals(type)) {
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/main/div[1]/div[3]/table/tbody" +
+ "/tr[1]/td[1]/div/label")).click();
Thread.sleep(500);
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/section/main/div/div[3]/table/tbody" +
- "/tr[2]")).click();
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/main/div[1]/div[3]/table/tbody" +
+ "/tr[2]/td[1]/div/label")).click();
Thread.sleep(1000);
- }else {
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/footer[1]/div/span[2]/div")).click();
- Thread.sleep(1000);
- webDriver.findElement(By.xpath("/html/body/div[8]/div[1]/div[1]/ul/li[2]")).click();
- Thread.sleep(1000);
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/section/header/form/div/section/div" +
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/footer/button[2]")).click();
+ Thread.sleep(2000);
+ } else {
+// webDriver.findElement(By.xpath("/html/body/div[6]/div/div[2]/section/footer[1]/div/span[2]/div")).click();
+// Thread.sleep(1000);
+// webDriver.findElement(By.xpath("/html/body/div[7]/div[1]/div[1]/ul/li[2]")).click();
+// Thread.sleep(1000);
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/header/form/div/section/div" +
"[1]/div/div[2]/div/input")).sendKeys("中心");
Thread.sleep(1000);
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/section/header/form/div/div/div/div" +
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/header/form/div/div/div/div" +
"/button[1]")).click();
Thread.sleep(3000);
int num = getRandom(1, 12);
@@ -1078,17 +1193,18 @@ public class GetBasicData {
Set numberSet = new HashSet<>();
while (numberSet.size() < 3) {
- int randomNumber = random.nextInt(12) + 1;
+ int randomNumber = random.nextInt(5) + 1;
numberSet.add(randomNumber);
}
for (int number : numberSet) {
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/section/main/div/div[3]/table" +
- "/tbody/tr["+number+"]")).click();
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/main/div[1]/div[3]/table" +
+ "/tbody/tr[" + number + "]/td[1]/div/label")).click();
Thread.sleep(1000);
}
+ webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/footer[2]/button[2]")).click();
+ Thread.sleep(2000);
}
- webDriver.findElement(By.xpath("/html/body/div[7]/div/div[2]/section/footer/button[2]")).click();
- Thread.sleep(2000);
+
//提交
webDriver.findElement(By.xpath("/html/body/div[2]/div/div[2]/section/div/button[3]")).click();
Thread.sleep(3000);
diff --git a/src/main/java/com/bonus/autoweb/TestMain.java b/src/main/java/com/bonus/autoweb/TestMain.java
index f8e07e6..00c8fe3 100644
--- a/src/main/java/com/bonus/autoweb/TestMain.java
+++ b/src/main/java/com/bonus/autoweb/TestMain.java
@@ -1,20 +1,27 @@
package com.bonus.autoweb;
+import com.bonus.autoweb.UI.entity.WeatherData;
import com.bonus.autoweb.base.AutoUtils;
import com.bonus.autoweb.base.DataConfig;
import com.bonus.autoweb.task.AutoWebTask;
+import com.google.gson.Gson;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.ComFailException;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
import lombok.SneakyThrows;
+import okhttp3.OkHttpClient;
+import okhttp3.Request;
+import okhttp3.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.sound.sampled.*;
import java.io.File;
+import java.io.IOException;
import java.text.ParseException;
import java.util.*;
+import java.util.concurrent.TimeUnit;
/**
* 系统测试
@@ -29,6 +36,7 @@ public class TestMain {
// testqd();
// testjjb();
// testGetData();
+// testWeather();
// testDailrb();
// start("工作人员请注意,桌号8001顾客正在寻求帮助!!");
// testLog();
@@ -46,6 +54,47 @@ public class TestMain {
}).start();
}
+ private static void testWeather() throws InterruptedException, IOException {
+ OkHttpClient client = new OkHttpClient().newBuilder()
+ .connectTimeout(180, TimeUnit.SECONDS)
+ .readTimeout(180, TimeUnit.SECONDS)
+ .writeTimeout(180, TimeUnit.SECONDS)
+ .build();
+
+ String dataUrl = DataConfig.weatherUrl;
+ log.info("dataUrl:" + dataUrl);
+ Request request = new Request.Builder()
+ .url(dataUrl)
+ .get()
+ .build();
+ Response response;
+ String result;
+ try {
+ response = client.newCall(request).execute();
+ log.info("response:" + response);
+ result = response.body().string();
+ log.info("result:" + result);
+ Gson gson = new Gson();
+ WeatherData weatherData = gson.fromJson(result, WeatherData.class);
+ log.info("------weatherData:" + weatherData);
+ WeatherData.WeatherDataChild weatherDataChild = weatherData.getData();
+ log.info("------weatherDataChild:" + weatherDataChild);
+ String city = weatherDataChild.getCity();
+ log.info("city:"+city);
+ String weatherNoon = weatherDataChild.getWeatherNoon();
+ log.info("weatherNoon:"+weatherNoon);
+ String weatherNight = weatherDataChild.getWeatherNight();
+ log.info("weatherNight:"+weatherNight);
+ String minTemperature = weatherDataChild.getMinTemperature();
+ log.info("minTemperature:"+minTemperature);
+ String maxTemperature = weatherDataChild.getMaxTemperature();
+ log.info("maxTemperature:"+maxTemperature);
+ } catch (IOException e) {
+ throw new IOException("天气get请求失败", e);
+ }
+ }
+
+
//签到签退测试
private static void testqd() {
String content = GetBasicData.resolveGarbledCode("E:\\bns\\config\\account.txt");
@@ -69,11 +118,11 @@ public class TestMain {
private static void testGetData() throws ParseException, InterruptedException {
AutoWebTask autoWebTask = new AutoWebTask();
Thread.sleep(2000);
- autoWebTask.getCaoLianData(1);
+ autoWebTask.getCaoLianData(2);
Thread.sleep(2000);
- autoWebTask.getYuJingData(1);
+ autoWebTask.getYuJingData(2);
Thread.sleep(2000);
- GetBasicData.getYuJingActionBasicData(1);
+ GetBasicData.getYuJingActionBasicData(2);
}
//日报填写测试
@@ -82,35 +131,37 @@ public class TestMain {
//操作日报
//日报审核工作
AutoWebTask autoWebTask = new AutoWebTask();
- autoWebTask.dutyAddDailyLogsTask(2,DataConfig.USER_NAME3,DataConfig.PASS3);
+ autoWebTask.dutyAddDailyLogsTask(1,DataConfig.USER_NAME1,DataConfig.PASS1);
Thread.sleep(1000);
} catch (Exception e) {
e.printStackTrace();
}
}
//日常操练测试
- private void testRCCL() throws InterruptedException {
+ private static void testRCCL() throws InterruptedException {
int addExercisePlan = 0;
try {
- int time = randNum(30, 120);
- log.info("随机时间为:" + time);
- try {
- Thread.sleep(1000 * time);
- } catch (Exception e) {
- log.error("时间", e);
- }
+// int time = randNum(30, 120);
+// log.info("随机时间为:" + time);
+// try {
+// Thread.sleep(1000 * time);
+// } catch (Exception e) {
+// log.error("时间", e);
+// }
AutoWebTask autoWebTask = new AutoWebTask();
- while (true){
- if (DateTimeUtils.isEffectiveDate("09:30", "10:30")){
- Thread.sleep(2000);
- if(addExercisePlan == 0) {
- addExercisePlan = autoWebTask.addExercisePlan("通信测试", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
- Thread.sleep(2000);
- addExercisePlan = autoWebTask.addExercisePlan("日常操练", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
- Thread.sleep(2000);
- }
- }
- }
+ addExercisePlan = autoWebTask.addExercisePlan("日常操练", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+ addExercisePlan = autoWebTask.addExercisePlan("通信测试", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+ // while (true){
+// if (DateTimeUtils.isEffectiveDate("09:30", "10:30")){
+// Thread.sleep(2000);
+// if(addExercisePlan == 0) {
+// addExercisePlan = autoWebTask.addExercisePlan("通信测试", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+// Thread.sleep(2000);
+// addExercisePlan = autoWebTask.addExercisePlan("日常操练", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+// Thread.sleep(2000);
+// }
+// }
+// }
} catch (Exception e) {
e.printStackTrace();
}
@@ -222,7 +273,7 @@ public class TestMain {
String content = GetBasicData.resolveGarbledCode("E:\\bns\\config\\account.txt");
String date = content.toString().split(";")[0].split(":")[1];
String num = content.toString().split(";")[1].split(":")[1];
- if(DateTimeUtils.isEffectiveDate("17:46", "17:59")){
+ if(DateTimeUtils.isEffectiveDate("18:01", "18:15")){
//进行日报信息系统采集及获取工作
try {
if (logGatherCount == 0){
@@ -241,10 +292,10 @@ public class TestMain {
}else if (DateTimeUtils.isEffectiveDate("06:01", "06:30")) {
//进行日志信息系统采集及获取工作
- }else if (DateTimeUtils.isEffectiveDate("06:31", "07:00")) {
+ }else if (DateTimeUtils.isEffectiveDate("06:31", "06:59")) {
//自动完成当值值班日报(早报)填写上报
if (dailyzao == 0) {
- getTime(1100);
+ getTime(1000);
try {
if("1".equals(num)){
dailyzao = autoWebTask.dutyAddDailyLogsTask(1,DataConfig.USER_NAME1,DataConfig.PASS1);
@@ -258,7 +309,7 @@ public class TestMain {
}else if (DateTimeUtils.isEffectiveDate("07:01", "07:30")) {
//完成值班日志填写提交(晚班日志,此次值班日志为总结前一天晚上的情况)
if (logzao == 0) {
- getTime(1100);
+ getTime(1000);
try {
if("1".equals(num)){
logzao = autoWebTask.dutyAddLogsTask(1,DataConfig.USER_NAME1,DataConfig.PASS1);
@@ -332,27 +383,31 @@ public class TestMain {
if (jjbzao == 0 && jjbzao2 == 0){
getTime(800);
}
- //自动在系统内完成接班(上一值完成交班后)
- if (jjbzao == 0 || jjbzao2 == 0){
- if("1".equals(num)){
- if (jjbzao == 0){
- jjbzao = autoWebTask.dutyChangeTask1(1,DataConfig.USER_NAME1,DataConfig.PASS1);
- }
- if (jjbzao2 == 0){
- jjbzao2 = autoWebTask.dutyChangeTask2(1,DataConfig.USER_NAME3,DataConfig.PASS3);
- }
- }else {
- if (jjbzao == 0){
- jjbzao = autoWebTask.dutyChangeTask1(1,DataConfig.USER_NAME3,DataConfig.PASS3);
- }
- if (jjbzao2 == 0){
- jjbzao2 = autoWebTask.dutyChangeTask2(1,DataConfig.USER_NAME1,DataConfig.PASS1);
+ try{
+ //自动在系统内完成接班(上一值完成交班后)
+ if (jjbzao == 0 || jjbzao2 == 0){
+ if("1".equals(num)){
+ if (jjbzao == 0){
+ jjbzao = autoWebTask.dutyChangeTask1(1,DataConfig.USER_NAME1,DataConfig.PASS1);
+ }
+ if (jjbzao2 == 0){
+ jjbzao2 = autoWebTask.dutyChangeTask2(1,DataConfig.USER_NAME3,DataConfig.PASS3);
+ }
+ }else {
+ if (jjbzao == 0){
+ jjbzao = autoWebTask.dutyChangeTask1(1,DataConfig.USER_NAME3,DataConfig.PASS3);
+ }
+ if (jjbzao2 == 0){
+ jjbzao2 = autoWebTask.dutyChangeTask2(1,DataConfig.USER_NAME1,DataConfig.PASS1);
+ }
}
}
+ }catch (Exception e){
+ log.error("交接班",e);
}
}else if (DateTimeUtils.isEffectiveDate("08:15", "08:30")) {
if(signOutzao == 0 || signOutzao2 == 0){
- getTime(700);
+ getTime(500);
}
//自动在系统内完成签退
if ("1".equals(num)){
@@ -400,13 +455,17 @@ public class TestMain {
if(addExercisePlan == 0){
getTime(1200);
}
- if(addExercisePlan == 0) {
- addExercisePlan = autoWebTask.addExercisePlan("通信测试", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
- Thread.sleep(2000);
- addExercisePlan = autoWebTask.addExercisePlan("日常操练", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
- Thread.sleep(2000);
+ try {
+ if(addExercisePlan == 0) {
+ addExercisePlan = autoWebTask.addExercisePlan("通信测试", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+ Thread.sleep(2000);
+ addExercisePlan = autoWebTask.addExercisePlan("日常操练", "", 0, DataConfig.USER_NAME3, DataConfig.PASS3);
+ Thread.sleep(2000);
+ }
+ }catch (Exception e){
+ log.error("日常操练",e);
}
- } else if (DateTimeUtils.isEffectiveDate("12:30", "14:30")) {
+ } else if (DateTimeUtils.isEffectiveDate("12:30", "15:30")) {
//进行日志信息系统采集及获取工作
try {
if (logGatherCount1 == 0){
@@ -421,10 +480,10 @@ public class TestMain {
}catch (Exception e) {
log.error("信息采集工作", e);
}
- }else if (DateTimeUtils.isEffectiveDate("16:51", "17:10")) {
+ }else if (DateTimeUtils.isEffectiveDate("17:01", "17:15")) {
//自动完成当值值班日报(晚报)填写上报
if (dailywan == 0) {
- getTime(700);
+ getTime(600);
try {
if ("1".equals(num)) {
dailywan = autoWebTask.dutyAddDailyLogsTask(2,DataConfig.USER_NAME3,DataConfig.PASS3);
@@ -435,10 +494,10 @@ public class TestMain {
log.error("日报工作", e);
}
}
- }else if (DateTimeUtils.isEffectiveDate("16:10", "16:30")) {
+ }else if (DateTimeUtils.isEffectiveDate("16:46", "17:00")) {
//完成值班日志填写提交(白班日志,此次值班日志为总结前一天晚上的情况)
if (logwan == 0) {
- getTime(800);
+ getTime(600);
try {
if ("1".equals(num)) {
logwan = autoWebTask.dutyAddLogsTask(2,DataConfig.USER_NAME3,DataConfig.PASS3);
@@ -449,7 +508,7 @@ public class TestMain {
log.error("日志工作", e);
}
}
- }else if (DateTimeUtils.isEffectiveDate("16:31", "16:50")) {
+ }else if (DateTimeUtils.isEffectiveDate("16:31", "16:45")) {
//自动完成当值值班签到(值班主任、值班人员都要签到)
if ("error".equals(content)) {
log.error("读取前一天人员数据错误");
@@ -508,29 +567,33 @@ public class TestMain {
}
}
}
- }else if (DateTimeUtils.isEffectiveDate("17:11", "17:30")) {
+ }else if (DateTimeUtils.isEffectiveDate("17:31", "17:45")) {
//自动在系统内完成接班(上一值完成交班后)
if(jjbwan == 0 && jjbwan2 == 0){
- getTime(700);
+ getTime(600);
}
- if (jjbwan == 0 || jjbwan2 == 0){
- if("1".equals(num)){
- if (jjbwan == 0){
- jjbwan = autoWebTask.dutyChangeTask1(2,DataConfig.USER_NAME3,DataConfig.PASS3);
- }
- if (jjbwan2 == 0){
- jjbwan2 = autoWebTask.dutyChangeTask2(2,DataConfig.USER_NAME3,DataConfig.PASS3);
- }
- }else {
- if (jjbwan == 0){
- jjbwan = autoWebTask.dutyChangeTask1(2,DataConfig.USER_NAME1,DataConfig.PASS1);
- }
- if (jjbwan2 == 0){
- jjbwan2 = autoWebTask.dutyChangeTask2(2,DataConfig.USER_NAME1,DataConfig.PASS1);
+ try {
+ if (jjbwan == 0 || jjbwan2 == 0){
+ if("1".equals(num)){
+ if (jjbwan == 0){
+ jjbwan = autoWebTask.dutyChangeTask1(2,DataConfig.USER_NAME3,DataConfig.PASS3);
+ }
+ if (jjbwan2 == 0){
+ jjbwan2 = autoWebTask.dutyChangeTask2(2,DataConfig.USER_NAME3,DataConfig.PASS3);
+ }
+ }else {
+ if (jjbwan == 0){
+ jjbwan = autoWebTask.dutyChangeTask1(2,DataConfig.USER_NAME1,DataConfig.PASS1);
+ }
+ if (jjbwan2 == 0){
+ jjbwan2 = autoWebTask.dutyChangeTask2(2,DataConfig.USER_NAME1,DataConfig.PASS1);
+ }
}
}
+ }catch (Exception e){
+ log.error("交接班",e);
}
- }else if (DateTimeUtils.isEffectiveDate("17:31", "17:45")) {
+ }else if (DateTimeUtils.isEffectiveDate("17:46", "18:00")) {
if (signOutwan == 0 && signOutwan2 == 0){
getTime(500);
}
@@ -576,7 +639,7 @@ public class TestMain {
}
}
}
- }else if (DateTimeUtils.isEffectiveDate("18:00", "18:04")) {
+ }else if (DateTimeUtils.isEffectiveDate("18:20", "18:25")) {
if(resetCode == 0){
log.info("-----开始更新当日打卡人账号及日期-----");
resetCode = AutoUtils.write("E:\\bns\\config\\account.txt","data:"+DateTimeUtils.getCurrentDay()+";num:"+ ("1".equals(num) ? "ok" : "1"));
diff --git a/src/main/java/com/bonus/autoweb/UI/entity/WeatherData.java b/src/main/java/com/bonus/autoweb/UI/entity/WeatherData.java
new file mode 100644
index 0000000..ecb6bc5
--- /dev/null
+++ b/src/main/java/com/bonus/autoweb/UI/entity/WeatherData.java
@@ -0,0 +1,117 @@
+package com.bonus.autoweb.UI.entity;
+
+import com.google.gson.annotations.SerializedName;
+import lombok.Data;
+
+/**
+ * FileName: WeatherData
+ *
+ * @author tqzhang
+ * Date: 2024/4/9 14:11
+ * Description:天气
+ */
+@Data
+public class WeatherData {
+ private int code;
+ private WeatherDataChild data;
+
+ public static class WeatherDataChild {
+ private int page;
+ private int rows;
+ private String city;
+ @SerializedName("weather12") // 使用注解指定 JSON 中的字段名
+ private String weatherNoon;
+ @SerializedName("weather24") // 使用注解指定 JSON 中的字段名
+ private String weatherNight;
+ @SerializedName("temperature1") // 使用注解指定 JSON 中的字段名
+ private String minTemperature;
+ @SerializedName("temperature2") // 使用注解指定 JSON 中的字段名
+ private String maxTemperature;
+ private String rectime;
+
+ public int getPage() {
+ return page;
+ }
+
+ public void setPage(int page) {
+ this.page = page;
+ }
+
+ public int getRows() {
+ return rows;
+ }
+
+ public void setRows(int rows) {
+ this.rows = rows;
+ }
+
+ public String getCity() {
+ return city;
+ }
+
+ public void setCity(String city) {
+ this.city = city;
+ }
+
+ public String getWeatherNoon() {
+ return weatherNoon;
+ }
+
+ public void setWeatherNoon(String weatherNoon) {
+ this.weatherNoon = weatherNoon;
+ }
+
+ public String getWeatherNight() {
+ return weatherNight;
+ }
+
+ public void setWeatherNight(String weatherNight) {
+ this.weatherNight = weatherNight;
+ }
+
+ public String getMinTemperature() {
+ return minTemperature;
+ }
+
+ public void setMinTemperature(String minTemperature) {
+ this.minTemperature = minTemperature;
+ }
+
+ public String getMaxTemperature() {
+ return maxTemperature;
+ }
+
+ public void setMaxTemperature(String maxTemperature) {
+ this.maxTemperature = maxTemperature;
+ }
+
+ public String getRectime() {
+ return rectime;
+ }
+
+ public void setRectime(String rectime) {
+ this.rectime = rectime;
+ }
+
+ @Override
+ public String toString() {
+ return "WeatherDataChild{" +
+ "page=" + page +
+ ", rows=" + rows +
+ ", city='" + city + '\'' +
+ ", weatherNoon='" + weatherNoon + '\'' +
+ ", weatherNight='" + weatherNight + '\'' +
+ ", minTemperature='" + minTemperature + '\'' +
+ ", maxTemperature='" + maxTemperature + '\'' +
+ ", rectime='" + rectime + '\'' +
+ '}';
+ }
+ }
+ @Override
+ public String toString() {
+ return "WeatherData{" +
+ "code=" + code +
+ ", data=" + data +
+ '}';
+ }
+}
diff --git a/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java b/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java
index 915eb63..0dfdb84 100644
--- a/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java
+++ b/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java
@@ -15,7 +15,7 @@ public class StringHelper {
}
public static boolean isEmptyAndNull(String str) {
- if (str == null || str.trim().equals("") || str.trim().equals("null")) {
+ if (str == null || "".equals(str.trim()) || "null".equals(str.trim())) {
return true;
}
return false;
diff --git a/src/main/java/com/bonus/autoweb/base/AutoMain.java b/src/main/java/com/bonus/autoweb/base/AutoMain.java
index 66300f0..6a0d4e1 100644
--- a/src/main/java/com/bonus/autoweb/base/AutoMain.java
+++ b/src/main/java/com/bonus/autoweb/base/AutoMain.java
@@ -163,7 +163,8 @@ public class AutoMain {
Thread.sleep(5000);
//执行鼠标悬停动作-管理
Actions action = new Actions(webDriver);
- WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[5]/div/div/div[6]/span/span/div"));
+ WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[6]/div/div/div[6]/span/span" +
+ "/div"));
action.moveToElement(wegl).build().perform();
Thread.sleep(300);
@@ -208,7 +209,8 @@ public class AutoMain {
Thread.sleep(5000);
//执行鼠标悬停动作-管理
Actions action = new Actions(webDriver);
- WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[5]/div/div/div[2]/span/span/div"));
+ WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[6]/div/div/div[2]/span/span" +
+ "/div"));
action.moveToElement(wegl).build().perform();
Thread.sleep(300);
log.info("执行鼠标悬停动作-管理");
@@ -247,7 +249,8 @@ public class AutoMain {
Thread.sleep(5000);
//执行鼠标悬停动作-管理
Actions action = new Actions(webDriver);
- WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[5]/div/div/div[2]/span/span/div"));
+ WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[6]/div/div/div[2]/span/span" +
+ "/div"));
action.moveToElement(wegl).build().perform();
Thread.sleep(300);
log.info("执行鼠标悬停动作-管理");
@@ -290,7 +293,8 @@ public class AutoMain {
Thread.sleep(3000);
//执行鼠标悬停动作-管理
Actions action = new Actions(webDriver);
- WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[5]/div/div/div[6]/span/span/div"));
+ WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[6]/div/div/div[6]/span/span" +
+ "/div"));
action.moveToElement(wegl).build().perform();
Thread.sleep(300);
@@ -353,7 +357,8 @@ public class AutoMain {
Thread.sleep(5000);
//执行鼠标悬停动作-管理
Actions action = new Actions(webDriver);
- WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[5]/div/div/div[6]/span/span/div"));
+ WebElement wegl = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/div[1]/div[6]/div/div/div[6]/span/span" +
+ "/div"));
action.moveToElement(wegl).build().perform();
Thread.sleep(300);
diff --git a/src/main/java/com/bonus/autoweb/base/DataConfig.java b/src/main/java/com/bonus/autoweb/base/DataConfig.java
index 29614ce..1895311 100644
--- a/src/main/java/com/bonus/autoweb/base/DataConfig.java
+++ b/src/main/java/com/bonus/autoweb/base/DataConfig.java
@@ -1,5 +1,7 @@
package com.bonus.autoweb.base;
+import com.bonus.autoweb.DateTimeUtils;
+
public class DataConfig {
/**
* url 网站地址
@@ -29,7 +31,7 @@ public class DataConfig {
/**
* 密码2
*/
- public static final String PASS2 = "aqwh-2003";
+ public static final String PASS2 = "aqwh-2003.";
/**
* 用户名3 陈亚
*/
@@ -48,7 +50,6 @@ public class DataConfig {
* 密码4
*/
public static final String PASS4 = "gdgs@7890";
-
/**
* 浏览器驱动地址
*/
@@ -60,4 +61,5 @@ public class DataConfig {
public static final String filePath = "E:\\bns\\config";
+ public static final String weatherUrl = "http://10.138.4.27:9021/EPCIM/control/ypdgt/qxyj/getQXYJ?city=砀山&rectime="+DateTimeUtils.getCurrentDay();
}
diff --git a/src/main/java/com/bonus/autoweb/base/DutyDailyCheck.java b/src/main/java/com/bonus/autoweb/base/DutyDailyCheck.java
index 3670fb1..1caa89e 100644
--- a/src/main/java/com/bonus/autoweb/base/DutyDailyCheck.java
+++ b/src/main/java/com/bonus/autoweb/base/DutyDailyCheck.java
@@ -68,7 +68,8 @@ public class DutyDailyCheck {
//同意审核按钮点击
- WebElement tyCheckBtn=webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[19]/button[4]"));
+ WebElement tyCheckBtn=webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16" +
+ "]/button[4]"));
if(tyCheckBtn.isDisplayed()){
//存在
log.info("同意审核按钮存在-----------");
diff --git a/src/main/java/com/bonus/autoweb/base/DutyDailyOp.java b/src/main/java/com/bonus/autoweb/base/DutyDailyOp.java
index eaf96a7..e612d56 100644
--- a/src/main/java/com/bonus/autoweb/base/DutyDailyOp.java
+++ b/src/main/java/com/bonus/autoweb/base/DutyDailyOp.java
@@ -181,13 +181,18 @@ public class DutyDailyOp {
log.info("供电保障情况2填写-----------");
Thread.sleep(1000);
- //供电保障情况3
- String gdbzqk3 = bean.getPower_guarantee_today_pestilence();
- WebElement gdbzqk3Ele = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/form/div[5]/div[4]/div/div/div/div/div/textarea"));
- gdbzqk3Ele.clear();
- gdbzqk3Ele.sendKeys(gdbzqk3);
- log.info("供电保障情况3填写-----------");
- Thread.sleep(1000);
+ try {
+ //供电保障情况3
+ String gdbzqk3 = bean.getPower_guarantee_today_pestilence();
+ WebElement gdbzqk3Ele = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/form" +
+ "/div[5]/div[4]/div/div/div/div/div[1]/textarea"));
+ gdbzqk3Ele.clear();
+ gdbzqk3Ele.sendKeys(gdbzqk3);
+ log.info("供电保障情况3填写-----------");
+ Thread.sleep(1000);
+ }catch (Exception e) {
+ log.info("填写供电保障情况4不存在此元素----------");
+ }
//预警及应急响应情况1
String yjjyjxy1 = bean.getWarning_company();
@@ -369,397 +374,442 @@ public class DutyDailyOp {
bzEle.sendKeys(bz);
log.info("填写备注----------");
Thread.sleep(300);
- dailySchedule3(bean.getThreeBean(), bean);
- }
-
- //操作附表3
- private void dailySchedule3(AnnexThreeBean obj, DailyBean bean) throws InterruptedException {
-// //填写合计-新增-确诊
-// String totalAddDiagnosedNum = obj.getTotalAddDiagnosed();
-// WebElement totalAddDiagnosedEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
-// totalAddDiagnosedEle.clear();
-// totalAddDiagnosedEle.sendKeys(totalAddDiagnosedNum);
-// log.info("填写合计-新增-确诊----------");
-// Thread.sleep(300);
-//
-// //填写合计-现有-确诊
-// String totalExistingDiagnosedNum = obj.getTotalExistingDiagnosed();
-// WebElement totalExistingDiagnosedNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
-// totalExistingDiagnosedNumEle.clear();
-// totalExistingDiagnosedNumEle.sendKeys(totalExistingDiagnosedNum);
-// log.info("填写合计-现有-确诊----------");
-// Thread.sleep(300);
-
- //填写电网调度-新增-确诊
- String dispatchAddDiagnosedNum = obj.getDispatchAddDiagnosed();
- WebElement dispatchAddDiagnosedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div/input"));
- dispatchAddDiagnosedNumEle.clear();
- dispatchAddDiagnosedNumEle.sendKeys(dispatchAddDiagnosedNum);
- log.info("填写电网调度-新增-确诊----------");
- Thread.sleep(300);
-
-
- //填写电网调度-现有-确诊
- String dispatchExistingDiagnosedNum = obj.getDispatchExistingDiagnosed();
- WebElement dispatchExistingDiagnosedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div/input"));
- dispatchExistingDiagnosedNumEle.clear();
- dispatchExistingDiagnosedNumEle.sendKeys(dispatchExistingDiagnosedNum);
- log.info("填写电网调度-现有-确诊----------");
- Thread.sleep(300);
-
-
- //填写运维检修-新增-确诊
- String repairAddDiagnosedNum = obj.getRepairAddDiagnosed();
- WebElement repairAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/input"));
- repairAddDiagnosedEle.clear();
- repairAddDiagnosedEle.sendKeys(repairAddDiagnosedNum);
- log.info("填写运维检修-新增-确诊----------");
-
- //填写运维检修-现有-确诊
- String repairExistingDiagnosedNum = obj.getRepairExistingDiagnosed();
- WebElement repairExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/input"));
- repairExistingDiagnosedEle.clear();
- repairExistingDiagnosedEle.sendKeys(repairExistingDiagnosedNum);
- log.info("填写运维检修-现有-确诊----------");
-
- //填写营销服务-新增-确诊
- String marketingAddDiagnosedNum = obj.getMarketingAddDiagnosed();
- WebElement marketingAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/input"));
- marketingAddDiagnosedEle.clear();
- marketingAddDiagnosedEle.sendKeys(marketingAddDiagnosedNum);
- log.info("填写营销服务-新增-确诊----------");
-
- //填写营销服务-现有-确诊
- String marketingExistingDiagnosedNum = obj.getMarketingExistingDiagnosed();
- WebElement marketingExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[11]/div/div/div/input"));
- marketingExistingDiagnosedEle.clear();
- marketingExistingDiagnosedEle.sendKeys(marketingExistingDiagnosedNum);
- log.info("填写营销服务-现有-确诊----------");
-
- //填写电网建设-新增-确诊
- String constructionAddDiagnosedNum = obj.getConstructionAddDiagnosed();
- WebElement constructionAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[12]/div/div/div/input"));
- constructionAddDiagnosedEle.clear();
- constructionAddDiagnosedEle.sendKeys(constructionAddDiagnosedNum);
- log.info("填写营销服务-新增-确诊----------");
-
- //填写电网建设-现有-确诊
- String constructionExistingDiagnosedNum = obj.getConstructionExistingDiagnosed();
- WebElement constructionExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[13]/div/div/div/input"));
- constructionExistingDiagnosedEle.clear();
- constructionExistingDiagnosedEle.sendKeys(constructionExistingDiagnosedNum);
- log.info("填写营销服务-现有-确诊----------");
-
-// //填写合计-新增-治愈
-// String totalAddHealNum = obj.getTotalAddHeal();
-// WebElement totalAddHealEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
-// totalAddHealEle.clear();
-// totalAddHealEle.sendKeys(totalAddHealNum);
-// log.info("填写合计-新增-治愈----------");
-// Thread.sleep(300);
-//
-// //填写合计-现有-治愈
-// String totalExistingHealNum = obj.getTotalExistingHeal();
-// WebElement totalExistingHealNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
-// totalExistingHealNumEle.clear();
-// totalExistingHealNumEle.sendKeys(totalExistingHealNum);
-// log.info("填写合计-现有-治愈----------");
-// Thread.sleep(300);
-
- //填写电网调度-新增-治愈
- String dispatchAddHealNum = obj.getDispatchAddHeal();
- WebElement dispatchAddHealNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[4]/div/div/div/input"));
- dispatchAddHealNumEle.clear();
- dispatchAddHealNumEle.sendKeys(dispatchAddHealNum);
- log.info("填写电网调度-新增-治愈----------");
- Thread.sleep(300);
-
-
- //填写电网调度-现有-治愈
- String dispatchExistingHealNum = obj.getDispatchExistingHeal();
- WebElement dispatchExistingHealNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[5]/div/div/div/input"));
- dispatchExistingHealNumEle.clear();
- dispatchExistingHealNumEle.sendKeys(dispatchExistingHealNum);
- log.info("填写电网调度-现有-治愈----------");
- Thread.sleep(300);
-
-
- //填写运维检修-新增-治愈
- String repairAddHealNum = obj.getRepairAddHeal();
- WebElement repairAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[6]/div/div/div/input"));
- repairAddHealEle.clear();
- repairAddHealEle.sendKeys(repairAddHealNum);
- log.info("填写运维检修-新增-治愈----------");
-
- //填写运维检修-现有-治愈
- String repairExistingHealNum = obj.getRepairExistingHeal();
- WebElement repairExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[7]/div/div/div/input"));
- repairExistingHealEle.clear();
- repairExistingHealEle.sendKeys(repairExistingHealNum);
- log.info("填写运维检修-现有-治愈----------");
-
- //填写营销服务-新增-治愈
- String marketingAddHealNum = obj.getMarketingAddHeal();
- WebElement marketingAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[8]/div/div/div/input"));
- marketingAddHealEle.clear();
- marketingAddHealEle.sendKeys(marketingAddHealNum);
- log.info("填写营销服务-新增-治愈----------");
-
- //填写营销服务-现有-治愈
- String marketingExistingHealNum = obj.getMarketingExistingHeal();
- WebElement marketingExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[9]/div/div/div/input"));
- marketingExistingHealEle.clear();
- marketingExistingHealEle.sendKeys(marketingExistingHealNum);
- log.info("填写营销服务-现有-治愈----------");
-
- //填写电网建设-新增-治愈
- String constructionAddHealNum = obj.getConstructionAddHeal();
- WebElement constructionAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[10]/div/div/div/input"));
- constructionAddHealEle.clear();
- constructionAddHealEle.sendKeys(constructionAddHealNum);
- log.info("填写营销服务-新增-治愈----------");
-
- //填写电网建设-现有-治愈
- String constructionExistingHealNum = obj.getConstructionExistingHeal();
- WebElement constructionExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[11]/div/div/div/input"));
- constructionExistingHealEle.clear();
- constructionExistingHealEle.sendKeys(constructionExistingHealNum);
- log.info("填写营销服务-现有-治愈----------");
-
-// //填写合计-新增-疑似
-// String totalAddSuspectedNum = obj.getTotalAddSuspected();
-// WebElement totalAddSuspectedEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
-// totalAddSuspectedEle.clear();
-// totalAddSuspectedEle.sendKeys(totalAddSuspectedNum);
-// log.info("填写合计-新增-疑似----------");
-// Thread.sleep(300);
-//
-// //填写合计-现有-疑似
-// String totalExistingSuspectedNum = obj.getTotalExistingSuspected();
-// WebElement totalExistingSuspectedNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
-// totalExistingSuspectedNumEle.clear();
-// totalExistingSuspectedNumEle.sendKeys(totalExistingSuspectedNum);
-// log.info("填写合计-现有-疑似----------");
-// Thread.sleep(300);
-
- //填写电网调度-新增-疑似
- String dispatchAddSuspectedNum = obj.getDispatchAddSuspected();
- WebElement dispatchAddSuspectedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[4]/div/div/div/input"));
- dispatchAddSuspectedNumEle.clear();
- dispatchAddSuspectedNumEle.sendKeys(dispatchAddSuspectedNum);
- log.info("填写电网调度-新增-疑似----------");
- Thread.sleep(300);
-
-
- //填写电网调度-现有-疑似
- String dispatchExistingSuspectedNum = obj.getDispatchExistingSuspected();
- WebElement dispatchExistingSuspectedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[5]/div/div/div/input"));
- dispatchExistingSuspectedNumEle.clear();
- dispatchExistingSuspectedNumEle.sendKeys(dispatchExistingSuspectedNum);
- log.info("填写电网调度-现有-疑似----------");
- Thread.sleep(300);
-
-
- //填写运维检修-新增-疑似
- String repairAddSuspectedNum = obj.getRepairAddSuspected();
- WebElement repairAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/input"));
- repairAddSuspectedEle.clear();
- repairAddSuspectedEle.sendKeys(repairAddSuspectedNum);
- log.info("填写运维检修-新增-疑似----------");
-
- //填写运维检修-现有-疑似
- String repairExistingSuspectedNum = obj.getRepairExistingSuspected();
- WebElement repairExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[7]/div/div/div/input"));
- repairExistingSuspectedEle.clear();
- repairExistingSuspectedEle.sendKeys(repairExistingSuspectedNum);
- log.info("填写运维检修-现有-疑似----------");
-
- //填写营销服务-新增-疑似
- String marketingAddSuspectedNum = obj.getMarketingAddSuspected();
- WebElement marketingAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[8]/div/div/div/input"));
- marketingAddSuspectedEle.clear();
- marketingAddSuspectedEle.sendKeys(marketingAddSuspectedNum);
- log.info("填写营销服务-新增-疑似----------");
-
- //填写营销服务-现有-疑似
- String marketingExistingSuspectedNum = obj.getMarketingExistingSuspected();
- WebElement marketingExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[9]/div/div/div/input"));
- marketingExistingSuspectedEle.clear();
- marketingExistingSuspectedEle.sendKeys(marketingExistingSuspectedNum);
- log.info("填写营销服务-现有-疑似----------");
-
- //填写电网建设-新增-疑似
- String constructionAddSuspectedNum = obj.getConstructionAddSuspected();
- WebElement constructionAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[10]/div/div/div/input"));
- constructionAddSuspectedEle.clear();
- constructionAddSuspectedEle.sendKeys(constructionAddSuspectedNum);
- log.info("填写营销服务-新增-疑似----------");
-
- //填写电网建设-现有-疑似
- String constructionExistingSuspectedNum = obj.getConstructionExistingSuspected();
- WebElement constructionExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[11]/div/div/div/input"));
- constructionExistingSuspectedEle.clear();
- constructionExistingSuspectedEle.sendKeys(constructionExistingSuspectedNum);
- log.info("填写营销服务-现有-疑似----------");
-
- dailySchedule4(bean.getFourBean(), bean);
- }
-
- //操作附表4
- private void dailySchedule4(AnnexFourBean obj, DailyBean bean) throws InterruptedException {
- //填写定点医院
- String ddyy = obj.getDesignated_hospitals();
- WebElement ddyEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
- ddyEle.clear();
- ddyEle.sendKeys(ddyy);
- log.info("填写定点医院----------");
- Thread.sleep(300);
-
-
- //填写发热门诊
- String frmz = obj.getFever_clinic();
- WebElement frmzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
- frmzEle.clear();
- frmzEle.sendKeys(frmz);
- log.info("填写发热门诊----------");
- Thread.sleep(300);
-
-
- //填写防疫用品企业
- String fyypqy = obj.getEpidemic_enterprise();
- WebElement fyypqyEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
- fyypqyEle.clear();
- fyypqyEle.sendKeys(fyypqy);
- log.info("填写防疫用品企业----------");
- Thread.sleep(300);
-
-
- //填写其他重要用户
- String qtzyyh = obj.getOther_important_users();
- WebElement qtzyyhEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
- qtzyyhEle.clear();
- qtzyyhEle.sendKeys(qtzyyh);
- log.info("填写其他重要用户----------");
- Thread.sleep(300);
-
-
- //填写客户用电保障人员
- String khydbz = obj.getCustomer_power_personnel();
- WebElement khydbzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
- khydbzEle.clear();
- khydbzEle.sendKeys(khydbz);
- log.info("填写客户用电保障人员----------");
- Thread.sleep(300);
-
-
- //填写电网运维保障人员
- String dwywbzry = obj.getPower_devops_personnel();
- WebElement dwywbzryEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
- dwywbzryEle.clear();
- dwywbzryEle.sendKeys(dwywbzry);
- log.info("填写电网运维保障人员----------");
- Thread.sleep(300);
-
-
- //填写保电车辆
- String bdcl = obj.getElectrically_vehicles();
- WebElement bdclEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
- bdclEle.clear();
- bdclEle.sendKeys(bdcl);
- log.info("填写保电车辆----------");
- Thread.sleep(300);
-
-
- //填写应急发电车
- String yjfdc = obj.getEmergency_power_vehicles();
- WebElement yjfdcEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
- yjfdcEle.clear();
- yjfdcEle.sendKeys(yjfdc);
- log.info("填写应急发电车----------");
- Thread.sleep(300);
-
-
- //填写应急发电机
- String yjfdj = obj.getEmergency_generator();
- WebElement yjfdjEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
- yjfdjEle.clear();
- yjfdjEle.sendKeys(yjfdj);
- log.info("填写应急发电机----------");
- Thread.sleep(300);
- dailySchedule5(bean.getFiveBean(), bean);
- }
-
- //操作附表5
- private void dailySchedule5(AnnexFiveBean obj, DailyBean bean) throws InterruptedException {
- //填写机场/港口
- String airportPortNum = obj.getAirportPort();
- WebElement airportPortEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
- airportPortEle.clear();
- airportPortEle.sendKeys(airportPortNum);
- log.info("填写机场/港口----------");
- Thread.sleep(300);
-
- //填写机场/港口
- String venueHospitalNum = obj.getVenueHospital();
- WebElement venueHospitalNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
- venueHospitalNumEle.clear();
- venueHospitalNumEle.sendKeys(venueHospitalNum);
- log.info("填写机场/港口----------");
- Thread.sleep(300);
-
- //填写宾馆酒店
- String guesthouseHotelNum = obj.getGuesthouseHotel();
- WebElement guesthouseHotelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
- guesthouseHotelNumEle.clear();
- guesthouseHotelNumEle.sendKeys(guesthouseHotelNum);
- log.info("填写宾馆酒店---------");
- Thread.sleep(300);
-
-
- //填写保障人员
- String safeguardPersonnelNum = obj.getSafeguardPersonnel();
- WebElement safeguardPersonnelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
- safeguardPersonnelNumEle.clear();
- safeguardPersonnelNumEle.sendKeys(safeguardPersonnelNum);
- log.info("填写保障人员---------");
- Thread.sleep(300);
-
-
- //填写保电车辆
- String electricallyGuaranteedVehiclesNum = obj.getElectricallyGuaranteedVehicles();
- WebElement electricallyGuaranteedVehiclesEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
- electricallyGuaranteedVehiclesEle.clear();
- electricallyGuaranteedVehiclesEle.sendKeys(electricallyGuaranteedVehiclesNum);
- log.info("填写保电车辆----------");
-
- //填写发电车
- String powerGenerationVehiclesNum = obj.getPowerGenerationVehicles();
- WebElement powerGenerationVehiclesEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
- powerGenerationVehiclesEle.clear();
- powerGenerationVehiclesEle.sendKeys(powerGenerationVehiclesNum);
- log.info("填写发电车---------");
-
- //填写发电机
- String dynamoNum = obj.getDynamo();
- WebElement dynamoEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
- dynamoEle.clear();
- dynamoEle.sendKeys(dynamoNum);
- log.info("填写发电机---------");
-
- //填写备注
- String fiveRemark = obj.getRemark();
- WebElement fiveRemarkEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/input"));
- fiveRemarkEle.clear();
- fiveRemarkEle.sendKeys(fiveRemark);
- log.info("填写备注----------");
- Thread.sleep(300);
dailySchedule6(bean.getSixBean(), bean);
}
- //操作附表6
+ //操作附表3 无
+// private void dailySchedule3(AnnexThreeBean obj, DailyBean bean) throws InterruptedException {
+//// //填写合计-新增-确诊
+//// String totalAddDiagnosedNum = obj.getTotalAddDiagnosed();
+//// WebElement totalAddDiagnosedEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
+//// totalAddDiagnosedEle.clear();
+//// totalAddDiagnosedEle.sendKeys(totalAddDiagnosedNum);
+//// log.info("填写合计-新增-确诊----------");
+//// Thread.sleep(300);
+////
+//// //填写合计-现有-确诊
+//// String totalExistingDiagnosedNum = obj.getTotalExistingDiagnosed();
+//// WebElement totalExistingDiagnosedNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
+//// totalExistingDiagnosedNumEle.clear();
+//// totalExistingDiagnosedNumEle.sendKeys(totalExistingDiagnosedNum);
+//// log.info("填写合计-现有-确诊----------");
+//// Thread.sleep(300);
+//
+// try {
+// //填写电网调度-新增-确诊
+// String dispatchAddDiagnosedNum = obj.getDispatchAddDiagnosed();
+// WebElement dispatchAddDiagnosedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div/input"));
+// dispatchAddDiagnosedNumEle.clear();
+// dispatchAddDiagnosedNumEle.sendKeys(dispatchAddDiagnosedNum);
+// log.info("填写电网调度-新增-确诊----------");
+// Thread.sleep(300);
+// }catch (Exception e) {
+// log.info("填写电网调度-新增-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写电网调度-现有-确诊
+// String dispatchExistingDiagnosedNum = obj.getDispatchExistingDiagnosed();
+// WebElement dispatchExistingDiagnosedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div/input"));
+// dispatchExistingDiagnosedNumEle.clear();
+// dispatchExistingDiagnosedNumEle.sendKeys(dispatchExistingDiagnosedNum);
+// log.info("填写电网调度-现有-确诊----------");
+// Thread.sleep(300);
+// }catch (Exception e) {
+// log.info("填写电网调度-现有-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写运维检修-新增-确诊
+// String repairAddDiagnosedNum = obj.getRepairAddDiagnosed();
+// WebElement repairAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/input"));
+// repairAddDiagnosedEle.clear();
+// repairAddDiagnosedEle.sendKeys(repairAddDiagnosedNum);
+// log.info("填写运维检修-新增-确诊----------");
+// }catch (Exception e) {
+// log.info("填写电网调度-现有-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写运维检修-现有-确诊
+// String repairExistingDiagnosedNum = obj.getRepairExistingDiagnosed();
+// WebElement repairExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/input"));
+// repairExistingDiagnosedEle.clear();
+// repairExistingDiagnosedEle.sendKeys(repairExistingDiagnosedNum);
+// log.info("填写运维检修-现有-确诊----------");
+// }catch (Exception e) {
+// log.info("填写运维检修-现有-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写营销服务-新增-确诊
+// String marketingAddDiagnosedNum = obj.getMarketingAddDiagnosed();
+// WebElement marketingAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/input"));
+// marketingAddDiagnosedEle.clear();
+// marketingAddDiagnosedEle.sendKeys(marketingAddDiagnosedNum);
+// log.info("填写营销服务-新增-确诊----------");
+// }catch (Exception e) {
+// log.info("填写运维检修-现有-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写营销服务-现有-确诊
+// String marketingExistingDiagnosedNum = obj.getMarketingExistingDiagnosed();
+// WebElement marketingExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[11]/div/div/div/input"));
+// marketingExistingDiagnosedEle.clear();
+// marketingExistingDiagnosedEle.sendKeys(marketingExistingDiagnosedNum);
+// log.info("填写营销服务-现有-确诊----------");
+// }catch (Exception e) {
+// log.info("填写营销服务-现有-确诊不存在此元素----------");
+// }
+//
+// try {
+// //填写电网建设-新增-确诊
+// String constructionAddDiagnosedNum = obj.getConstructionAddDiagnosed();
+// WebElement constructionAddDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[12]/div/div/div/input"));
+// constructionAddDiagnosedEle.clear();
+// constructionAddDiagnosedEle.sendKeys(constructionAddDiagnosedNum);
+// log.info("填写营销服务-新增-确诊----------");
+// }catch (Exception e) {
+// log.info("填写营销服务-现有-确诊不存在此元素----------");
+// }
+//
+// try{
+// //填写电网建设-现有-确诊
+// String constructionExistingDiagnosedNum = obj.getConstructionExistingDiagnosed();
+// WebElement constructionExistingDiagnosedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[1]/td[13]/div/div/div/input"));
+// constructionExistingDiagnosedEle.clear();
+// constructionExistingDiagnosedEle.sendKeys(constructionExistingDiagnosedNum);
+// log.info("填写营销服务-现有-确诊----------");
+// }catch (Exception e) {
+// log.info("填写电网建设-新增-确诊不存在此元素----------");
+// }
+//
+//// //填写合计-新增-治愈
+//// String totalAddHealNum = obj.getTotalAddHeal();
+//// WebElement totalAddHealEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
+//// totalAddHealEle.clear();
+//// totalAddHealEle.sendKeys(totalAddHealNum);
+//// log.info("填写合计-新增-治愈----------");
+//// Thread.sleep(300);
+////
+//// //填写合计-现有-治愈
+//// String totalExistingHealNum = obj.getTotalExistingHeal();
+//// WebElement totalExistingHealNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
+//// totalExistingHealNumEle.clear();
+//// totalExistingHealNumEle.sendKeys(totalExistingHealNum);
+//// log.info("填写合计-现有-治愈----------");
+//// Thread.sleep(300);
+//
+// try {
+// //填写电网调度-新增-治愈
+// String dispatchAddHealNum = obj.getDispatchAddHeal();
+// WebElement dispatchAddHealNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[4]/div/div/div/input"));
+// dispatchAddHealNumEle.clear();
+// dispatchAddHealNumEle.sendKeys(dispatchAddHealNum);
+// log.info("填写电网调度-新增-治愈----------");
+// Thread.sleep(300);
+// }catch (Exception e) {
+// log.info("填写电网调度-新增-治愈不存在此元素----------");
+// }
+//
+// try {
+// //填写电网调度-现有-治愈
+// String dispatchExistingHealNum = obj.getDispatchExistingHeal();
+// WebElement dispatchExistingHealNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[5]/div/div/div/input"));
+// dispatchExistingHealNumEle.clear();
+// dispatchExistingHealNumEle.sendKeys(dispatchExistingHealNum);
+// log.info("填写电网调度-现有-治愈----------");
+// Thread.sleep(300);
+// }catch (Exception e) {
+// log.info("填写电网调度-现有-治愈不存在此元素----------");
+// }
+//
+// try {
+// //填写运维检修-新增-治愈
+// String repairAddHealNum = obj.getRepairAddHeal();
+// WebElement repairAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[6]/div/div/div/input"));
+// repairAddHealEle.clear();
+// repairAddHealEle.sendKeys(repairAddHealNum);
+// log.info("填写运维检修-新增-治愈----------");
+// }catch (Exception e) {
+// log.info("填写运维检修-新增-治愈不存在此元素----------");
+// }
+//
+// try {
+// //填写运维检修-现有-治愈
+// String repairExistingHealNum = obj.getRepairExistingHeal();
+// WebElement repairExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[7]/div/div/div/input"));
+// repairExistingHealEle.clear();
+// repairExistingHealEle.sendKeys(repairExistingHealNum);
+// log.info("填写运维检修-现有-治愈----------");
+// }catch (Exception e){
+// log.info("填写运维检修-现有-治愈----------");
+// }
+//
+// //填写营销服务-新增-治愈
+// String marketingAddHealNum = obj.getMarketingAddHeal();
+// WebElement marketingAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[8]/div/div/div/input"));
+// marketingAddHealEle.clear();
+// marketingAddHealEle.sendKeys(marketingAddHealNum);
+// log.info("填写营销服务-新增-治愈----------");
+//
+// //填写营销服务-现有-治愈
+// String marketingExistingHealNum = obj.getMarketingExistingHeal();
+// WebElement marketingExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[9]/div/div/div/input"));
+// marketingExistingHealEle.clear();
+// marketingExistingHealEle.sendKeys(marketingExistingHealNum);
+// log.info("填写营销服务-现有-治愈----------");
+//
+// //填写电网建设-新增-治愈
+// String constructionAddHealNum = obj.getConstructionAddHeal();
+// WebElement constructionAddHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[10]/div/div/div/input"));
+// constructionAddHealEle.clear();
+// constructionAddHealEle.sendKeys(constructionAddHealNum);
+// log.info("填写营销服务-新增-治愈----------");
+//
+// //填写电网建设-现有-治愈
+// String constructionExistingHealNum = obj.getConstructionExistingHeal();
+// WebElement constructionExistingHealEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[2]/td[11]/div/div/div/input"));
+// constructionExistingHealEle.clear();
+// constructionExistingHealEle.sendKeys(constructionExistingHealNum);
+// log.info("填写营销服务-现有-治愈----------");
+//
+//// //填写合计-新增-疑似
+//// String totalAddSuspectedNum = obj.getTotalAddSuspected();
+//// WebElement totalAddSuspectedEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/input"));
+//// totalAddSuspectedEle.clear();
+//// totalAddSuspectedEle.sendKeys(totalAddSuspectedNum);
+//// log.info("填写合计-新增-疑似----------");
+//// Thread.sleep(300);
+////
+//// //填写合计-现有-疑似
+//// String totalExistingSuspectedNum = obj.getTotalExistingSuspected();
+//// WebElement totalExistingSuspectedNumEle= webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[2]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/input"));
+//// totalExistingSuspectedNumEle.clear();
+//// totalExistingSuspectedNumEle.sendKeys(totalExistingSuspectedNum);
+//// log.info("填写合计-现有-疑似----------");
+//// Thread.sleep(300);
+//
+// //填写电网调度-新增-疑似
+// String dispatchAddSuspectedNum = obj.getDispatchAddSuspected();
+// WebElement dispatchAddSuspectedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[4]/div/div/div/input"));
+// dispatchAddSuspectedNumEle.clear();
+// dispatchAddSuspectedNumEle.sendKeys(dispatchAddSuspectedNum);
+// log.info("填写电网调度-新增-疑似----------");
+// Thread.sleep(300);
+//
+//
+// //填写电网调度-现有-疑似
+// String dispatchExistingSuspectedNum = obj.getDispatchExistingSuspected();
+// WebElement dispatchExistingSuspectedNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[5]/div/div/div/input"));
+// dispatchExistingSuspectedNumEle.clear();
+// dispatchExistingSuspectedNumEle.sendKeys(dispatchExistingSuspectedNum);
+// log.info("填写电网调度-现有-疑似----------");
+// Thread.sleep(300);
+//
+//
+// //填写运维检修-新增-疑似
+// String repairAddSuspectedNum = obj.getRepairAddSuspected();
+// WebElement repairAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/input"));
+// repairAddSuspectedEle.clear();
+// repairAddSuspectedEle.sendKeys(repairAddSuspectedNum);
+// log.info("填写运维检修-新增-疑似----------");
+//
+// //填写运维检修-现有-疑似
+// String repairExistingSuspectedNum = obj.getRepairExistingSuspected();
+// WebElement repairExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[7]/div/div/div/input"));
+// repairExistingSuspectedEle.clear();
+// repairExistingSuspectedEle.sendKeys(repairExistingSuspectedNum);
+// log.info("填写运维检修-现有-疑似----------");
+//
+// //填写营销服务-新增-疑似
+// String marketingAddSuspectedNum = obj.getMarketingAddSuspected();
+// WebElement marketingAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[8]/div/div/div/input"));
+// marketingAddSuspectedEle.clear();
+// marketingAddSuspectedEle.sendKeys(marketingAddSuspectedNum);
+// log.info("填写营销服务-新增-疑似----------");
+//
+// //填写营销服务-现有-疑似
+// String marketingExistingSuspectedNum = obj.getMarketingExistingSuspected();
+// WebElement marketingExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[9]/div/div/div/input"));
+// marketingExistingSuspectedEle.clear();
+// marketingExistingSuspectedEle.sendKeys(marketingExistingSuspectedNum);
+// log.info("填写营销服务-现有-疑似----------");
+//
+// //填写电网建设-新增-疑似
+// String constructionAddSuspectedNum = obj.getConstructionAddSuspected();
+// WebElement constructionAddSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[10]/div/div/div/input"));
+// constructionAddSuspectedEle.clear();
+// constructionAddSuspectedEle.sendKeys(constructionAddSuspectedNum);
+// log.info("填写营销服务-新增-疑似----------");
+//
+// //填写电网建设-现有-疑似
+// String constructionExistingSuspectedNum = obj.getConstructionExistingSuspected();
+// WebElement constructionExistingSuspectedEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div[2]/div/div/div[3]/table/tbody/tr[3]/td[11]/div/div/div/input"));
+// constructionExistingSuspectedEle.clear();
+// constructionExistingSuspectedEle.sendKeys(constructionExistingSuspectedNum);
+// log.info("填写营销服务-现有-疑似----------");
+//
+// dailySchedule4(bean.getFourBean(), bean);
+// }
+
+ //操作附表4 无
+// private void dailySchedule4(AnnexFourBean obj, DailyBean bean) throws InterruptedException {
+// //填写定点医院
+// String ddyy = obj.getDesignated_hospitals();
+// WebElement ddyEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
+// ddyEle.clear();
+// ddyEle.sendKeys(ddyy);
+// log.info("填写定点医院----------");
+// Thread.sleep(300);
+//
+//
+// //填写发热门诊
+// String frmz = obj.getFever_clinic();
+// WebElement frmzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+// frmzEle.clear();
+// frmzEle.sendKeys(frmz);
+// log.info("填写发热门诊----------");
+// Thread.sleep(300);
+//
+//
+// //填写防疫用品企业
+// String fyypqy = obj.getEpidemic_enterprise();
+// WebElement fyypqyEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+// fyypqyEle.clear();
+// fyypqyEle.sendKeys(fyypqy);
+// log.info("填写防疫用品企业----------");
+// Thread.sleep(300);
+//
+//
+// //填写其他重要用户
+// String qtzyyh = obj.getOther_important_users();
+// WebElement qtzyyhEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+// qtzyyhEle.clear();
+// qtzyyhEle.sendKeys(qtzyyh);
+// log.info("填写其他重要用户----------");
+// Thread.sleep(300);
+//
+//
+// //填写客户用电保障人员
+// String khydbz = obj.getCustomer_power_personnel();
+// WebElement khydbzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+// khydbzEle.clear();
+// khydbzEle.sendKeys(khydbz);
+// log.info("填写客户用电保障人员----------");
+// Thread.sleep(300);
+//
+//
+// //填写电网运维保障人员
+// String dwywbzry = obj.getPower_devops_personnel();
+// WebElement dwywbzryEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+// dwywbzryEle.clear();
+// dwywbzryEle.sendKeys(dwywbzry);
+// log.info("填写电网运维保障人员----------");
+// Thread.sleep(300);
+//
+//
+// //填写保电车辆
+// String bdcl = obj.getElectrically_vehicles();
+// WebElement bdclEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+// bdclEle.clear();
+// bdclEle.sendKeys(bdcl);
+// log.info("填写保电车辆----------");
+// Thread.sleep(300);
+//
+//
+// //填写应急发电车
+// String yjfdc = obj.getEmergency_power_vehicles();
+// WebElement yjfdcEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+// yjfdcEle.clear();
+// yjfdcEle.sendKeys(yjfdc);
+// log.info("填写应急发电车----------");
+// Thread.sleep(300);
+//
+//
+// //填写应急发电机
+// String yjfdj = obj.getEmergency_generator();
+// WebElement yjfdjEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+// yjfdjEle.clear();
+// yjfdjEle.sendKeys(yjfdj);
+// log.info("填写应急发电机----------");
+// Thread.sleep(300);
+// dailySchedule5(bean.getFiveBean(), bean);
+// }
+
+ //操作附表5 无
+// private void dailySchedule5(AnnexFiveBean obj, DailyBean bean) throws InterruptedException {
+// //填写机场/港口
+// String airportPortNum = obj.getAirportPort();
+// WebElement airportPortEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
+// airportPortEle.clear();
+// airportPortEle.sendKeys(airportPortNum);
+// log.info("填写机场/港口----------");
+// Thread.sleep(300);
+//
+// //填写机场/港口
+// String venueHospitalNum = obj.getVenueHospital();
+// WebElement venueHospitalNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+// venueHospitalNumEle.clear();
+// venueHospitalNumEle.sendKeys(venueHospitalNum);
+// log.info("填写机场/港口----------");
+// Thread.sleep(300);
+//
+// //填写宾馆酒店
+// String guesthouseHotelNum = obj.getGuesthouseHotel();
+// WebElement guesthouseHotelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+// guesthouseHotelNumEle.clear();
+// guesthouseHotelNumEle.sendKeys(guesthouseHotelNum);
+// log.info("填写宾馆酒店---------");
+// Thread.sleep(300);
+//
+//
+// //填写保障人员
+// String safeguardPersonnelNum = obj.getSafeguardPersonnel();
+// WebElement safeguardPersonnelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+// safeguardPersonnelNumEle.clear();
+// safeguardPersonnelNumEle.sendKeys(safeguardPersonnelNum);
+// log.info("填写保障人员---------");
+// Thread.sleep(300);
+//
+//
+// //填写保电车辆
+// String electricallyGuaranteedVehiclesNum = obj.getElectricallyGuaranteedVehicles();
+// WebElement electricallyGuaranteedVehiclesEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+// electricallyGuaranteedVehiclesEle.clear();
+// electricallyGuaranteedVehiclesEle.sendKeys(electricallyGuaranteedVehiclesNum);
+// log.info("填写保电车辆----------");
+//
+// //填写发电车
+// String powerGenerationVehiclesNum = obj.getPowerGenerationVehicles();
+// WebElement powerGenerationVehiclesEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+// powerGenerationVehiclesEle.clear();
+// powerGenerationVehiclesEle.sendKeys(powerGenerationVehiclesNum);
+// log.info("填写发电车---------");
+//
+// //填写发电机
+// String dynamoNum = obj.getDynamo();
+// WebElement dynamoEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+// dynamoEle.clear();
+// dynamoEle.sendKeys(dynamoNum);
+// log.info("填写发电机---------");
+//
+// //填写备注
+// String fiveRemark = obj.getRemark();
+// WebElement fiveRemarkEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/input"));
+// fiveRemarkEle.clear();
+// fiveRemarkEle.sendKeys(fiveRemark);
+// log.info("填写备注----------");
+// Thread.sleep(300);
+// dailySchedule6(bean.getSixBean(), bean);
+// }
+
+ //操作附表6 --- 》变成3
private void dailySchedule6(AnnexSixBean obj, DailyBean bean) throws InterruptedException {
//判断是否需要填写
- WebElement tbody = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody"));
+ WebElement tbody = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3]/div" +
+ "/div[2]/div/div/div[3]/table/tbody"));
List trlist = tbody.findElements(By.tagName("tr"));
log.info("附表6tr:" + trlist.size());
@@ -769,7 +819,8 @@ public class DutyDailyOp {
//填写领导及指挥人员
String ldjzhry = obj.getLeaders_command_staff();
- WebElement ldjzhryEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/input"));
+ WebElement ldjzhryEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[3]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/input"));
ldjzhryEle.clear();
ldjzhryEle.sendKeys(ldjzhry);
log.info("填写领导及指挥人员----------");
@@ -778,7 +829,8 @@ public class DutyDailyOp {
//填写人员数量
String personNum = obj.getInput_amount_person();
- WebElement ryslEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement ryslEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
ryslEle.clear();
Thread.sleep(300);
ryslEle.sendKeys(personNum);
@@ -788,7 +840,8 @@ public class DutyDailyOp {
//填写车辆数量
String carNum = obj.getInput_amount_vehicle();
- WebElement clslEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement clslEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
clslEle.clear();
Thread.sleep(300);
clslEle.sendKeys(carNum);
@@ -798,7 +851,8 @@ public class DutyDailyOp {
//填写发电车数量
String fdcNum = obj.getInput_amount_power_vehicle();
- WebElement fdcNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement fdcNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div" +
+ "[3]/div/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
fdcNumEle.clear();
Thread.sleep(300);
fdcNumEle.sendKeys(fdcNum);
@@ -808,7 +862,8 @@ public class DutyDailyOp {
//填写发电机数量
String fdjNum = obj.getInput_amount_dynamo();
- WebElement fdjNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
+ WebElement fdjNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div" +
+ "[3]/div/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
fdjNumEle.clear();
Thread.sleep(300);
fdjNumEle.sendKeys(fdjNum);
@@ -817,21 +872,22 @@ public class DutyDailyOp {
String bz = obj.getRemark();
- WebElement bzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6]/div/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/input"));
+ WebElement bzEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[3" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/input"));
bzEle.clear();
bzEle.sendKeys(bz);
log.info("填写备注----------");
Thread.sleep(300);
}
dailySchedule7(bean.getSevenBean(), bean);
-// submitData();
}
- //操作附表7
+ //操作附表7 --- > 变成4
private void dailySchedule7(AnnexSevenBean obj, DailyBean bean) throws InterruptedException {
//填写因灾停运-特高压
String psaou = obj.getPower_substation_add_outage_uvh();
- WebElement psaouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement psaouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
psaouEle.clear();
psaouEle.sendKeys(psaou);
log.info("填写新增-因灾停运-特高压----------");
@@ -840,7 +896,8 @@ public class DutyDailyOp {
//填写因灾停运-500
String psaof = obj.getPower_substation_add_outage_five();
- WebElement psaofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement psaofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
psaofEle.clear();
psaofEle.sendKeys(psaof);
log.info("填写新增-因灾停运-500kv----------");
@@ -849,7 +906,8 @@ public class DutyDailyOp {
//填写因灾停运-300
String psaot = obj.getPower_substation_add_outage_two();
- WebElement psaotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement psaotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
psaotEle.clear();
psaotEle.sendKeys(psaot);
log.info("填写新增-因灾停运-220/300kv----------");
@@ -857,7 +915,8 @@ public class DutyDailyOp {
//填写因灾停运-100
String psaoo = obj.getPower_substation_add_outage_one();
- WebElement psaooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement psaooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
psaooEle.clear();
psaooEle.sendKeys(psaoo);
log.info("填写新增-因灾停运-100/66kv----------");
@@ -865,7 +924,8 @@ public class DutyDailyOp {
//填写因灾停运-35
String psaoth = obj.getPower_substation_add_outage_three();
- WebElement psaothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement psaothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
psaothEle.clear();
psaothEle.sendKeys(psaoth);
log.info("填写新增-因灾停运-35kv----------");
@@ -874,7 +934,8 @@ public class DutyDailyOp {
//填写抢修恢复-特高压
String psaru = obj.getPower_substation_add_repair_uvh();
- WebElement psaruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement psaruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
psaruEle.clear();
psaruEle.sendKeys(psaru);
log.info("填写新增-抢修恢复-特高压----------");
@@ -882,7 +943,8 @@ public class DutyDailyOp {
//填写抢修恢复-500
String psarf = obj.getPower_substation_add_repair_five();
- WebElement psarfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement psarfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
psarfEle.clear();
psarfEle.sendKeys(psarf);
log.info("填写新增-抢修恢复-500kv----------");
@@ -890,7 +952,8 @@ public class DutyDailyOp {
//填写抢修恢复-220/300
String psart = obj.getPower_substation_add_repair_two();
- WebElement psartEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement psartEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
psartEle.clear();
psartEle.sendKeys(psart);
log.info("填写新增-抢修恢复-220/300kv----------");
@@ -898,7 +961,8 @@ public class DutyDailyOp {
//填写抢修恢复-100
String psaro = obj.getPower_substation_add_repair_one();
- WebElement psaroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement psaroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
psaroEle.clear();
psaroEle.sendKeys(psaro);
log.info("填写新增-抢修恢复-100/66kv----------");
@@ -906,7 +970,8 @@ public class DutyDailyOp {
//填写抢修恢复-35
String psarth = obj.getPower_substation_add_repair_three();
- WebElement psarthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
+ WebElement psarthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
psarthEle.clear();
psarthEle.sendKeys(psarth);
log.info("填写新增-抢修恢复-35kv----------");
@@ -915,7 +980,8 @@ public class DutyDailyOp {
//填写尚未恢复-特高压
String psanru = obj.getPower_substation_add_no_repair_uvh();
- WebElement psanruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
+ WebElement psanruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
psanruEle.clear();
psanruEle.sendKeys(psanru);
log.info("填写新增-尚未恢复-特高压----------");
@@ -923,7 +989,8 @@ public class DutyDailyOp {
//填写尚未恢复-500
String psanrf = obj.getPower_substation_add_no_repair_five();
- WebElement psanrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
+ WebElement psanrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
psanrfEle.clear();
psanrfEle.sendKeys(psanrf);
log.info("填写新增-尚未恢复-500kv----------");
@@ -931,7 +998,8 @@ public class DutyDailyOp {
//填写尚未恢复-220/300
String psanrt = obj.getPower_substation_add_no_repair_two();
- WebElement psanrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
+ WebElement psanrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
psanrtEle.clear();
psanrtEle.sendKeys(psanrt);
log.info("填写新增-尚未恢复-220/300kv----------");
@@ -939,7 +1007,8 @@ public class DutyDailyOp {
//填写尚未恢复-100
String psanro = obj.getPower_substation_add_no_repair_one();
- WebElement psanroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
+ WebElement psanroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
psanroEle.clear();
psanroEle.sendKeys(psanro);
log.info("填写新增-尚未恢复-100/66kv----------");
@@ -947,7 +1016,8 @@ public class DutyDailyOp {
//填写尚未恢复-35
String psanrth = obj.getPower_substation_add_no_repair_three();
- WebElement psanrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
+ WebElement psanrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[4" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
psanrthEle.clear();
psanrthEle.sendKeys(psanrth);
log.info("填写新增-尚未恢复-35kv----------");
@@ -956,7 +1026,8 @@ public class DutyDailyOp {
//填写因灾停运-特高压
String pscou = obj.getPower_substation_cumulative_outage_uvh();
- WebElement pscouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement pscouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
pscouEle.clear();
pscouEle.sendKeys(pscou);
log.info("填写累计-因灾停运-特高压----------");
@@ -965,7 +1036,8 @@ public class DutyDailyOp {
//填写因灾停运-500
String pscof = obj.getPower_substation_cumulative_outage_five();
- WebElement pscofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement pscofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
pscofEle.clear();
pscofEle.sendKeys(pscof);
log.info("填写累计-因灾停运-500kv----------");
@@ -974,7 +1046,8 @@ public class DutyDailyOp {
//填写因灾停运-300
String pscot = obj.getPower_substation_cumulative_outage_two();
- WebElement pscotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement pscotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
pscotEle.clear();
pscotEle.sendKeys(pscot);
log.info("填写累计-因灾停运-220/300kv----------");
@@ -982,7 +1055,8 @@ public class DutyDailyOp {
//填写因灾停运-100
String pscoo = obj.getPower_substation_cumulative_outage_one();
- WebElement pscooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement pscooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
pscooEle.clear();
pscooEle.sendKeys(pscoo);
log.info("填写累计-因灾停运-100/66kv----------");
@@ -990,7 +1064,8 @@ public class DutyDailyOp {
//填写因灾停运-35
String pscoth = obj.getPower_substation_cumulative_outage_three();
- WebElement pscothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement pscothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
pscothEle.clear();
pscothEle.sendKeys(pscoth);
log.info("填写累计-因灾停运-35kv----------");
@@ -999,7 +1074,8 @@ public class DutyDailyOp {
//填写抢修恢复-特高压
String pscru = obj.getPower_substation_cumulative_repair_uvh();
- WebElement pscruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement pscruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
pscruEle.clear();
pscruEle.sendKeys(pscru);
log.info("填写累计-抢修恢复-特高压----------");
@@ -1007,7 +1083,8 @@ public class DutyDailyOp {
//填写抢修恢复-500
String pscrf = obj.getPower_substation_cumulative_repair_five();
- WebElement pscrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement pscrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
pscrfEle.clear();
pscrfEle.sendKeys(pscrf);
log.info("填写累计-抢修恢复-500kv----------");
@@ -1015,7 +1092,8 @@ public class DutyDailyOp {
//填写抢修恢复-220/300
String pscrt = obj.getPower_substation_cumulative_outage_two();
- WebElement pscrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement pscrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
pscrtEle.clear();
pscrtEle.sendKeys(pscrt);
log.info("填写累计-抢修恢复-220/300kv----------");
@@ -1023,7 +1101,8 @@ public class DutyDailyOp {
//填写抢修恢复-100
String pscro = obj.getPower_substation_cumulative_repair_one();
- WebElement pscroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement pscroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
pscroEle.clear();
pscroEle.sendKeys(pscro);
log.info("填写累计-抢修恢复-100/66kv----------");
@@ -1031,7 +1110,8 @@ public class DutyDailyOp {
//填写抢修恢复-35
String pscrth = obj.getPower_substation_cumulative_outage_three();
- WebElement pscrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
+ WebElement pscrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
pscrthEle.clear();
pscrthEle.sendKeys(pscrth);
log.info("填写累计-抢修恢复-35kv----------");
@@ -1040,7 +1120,8 @@ public class DutyDailyOp {
//填写尚未恢复-特高压
String pscnru = obj.getPower_substation_cumulative_no_repair_uvh();
- WebElement pscnruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
+ WebElement pscnruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
pscnruEle.clear();
pscnruEle.sendKeys(pscnru);
log.info("填写累计-尚未恢复-特高压----------");
@@ -1048,7 +1129,8 @@ public class DutyDailyOp {
//填写尚未恢复-500
String pscnrf = obj.getPower_substation_cumulative_no_repair_five();
- WebElement pscnrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
+ WebElement pscnrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
pscnrfEle.clear();
pscnrfEle.sendKeys(pscnrf);
log.info("填写累计-尚未恢复-500kv----------");
@@ -1056,7 +1138,8 @@ public class DutyDailyOp {
//填写尚未恢复-220/300
String pscnrt = obj.getPower_substation_cumulative_no_repair_two();
- WebElement pscnrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
+ WebElement pscnrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
pscnrtEle.clear();
pscnrtEle.sendKeys(pscnrt);
log.info("填写累计-尚未恢复-220/300kv----------");
@@ -1064,7 +1147,8 @@ public class DutyDailyOp {
//填写尚未恢复-100
String pscnro = obj.getPower_substation_cumulative_no_repair_one();
- WebElement pscnroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
+ WebElement pscnroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
pscnroEle.clear();
pscnroEle.sendKeys(pscnro);
log.info("填写累计-尚未恢复-100/66kv----------");
@@ -1072,7 +1156,8 @@ public class DutyDailyOp {
//填写尚未恢复-35
String pscnrth = obj.getPower_substation_cumulative_no_repair_three();
- WebElement pscnrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
+ WebElement pscnrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[5" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
pscnrthEle.clear();
pscnrthEle.sendKeys(pscnrth);
log.info("填写累计-尚未恢复-35kv----------");
@@ -1083,7 +1168,8 @@ public class DutyDailyOp {
private void dailySchedule8(AnnexEightBean obj, DailyBean bean) throws InterruptedException {
//填写因灾停运-特高压
String traou = obj.getTransmit_electricity_add_outage_uvh();
- WebElement traouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement traouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
traouEle.clear();
traouEle.sendKeys(traou);
log.info("填写新增-因灾停运-特高压----------");
@@ -1092,7 +1178,8 @@ public class DutyDailyOp {
//填写因灾停运-500
String traof = obj.getTransmit_electricity_add_outage_five();
- WebElement traofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement traofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
traofEle.clear();
traofEle.sendKeys(traof);
log.info("填写新增-因灾停运-500kv----------");
@@ -1101,7 +1188,8 @@ public class DutyDailyOp {
//填写因灾停运-300
String traot = obj.getTransmit_electricity_add_outage_two();
- WebElement traotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement traotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
traotEle.clear();
traotEle.sendKeys(traot);
log.info("填写新增-因灾停运-220/300kv----------");
@@ -1109,7 +1197,8 @@ public class DutyDailyOp {
//填写因灾停运-100
String traoo = obj.getTransmit_electricity_add_outage_one();
- WebElement traooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement traooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
traooEle.clear();
traooEle.sendKeys(traoo);
log.info("填写新增-因灾停运-100/66kv----------");
@@ -1117,7 +1206,8 @@ public class DutyDailyOp {
//填写因灾停运-35
String traoth = obj.getTransmit_electricity_add_outage_three();
- WebElement traothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement traothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
traothEle.clear();
traothEle.sendKeys(traoth);
log.info("填写新增-因灾停运-35kv----------");
@@ -1125,7 +1215,8 @@ public class DutyDailyOp {
//填写因灾停运-10
String traote = obj.getTransmit_electricity_add_outage_ten();
- WebElement traoteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement traoteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
traoteEle.clear();
traoteEle.sendKeys(traote);
log.info("填写新增-因灾停运-10kv----------");
@@ -1134,7 +1225,8 @@ public class DutyDailyOp {
//填写抢修恢复-特高压
String traru = obj.getTransmit_electricity_add_repair_uvh();
- WebElement traruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement traruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
traruEle.clear();
traruEle.sendKeys(traru);
log.info("填写新增-抢修恢复-特高压----------");
@@ -1142,7 +1234,8 @@ public class DutyDailyOp {
//填写抢修恢复-500
String trarf = obj.getTransmit_electricity_add_repair_five();
- WebElement trarfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement trarfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
trarfEle.clear();
trarfEle.sendKeys(trarf);
log.info("填写新增-抢修恢复-500kv----------");
@@ -1150,7 +1243,8 @@ public class DutyDailyOp {
//填写抢修恢复-220/300
String trart = obj.getTransmit_electricity_add_repair_two();
- WebElement trartEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement trartEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
trartEle.clear();
trartEle.sendKeys(trart);
log.info("填写新增-抢修恢复-220/300kv----------");
@@ -1158,7 +1252,8 @@ public class DutyDailyOp {
//填写抢修恢复-100
String traro = obj.getTransmit_electricity_add_repair_one();
- WebElement traroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
+ WebElement traroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
traroEle.clear();
traroEle.sendKeys(traro);
log.info("填写新增-抢修恢复-100/66kv----------");
@@ -1166,7 +1261,8 @@ public class DutyDailyOp {
//填写抢修恢复-35
String trarth = obj.getTransmit_electricity_add_repair_three();
- WebElement trarthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
+ WebElement trarthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
trarthEle.clear();
trarthEle.sendKeys(trarth);
log.info("填写新增-抢修恢复-35kv----------");
@@ -1174,7 +1270,8 @@ public class DutyDailyOp {
//填写抢修恢复-10
String trarte = obj.getTransmit_electricity_add_repair_ten();
- WebElement trarteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
+ WebElement trarteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
trarteEle.clear();
trarteEle.sendKeys(trarte);
log.info("填写新增-抢修恢复-10kv----------");
@@ -1182,7 +1279,8 @@ public class DutyDailyOp {
//填写尚未恢复-特高压
String tranru = obj.getTransmit_electricity_add_no_repair_uvh();
- WebElement tranruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
+ WebElement tranruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
tranruEle.clear();
tranruEle.sendKeys(tranru);
log.info("填写新增-尚未恢复-特高压----------");
@@ -1190,7 +1288,8 @@ public class DutyDailyOp {
//填写尚未恢复-500
String tranrf = obj.getTransmit_electricity_add_no_repair_five();
- WebElement tranrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
+ WebElement tranrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
tranrfEle.clear();
tranrfEle.sendKeys(tranrf);
log.info("填写新增-尚未恢复-500kv----------");
@@ -1198,7 +1297,8 @@ public class DutyDailyOp {
//填写尚未恢复-220/300
String tranrt = obj.getTransmit_electricity_add_no_repair_two();
- WebElement tranrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
+ WebElement tranrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
tranrtEle.clear();
tranrtEle.sendKeys(tranrt);
log.info("填写新增-尚未恢复-220/300kv----------");
@@ -1206,7 +1306,8 @@ public class DutyDailyOp {
//填写尚未恢复-100
String tranro = obj.getTransmit_electricity_add_no_repair_one();
- WebElement tranroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[19]/div/div/div/input"));
+ WebElement tranroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[19]/div/div/div/input"));
tranroEle.clear();
tranroEle.sendKeys(tranro);
log.info("填写新增-尚未恢复-100/66kv----------");
@@ -1214,7 +1315,8 @@ public class DutyDailyOp {
//填写尚未恢复-35
String tranrth = obj.getTransmit_electricity_add_no_repair_three();
- WebElement tranrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[20]/div/div/div/input"));
+ WebElement tranrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[20]/div/div/div/input"));
tranrthEle.clear();
tranrthEle.sendKeys(tranrth);
log.info("填写新增-尚未恢复-35kv----------");
@@ -1222,7 +1324,8 @@ public class DutyDailyOp {
//填写尚未恢复-10
String tranrte = obj.getTransmit_electricity_add_no_repair_ten();
- WebElement tranrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div[2]/div/div/div[3]/table/tbody/tr/td[21]/div/div/div/input"));
+ WebElement tranrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[6" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[21]/div/div/div/input"));
tranrteEle.clear();
tranrteEle.sendKeys(tranrte);
log.info("填写新增-尚未恢复-10kv----------");
@@ -1230,7 +1333,8 @@ public class DutyDailyOp {
//填写因灾停运-特高压
String trcou = obj.getTransmit_electricity_cumulative_outage_uvh();
- WebElement trcouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement trcouEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
trcouEle.clear();
trcouEle.sendKeys(trcou);
log.info("填写累计-因灾停运-特高压----------");
@@ -1239,7 +1343,8 @@ public class DutyDailyOp {
//填写因灾停运-500
String trcof = obj.getTransmit_electricity_cumulative_outage_five();
- WebElement trcofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement trcofEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
trcofEle.clear();
trcofEle.sendKeys(trcof);
log.info("填写累计-因灾停运-500kv----------");
@@ -1248,7 +1353,8 @@ public class DutyDailyOp {
//填写因灾停运-300
String trcot = obj.getTransmit_electricity_cumulative_outage_two();
- WebElement trcotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement trcotEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
trcotEle.clear();
trcotEle.sendKeys(trcot);
log.info("填写累计-因灾停运-220/300kv----------");
@@ -1256,7 +1362,8 @@ public class DutyDailyOp {
//填写因灾停运-100
String trcoo = obj.getTransmit_electricity_cumulative_outage_one();
- WebElement trcooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement trcooEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
trcooEle.clear();
trcooEle.sendKeys(trcoo);
log.info("填写累计-因灾停运-100/66kv----------");
@@ -1264,7 +1371,8 @@ public class DutyDailyOp {
//填写因灾停运-35
String trcoth = obj.getTransmit_electricity_cumulative_outage_three();
- WebElement trcothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement trcothEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
trcothEle.clear();
trcothEle.sendKeys(trcoth);
log.info("填写累计-因灾停运-35kv----------");
@@ -1272,7 +1380,8 @@ public class DutyDailyOp {
//填写因灾停运-10
String trcote = obj.getTransmit_electricity_cumulative_outage_ten();
- WebElement trcoteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement trcoteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
trcoteEle.clear();
trcoteEle.sendKeys(trcote);
log.info("填写累计-因灾停运-35kv----------");
@@ -1280,7 +1389,8 @@ public class DutyDailyOp {
//填写抢修恢复-特高压
String trcru = obj.getTransmit_electricity_cumulative_repair_uvh();
- WebElement trcruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement trcruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
trcruEle.clear();
trcruEle.sendKeys(trcru);
log.info("填写累计-抢修恢复-特高压----------");
@@ -1288,7 +1398,8 @@ public class DutyDailyOp {
//填写抢修恢复-500
String trcrf = obj.getTransmit_electricity_cumulative_repair_five();
- WebElement trcrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement trcrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
trcrfEle.clear();
trcrfEle.sendKeys(trcrf);
log.info("填写累计-抢修恢复-500kv----------");
@@ -1296,7 +1407,8 @@ public class DutyDailyOp {
//填写抢修恢复-220/300
String trcrt = obj.getTransmit_electricity_cumulative_repair_two();
- WebElement trcrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement trcrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
trcrtEle.clear();
trcrtEle.sendKeys(trcrt);
log.info("填写累计-抢修恢复-220/300kv----------");
@@ -1304,7 +1416,8 @@ public class DutyDailyOp {
//填写抢修恢复-100
String trcro = obj.getTransmit_electricity_cumulative_repair_one();
- WebElement trcroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
+ WebElement trcroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/div/input"));
trcroEle.clear();
trcroEle.sendKeys(trcro);
log.info("填写累计-抢修恢复-100/66kv----------");
@@ -1312,7 +1425,8 @@ public class DutyDailyOp {
//填写抢修恢复-35
String trcrth = obj.getTransmit_electricity_cumulative_repair_three();
- WebElement trcrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
+ WebElement trcrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[14]/div/div/div/input"));
trcrthEle.clear();
trcrthEle.sendKeys(trcrth);
log.info("填写累计-抢修恢复-35kv----------");
@@ -1320,7 +1434,8 @@ public class DutyDailyOp {
//填写抢修恢复-10
String trcrte = obj.getTransmit_electricity_cumulative_repair_ten();
- WebElement trcrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
+ WebElement trcrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[15]/div/div/div/input"));
trcrteEle.clear();
trcrteEle.sendKeys(trcrte);
log.info("填写累计-抢修恢复-10kv----------");
@@ -1328,7 +1443,8 @@ public class DutyDailyOp {
//填写尚未恢复-特高压
String trcnru = obj.getTransmit_electricity_cumulative_no_repair_uvh();
- WebElement trcnruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
+ WebElement trcnruEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[16]/div/div/div/input"));
trcnruEle.clear();
trcnruEle.sendKeys(trcnru);
log.info("填写累计-尚未恢复-特高压----------");
@@ -1336,7 +1452,8 @@ public class DutyDailyOp {
//填写尚未恢复-500
String trcnrf = obj.getTransmit_electricity_cumulative_no_repair_five();
- WebElement trcnrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
+ WebElement trcnrfEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[17]/div/div/div/input"));
trcnrfEle.clear();
trcnrfEle.sendKeys(trcnrf);
log.info("填写累计-尚未恢复-500kv----------");
@@ -1344,7 +1461,8 @@ public class DutyDailyOp {
//填写尚未恢复-220/300
String trcnrt = obj.getTransmit_electricity_cumulative_no_repair_two();
- WebElement trcnrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
+ WebElement trcnrtEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[18]/div/div/div/input"));
trcnrtEle.clear();
trcnrtEle.sendKeys(trcnrt);
log.info("填写累计-尚未恢复-220/300kv----------");
@@ -1352,7 +1470,8 @@ public class DutyDailyOp {
//填写尚未恢复-100
String trcnro = obj.getTransmit_electricity_cumulative_no_repair_one();
- WebElement trcnroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[19]/div/div/div/input"));
+ WebElement trcnroEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[19]/div/div/div/input"));
trcnroEle.clear();
trcnroEle.sendKeys(trcnro);
log.info("填写累计-尚未恢复-100/66kv----------");
@@ -1360,7 +1479,8 @@ public class DutyDailyOp {
//填写尚未恢复-35
String trcnrth = obj.getTransmit_electricity_cumulative_no_repair_three();
- WebElement trcnrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[20]/div/div/div/input"));
+ WebElement trcnrthEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[20]/div/div/div/input"));
trcnrthEle.clear();
trcnrthEle.sendKeys(trcnrth);
log.info("填写累计-尚未恢复-35kv----------");
@@ -1368,7 +1488,8 @@ public class DutyDailyOp {
//填写尚未恢复-10
String trcnrte = obj.getTransmit_electricity_cumulative_no_repair_ten();
- WebElement trcnrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[21]/div/div/div/input"));
+ WebElement trcnrteEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[7" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[21]/div/div/div/input"));
trcnrteEle.clear();
trcnrteEle.sendKeys(trcnrte);
log.info("填写累计-尚未恢复-10kv----------");
@@ -1381,7 +1502,8 @@ public class DutyDailyOp {
//因灾停电-台区
String abtd = obj.getAdd_blackout_tai_district();
- WebElement abtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement abtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
abtdEle.clear();
abtdEle.sendKeys(abtd);
log.info("填写新增-因灾停电-台区----------");
@@ -1389,7 +1511,8 @@ public class DutyDailyOp {
//因灾停电-用户
String abtu = obj.getAdd_blackout_user();
- WebElement abtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement abtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
abtuEle.clear();
abtuEle.sendKeys(abtu);
log.info("填写新增-因灾停电-用户----------");
@@ -1397,7 +1520,8 @@ public class DutyDailyOp {
//抢修恢复-台区
String artd = obj.getAdd_repair_tai_district();
- WebElement artdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement artdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
artdEle.clear();
artdEle.sendKeys(artd);
log.info("填写新增-抢修恢复-台区----------");
@@ -1405,7 +1529,8 @@ public class DutyDailyOp {
//抢修恢复-用户
String artu = obj.getAdd_repair_user();
- WebElement artuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement artuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
artuEle.clear();
artuEle.sendKeys(artu);
log.info("填写新增-抢修恢复-用户----------");
@@ -1413,7 +1538,8 @@ public class DutyDailyOp {
//尚未恢复-台区
String anrtd = obj.getAdd_no_repair_tai_district();
- WebElement anrtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement anrtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
anrtdEle.clear();
anrtdEle.sendKeys(anrtd);
log.info("填写新增-尚未恢复-台区----------");
@@ -1421,7 +1547,8 @@ public class DutyDailyOp {
//尚未恢复-用户
String anrtu = obj.getAdd_no_repair_user();
- WebElement anrtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement anrtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8" +
+ "]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
anrtuEle.clear();
anrtuEle.sendKeys(anrtu);
log.info("填写新增-尚未恢复-用户----------");
@@ -1429,7 +1556,8 @@ public class DutyDailyOp {
//出动抢修力量-用户
String app = obj.getAdd_power_personnel();
- WebElement appEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement appEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div" +
+ "/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
appEle.clear();
appEle.sendKeys(app);
log.info("填写新增-出动抢修力量-台区----------");
@@ -1437,7 +1565,8 @@ public class DutyDailyOp {
//出动抢修力量-车辆
String apv = obj.getAdd_power_vehicle();
- WebElement apvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement apvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[8]/div" +
+ "/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
apvEle.clear();
apvEle.sendKeys(apv);
log.info("填写新增-出动抢修力量-用户----------");
@@ -1446,7 +1575,8 @@ public class DutyDailyOp {
//因灾停电-台区
String cbtd = obj.getCumulative_blackout_tai_district();
- WebElement cbtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement cbtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
cbtdEle.clear();
cbtdEle.sendKeys(cbtd);
log.info("填写累计-因灾停电-台区----------");
@@ -1454,7 +1584,8 @@ public class DutyDailyOp {
//因灾停电-用户
String cbtu = obj.getCumulative_blackout_user();
- WebElement cbtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement cbtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
cbtuEle.clear();
cbtuEle.sendKeys(cbtu);
log.info("填写累计-因灾停电-用户----------");
@@ -1462,7 +1593,8 @@ public class DutyDailyOp {
//抢修恢复-台区
String crtd = obj.getCumulative_repair_tai_district();
- WebElement crtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement crtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
crtdEle.clear();
crtdEle.sendKeys(crtd);
log.info("填写累计-抢修恢复-台区----------");
@@ -1470,7 +1602,8 @@ public class DutyDailyOp {
//抢修恢复-用户
String crtu = obj.getCumulative_repair_user();
- WebElement crtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement crtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
crtuEle.clear();
crtuEle.sendKeys(crtu);
log.info("填写累计-抢修恢复-用户----------");
@@ -1478,7 +1611,8 @@ public class DutyDailyOp {
//尚未恢复-台区
String cnrtd = obj.getCumulative_no_repair_tai_district();
- WebElement cnrtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement cnrtdEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
cnrtdEle.clear();
cnrtdEle.sendKeys(cnrtd);
log.info("填写累计-尚未恢复-台区----------");
@@ -1486,7 +1620,8 @@ public class DutyDailyOp {
//尚未恢复-用户
String cnrtu = obj.getCumulative_no_repair_user();
- WebElement cnrtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement cnrtuEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9" +
+ "]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
cnrtuEle.clear();
cnrtuEle.sendKeys(cnrtu);
log.info("填写累计-尚未恢复-用户----------");
@@ -1494,7 +1629,8 @@ public class DutyDailyOp {
//出动抢修力量-用户
String cpp = obj.getCumulative_power_personnel();
- WebElement cppEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement cppEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div" +
+ "[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
cppEle.clear();
cppEle.sendKeys(cpp);
log.info("填写累计-出动抢修力量-台区----------");
@@ -1502,7 +1638,8 @@ public class DutyDailyOp {
//出动抢修力量-车辆
String cpv = obj.getCumulative_power_vehicle();
- WebElement cpvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement cpvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[9]/div" +
+ "[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
cpvEle.clear();
cpvEle.sendKeys(cpv);
log.info("填写累计-出动抢修力量-用户----------");
@@ -1512,14 +1649,16 @@ public class DutyDailyOp {
private void dailySchedule10(AnnexTenBean obj, DailyBean bean) throws InterruptedException {
- WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[1]/div/div/div"));
+ WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[10" +
+ "]/div[1]/div/div/div"));
String className = kaiguanEle.getAttribute("class");
if ("el-switch".equals(className)) {
log.info("附表十未开启,跳过");
} else {
//填写特高压
String tenUhvNum = obj.getUhv();
- WebElement tenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement tenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div" +
+ "[10]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
tenUhvEle.clear();
tenUhvEle.sendKeys(tenUhvNum);
log.info("填写特高压----------");
@@ -1527,7 +1666,8 @@ public class DutyDailyOp {
//填写500k
String tenFiveHundredKvNum = obj.getFiveHundredKv();
- WebElement tenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement tenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div" +
+ "[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
tenFiveHundredKvNumEle.clear();
tenFiveHundredKvNumEle.sendKeys(tenFiveHundredKvNum);
log.info("填写500k----------");
@@ -1535,7 +1675,8 @@ public class DutyDailyOp {
//填写220/330kV
String tenTwoHundredTwentyKvNum = obj.getTwoHundredTwentyKv();
- WebElement tenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement tenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
tenTwoHundredTwentyKvNumEle.clear();
tenTwoHundredTwentyKvNumEle.sendKeys(tenTwoHundredTwentyKvNum);
log.info("填写220/330kV---------");
@@ -1544,7 +1685,8 @@ public class DutyDailyOp {
//填写110/66kV
String tenOneHundredTenKvNum = obj.getOneHundredTenKv();
- WebElement tenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement tenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
tenOneHundredTenKvNumEle.clear();
tenOneHundredTenKvNumEle.sendKeys(tenOneHundredTenKvNum);
log.info("填写110/66kV---------");
@@ -1553,42 +1695,48 @@ public class DutyDailyOp {
//填写35kV
String tenThirtyFiveKvNum = obj.getThirtyFiveKv();
- WebElement tenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement tenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
tenThirtyFiveKvNumEle.clear();
tenThirtyFiveKvNumEle.sendKeys(tenThirtyFiveKvNum);
log.info("填写35kV----------");
//填写10kV
String tenTenKvNum = obj.getTenKv();
- WebElement tenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement tenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
tenTenKvNumEle.clear();
tenTenKvNumEle.sendKeys(tenTenKvNum);
log.info("填写10kV---------");
//填写平均覆冰
String tenAverageWaterLevelNum = obj.getAverageWaterLevel();
- WebElement tenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement tenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
tenAverageWaterLevelNumEle.clear();
tenAverageWaterLevelNumEle.sendKeys(tenAverageWaterLevelNum);
log.info("填写平均覆冰---------");
//填写最大覆冰-实际值
String tenMeasuredValueNum = obj.getMeasuredValue();
- WebElement tenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement tenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div" +
+ "[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
tenMeasuredValueNumEle.clear();
tenMeasuredValueNumEle.sendKeys(tenMeasuredValueNum);
log.info("填写最大覆冰-实际值---------");
//填写最大覆冰-设计值
String tenDesignValuesNum = obj.getDesignValues();
- WebElement tenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement tenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
tenDesignValuesNumEle.clear();
tenDesignValuesNumEle.sendKeys(tenDesignValuesNum);
log.info("填写最大覆冰-设计值---------");
//填写已采取措施行动
String tenActionHasBeenTaken = obj.getActionHasBeenTaken();
- WebElement tenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/input"));
+ WebElement tenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[10]/div[2]/div/div/div[3]/table/tbody/tr/td[13]/div/div/input"));
tenActionHasBeenTakenEle.clear();
tenActionHasBeenTakenEle.sendKeys(tenActionHasBeenTaken);
log.info("填写已采取措施行动----------");
@@ -1601,14 +1749,16 @@ public class DutyDailyOp {
private void dailySchedule11(AnnexElevenBean obj, DailyBean bean) throws InterruptedException {
try{
- WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div[1]/div/div/div"));
+ WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[11]/div[1]/div/div/div"));
String className = kaiguanEle.getAttribute("class");
if ("el-switch".equals(className)) {
log.info("附表十一未开启,跳过");
} else {
//填写线路电压等级
String elevenUhvNum = obj.getUhv();
- WebElement elevenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement elevenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div" +
+ "[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
elevenUhvEle.clear();
elevenUhvEle.sendKeys(elevenUhvNum);
log.info("填写线路电压等级----------");
@@ -1616,7 +1766,8 @@ public class DutyDailyOp {
//填写线路名称
String elevenFiveHundredKvNum = obj.getFiveHundredKv();
- WebElement elevenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/input"));
+ WebElement elevenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/input"));
elevenFiveHundredKvNumEle.clear();
elevenFiveHundredKvNumEle.sendKeys(elevenFiveHundredKvNum);
log.info("填写线路名称----------");
@@ -1624,7 +1775,8 @@ public class DutyDailyOp {
//填写起始杆塔号
String elevenTwoHundredTwentyKvNum = obj.getTwoHundredTwentyKv();
- WebElement elevenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/input"));
+ WebElement elevenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/input"));
elevenTwoHundredTwentyKvNumEle.clear();
elevenTwoHundredTwentyKvNumEle.sendKeys(elevenTwoHundredTwentyKvNum);
log.info("填写起始杆塔号---------");
@@ -1633,7 +1785,8 @@ public class DutyDailyOp {
//填写结束杆塔号
String elevenOneHundredTenKvNum = obj.getOneHundredTenKv();
- WebElement elevenOneHundredTenKvNumNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/input"));
+ WebElement elevenOneHundredTenKvNumNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/input"));
elevenOneHundredTenKvNumNumEle.clear();
elevenOneHundredTenKvNumNumEle.sendKeys(elevenOneHundredTenKvNum);
log.info("填写结束杆塔号---------");
@@ -1642,35 +1795,41 @@ public class DutyDailyOp {
//填写覆冰厚度
String elevenThirtyFiveKvNum = obj.getThirtyFiveKv();
- WebElement elevenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement elevenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
elevenThirtyFiveKvNumEle.clear();
elevenThirtyFiveKvNumEle.sendKeys(elevenThirtyFiveKvNum);
log.info("填写覆冰厚度---------");
//填写设计覆冰厚度
String elevenTenKvNum = obj.getTenKv();
- WebElement elevenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement elevenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
elevenTenKvNumEle.clear();
elevenTenKvNumEle.sendKeys(elevenTenKvNum);
log.info("填写设计覆冰厚度---------");
//填写采取措施冰厚
String elevenAverageWaterLevelNum = obj.getAverageWaterLevel();
- WebElement elevenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement elevenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div" +
+ "/input"));
elevenAverageWaterLevelNumEle.clear();
elevenAverageWaterLevelNumEle.sendKeys(elevenAverageWaterLevelNum);
log.info("填写采取措施冰厚---------");
//填写可供使用抗冰装备
String elevenMeasuredValueNum = obj.getMeasuredValue();
- WebElement elevenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/input"));
+ WebElement elevenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/input"));
elevenMeasuredValueNumEle.clear();
elevenMeasuredValueNumEle.sendKeys(elevenMeasuredValueNum);
log.info("填写可供使用抗冰装备---------");
//填写已采取措施行动
String elevenActionHasBeenTaken = obj.getActionHasBeenTaken();
- WebElement elevenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[14]/div/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/input"));
+ WebElement elevenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[11]/div/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/input"));
elevenActionHasBeenTakenEle.clear();
elevenActionHasBeenTakenEle.sendKeys(elevenActionHasBeenTaken);
log.info("填写已采取措施行动----------");
@@ -1686,14 +1845,16 @@ public class DutyDailyOp {
//操作附表12
private void dailySchedule12(AnnexTwelveBean obj, DailyBean bean) throws InterruptedException {
try {
- WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[1]/div/div/div"));
+ WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[12]/div[1]/div/div/div"));
String className = kaiguanEle.getAttribute("class");
if ("el-switch".equals(className)) {
log.info("附表十二未开启,跳过");
} else {
//填写特高压
String twelveUhvNum = obj.getUhv();
- WebElement twelveUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
+ WebElement twelveUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div" +
+ "[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
twelveUhvEle.clear();
twelveUhvEle.sendKeys(twelveUhvNum);
log.info("填写特高压----------");
@@ -1701,7 +1862,8 @@ public class DutyDailyOp {
//填写500k
String twelveFiveHundredKvNum = obj.getFiveHundredKv();
- WebElement twelveFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement twelveFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
twelveFiveHundredKvNumEle.clear();
twelveFiveHundredKvNumEle.sendKeys(twelveFiveHundredKvNum);
log.info("填写500k----------");
@@ -1709,7 +1871,8 @@ public class DutyDailyOp {
//填写220/330kV
String twelveTwoHundredTwentyKvNum = obj.getTwoHundredTwentyKv();
- WebElement twelveTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement twelveTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
twelveTwoHundredTwentyKvNumEle.clear();
twelveTwoHundredTwentyKvNumEle.sendKeys(twelveTwoHundredTwentyKvNum);
log.info("填写220/330kV---------");
@@ -1718,7 +1881,8 @@ public class DutyDailyOp {
//填写110/66kV
String twelveOneHundredTenKvNum = obj.getOneHundredTenKv();
- WebElement twelveOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement twelveOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
twelveOneHundredTenKvNumEle.clear();
twelveOneHundredTenKvNumEle.sendKeys(twelveOneHundredTenKvNum);
log.info("填写110/66kV---------");
@@ -1727,42 +1891,48 @@ public class DutyDailyOp {
//填写35kV
String twelveThirtyFiveKvNum = obj.getThirtyFiveKv();
- WebElement twelveThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement twelveThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
twelveThirtyFiveKvNumEle.clear();
twelveThirtyFiveKvNumEle.sendKeys(twelveThirtyFiveKvNum);
log.info("填写35kV----------");
//填写10kV
String twelveTenKvNum = obj.getTenKv();
- WebElement twelveTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement twelveTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
twelveTenKvNumEle.clear();
twelveTenKvNumEle.sendKeys(twelveTenKvNum);
log.info("填写10kV---------");
//填写平均水位
String twelveAverageWaterLevelNum = obj.getAverageWaterLevel();
- WebElement twelveAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement twelveAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
twelveAverageWaterLevelNumEle.clear();
twelveAverageWaterLevelNumEle.sendKeys(twelveAverageWaterLevelNum);
log.info("填写平均水位---------");
//填写最大水位-实际值
String twelveMeasuredValueNum = obj.getMeasuredValue();
- WebElement twelveMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement twelveMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
twelveMeasuredValueNumEle.clear();
twelveMeasuredValueNumEle.sendKeys(twelveMeasuredValueNum);
log.info("填写最大水位-实际值---------");
//填写最大水位-设计值
String twelveDesignValuesNum = obj.getDesignValues();
- WebElement twelveDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement twelveDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
twelveDesignValuesNumEle.clear();
twelveDesignValuesNumEle.sendKeys(twelveDesignValuesNum);
log.info("填写最大水位-设计值---------");
//填写已采取措施行动
String twelveActionHasBeenTaken = obj.getActionHasBeenTaken();
- WebElement twelveActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[15]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement twelveActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[12]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
twelveActionHasBeenTakenEle.clear();
twelveActionHasBeenTakenEle.sendKeys(twelveActionHasBeenTaken);
log.info("填写已采取措施行动----------");
@@ -1778,14 +1948,16 @@ public class DutyDailyOp {
//操作附表13
private void dailySchedule13(AnnexThirteenBean obj, DailyBean bean) throws InterruptedException {
try{
- WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div/div[1]/div/div/div"));
+ WebElement kaiguanEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[13]/div/div[1]/div/div/div"));
String className = kaiguanEle.getAttribute("class");
if ("el-switch".equals(className)) {
log.info("附表十三未开启,跳过");
} else {
//填写特高压
String thirteenUhvNum = obj.getUhv();
- WebElement thirteenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
+ WebElement thirteenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
thirteenUhvEle.clear();
thirteenUhvEle.sendKeys(thirteenUhvNum);
log.info("填写特高压----------");
@@ -1793,7 +1965,8 @@ public class DutyDailyOp {
//填写500k
String thirteenFiveHundredKvNum = obj.getFiveHundredKv();
- WebElement thirteenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement thirteenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
thirteenFiveHundredKvNumEle.clear();
thirteenFiveHundredKvNumEle.sendKeys(thirteenFiveHundredKvNum);
log.info("填写500k----------");
@@ -1801,7 +1974,8 @@ public class DutyDailyOp {
//填写220/330kV
String thirteenTwoHundredTwentyKvNum = obj.getTwoHundredTwentyKv();
- WebElement thirteenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement thirteenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
thirteenTwoHundredTwentyKvNumEle.clear();
thirteenTwoHundredTwentyKvNumEle.sendKeys(thirteenTwoHundredTwentyKvNum);
log.info("填写220/330kV---------");
@@ -1810,7 +1984,8 @@ public class DutyDailyOp {
//填写110/66kV
String thirteenOneHundredTenKvNum = obj.getOneHundredTenKv();
- WebElement thirteenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement thirteenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
thirteenOneHundredTenKvNumEle.clear();
thirteenOneHundredTenKvNumEle.sendKeys(thirteenOneHundredTenKvNum);
log.info("填写110/66kV---------");
@@ -1819,42 +1994,48 @@ public class DutyDailyOp {
//填写35kV
String thirteenThirtyFiveKvNum = obj.getThirtyFiveKv();
- WebElement thirteenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement thirteenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
thirteenThirtyFiveKvNumEle.clear();
thirteenThirtyFiveKvNumEle.sendKeys(thirteenThirtyFiveKvNum);
log.info("填写35kV----------");
//填写10kV
String thirteenTenKvNum = obj.getTenKv();
- WebElement thirteenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement thirteenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div" +
+ "[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
thirteenTenKvNumEle.clear();
thirteenTenKvNumEle.sendKeys(thirteenTenKvNum);
log.info("填写10kV---------");
//填写平均水位
String thirteenAverageWaterLevelNum = obj.getAverageWaterLevel();
- WebElement thirteenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement thirteenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
thirteenAverageWaterLevelNumEle.clear();
thirteenAverageWaterLevelNumEle.sendKeys(thirteenAverageWaterLevelNum);
log.info("填写平均水位---------");
//填写最大水位-实际值
String thirteenMeasuredValueNum = obj.getMeasuredValue();
- WebElement thirteenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement thirteenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
thirteenMeasuredValueNumEle.clear();
thirteenMeasuredValueNumEle.sendKeys(thirteenMeasuredValueNum);
log.info("填写最大水位-实际值---------");
//填写最大水位-设计值
String thirteenDesignValuesNum = obj.getDesignValues();
- WebElement thirteenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement thirteenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
thirteenDesignValuesNumEle.clear();
thirteenDesignValuesNumEle.sendKeys(thirteenDesignValuesNum);
log.info("填写最大水位-设计值---------");
//填写已采取措施行动
String thirteenActionHasBeenTaken = obj.getActionHasBeenTaken();
- WebElement thirteenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
+ WebElement thirteenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[13]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/div/input"));
thirteenActionHasBeenTakenEle.clear();
thirteenActionHasBeenTakenEle.sendKeys(thirteenActionHasBeenTaken);
log.info("填写已采取措施行动----------");
@@ -1871,7 +2052,8 @@ public class DutyDailyOp {
try {
//填写特高压
String fourteenUhvNum = obj.getUhv();
- WebElement fourteenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
+ WebElement fourteenUhvEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1" +
+ "]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[3]/div/div/div/input"));
fourteenUhvEle.clear();
fourteenUhvEle.sendKeys(fourteenUhvNum);
log.info("填写特高压----------");
@@ -1879,7 +2061,8 @@ public class DutyDailyOp {
//填写500k
String fourteenFiveHundredKvNum = obj.getFiveHundredKv();
- WebElement fourteenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
+ WebElement fourteenFiveHundredKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[4]/div/div/div/input"));
fourteenFiveHundredKvNumEle.clear();
fourteenFiveHundredKvNumEle.sendKeys(fourteenFiveHundredKvNum);
log.info("填写500k----------");
@@ -1887,7 +2070,8 @@ public class DutyDailyOp {
//填写220/330kV
String fourteenTwoHundredTwentyKvNum = obj.getTwoHundredTwentyKv();
- WebElement fourteenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
+ WebElement fourteenTwoHundredTwentyKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div" +
+ "/section/div/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[5]/div/div/div/input"));
fourteenTwoHundredTwentyKvNumEle.clear();
fourteenTwoHundredTwentyKvNumEle.sendKeys(fourteenTwoHundredTwentyKvNum);
log.info("填写220/330kV---------");
@@ -1896,7 +2080,8 @@ public class DutyDailyOp {
//填写110/66kV
String fourteenOneHundredTenKvNum = obj.getOneHundredTenKv();
- WebElement fourteenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
+ WebElement fourteenOneHundredTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[6]/div/div/div/input"));
fourteenOneHundredTenKvNumEle.clear();
fourteenOneHundredTenKvNumEle.sendKeys(fourteenOneHundredTenKvNum);
log.info("填写110/66kV---------");
@@ -1905,42 +2090,48 @@ public class DutyDailyOp {
//填写35kV
String fourteenThirtyFiveKvNum = obj.getThirtyFiveKv();
- WebElement fourteenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
+ WebElement fourteenThirtyFiveKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[7]/div/div/div/input"));
fourteenThirtyFiveKvNumEle.clear();
fourteenThirtyFiveKvNumEle.sendKeys(fourteenThirtyFiveKvNum);
log.info("填写35kV----------");
//填写10kV
String fourteenTenKvNum = obj.getTenKv();
- WebElement fourteenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
+ WebElement fourteenTenKvNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4" +
+ "]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[8]/div/div/div/input"));
fourteenTenKvNumEle.clear();
fourteenTenKvNumEle.sendKeys(fourteenTenKvNum);
log.info("填写10kV---------");
//填写平均水位
String fourteenAverageWaterLevelNum = obj.getAverageWaterLevel();
- WebElement fourteenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
+ WebElement fourteenAverageWaterLevelNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[9]/div/div/div/input"));
fourteenAverageWaterLevelNumEle.clear();
fourteenAverageWaterLevelNumEle.sendKeys(fourteenAverageWaterLevelNum);
log.info("填写平均水位---------");
//填写最大水位-实际值
String fourteenMeasuredValueNum = obj.getMeasuredValue();
- WebElement fourteenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
+ WebElement fourteenMeasuredValueNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[10]/div/div/div/input"));
fourteenMeasuredValueNumEle.clear();
fourteenMeasuredValueNumEle.sendKeys(fourteenMeasuredValueNum);
log.info("填写最大水位-实际值---------");
//填写最大水位-设计值
String fourteenDesignValuesNum = obj.getDesignValues();
- WebElement fourteenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
+ WebElement fourteenDesignValuesNumEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div" +
+ "/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[11]/div/div/div/input"));
fourteenDesignValuesNumEle.clear();
fourteenDesignValuesNumEle.sendKeys(fourteenDesignValuesNum);
log.info("填写最大水位-设计值---------");
//填写已采取措施行动
String fourteenActionHasBeenTaken = obj.getActionHasBeenTaken();
- WebElement fourteenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[17]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/input"));
+ WebElement fourteenActionHasBeenTakenEle = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section" +
+ "/div/div[4]/div[1]/div[14]/div[2]/div/div/div[3]/table/tbody/tr/td[12]/div/div/input"));
fourteenActionHasBeenTakenEle.clear();
fourteenActionHasBeenTakenEle.sendKeys(fourteenActionHasBeenTaken);
log.info("填写已采取措施行动----------");
@@ -1954,7 +2145,8 @@ public class DutyDailyOp {
//提交数据
private void submitData() throws InterruptedException {
// //点击提交按钮,提交数据
- WebElement submitBtn = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[19]/button[3]"));
+ WebElement submitBtn = webDriver.findElement(By.xpath("//*[@id=\"app\"]/div/section/div/div[4]/div[1]/div[16" +
+ "]/button[3]"));
if (submitBtn.isDisplayed()) {
//存在
log.info("日报提交按钮存在-----------");
diff --git a/src/main/java/com/bonus/autoweb/base/DutyLogIOp.java b/src/main/java/com/bonus/autoweb/base/DutyLogIOp.java
index 9704031..0250604 100644
--- a/src/main/java/com/bonus/autoweb/base/DutyLogIOp.java
+++ b/src/main/java/com/bonus/autoweb/base/DutyLogIOp.java
@@ -184,37 +184,37 @@ public class DutyLogIOp {
//输入天气
- String tq = bean.getWeather();
-// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[3]/div/div/div[1]/input
- WebElement weatherElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[5]/div/div/div/input"));
- if (StringHelper.isEmptyAndNull(weatherElement.getText())){
- weatherElement.clear();
- weatherElement.sendKeys(tq);
- log.info("输入天气----------");
- }
- Thread.sleep(500);
-
- //输入最低气温
- String zdqw = bean.getMin_temperature();
-// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[4]/div/div/div[1]/input
- WebElement minTemperatureElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[7]/div/div/div/input"));
- if (StringHelper.isEmptyAndNull(minTemperatureElement.getText())){
- minTemperatureElement.clear();
- minTemperatureElement.sendKeys(zdqw);
- log.info("输入最低气温----------");
- }
- Thread.sleep(500);
-
- //输入最高气温
- String zgqw = bean.getMax_temperature();
-// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[4]/div/div/div[1]/input
- WebElement maxTemperatureElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[9]/div/div/div/input"));
- if (StringHelper.isEmptyAndNull(maxTemperatureElement.getText())){
- maxTemperatureElement.clear();
- maxTemperatureElement.sendKeys(zgqw);
- log.info("输入最高气温----------");
- }
- Thread.sleep(500);
+// String tq = bean.getWeather();
+//// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[3]/div/div/div[1]/input
+// WebElement weatherElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[5]/div/div/div/input"));
+// if (StringHelper.isEmptyAndNull(weatherElement.getText())){
+// weatherElement.clear();
+// weatherElement.sendKeys(tq);
+// log.info("输入天气----------");
+// }
+// Thread.sleep(500);
+//
+// //输入最低气温
+// String zdqw = bean.getMin_temperature();
+//// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[4]/div/div/div[1]/input
+// WebElement minTemperatureElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[7]/div/div/div/input"));
+// if (StringHelper.isEmptyAndNull(minTemperatureElement.getText())){
+// minTemperatureElement.clear();
+// minTemperatureElement.sendKeys(zdqw);
+// log.info("输入最低气温----------");
+// }
+// Thread.sleep(500);
+//
+// //输入最高气温
+// String zgqw = bean.getMax_temperature();
+//// /html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[4]/div/div/div[1]/input
+// WebElement maxTemperatureElement = webDriver.findElement(By.xpath("/html/body/div[3]/div/div[2]/div/form/div[3]/div/div/div[9]/div/div/div/input"));
+// if (StringHelper.isEmptyAndNull(maxTemperatureElement.getText())){
+// maxTemperatureElement.clear();
+// maxTemperatureElement.sendKeys(zgqw);
+// log.info("输入最高气温----------");
+// }
+// Thread.sleep(500);
//事件监测 标题
String sjjc_title = bean.getEvent_detection_title();