Issue #1731 - fix problem with dmd updating.
Change-Id: I1f3eb576cf26a42195ca9c4cadfbeaeb77394af6 Former-commit-id: a8c25cfced44c7e3edfd1b37af73b2af8753212b
This commit is contained in:
parent
74a47b9bd9
commit
64cdb3c7fd
1 changed files with 8 additions and 5 deletions
|
@ -82,6 +82,7 @@ import com.vividsolutions.jts.geom.Coordinate;
|
|||
* Jul 24 2012 12996 Xiaochuan Compare with MidVal()
|
||||
* Feb 28, 2013 1731 bsteffen Allow ScanResource to work better with
|
||||
* D2DTimeMatcher.
|
||||
* Apr 02, 2013 1731 mpduff Fix problem with DMD updates.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -1108,7 +1109,8 @@ public class ScanResource extends
|
|||
try {
|
||||
if (!getScan().getTimeOrderedKeys(getScan(), newrecord.getType(),
|
||||
resourceData.icao).contains(
|
||||
newrecord.getDataTime().getRefTime())) {
|
||||
newrecord.getDataTime().getRefTime())
|
||||
|| newrecord.getType().equals("DMD")) {
|
||||
|
||||
newrecord = resourceData.populateRecord(newrecord);
|
||||
|
||||
|
@ -1118,11 +1120,12 @@ public class ScanResource extends
|
|||
|
||||
getScan().setTableData(resourceData.icao,
|
||||
newrecord.getTableData(),
|
||||
/* TODO: This should be the volume scan time,
|
||||
* but {Radar,Scan}Record.getVolScanTime is actually
|
||||
* the radar product generation time.
|
||||
/*
|
||||
* TODO: This should be the volume scan time, but
|
||||
* {Radar,Scan}Record.getVolScanTime is actually the
|
||||
* radar product generation time.
|
||||
*/
|
||||
newrecord.getDataTime().getRefTime(),
|
||||
newrecord.getDataTime().getRefTime(),
|
||||
newrecord.getTilt(),
|
||||
newrecord.getDataTime().getRefTime(),
|
||||
newrecord.getType());
|
||||
|
|
Loading…
Add table
Reference in a new issue