Package tritechgemini.imagedata
Class GLFStatusData
java.lang.Object
tritechgemini.imagedata.PublicMessageHeader
tritechgemini.imagedata.GLFStatusData
- All Implemented Interfaces:
Serializable
This works reading from the latest GLF files and seems to get reasonable values.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoubledoubledoubledoubledoubledoubledoubleshortintintshortshortdoubleshortdoubleintshortlongintshortshortintshortshortshortbooleanintdoubleintintshortintintdoubledoubleintdoubleintintdoubledoubledoubledoubledoublebytestatic final intstatic final intstatic final intbyteSource of data.Fields inherited from class tritechgemini.imagedata.PublicMessageHeader
genericHeader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the link speed which should be 10,100 or 1000MbpsintGet the link type.intGet the 720im/Micron linkTypereturn error string for shutdown.booleanisAlarm(boolean ignoreOOW) Is it in an alarm state we shouldn't ignore.booleanOut of water flag (0x4) in m_shutdownStatus is set.booleanIs outofwater shutdown setbooleanis overtemp alarm bit set.booleanbooleanreadCGemStatus(DataInput dis) toString()booleanwriteStatusData(LittleEndianDataOutputStream outputStream, boolean isOnline)
-
Field Details
-
OUT_OF_WATER
public static final int OUT_OF_WATER- See Also:
-
OUT_OF_WATERSHUTDOWN
public static final int OUT_OF_WATERSHUTDOWN- See Also:
-
OVER_TEMPERATURE
public static final int OVER_TEMPERATURE- See Also:
-
m_bfVersion
public short m_bfVersion -
m_daVer
public short m_daVer -
m_deviceID
public short m_deviceID -
reserved
public byte reserved -
m_vgaT1
public double m_vgaT1 -
m_vgaT2
public double m_vgaT2 -
m_vgaT3
public double m_vgaT3 -
m_vgaT4
public double m_vgaT4 -
m_psuT
public double m_psuT -
m_dieT
public double m_dieT -
m_txT
public double m_txT -
m_afe0TopTemp
public double m_afe0TopTemp -
m_afe0BotTemp
public double m_afe0BotTemp -
m_afe1TopTemp
public double m_afe1TopTemp -
m_afe1BotTemp
public double m_afe1BotTemp -
m_afe2TopTemp
public double m_afe2TopTemp -
m_afe2BotTemp
public double m_afe2BotTemp -
m_afe3TopTemp
public double m_afe3TopTemp -
m_afe3BotTemp
public double m_afe3BotTemp -
m_linkType
public short m_linkType -
m_uplinkSpeedMbps
public double m_uplinkSpeedMbps -
m_downlinkSpeedMbps
public double m_downlinkSpeedMbps -
m_linkQuality
public short m_linkQuality -
m_packetCount
public int m_packetCount -
m_recvErrorCount
public int m_recvErrorCount -
m_resentPacketCount
public int m_resentPacketCount -
m_droppedPacketCount
public int m_droppedPacketCount -
m_unknownPacketCount
public int m_unknownPacketCount -
m_lostLineCount
public int m_lostLineCount -
m_generalCount
public int m_generalCount -
m_sonarAltIp
public int m_sonarAltIp -
m_surfaceIp
public int m_surfaceIp -
m_subNetMask
public int m_subNetMask -
m_macAddress1
public short m_macAddress1 -
m_macAddress2
public short m_macAddress2 -
m_macAddress3
public short m_macAddress3 -
m_BOOTSTSRegister
public int m_BOOTSTSRegister -
m_BOOTSTSRegisterDA
public int m_BOOTSTSRegisterDA -
m_fpgaTime
public long m_fpgaTime -
m_dipSwitch
public short m_dipSwitch -
m_shutdownStatus
public short m_shutdownStatus -
m_networkAdaptorFound
public boolean m_networkAdaptorFound -
m_subSeaInternalTemp
public double m_subSeaInternalTemp -
m_subSeaCpuTemp
public double m_subSeaCpuTemp -
m_flags
public short m_flags -
m_xdSelected
public byte m_xdSelected -
m_uiFrame
public int m_uiFrame -
source
Source of data. file name or software.
-
-
Constructor Details
-
GLFStatusData
-
-
Method Details
-
read
- Throws:
CatalogException
-
readCGemStatus
- Throws:
CatalogException
-
writeStatusData
public boolean writeStatusData(LittleEndianDataOutputStream outputStream, boolean isOnline) throws CatalogException - Throws:
CatalogException
-
getLinkType
public int getLinkType()Get the link type.- Returns:
- 0 = Ethernet, 1 = VDSL
-
getLinkSpeed
public int getLinkSpeed()Get the link speed which should be 10,100 or 1000Mbps- Returns:
- link speed in Mbps
-
getMicronLinkType
public int getMicronLinkType()Get the 720im/Micron linkType- Returns:
- 0 = no link (broadcast, 1 = Ethernet, 2 = Serial RS232, 3 = RS485
-
isAlarm
public boolean isAlarm(boolean ignoreOOW) Is it in an alarm state we shouldn't ignore.- Parameters:
ignoreOOW-- Returns:
-
isOutOfWater
public boolean isOutOfWater()Out of water flag (0x4) in m_shutdownStatus is set.- Returns:
- true if sonar is flagged as out of water.
-
isOutOfWaterShutdown
public boolean isOutOfWaterShutdown()Is outofwater shutdown set- Returns:
-
isOverTemp
public boolean isOverTemp()is overtemp alarm bit set.- Returns:
-
getShutdownError
return error string for shutdown.- Returns:
- null if no shutdown code, a string otherwise.
-
toString
-