public class DaqStatusDataUnit extends PamDataUnit
The main purpose of producing these is so that they get picked up by the database and logged
Modifier and Type | Field and Description |
---|---|
double |
clockError |
double |
duration |
int |
nChannels |
int |
sampleRate |
double |
voltsPeak2Peak |
Constructor and Description |
---|
DaqStatusDataUnit(long timeMilliseconds,
java.lang.String status,
java.lang.String reason,
java.lang.String daqSystemType,
double sampleRate,
int channels,
double voltsPeak2Peak,
double duration,
double clockError) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDaqSystemType() |
double |
getDuration() |
int |
getNChannels() |
java.lang.String |
getReason() |
int |
getSampleRate() |
java.lang.String |
getStatus() |
double |
getVoltsPeak2Peak() |
void |
setDaqSystemType(java.lang.String daqSystemType) |
void |
setStatus(java.lang.String status,
java.lang.String reason) |
addDataAnnotation, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, getAbsBlockIndex, getChannelBitmap, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDetectionMatch, getDetectionMatch, getHydrophoneHeading, getLastUpdateTime, getLocalisation, getNumDataAnnotations, getOriginLatLong, getPairAngle, getParentDataBlock, getSummaryString, getTimeMilliseconds, getUpdateCount, removeDataAnnotation, removeDataAnnotation, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
public int sampleRate
public int nChannels
public double voltsPeak2Peak
public double duration
public double clockError
public DaqStatusDataUnit(long timeMilliseconds, java.lang.String status, java.lang.String reason, java.lang.String daqSystemType, double sampleRate, int channels, double voltsPeak2Peak, double duration, double clockError)
public java.lang.String getReason()
public java.lang.String getStatus()
public void setStatus(java.lang.String status, java.lang.String reason)
public java.lang.String getDaqSystemType()
public void setDaqSystemType(java.lang.String daqSystemType)
public int getNChannels()
public int getSampleRate()
public double getVoltsPeak2Peak()
public double getDuration()