Omaha #3232 Radar code improvements.
Former-commit-id:8587b9b43b
[formerly 696f45d67c5e5b02183f97cfcc139db017f01848] Former-commit-id:26325b57be
This commit is contained in:
parent
d1f5016eb9
commit
b8fe181c9a
30 changed files with 235 additions and 308 deletions
|
@ -37,46 +37,30 @@ import org.opengis.referencing.operation.TransformException;
|
|||
|
||||
import com.raytheon.uf.common.dataplugin.radar.RadarDataPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.RadarDataPoint.RadarProductType;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.CellTrendDataPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.CellTrendVolumeScanPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.CorrelatedShearPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.DMDPacket.DMDAttributeIDs;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.ETVSPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.GFMPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.HailPositivePacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.HailProbablePacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.HdaHailPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.HdaHailPacket.HdaHailPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.LinkedContourVectorPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.LinkedVector;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.LinkedVectorPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.MesocyclonePacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.MesocyclonePacket.MesocyclonePoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.PrecipDataPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SCITDataPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SCITDataPacket.SCITDataCell;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.STICirclePacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SpecialGraphicSymbolPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SpecialGraphicSymbolPacket.SpecialGraphicPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.StormIDPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.StormIDPacket.StormIDPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SuperObWindDataPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SymbologyPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.SymbologyPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.TVSPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.TVSPacket.TVSPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.TextSymbolPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.UnlinkedContourVectorPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.UnlinkedVector;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.UnlinkedVectorPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.VectorArrowPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.WindBarbPacket;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.WindBarbPacket.WindBarbPoint;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.generic.AreaComponent;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.generic.GenericDataComponent;
|
||||
import com.raytheon.uf.common.geospatial.ReferencedCoordinate;
|
||||
import com.raytheon.uf.common.geospatial.ReferencedGeometry;
|
||||
import com.raytheon.uf.common.geospatial.ReferencedObject.Type;
|
||||
import com.raytheon.uf.common.status.IUFStatusHandler;
|
||||
import com.raytheon.uf.common.status.UFStatus;
|
||||
import com.raytheon.uf.viz.core.DrawableLine;
|
||||
import com.raytheon.uf.viz.core.DrawableString;
|
||||
import com.raytheon.uf.viz.core.IGraphicsTarget;
|
||||
|
@ -109,17 +93,19 @@ import com.vividsolutions.jts.geom.GeometryFactory;
|
|||
import com.vividsolutions.jts.geom.LineString;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* {@link IRenderable} for displaying a single "page" of radar symbology data.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 8, 2009 chammack Initial creation
|
||||
* 03/05/2013 DCS51 zwang Handle GFM product
|
||||
* 06/24/2013 DR16162 zwang Remove "wind behind"
|
||||
* 11/20/2013 2488 randerso Removed use of VeraMono font file
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 08, 2009 chammack Initial creation
|
||||
* Mar 05, 2013 DCS51 zwang Handle GFM product
|
||||
* Jun 24, 2013 16162 zwang Remove "wind behind"
|
||||
* Nov 20, 2013 2488 randerso Removed use of VeraMono font file
|
||||
* Jun 04, 2014 3232 bsteffen Cleanup.
|
||||
*
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -128,10 +114,12 @@ import com.vividsolutions.jts.geom.LineString;
|
|||
*/
|
||||
|
||||
public class RadarGraphicsPage implements IRenderable {
|
||||
private static final transient IUFStatusHandler statusHandler = UFStatus
|
||||
.getHandler(RadarGraphicsPage.class);
|
||||
|
||||
public static enum CoordinateSystem {
|
||||
LOCAL, SCREEN
|
||||
};
|
||||
}
|
||||
|
||||
private IDescriptor descriptor;
|
||||
|
||||
|
@ -239,8 +227,6 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
public void addSymbologyPacket(SymbologyPacket sp, CoordinateSystem cs)
|
||||
throws VizException {
|
||||
List<ReferencedGeometry> localGeometries = new ArrayList<ReferencedGeometry>();
|
||||
// System.out.println("Page : " + page + " Current Packet: "
|
||||
// + sp.getClass());
|
||||
if (sp instanceof UnlinkedVectorPacket
|
||||
|| sp instanceof UnlinkedContourVectorPacket) {
|
||||
List<UnlinkedVector> vectors = (List<UnlinkedVector>) RadarHelper
|
||||
|
@ -351,9 +337,9 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
RadarGraphicFunctions.MesocycloneType.MESOCYCLONE,
|
||||
color);
|
||||
} catch (TransformException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
} catch (FactoryException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
}
|
||||
|
||||
if (pObject == null) {
|
||||
|
@ -385,11 +371,6 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
pObject.label = stormData.getStormID();
|
||||
break POINT;
|
||||
}
|
||||
} else if (currPoint instanceof WindBarbPoint) {
|
||||
|
||||
} else {
|
||||
System.out.println("Need to display point: "
|
||||
+ currPoint.getClass());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -399,22 +380,7 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
for (Integer type : stormData.getDisplayPacketData().keySet()) {
|
||||
for (SymbologyPacket currPacket : stormData
|
||||
.getDisplayPacketData().get(type).values()) {
|
||||
if (currPacket instanceof CellTrendDataPacket) {
|
||||
} else if (currPacket instanceof CellTrendVolumeScanPacket) {
|
||||
} else if (currPacket instanceof HailProbablePacket) {
|
||||
} else if (currPacket instanceof HailPositivePacket) {
|
||||
} else if (currPacket instanceof HdaHailPacket) {
|
||||
} else if (currPacket instanceof LinkedVectorPacket
|
||||
|| currPacket instanceof LinkedContourVectorPacket) {
|
||||
} else if (currPacket instanceof CorrelatedShearPacket) {
|
||||
} else if (currPacket instanceof MesocyclonePacket) {
|
||||
} else if (currPacket instanceof PrecipDataPacket) {
|
||||
} else if (currPacket instanceof SCITDataPacket) {
|
||||
} else if (currPacket instanceof SpecialGraphicSymbolPacket) {
|
||||
} else if (currPacket instanceof STICirclePacket) {
|
||||
} else if (currPacket instanceof StormIDPacket) {
|
||||
} else if (currPacket instanceof SuperObWindDataPacket) {
|
||||
} else if (currPacket instanceof TextSymbolPacket) {
|
||||
if (currPacket instanceof TextSymbolPacket) {
|
||||
TextSymbolPacket tsp = (TextSymbolPacket) currPacket;
|
||||
if ("\" ".equals(tsp.getTheText())) {
|
||||
if (RadarDisplayManager.getInstance()
|
||||
|
@ -430,15 +396,6 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
getImage((TextSymbolPacket) currPacket, cs,
|
||||
localMap, screenMap);
|
||||
}
|
||||
} else if (currPacket instanceof ETVSPacket) {
|
||||
} else if (currPacket instanceof TVSPacket) {
|
||||
} else if (currPacket instanceof UnlinkedVectorPacket
|
||||
|| currPacket instanceof UnlinkedContourVectorPacket) {
|
||||
} else if (currPacket instanceof VectorArrowPacket) {
|
||||
} else if (currPacket instanceof WindBarbPacket) {
|
||||
} else {
|
||||
System.out.println("Need to display packet: "
|
||||
+ currPacket.getClass());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -878,11 +835,11 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
|
||||
this.localStringMap.put(coordID, mesoID);
|
||||
} catch (NumberFormatException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
} catch (TransformException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
} catch (FactoryException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1137,9 +1094,9 @@ public class RadarGraphicsPage implements IRenderable {
|
|||
break;
|
||||
}
|
||||
} catch (TransformException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
} catch (FactoryException e) {
|
||||
e.printStackTrace();
|
||||
statusHandler.error(e.getLocalizedMessage(), e);
|
||||
}
|
||||
|
||||
return images;
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.io.DataInputStream;
|
|||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -34,8 +33,9 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* July 31, 2009 askripsky Initial creation
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jul 31, 2009 askripsky Initial creation
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,7 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class AlertAdaptationParameters implements ISerializableObject {
|
||||
public class AlertAdaptationParameters {
|
||||
@DynamicSerializeElement
|
||||
protected ArrayList<AAPCategory> categories;
|
||||
|
||||
|
@ -57,7 +57,7 @@ public class AlertAdaptationParameters implements ISerializableObject {
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class AAPCategory implements ISerializableObject {
|
||||
public static class AAPCategory {
|
||||
|
||||
@DynamicSerializeElement
|
||||
protected int alertGroup;
|
||||
|
|
|
@ -21,20 +21,20 @@ package com.raytheon.uf.common.dataplugin.radar.level3;
|
|||
|
||||
import java.util.Date;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* Object representation of the alert message radar product(productCode 9).
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Aug 4, 2011 mnash Initial creation
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Aug 04, 2011 mnash Initial creation
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -43,7 +43,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class AlertMessage implements ISerializableObject {
|
||||
public class AlertMessage {
|
||||
|
||||
public enum AlertCategory {
|
||||
Empty, GRID_Velocity, GRID_Composite_Reflectivity, GRID_Echo_Tops, GRID_Severe_Weather_Probability, GRID_Spare, GRID_Vertically_Integrated_Liquid, VOLUME_Velocity_Azimuth_Display, VOLUME_Minimum_Size_Hail, VOLUME_Spare, VOLUME_Tornado_Vortex_Signature, VOLUME_Maximum_Storm_Reflectivity, VOLUME_Probability_of_Hail, VOLUME_Storm_Top, VOLUME_Maximum_1_Hour_Rainfall_Accumulation, VOLUME_MDA_Strength_Rank, VOLUME_Spare1, FORECAST_Maximum_Hail_Size, FORECAST_Spare, FORECAST_Tornado_Vortex_Signature, FORECAST_Maximum_Storm_Reflectivity, FORECAST_Probability_of_Hail, FORECAST_Probability_of_Severe_Hail, FORECAST_Storm_Top, FORECAST_MDA_Strength_Rank, FORECAST_Spare1
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Feb 19, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class CellTrendDataPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class CellTrendDataPacket extends SymbologyPacket {
|
||||
|
||||
@DynamicSerializeElement
|
||||
private String cellID;
|
||||
|
@ -68,8 +67,7 @@ public class CellTrendDataPacket extends SymbologyPacket implements
|
|||
private ArrayList<Integer> volumeScan;
|
||||
|
||||
@DynamicSerialize
|
||||
public static class CellTrendData implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class CellTrendData implements SymbologyPoint {
|
||||
@DynamicSerializeElement
|
||||
private int trendCode;
|
||||
|
||||
|
@ -159,7 +157,6 @@ public class CellTrendDataPacket extends SymbologyPacket implements
|
|||
int latestScan = 0;
|
||||
int bytesRead = 8;
|
||||
CellTrendData trendData;
|
||||
ArrayList<Integer> data;
|
||||
while (bytesRead < blockLength) {
|
||||
// Read current Trend Code
|
||||
trendCode = in.readShort();
|
||||
|
|
|
@ -23,27 +23,26 @@ import java.io.DataInputStream;
|
|||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* Radar packet for cell trend volume scan.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 29, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class CellTrendVolumeScanPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class CellTrendVolumeScanPacket extends SymbologyPacket {
|
||||
|
||||
@DynamicSerializeElement
|
||||
private int numberOfVolumes;
|
||||
|
|
|
@ -22,7 +22,6 @@ package com.raytheon.uf.common.dataplugin.radar.level3;
|
|||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -32,10 +31,12 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 1-26-2009 mnash Initial creation
|
||||
* 1-20-2010 DR 4059 Zihou Wang Decode more GSM status
|
||||
* 03/01/13 DR15496 zwang Decode expanded GSM
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 26, 2009 mnash Initial creation
|
||||
* Jan 20, 2010 4059 Zihou Wang Decode more GSM status
|
||||
* Mar 01, 2013 15496 zwang Decode expanded GSM
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
|
@ -43,7 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class GSMBlock extends AbstractBlock implements ISerializableObject {
|
||||
public class GSMBlock extends AbstractBlock {
|
||||
|
||||
private static final int BLOCK_ID = 2;
|
||||
|
||||
|
@ -60,7 +61,7 @@ public class GSMBlock extends AbstractBlock implements ISerializableObject {
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class GSMMessage implements ISerializableObject {
|
||||
public static class GSMMessage {
|
||||
|
||||
@DynamicSerializeElement
|
||||
public int mode;
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.List;
|
|||
import com.raytheon.uf.common.dataplugin.radar.level3.generic.GenericDataComponent;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.generic.GenericDataParameter;
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.generic.GenericUtil;
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -37,9 +36,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Mar 4, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Mar 04, 2009 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -48,8 +48,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class GenericDataPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class GenericDataPacket extends SymbologyPacket {
|
||||
|
||||
public GenericDataPacket(int packetId, DataInputStream in)
|
||||
throws IOException {
|
||||
|
@ -189,9 +188,6 @@ public class GenericDataPacket extends SymbologyPacket implements
|
|||
*/
|
||||
public void setGenTime(long genTime) {
|
||||
this.genTime = genTime;
|
||||
|
||||
long timestamp = genTime * 1000; // msec
|
||||
java.util.Date d = new java.util.Date(timestamp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -25,18 +25,18 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* A block of data containing graphics organized into multiple pages.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,7 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class GraphicBlock extends AbstractBlock implements ISerializableObject {
|
||||
public class GraphicBlock extends AbstractBlock {
|
||||
|
||||
private static final int BLOCK_ID = 2;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Feb 19, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class HailPositivePacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class HailPositivePacket extends SymbologyPacket {
|
||||
|
||||
public HailPositivePacket(int packetId, DataInputStream in)
|
||||
throws IOException {
|
||||
|
@ -59,7 +58,7 @@ public class HailPositivePacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class HailPoint implements ISerializableObject {
|
||||
public static class HailPoint {
|
||||
|
||||
@DynamicSerializeElement
|
||||
public int i;
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
**/
|
||||
package com.raytheon.uf.common.dataplugin.radar.level3;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Hail probable uses the same decoder as TVS
|
||||
*
|
||||
|
@ -26,9 +29,10 @@ package com.raytheon.uf.common.dataplugin.radar.level3;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Feb 19, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Add constructors.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -38,4 +42,13 @@ package com.raytheon.uf.common.dataplugin.radar.level3;
|
|||
|
||||
public class HailProbablePacket extends HailPositivePacket {
|
||||
|
||||
public HailProbablePacket(int packetId, DataInputStream in)
|
||||
throws IOException {
|
||||
super(packetId, in);
|
||||
}
|
||||
|
||||
public HailProbablePacket() {
|
||||
super();
|
||||
}
|
||||
|
||||
}
|
|
@ -24,19 +24,19 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* {@link SymbologyPacket} representing multiple points of hda hail.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 5, 2008 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 05, 2008 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
|
@ -44,8 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class HdaHailPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class HdaHailPacket extends SymbologyPacket {
|
||||
|
||||
public HdaHailPacket(int packetId, DataInputStream in) throws IOException {
|
||||
super(packetId, in);
|
||||
|
@ -56,8 +55,7 @@ public class HdaHailPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class HdaHailPoint implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class HdaHailPoint implements SymbologyPoint {
|
||||
|
||||
public int getI() {
|
||||
return i;
|
||||
|
|
|
@ -19,20 +19,20 @@
|
|||
**/
|
||||
package com.raytheon.uf.common.dataplugin.radar.level3;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
*
|
||||
* TODO Add Description
|
||||
* A Layer represnets a group of {@link SymbologyPacket}s.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 8, 2009 chammack Initial creation
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 08, 2009 chammack Initial creation
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -40,7 +40,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class Layer implements ISerializableObject {
|
||||
public class Layer {
|
||||
@DynamicSerializeElement
|
||||
private int layerId;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Mar 9, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Mar 09, 2009 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class LinkedContourVectorPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class LinkedContourVectorPacket extends SymbologyPacket {
|
||||
|
||||
private static final int CONTOUR_VECTOR_PACKET0E03 = 0x0E03;
|
||||
|
||||
|
|
|
@ -19,28 +19,28 @@
|
|||
**/
|
||||
package com.raytheon.uf.common.dataplugin.radar.level3;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* LinkedVectors are used within {@link SymbologyPacket}s to represent a single
|
||||
* graphical line in a specific color.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------ -------- ----------- --------------------------
|
||||
* Sep 14, 2010 mnash Initial creation
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class LinkedVector implements ISerializableObject {
|
||||
public class LinkedVector {
|
||||
@DynamicSerializeElement
|
||||
protected int theColor;
|
||||
|
||||
|
|
|
@ -24,27 +24,27 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* A type of {@link SymbologyPacket} containing {@link LinkedVector}s
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 5, 2008 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 05, 2008 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class LinkedVectorPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class LinkedVectorPacket extends SymbologyPacket {
|
||||
private static final int LINKED_VECTOR_PACKET9 = 9;
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 13, 2009 chammack Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class MesocyclonePacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class MesocyclonePacket extends SymbologyPacket {
|
||||
|
||||
public MesocyclonePacket(int packetId, DataInputStream in)
|
||||
throws IOException {
|
||||
|
@ -59,8 +58,7 @@ public class MesocyclonePacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class MesocyclonePoint implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class MesocyclonePoint implements SymbologyPoint {
|
||||
|
||||
@DynamicSerializeElement
|
||||
protected int mesoCycloneRadius;
|
||||
|
|
|
@ -25,7 +25,6 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.radar.level3.STICirclePacket.STICirclePoint;
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -36,9 +35,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 28, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -47,8 +47,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class SCITDataPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class SCITDataPacket extends SymbologyPacket {
|
||||
|
||||
public SCITDataPacket(int packetId, DataInputStream in) throws IOException {
|
||||
super(packetId, in);
|
||||
|
@ -63,7 +62,7 @@ public class SCITDataPacket extends SymbologyPacket implements
|
|||
* STIDataPoints
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public static class SCITDataCell implements ISerializableObject {
|
||||
public static class SCITDataCell {
|
||||
@DynamicSerializeElement
|
||||
public List<LinkedVector> vectors = new ArrayList<LinkedVector>();
|
||||
|
||||
|
|
|
@ -24,19 +24,19 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* A {@link SymbologyPacket} containing multiple {@link STICirclePoint}s.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 1-26-2009 mnash Initial Creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 26, 2009 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,8 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class STICirclePacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class STICirclePacket extends SymbologyPacket {
|
||||
|
||||
/**
|
||||
* @param packetId
|
||||
|
@ -61,7 +60,7 @@ public class STICirclePacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class STICirclePoint implements ISerializableObject {
|
||||
public static class STICirclePoint {
|
||||
@DynamicSerializeElement
|
||||
public int i;
|
||||
|
||||
|
|
|
@ -24,27 +24,27 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* A packet for holding special graphics symbols.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 5, 2008 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 05, 2008 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class SpecialGraphicSymbolPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class SpecialGraphicSymbolPacket extends SymbologyPacket {
|
||||
|
||||
/**
|
||||
* @param packetId
|
||||
|
@ -61,8 +61,7 @@ public class SpecialGraphicSymbolPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class SpecialGraphicPoint implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class SpecialGraphicPoint implements SymbologyPoint {
|
||||
@DynamicSerializeElement
|
||||
public int i;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -34,9 +33,11 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 5, 2008 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 05, 2008 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mnash
|
||||
|
@ -44,8 +45,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class StormIDPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class StormIDPacket extends SymbologyPacket {
|
||||
|
||||
public StormIDPacket(int packetId, DataInputStream in) throws IOException {
|
||||
super(packetId, in);
|
||||
|
@ -56,8 +56,7 @@ public class StormIDPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class StormIDPoint implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class StormIDPoint implements SymbologyPoint {
|
||||
|
||||
@DynamicSerializeElement
|
||||
public int i;
|
||||
|
|
|
@ -24,19 +24,19 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* {@link SymbologyPacket} containing {@link SuperObWindDataCell}s.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 1-26-2009 465 mnash Initial Creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 26, 2009 465 mnash Initial Creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,8 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class SuperObWindDataPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class SuperObWindDataPacket extends SymbologyPacket {
|
||||
|
||||
/**
|
||||
* @param packetId
|
||||
|
@ -62,7 +61,7 @@ public class SuperObWindDataPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class SuperObWindDataCell implements ISerializableObject {
|
||||
public static class SuperObWindDataCell {
|
||||
@DynamicSerializeElement
|
||||
public int latitudeLSW;
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -36,10 +35,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 11-02-2007 465 randerso Major revision to support full level 3 radar decode
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
*
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 02, 2007 465 randerso Major revision to support full level 3 radar decode
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -47,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class SymbologyBlock extends AbstractBlock implements
|
||||
ISerializableObject {
|
||||
public class SymbologyBlock extends AbstractBlock {
|
||||
|
||||
private static final int BLOCK_ID = 1;
|
||||
|
||||
|
@ -137,23 +135,6 @@ public class SymbologyBlock extends AbstractBlock implements
|
|||
this.layers = layerList.toArray(new Layer[layerList.size()]);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method will return an object representing the layer number passed
|
||||
* in. This method will examine the layer and create and instance of its
|
||||
* actual type (i.e. Radial) and return that layer.<br/>
|
||||
* <br/>
|
||||
* <b>Important</b> Presently, only radial data is supported. All others
|
||||
* will return null.
|
||||
*
|
||||
* @return An object for that layer
|
||||
* @throws IOException
|
||||
*/
|
||||
public SymbologyPacket getSymbologyLayerContent(int layerNumber)
|
||||
throws IOException {
|
||||
SymbologyPacket symLayer = null;
|
||||
return symLayer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of symbology layers contained with the block. Most
|
||||
* likely, this will be 1, but in case a file contains more, they can be
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 13, 2009 chammack Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,7 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class TVSPacket extends SymbologyPacket implements ISerializableObject {
|
||||
public class TVSPacket extends SymbologyPacket {
|
||||
|
||||
public TVSPacket(int packetId, DataInputStream in) throws IOException {
|
||||
super(packetId, in);
|
||||
|
@ -59,7 +59,7 @@ public class TVSPacket extends SymbologyPacket implements ISerializableObject {
|
|||
protected final boolean isElevated = false;
|
||||
|
||||
@DynamicSerialize
|
||||
public static class TVSPoint implements SymbologyPoint, ISerializableObject {
|
||||
public static class TVSPoint implements SymbologyPoint {
|
||||
|
||||
@DynamicSerializeElement
|
||||
public boolean elevated = false;
|
||||
|
|
|
@ -26,18 +26,17 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.radar.util.RadarConstants;
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* Object representing a block of tabular data.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
*
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,7 +45,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class TabularBlock extends AbstractBlock implements ISerializableObject {
|
||||
public class TabularBlock extends AbstractBlock {
|
||||
|
||||
private static final int BLOCK_ID = 3;
|
||||
|
||||
|
|
|
@ -22,18 +22,18 @@ package com.raytheon.uf.common.dataplugin.radar.level3;
|
|||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* A {@link SymbologyPacket} representing colored text.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -41,8 +41,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class TextSymbolPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class TextSymbolPacket extends SymbologyPacket {
|
||||
|
||||
private static final int TEXT_SYMBOL_PACKET8 = 8;
|
||||
|
||||
|
|
|
@ -24,19 +24,19 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* {@link SymbologyPacket} containing contours of {@link UnlinkedVector}s.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Sep 14, 2010 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,8 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
|
||||
public class UnlinkedContourVectorPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class UnlinkedContourVectorPacket extends SymbologyPacket {
|
||||
private static final int CONTOUR_VECTOR_PACKET3501 = 0x3501;
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,19 +19,20 @@
|
|||
**/
|
||||
package com.raytheon.uf.common.dataplugin.radar.level3;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* UnlinkedVectors are used within {@link SymbologyPacket}s to represent a
|
||||
* single graphical line in a specific color.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Sep 14, 2010 mnash Initial creation
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -40,7 +41,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class UnlinkedVector implements ISerializableObject {
|
||||
public class UnlinkedVector {
|
||||
@DynamicSerializeElement
|
||||
private int theColor;
|
||||
|
||||
|
|
|
@ -24,19 +24,19 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* {@link SymbologyPacket} containing {@link UnlinkedVector}s.
|
||||
*
|
||||
* <pre>
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 11-05-2007 465 randerso Initial Creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nuv 05, 2007 465 randerso Initial Creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -44,8 +44,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
* @version 1.0
|
||||
*/
|
||||
@DynamicSerialize
|
||||
public class UnlinkedVectorPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class UnlinkedVectorPacket extends SymbologyPacket {
|
||||
|
||||
private static final int UNLINKED_VECTOR_PACKET10 = 10;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
|
@ -35,9 +34,10 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Feb 19, 2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class VectorArrowPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class VectorArrowPacket extends SymbologyPacket {
|
||||
|
||||
public VectorArrowPacket(int packetId, DataInputStream in)
|
||||
throws IOException {
|
||||
|
@ -59,7 +58,7 @@ public class VectorArrowPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class VectorArrow implements ISerializableObject {
|
||||
public static class VectorArrow {
|
||||
|
||||
@DynamicSerializeElement
|
||||
protected int arrowDirection;
|
||||
|
|
|
@ -24,20 +24,20 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* Decodes the (non-DMD) mesocyclone packet
|
||||
* Decodes the wind barb packet.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* 1-23-2009 mnash Initial creation
|
||||
* 07/29/2013 2148 mnash Refactor registering of packets to Spring
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 23, 2009 mnash Initial creation
|
||||
* Jul 29, 2013 2148 mnash Refactor registering of packets to Spring
|
||||
* Jun 04, 2014 3232 bsteffen Remove ISerializableObject
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -46,8 +46,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|||
*/
|
||||
|
||||
@DynamicSerialize
|
||||
public class WindBarbPacket extends SymbologyPacket implements
|
||||
ISerializableObject {
|
||||
public class WindBarbPacket extends SymbologyPacket {
|
||||
|
||||
public WindBarbPacket(int packetId, DataInputStream in) throws IOException {
|
||||
super(packetId, in);
|
||||
|
@ -58,8 +57,7 @@ public class WindBarbPacket extends SymbologyPacket implements
|
|||
}
|
||||
|
||||
@DynamicSerialize
|
||||
public static class WindBarbPoint implements SymbologyPoint,
|
||||
ISerializableObject {
|
||||
public static class WindBarbPoint implements SymbologyPoint {
|
||||
|
||||
@DynamicSerializeElement
|
||||
protected int colorValue;
|
||||
|
|
Loading…
Add table
Reference in a new issue