Skip to content

Commit

Permalink
Further sigmet development
Browse files Browse the repository at this point in the history
  • Loading branch information
moryakovdv committed Jul 17, 2018
1 parent 5726049 commit 87d85e2
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 11 deletions.
42 changes: 42 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/classes" path="src/schemabindings">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
31 changes: 31 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>iwxxmConverter</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions .settings/.jsdtscope
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
<classpathentry kind="output" path=""/>
</classpath>
7 changes: 7 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/schemabindings=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project>=UTF-8
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gamc.spmi</groupId>
<artifactId>iwxxmConverter</artifactId>
<packaging>pom</packaging>
<packaging>jar</packaging>
<version>0.0.9</version>

<properties>
Expand Down Expand Up @@ -212,7 +212,5 @@

</build>

<modules>
<module>IwxxmConverterRest</module>
</modules>

</project>
33 changes: 33 additions & 0 deletions src/main/java/org/gamc/spmi/iwxxmConverter/common/Line.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package org.gamc.spmi.iwxxmConverter.common;

import java.io.Serializable;

public final class Line implements Serializable {
/**
*
*/
private static final long serialVersionUID = -8275937527178470577L;
private CoordPoint startPoint;
private CoordPoint endPoint;

public Line() {}

public Line(CoordPoint start, CoordPoint end) {
this.startPoint=start;
this.endPoint=end;
}

public CoordPoint getStartPoint() {
return startPoint;
}
public void setStartPoint(CoordPoint startPoint) {
this.startPoint = startPoint;
}
public CoordPoint getEndPoint() {
return endPoint;
}
public void setEndPoint(CoordPoint endPoint) {
this.endPoint = endPoint;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,21 @@ public enum Type {
METEO,VOLCANO,CYCLONE;
}

private DateTime validFrom;
private DateTime validTo;
private String firName;


private String fl;

private String sigmetNumber;

private Type sigmetType = Type.METEO;

private DateTime validFrom;
private DateTime validTo;

private String watchOffice;
private String firCode;
private String firName;

private SigmetPhenomenonDescription phenomenonDescription;
private SigmetHorizontalPhenomenonLocation horizontalLocation;
private SigmetVerticalPhenomenonLocation verticalLocation;


public SIGMETTacMessage(String initialTacMessage) {
super(initialTacMessage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public class SigmetHorizontalPhenomenonLocation {
/**Describes direction from certain line, e.g 'NE OF LINE ...'*/
public static final class DirectionFromLine implements Serializable {

/**
*
*/
private static final long serialVersionUID = 1937563107841308842L;
private RUMB_UNITS direction;
private Line sigmetLine;

Expand Down

0 comments on commit 87d85e2

Please sign in to comment.