功能修改

This commit is contained in:
tqzhang 2024-05-07 16:59:33 +08:00
parent 029f8070ac
commit abe4ef0db9
105 changed files with 2226 additions and 733 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -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

View File

@ -0,0 +1,43 @@
<component name="ArtifactManager">
<artifact type="jar" name="autoWebForDangShan:jar">
<output-path>$PROJECT_DIR$/out/artifacts/autoWebForDangShan_jar</output-path>
<root id="archive" name="dangshan.jar">
<element id="module-output" name="dangshan" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.26/lombok-1.18.26.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/codehaus/jettison/jettison/1.3.7/jettison-1.3.7.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/cn/hutool/hutool-all/4.6.6/hutool-all-4.6.6.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/stax/stax-api/1.0.1/stax-api-1.0.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/com/hynnet/jacob/1.18/jacob-1.18.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59.jar" path-in-jar="/" />
<element id="extracted-dir" path="$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59.jar" path-in-jar="/" />
</root>
</artifact>
</component>

16
.idea/compiler.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="dangshan" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="dangshan" target="1.8" />
</bytecodeTargetLevel>
</component>
</project>

50
.idea/dangshan.iml Normal file
View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-java:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-api:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-chrome-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-edge-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-firefox-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-ie-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-opera-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-remote-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-safari-driver:3.141.59" level="project" />
<orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-support:3.141.59" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.8.15" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-exec:1.3" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:25.0-jre" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
<orderEntry type="library" name="Maven: org.checkerframework:checker-compat-qual:2.0.0" level="project" />
<orderEntry type="library" name="Maven: com.google.errorprone:error_prone_annotations:2.1.3" level="project" />
<orderEntry type="library" name="Maven: com.google.j2objc:j2objc-annotations:1.1" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.mojo:animal-sniffer-annotations:1.14" level="project" />
<orderEntry type="library" name="Maven: com.squareup.okhttp3:okhttp:3.11.0" level="project" />
<orderEntry type="library" name="Maven: com.squareup.okio:okio:1.14.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.2.4" level="project" />
<orderEntry type="library" name="Maven: com.thoughtworks.xstream:xstream:1.4.9" level="project" />
<orderEntry type="library" name="Maven: xmlpull:xmlpull:1.1.3.1" level="project" />
<orderEntry type="library" name="Maven: xpp3:xpp3_min:1.1.4c" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.26" level="project" />
<orderEntry type="library" name="Maven: org.quartz-scheduler:quartz:2.2.1" level="project" />
<orderEntry type="library" name="Maven: c3p0:c3p0:0.9.1.1" level="project" />
<orderEntry type="library" name="Maven: com.hynnet:jacob:1.18" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.26" level="project" />
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:4.6.6" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-log4j12:1.7.26" level="project" />
<orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GoogleJavaFormatSettings">
<option name="enabled" value="false" />
</component>
</project>

20
.idea/jarRepositories.xml Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="https://repo.maven.apache.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
</component>
</project>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: c3p0:c3p0:0.9.1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: cn.hutool:hutool-all:4.6.6">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/cn/hutool/hutool-all/4.6.6/hutool-all-4.6.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/cn/hutool/hutool-all/4.6.6/hutool-all-4.6.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/cn/hutool/hutool-all/4.6.6/hutool-all-4.6.6-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.code.findbugs:jsr305:1.3.9">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.code.gson:gson:2.2.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.4/gson-2.2.4-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.4/gson-2.2.4-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.errorprone:error_prone_annotations:2.1.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.guava:guava:25.0-jre">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/25.0-jre/guava-25.0-jre-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/25.0-jre/guava-25.0-jre-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.j2objc:j2objc-annotations:1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.hynnet:jacob:1.18">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/hynnet/jacob/1.18/jacob-1.18.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/hynnet/jacob/1.18/jacob-1.18-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/hynnet/jacob/1.18/jacob-1.18-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.squareup.okhttp3:okhttp:3.11.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.squareup.okio:okio:1.14.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio/1.14.0/okio-1.14.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/squareup/okio/okio/1.14.0/okio-1.14.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.thoughtworks.xstream:xstream:1.4.9">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: commons-logging:commons-logging-api:1.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: log4j:log4j:1.2.17">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/log4j/log4j/1.2.17/log4j-1.2.17-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: net.bytebuddy:byte-buddy:1.8.15">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.commons:commons-exec:1.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-exec/1.3/commons-exec-1.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-exec/1.3/commons-exec-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.checkerframework:checker-compat-qual:2.0.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.codehaus.jettison:jettison:1.3.7">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jettison/jettison/1.3.7/jettison-1.3.7.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jettison/jettison/1.3.7/jettison-1.3.7-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/jettison/jettison/1.3.7/jettison-1.3.7-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.codehaus.mojo:animal-sniffer-annotations:1.14">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.projectlombok:lombok:1.18.26">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.26/lombok-1.18.26.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.26/lombok-1.18.26-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.26/lombok-1.18.26-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.quartz-scheduler:quartz:2.2.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-api:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-chrome-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-edge-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-firefox-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-ie-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-java:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-opera-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-remote-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-safari-driver:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.seleniumhq.selenium:selenium-support:3.141.59">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.slf4j:slf4j-api:1.7.26">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.slf4j:slf4j-log4j12:1.7.26">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: stax:stax-api:1.0.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/stax/stax-api/1.0.1/stax-api-1.0.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/stax/stax-api/1.0.1/stax-api-1.0.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/stax/stax-api/1.0.1/stax-api-1.0.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: xmlpull:xmlpull:1.1.3.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: xpp3:xpp3_min:1.1.4c">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c-sources.jar!/" />
</SOURCES>
</library>
</component>

21
.idea/misc.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AnalysisProjectProfileManager">
<option name="PROJECT_PROFILE" />
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
<list size="0" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8.0_261" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="SuppressionsComponent">
<option name="suppComments" value="[]" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/dangshan.iml" filepath="$PROJECT_DIR$/.idea/dangshan.iml" />
</modules>
</component>
</project>

View File

@ -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]*$'.(<28>™Ã—ùÿÿÿÿ
~ java:S116"iRename this field "cumulative_repair_tai_district" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ŠýËÁ
<EFBFBD> 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]*$'.(<28> É˜þÿÿÿÿ
t java:S116"ZRename this field "add_repair_user" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28>ºã†ÿÿÿÿÿ
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]*$'.(<28><EFBFBD>Ûýÿÿÿÿ
~ 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]*$'.(ÀÝù³þÿÿÿÿ

View File

@ -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]*$'.(­ô²¼
<EFBFBD> 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]*$'.(Àùâ€
<EFBFBD> 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]*$'.(ü
<EFBFBD> java:S1165"uRename this field "transmit_electricity_cumulative_outage_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(³ÓÛ–ûÿÿÿÿ
<EFBFBD> java:S1166"uRename this field "transmit_electricity_cumulative_repair_one" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(‰ÉŒáøÿÿÿÿ
<EFBFBD> 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]*$'.(¯ø<C2AF>¡úÿÿÿÿ
Š 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]*$'.(¢–çÀ
<EFBFBD> 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]*$'.(䤗<C2A4>üÿÿÿÿ
 java:S116I"qRename this field "transmit_electricity_add_no_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(•½<E280A2>æ
<EFBFBD> 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]*$'.(”¤°ø
<EFBFBD> java:S116M"xRename this field "transmit_electricity_cumulative_no_repair_ten" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÃÁ’‡

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -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]*$'.(àƒ<C3A0>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]*$'.(š²²

View File

@ -0,0 +1,2 @@
o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(™ó··

View File

@ -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]*$'.(ÙÔ­õþÿÿÿÿ
<EFBFBD> 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]*$'.(ÝÀÅ<C380>úÿÿÿÿ
 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]*$'.(öÃÜËùÿÿÿÿ
<EFBFBD> java:S116<"lRename this field "power_substation_add_outage_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÂÊÈŽ
<EFBFBD> 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]*$'.(Ó<>Šð
<EFBFBD> java:S116A"sRename this field "power_substation_cumulative_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ˆ¯”öþÿÿÿÿ
<EFBFBD> java:S116B"vRename this field "power_substation_cumulative_no_repair_three" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28>ÑÔêúÿÿÿÿ

