public class D3Control extends OfflineFileControl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
unitType |
Constructor and Description |
---|
D3Control(java.lang.String unitName) |
Modifier and Type | Method and Description |
---|---|
int |
findSensorIndex(int sensorId)
Find sensor information corresponding to a specific id.
|
int |
findSensorIndex(java.lang.String sensorName)
Find a sensor by the name of it's cal field.
|
D3SensorInfo |
findSensorInfo(int sensorId)
Find sensor information corresponding to a specific id.
|
D3SensorInfo |
findSensorInfo(java.lang.String calName)
Find sensor information corresponding to a specific id.
|
D3DataBlock |
getD3DataBlock() |
D3DataPlotProvider |
getD3DataPlotProvider() |
java.util.ArrayList<D3SensorInfo> |
getD3SensorInfos() |
java.lang.String |
getOfflineFileType()
Get the file type for the files to be listed
|
boolean |
loadData(PamDataBlock dataBlock,
java.util.ArrayList<OfflineFileMapPoint> usedMapPoints,
long dataStart,
long dataEnd,
RequestCancellationObject cancellationObject,
ViewLoadObserver loadObserver)
Load data from the files and pack into appropriate datablocks.
|
boolean |
saveData(PamDataBlock dataBlock)
Save data previously loaded from the store during
offline viewing.
|
createDetectionMenu, createOfflineDataMap, detectionMenuAction, getDatagramManager, getDataSourceName, getFileParams, getOfflineFileDataMap, getOfflineFileProcess, loadData, notifyModelChanged, rewriteIndexFile, setDatagramManager, setFileParams
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
public static final java.lang.String unitType
public java.lang.String getOfflineFileType()
OfflineFileControl
public boolean loadData(PamDataBlock dataBlock, java.util.ArrayList<OfflineFileMapPoint> usedMapPoints, long dataStart, long dataEnd, RequestCancellationObject cancellationObject, ViewLoadObserver loadObserver)
OfflineFileControl
loadData
in class OfflineFileControl
dataBlock
- dataBlock for datausedMapPoints
- list of mappoints which may have data in the load timedataStart
- start of data loaddataEnd
- end of data loadcancellationObject
- cancellation object for threading loadingloadObserver
- update observer for loading data.public boolean saveData(PamDataBlock dataBlock)
OfflineDataStore
dataBlock
- datablock owner of the datapublic D3DataBlock getD3DataBlock()
public D3SensorInfo findSensorInfo(int sensorId)
sensorId
- integer sensor idpublic D3SensorInfo findSensorInfo(java.lang.String calName)
sensorId
- integer sensor idpublic int findSensorIndex(int sensorId)
sensorId
- integer sensor idpublic int findSensorIndex(java.lang.String sensorName)
sensorName
- public java.util.ArrayList<D3SensorInfo> getD3SensorInfos()
public D3DataPlotProvider getD3DataPlotProvider()