mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-21 22:52:22 +00:00
Bearing localiser offline save
Bug stopping it correctly saving data from the offline task to the database fixed.
This commit is contained in:
parent
7a44d49e27
commit
d5f504dcd1
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.pamguard</groupId>
|
<groupId>org.pamguard</groupId>
|
||||||
<artifactId>Pamguard</artifactId>
|
<artifactId>Pamguard</artifactId>
|
||||||
<version>2.02.09b</version>
|
<version>2.02.09c</version>
|
||||||
<name>Pamguard Java12+</name>
|
<name>Pamguard Java12+</name>
|
||||||
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
||||||
<url>www.pamguard.org</url>
|
<url>www.pamguard.org</url>
|
||||||
|
@ -31,12 +31,12 @@ public class PamguardVersionInfo {
|
|||||||
* Version number, major version.minorversion.sub-release.
|
* Version number, major version.minorversion.sub-release.
|
||||||
* Note: can't go higher than sub-release 'f'
|
* Note: can't go higher than sub-release 'f'
|
||||||
*/
|
*/
|
||||||
static public final String version = "2.02.09b";
|
static public final String version = "2.02.09c";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Release date
|
* Release date
|
||||||
*/
|
*/
|
||||||
static public final String date = "29 June 2023";
|
static public final String date = "10 November 2023";
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * Release type - Beta or Core
|
// * Release type - Beta or Core
|
||||||
|
@ -22,6 +22,7 @@ public class BLOfflineTask extends OfflineTask {
|
|||||||
this.bearingLocaliserControl = bearingLocaliserControl;
|
this.bearingLocaliserControl = bearingLocaliserControl;
|
||||||
bearingProcess = bearingLocaliserControl.getBearingProcess();
|
bearingProcess = bearingLocaliserControl.getBearingProcess();
|
||||||
this.addRequiredDataBlock(rawOrFFTBlock = bearingProcess.getParentDataBlock());
|
this.addRequiredDataBlock(rawOrFFTBlock = bearingProcess.getParentDataBlock());
|
||||||
|
addAffectedDataBlock(detectionBlock);
|
||||||
// PamDataBlock detectionSource = bearingLocaliserControl.getDetectionMonitor().getParentDataBlock();
|
// PamDataBlock detectionSource = bearingLocaliserControl.getDetectionMonitor().getParentDataBlock();
|
||||||
// this.setParentDataBlock(detectionSource);
|
// this.setParentDataBlock(detectionSource);
|
||||||
// setParentDataBlock(bearingProcess.getParentDataBlock());
|
// setParentDataBlock(bearingProcess.getParentDataBlock());
|
||||||
|
@ -26,6 +26,10 @@ public class Group3DOfflineTask extends OfflineTask<PamDataUnit>{
|
|||||||
this.group3DControl = group3DControl;
|
this.group3DControl = group3DControl;
|
||||||
group3DProcess = group3DControl.getGroup3dProcess();
|
group3DProcess = group3DControl.getGroup3dProcess();
|
||||||
addAffectedDataBlock(group3DProcess.getGroup3dDataBlock());
|
addAffectedDataBlock(group3DProcess.getGroup3dDataBlock());
|
||||||
|
PamDataBlock parentData = group3DProcess.getParentDataBlock();
|
||||||
|
if (parentData != null) {
|
||||||
|
this.addRequiredDataBlock(parentData);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user