This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
005b21b
commit ecbb698
Showing
23 changed files
with
119 additions
and
59 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...rver/core/earthquake/quality/Quality.java → ...obalquake/earthquake/quality/Quality.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...core/earthquake/quality/QualityClass.java → ...uake/earthquake/quality/QualityClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package gqserver.core.earthquake.quality; | ||
package globalquake.earthquake.quality; | ||
|
||
import java.awt.*; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...e/earthquake/quality/QualityCriteria.java → ...e/earthquake/quality/QualityCriteria.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
GlobalQuakeAPI/src/main/java/gqserver/api/data/HypocenterData.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ava/gqserver/api/data/EarthquakeInfo.java → ...r/api/data/earthquake/EarthquakeInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
GlobalQuakeAPI/src/main/java/gqserver/api/data/earthquake/HypocenterData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package gqserver.api.data.earthquake; | ||
|
||
import java.io.Serializable; | ||
import java.util.UUID; | ||
|
||
public record HypocenterData(UUID uuid, int revisionID, float lat, float lon, float depth, long origin, float magnitude) implements Serializable { | ||
} |
9 changes: 9 additions & 0 deletions
9
...lQuakeAPI/src/main/java/gqserver/api/data/earthquake/advanced/AdvancedHypocenterData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package gqserver.api.data.earthquake.advanced; | ||
|
||
import java.io.Serializable; | ||
|
||
public record AdvancedHypocenterData(HypocenterQualityData qualityData, | ||
DepthConfidenceIntervalData depthIntervalData, | ||
LocationConfidenceIntervalData locationConfidenceIntervalData) implements Serializable { | ||
|
||
} |
6 changes: 6 additions & 0 deletions
6
...eAPI/src/main/java/gqserver/api/data/earthquake/advanced/DepthConfidenceIntervalData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package gqserver.api.data.earthquake.advanced; | ||
|
||
import java.io.Serializable; | ||
|
||
public record DepthConfidenceIntervalData(float minDepth, float maxDepth) implements Serializable { | ||
} |
6 changes: 6 additions & 0 deletions
6
...alQuakeAPI/src/main/java/gqserver/api/data/earthquake/advanced/HypocenterQualityData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package gqserver.api.data.earthquake.advanced; | ||
|
||
import java.io.Serializable; | ||
|
||
public record HypocenterQualityData(float errOrigin, float errDepth, float errNS, float errEW, int stations, float pct) implements Serializable { | ||
} |
8 changes: 8 additions & 0 deletions
8
...I/src/main/java/gqserver/api/data/earthquake/advanced/LocationConfidenceIntervalData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package gqserver.api.data.earthquake.advanced; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public record LocationConfidenceIntervalData(List<PolygonConfidenceIntervalData> polygonConfidenceIntervalDataList) implements Serializable { | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
...PI/src/main/java/gqserver/api/data/earthquake/advanced/PolygonConfidenceIntervalData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package gqserver.api.data.earthquake.advanced; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public record PolygonConfidenceIntervalData(int n, float offset, List<Float> lengths) implements Serializable { | ||
} |
2 changes: 1 addition & 1 deletion
2
...gqserver/api/data/ServerClientConfig.java → ...r/api/data/system/ServerClientConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package gqserver.api.data; | ||
package gqserver.api.data.system; | ||
|
||
import java.io.Serializable; | ||
|
||
|
13 changes: 2 additions & 11 deletions
13
GlobalQuakeAPI/src/main/java/gqserver/api/packets/earthquake/EarthquakeCheckPacket.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
package gqserver.api.packets.earthquake; | ||
|
||
import gqserver.api.Packet; | ||
import gqserver.api.data.EarthquakeInfo; | ||
import gqserver.api.data.earthquake.EarthquakeInfo; | ||
|
||
public class EarthquakeCheckPacket extends Packet { | ||
public record EarthquakeCheckPacket(EarthquakeInfo info) implements Packet { | ||
|
||
private final EarthquakeInfo info; | ||
|
||
public EarthquakeCheckPacket(EarthquakeInfo info){ | ||
this.info = info; | ||
} | ||
|
||
public EarthquakeInfo getInfo() { | ||
return info; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
GlobalQuakeAPI/src/main/java/gqserver/api/packets/earthquake/HypocenterDataPacket.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
package gqserver.api.packets.earthquake; | ||
|
||
import gqserver.api.Packet; | ||
import gqserver.api.data.HypocenterData; | ||
import gqserver.api.data.earthquake.HypocenterData; | ||
import gqserver.api.data.earthquake.advanced.AdvancedHypocenterData; | ||
|
||
public class HypocenterDataPacket extends Packet { | ||
public record HypocenterDataPacket(HypocenterData data, AdvancedHypocenterData advancedHypocenterData) implements Packet { | ||
|
||
private final HypocenterData data; | ||
|
||
public HypocenterDataPacket(HypocenterData data){ | ||
this.data = data; | ||
} | ||
|
||
public HypocenterData getData() { | ||
return data; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
GlobalQuakeAPI/src/main/java/gqserver/api/packets/system/HandshakePacket.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlobalQuakeServerUI/src/main/java/gqserver/core/earthquake/data/Hypocenter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlobalQuakeServerUI/src/main/java/gqserver/ui/server/table/model/EarthquakeTableModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlobalQuakeServerUI/src/test/java/gqserver/server/GQServerSocketTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters