mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-25 08:32:32 +00:00
Daqbinary (#20)
* Make a couple o fthings private Code tidy in VR Range Panel * Remove binary from Acquisition since it messes up database
This commit is contained in:
parent
081514f9d2
commit
642080d8db
@ -124,10 +124,14 @@ public class AcquisitionProcess extends PamProcess {
|
||||
// daqStatusDataBlock.
|
||||
addOutputDataBlock(daqStatusDataBlock);
|
||||
daqStatusDataBlock.SetLogging(new AcquisitionLogging(daqStatusDataBlock, acquisitionControl));
|
||||
// if (acquisitionControl.isViewer() || acquisitionControl.isNetRx()) {
|
||||
daqStatusDataBlock.setBinaryDataSource(new DaqStatusBinaryStore(daqStatusDataBlock, acquisitionControl));
|
||||
|
||||
/**
|
||||
* We really don't wand the binary data source set for normal ops since it stops the data getting
|
||||
* written to the database by default. When using certain Network receiver settings, they use binary
|
||||
* type data, so do need it. this will therefore be configured from the network receiver when required.
|
||||
*/
|
||||
// daqStatusDataBlock.setBinaryDataSource(new DaqStatusBinaryStore(daqStatusDataBlock, acquisitionControl));
|
||||
AbstractScrollManager.getScrollManager().addToSpecialDatablock(daqStatusDataBlock);
|
||||
// }
|
||||
daqStatusDataBlock.setMixedDirection(PamDataBlock.MIX_INTODATABASE);
|
||||
|
||||
setupDataBlock();
|
||||
|
@ -2461,7 +2461,8 @@ public class PamController implements PamControllerInterface, PamSettings {
|
||||
}
|
||||
|
||||
/**
|
||||
* Respond to storage options dialog.
|
||||
* Respond to storage options dialog. Selects whethere data
|
||||
* are stored in binary, database or both
|
||||
* @param parentFrame
|
||||
*/
|
||||
public void storageOptions(JFrame parentFrame) {
|
||||
|
@ -7,9 +7,9 @@ import PamView.PamOldSymbolManager;
|
||||
|
||||
public class VRSymbolManager implements ManagedSymbol {
|
||||
|
||||
PamSymbol symbol;
|
||||
private PamSymbol symbol;
|
||||
|
||||
ManagedSymbolInfo symbolInfo;
|
||||
private ManagedSymbolInfo symbolInfo;
|
||||
|
||||
public VRSymbolManager(PamSymbol defSymbol, String description) {
|
||||
symbolInfo = new ManagedSymbolInfo(description);
|
||||
|
Loading…
Reference in New Issue
Block a user