View File

@ -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]*$'.(<28>‡¿Þ
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]*$'.(™£³–

View File

@ -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.(<28>¿ØÌûÿÿÿÿ
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.(ÚòÉœÿÿÿÿÿ

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -0,0 +1,14 @@
\
java:S2184"FCast one of the operands of this multiplication operation to a "long".(Êë<C38A>Ù
\
java:S2184C"FCast one of the operands of this multiplication operation to a "long".(Êë<C38A>Ù
a
java:S2184F"FCast one of the operands of this multiplication operation to a "long".(‹À¦™úÿÿÿÿ
Q java:S125)"<This block of commented-out lines of code should be removed.(ø<>ú÷
h
java:S3776R"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(çݹñ
<
java:S1481U"'Remove this unused "tf" local variable.(ÉçÝ-
Q java:S125^"<This block of commented-out lines of code should be removed.(õ<>þ±
W java:S125"<This block of commented-out lines of code should be removed.(Þ¶ÇÅùÿÿÿÿ

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -0,0 +1,32 @@
M
java:S2629A"7Use the built-in formatting to construct this argument.(£ð â
L
java:S2629l"7Use the built-in formatting to construct this argument.(ôËõj
M
java:S2629n"7Use the built-in formatting to construct this argument.(’¸û‹
R
java:S2629p"7Use the built-in formatting to construct this argument.(°¾Æñùÿÿÿÿ
N
java:S2629<18>"7Use the built-in formatting to construct this argument.(™›Á›
\
java:S2184B"FCast one of the operands of this multiplication operation to a "long".(¢žã–
a
java:S2184c"FCast one of the operands of this multiplication operation to a "long".(æÓ Öýÿÿÿÿ
Q java:S125'"<This block of commented-out lines of code should be removed.(ø<>ú÷
W
java:S3457A"AFormat specifiers should be used instead of string concatenation.(£ð â
Q java:S125P"<This block of commented-out lines of code should be removed.(ñׯÂ
Q java:S125X"<This block of commented-out lines of code should be removed.(ñׯÂ
h
java:S3776a"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(çݹñ
V
java:S3457l"AFormat specifiers should be used instead of string concatenation.(ôËõj
W
java:S3457n"AFormat specifiers should be used instead of string concatenation.(’¸û‹
\
java:S3457p"AFormat specifiers should be used instead of string concatenation.(°¾Æñùÿÿÿÿ
Q java:S125q"<This block of commented-out lines of code should be removed.(õ<>þ±
W java:S125"<This block of commented-out lines of code should be removed.(Þ¶ÇÅùÿÿÿÿ
X
java:S3457<18>"AFormat specifiers should be used instead of string concatenation.(™›Á›

View File

@ -0,0 +1,7 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ
z java:S116"`Rename this field "leaders_command_staff" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(öœ Ôûÿÿÿÿ
s java:S116"^Rename this field "input_amount_person" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(òñ°Ã
t java:S116"_Rename this field "input_amount_vehicle" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(³ˆ¾´
z java:S116""eRename this field "input_amount_power_vehicle" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(üØÚ¢
x java:S116("^Rename this field "input_amount_dynamo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ÎãÙöÿÿÿÿÿ

View File

@ -0,0 +1,8 @@
>
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_]*)*$'.(™ó··

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -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]*$'.(<28>úîÐýÿÿÿÿ
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]*$'.(<28>û¹Úüÿÿÿÿ
x java:S116$"cRename this field "customer_power_personnel" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28>íÁÊ
{ 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

View File

@ -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]*$'.(ö—<C3B6>ö
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]*$'.(”ƒãÇøÿÿÿÿ

View File

