Omaha #3888 fixed pop up for thesholds and fog monitor safety.
Former-commit-id:d01e7774b5
[formerly344ed156e4
[formerly b1c25aa439095ef52ad228662bbe1d38aae5d555]] Former-commit-id:344ed156e4
Former-commit-id:168ea904ea
This commit is contained in:
parent
701501ad9e
commit
1e8abe2bd0
2 changed files with 16 additions and 13 deletions
|
@ -90,6 +90,7 @@ import com.vividsolutions.jts.geom.Geometry;
|
|||
* Apr 28, 2014 3086 skorolev Removed local getMonitorAreaConfig method.
|
||||
* Sep 04, 2014 3220 skorolev Updated configUpdate method and added updateMonitoringArea.
|
||||
* Sep 23, 2014 3356 njensen Remove unnecessary import
|
||||
* Mar 09, 2014 3888 dhladky Stopped processing when dialogs are null or disposed.
|
||||
*
|
||||
*
|
||||
* </pre>
|
||||
|
@ -366,14 +367,20 @@ public class FogMonitor extends ObsMonitor implements IFogResourceListener {
|
|||
*/
|
||||
@Override
|
||||
protected void process(ObReport result) throws Exception {
|
||||
obData.addReport(result);
|
||||
String zone = findZone(result.getPlatformId());
|
||||
if (zone != null) {
|
||||
AreaContainer ac = getTableData().getArea(zone);
|
||||
if (ac != null) {
|
||||
ac.addReport(result.getObservationTime(), result);
|
||||
fireMonitorEvent(this);
|
||||
|
||||
if (zoneDialog != null && !zoneDialog.isDisposed()) {
|
||||
|
||||
obData.addReport(result);
|
||||
String zone = findZone(result.getPlatformId());
|
||||
if (zone != null) {
|
||||
AreaContainer ac = getTableData().getArea(zone);
|
||||
if (ac != null) {
|
||||
ac.addReport(result.getObservationTime(), result);
|
||||
fireMonitorEvent(this);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
monitor.nullifyMonitor();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
|
|||
* Sep 24, 2014 2757 skorolev Fixed problem with adding and removing zones.
|
||||
* Oct 27, 2014 3667 skorolev Corrected functionality of dialog. Cleaned code.
|
||||
* Nov 12, 2014 3650 skorolev Added confirmation box for unsaved changes in the dialog.
|
||||
* Mar 08, 2015 3888 dhladky Restored threshold pop-up when adding new stations/zones.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -1476,12 +1477,7 @@ public abstract class MonitoringAreaConfigDlg extends CaveSWTDialog implements
|
|||
* Reset data status.
|
||||
*/
|
||||
protected void resetStatus() {
|
||||
if (!configMgr.getAddedZones().isEmpty()) {
|
||||
configMgr.getAddedZones().clear();
|
||||
}
|
||||
if (!configMgr.getAddedStations().isEmpty()) {
|
||||
configMgr.getAddedStations().clear();
|
||||
}
|
||||
|
||||
this.timeWindowChanged = false;
|
||||
this.maZonesRemoved = false;
|
||||
this.maStationsRemoved = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue