Package d3
Class D3Control
- All Implemented Interfaces:
OfflineDataStore
,SettingsNameProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
findSensorIndex
(int sensorId) Find sensor information corresponding to a specific id.int
findSensorIndex
(String sensorName) Find a sensor by the name of it's cal field.findSensorInfo
(int sensorId) Find sensor information corresponding to a specific id.findSensorInfo
(String calName) Find sensor information corresponding to a specific id.boolean
loadData
(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, 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.Methods inherited from class fileOfflineData.OfflineFileControl
createDetectionMenu, createOfflineDataMap, detectionMenuAction, getDatagramManager, getDataLocation, getDataSourceName, getFileParams, getOfflineFileDataMap, getOfflineFileProcess, loadData, notifyModelChanged, rewriteIndexFile, setDatagramManager, setFileParams
Methods inherited from class PamController.PamControlledUnit
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addPamProcess, addRelatedMenuItems, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, flushDataBlockBuffers, getBackupInformation, getFrameNumber, getGUI, getGuiFrame, getInstanceIndex, getModuleStatus, getModuleStatusManager, getModuleSummary, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineState, getOfflineTaskGroup, getPamConfiguration, getPamController, getPamModuleInfo, getPamProcess, getPamView, getPlugin, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, setupControlledUnit, stopViewerSound, tellModule, terminalPrint, terminalPrintln, toString
-
Field Details
-
unitType
- See Also:
-
-
Constructor Details
-
D3Control
-
-
Method Details
-
getOfflineFileType
-
loadData
public boolean loadData(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Description copied from class:OfflineFileControl
Load data from the files and pack into appropriate datablocks.- Specified by:
loadData
in classOfflineFileControl
- Parameters:
dataBlock
- dataBlock for datausedMapPoints
- list of mappoints which may have data in the load timeloadObserver
- update observer for loading data.- Returns:
- true hopefully !
-
saveData
Description copied from interface:OfflineDataStore
Save data previously loaded from the store during offline viewing.- Parameters:
dataBlock
- datablock owner of the data- Returns:
- true if saved or save not needed. False if an error prevents saving.
-
getD3DataBlock
- Returns:
- the d3DataBlock
-
findSensorInfo
Find sensor information corresponding to a specific id.- Parameters:
sensorId
- integer sensor id- Returns:
- sensor information.
-
findSensorInfo
Find sensor information corresponding to a specific id.- Parameters:
sensorId
- integer sensor id- Returns:
- sensor information.
-
findSensorIndex
public int findSensorIndex(int sensorId) Find sensor information corresponding to a specific id.- Parameters:
sensorId
- integer sensor id- Returns:
- sensor index.
-
findSensorIndex
Find a sensor by the name of it's cal field.- Parameters:
sensorName
-- Returns:
-
getD3SensorInfos
- Returns:
- the d3SensorInfos
-
getD3DataPlotProvider
- Returns:
- the d3DataPlotProvider
-