@ -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.(<28>£”Îýÿÿÿÿ
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_]*)*$'.(™ó··
<EFBFBD>
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.(ãÆÐÂ
<EFBFBD>
java:S1186·"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(Ö„˜þúÿÿÿÿ
<EFBFBD>
java:S1186¼"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(•ßç<C39F>ùÿÿÿÿ
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Ç"<This block of commented-out lines of code should be removed.(ò±´ß
M
java:S1481Ï"1Remove this unused "placeholder0" local variable.(½ÆÜýÿÿÿÿÿ
W java:S125ò"<This block of commented-out lines of code should be removed.(Êÿÿÿÿÿ
H
java:S1481ú"1Remove this unused "placeholder1" local variable.(<>ù
R java:S125œ"<This block of commented-out lines of code should be removed.(ÊÏÙâ
H
java:S1481¤"1Remove this unused "placeholder2" local variable.(™å²ï
R java:S125Å"<This block of commented-out lines of code should be removed.(ªÁ¹å
M
java:S1481Î"1Remove this unused "placeholder3" local variable.(ÇÓðÁüÿÿÿÿ
W java:S125ð"<This block of commented-out lines of code should be removed.(Œ¯äÕýÿÿÿÿ
H
java:S1481ù"1Remove this unused "placeholder4" local variable.(Èó¨š
W java:S125"<This block of commented-out lines of code should be removed.(¥¹øœþÿÿÿÿ
M
java:S1481¤"1Remove this unused "placeholder5" local variable.(öâ¾Îûÿÿÿÿ
R java:S125Æ"<This block of commented-out lines of code should be removed.(ö¡”Þ
H
java:S1481Ï"1Remove this unused "placeholder6" local variable.(ŒÁЇ
W java:S125ñ"<This block of commented-out lines of code should be removed.(€¼÷Áþÿÿÿÿ
M
java:S1481ú"1Remove this unused "placeholder7" local variable.(‡ËÉÇüÿÿÿÿ
W java:S125"<This block of commented-out lines of code should be removed.(É®£ªýÿÿÿÿ
R java:S125˜"<This block of commented-out lines of code should be removed.(”ª¢è
R java:S125"<This block of commented-out lines of code should be removed.(ä¥Òð
R java:S125ž"<This block of commented-out lines of code should be removed.(…ãˆß
W java:S125¡"<This block of commented-out lines of code should be removed.(åžÊ°øÿÿÿÿ
R java:S125¤"<This block of commented-out lines of code should be removed.(“æ½î
W java:S125§"<This block of commented-out lines of code should be removed.(ºý¿ôÿÿÿÿÿ
R java:S125ª"<This block of commented-out lines of code should be removed.(õݺ‘
O java:S106ì"9Replace this use of System.out or System.err by a logger.(±Ú–ð
T java:S106ü"9Replace this use of System.out or System.err by a logger.(ÿŸÈÎÿÿÿÿÿ
T java:S106þ"9Replace this use of System.out or System.err by a logger.(¨¶ÑÍþÿÿÿÿ
2
java:S3626¤"Remove this redundant jump.(ÉŠ©ƒ

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -0,0 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ßÖè±úÿÿÿÿ

View File

@ -0,0 +1,49 @@
c
3src/main/java/com/bonus/autoweb/base/AutoUtils.java,5\c\5ccdfe79e922dbcd195a8a1689d153a908c53a29
j
:src/main/java/com/bonus/autoweb/base/DutyChangeShifts.java,7\8\78be8ad6ce86f703230c85ec63bb71d753f3a9a5
c
3src/main/java/com/bonus/autoweb/base/DutyClock.java,7\3\73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
m
=src/main/java/com/bonus/autoweb/UI/entity/AnnexEightBean.java,0\f\0f8376f8ae30c5707b3b5c037bb2089149b526c6
n
>src/main/java/com/bonus/autoweb/UI/entity/AnnexElevenBean.java,d\f\dfb1c4174580e7cbb2c417a88cfbfab0e04ce6ba
l
<src/main/java/com/bonus/autoweb/UI/entity/AnnexFiveBean.java,e\6\e6c33fc8310144e4ae2ccadc8fc4500dc4db707d
l
<src/main/java/com/bonus/autoweb/UI/entity/AnnexFourBean.java,b\a\ba27a18602bfe12f2800dc8838765f19d0b50183
p
@src/main/java/com/bonus/autoweb/UI/entity/AnnexFourteenBean.java,7\3\731a49a08fac4a9e369fe96d818124a3d140329d
l
<src/main/java/com/bonus/autoweb/UI/entity/AnnexNineBean.java,0\5\0547c944dd90cf00982b4fb3eb0556f2f8abb86b
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexOneBean.java,3\9\39287f3d46b1f002aadb61cb4c324e4607f0124f
m
=src/main/java/com/bonus/autoweb/UI/entity/AnnexSevenBean.java,3\1\31c17805c9d13a1339ace9ed1068c12f857aa1eb
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexSixBean.java,8\d\8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexTenBean.java,e\1\e13bc568c464952e3b0d020e1250b5eb622ee77f
p
@src/main/java/com/bonus/autoweb/UI/entity/AnnexThirteenBean.java,b\1\b1bf504b55b65365aff762fd8127da19f382d918
m
=src/main/java/com/bonus/autoweb/UI/entity/AnnexThreeBean.java,7\3\73c2eb8d4ef9221312ca2303ec67062f089f672a
n
>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

View File

@ -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
<src/main/java/com/bonus/autoweb/UI/entity/AnnexNineBean.java,0\5\0547c944dd90cf00982b4fb3eb0556f2f8abb86b
l
<src/main/java/com/bonus/autoweb/UI/entity/AnnexFourBean.java,b\a\ba27a18602bfe12f2800dc8838765f19d0b50183
l
<src/main/java/com/bonus/autoweb/UI/entity/AnnexFiveBean.java,e\6\e6c33fc8310144e4ae2ccadc8fc4500dc4db707d
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexTwoBean.java,2\3\23582c6a26e981c5f443df7bf245933c8b02490b
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexTenBean.java,e\1\e13bc568c464952e3b0d020e1250b5eb622ee77f
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexSixBean.java,8\d\8df17a3f46e9eeaa84cfd28eee4ad0cbaee27834
k
;src/main/java/com/bonus/autoweb/UI/entity/AnnexOneBean.java,3\9\39287f3d46b1f002aadb61cb4c324e4607f0124f
h
8src/main/java/com/bonus/autoweb/UI/entity/DailyBean.java,c\6\c66eed0f458e90b2d2a4bfd823cdd8eee84389b8
R
"src/main/java/META-INF/MANIFEST.MF,6\3\63ef5783cbf71fdf39c1fd6ae6873fd812259930
j
:src/main/java/com/bonus/autoweb/base/DutyChangeShifts.java,7\8\78be8ad6ce86f703230c85ec63bb71d753f3a9a5
c
3src/main/java/com/bonus/autoweb/base/DutyClock.java,7\3\73bef5df54f8fa481e59c361e60f3c4cdeb0e49a
c
3src/main/java/com/bonus/autoweb/base/AutoUtils.java,5\c\5ccdfe79e922dbcd195a8a1689d153a908c53a29
W
'src/main/serverRes/META-INF/MANIFEST.MF,b\4\b4df0e7a2dfc4ed6d0b044e8d8b1e8efcc9c3b54
S
#src/main/uiRes/META-INF/MANIFEST.MF,1\b\1ba4c9f55e66c885c2156cf74e52319009f5be38

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -73,6 +73,11 @@
<artifactId>slf4j-api</artifactId>
<version>1.7.26</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>4.6.6</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>

View File

@ -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<Integer> 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();

View File

@ -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 +"0800" :
data2 + "1730") + 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 + "0800" :
data2 + "1730") + 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+"0800" : data2+"1730" +
dailyBean.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3 + "0800" : data2 + "1730" +
"") + 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+"0800" : data2+"1730" +
dailyBean2.setOverall(data + dailyContentArrayArray[2].trim() + (classes == 1 ? data3 + "0800" : data2 + "1730" +
"") + 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<Integer> 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<Integer> 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<Integer> 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);

View File

@ -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"));

View File

@ -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 +
'}';
}
}

View File

@ -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;

Some files were not shown because too many files have changed in this diff Show More