org.mbari.siam.foce.devices.elmo.louver
Class ElmoLouverPacketParser
java.lang.Object
org.mbari.siam.distributed.PacketParser
org.mbari.siam.foce.devices.elmo.louver.ElmoLouverPacketParser
- All Implemented Interfaces:
- java.io.Serializable
public class ElmoLouverPacketParser
- extends PacketParser
Parses SIAM data packets
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElmoLouverPacketParser
public ElmoLouverPacketParser()
ElmoLouverPacketParser
public ElmoLouverPacketParser(java.lang.String registryName)
parseFields
public PacketParser.Field[] parseFields(DevicePacket packet)
throws NotSupportedException,
java.text.ParseException
- Return fields parsed from DevicePacket.
- Specified by:
parseFields in class PacketParser
- Throws:
NotSupportedException
java.text.ParseException
getStatusString
public static java.lang.String getStatusString(java.lang.Integer status)
- Format the Elmo status register bit field as a (human readable) String
getStatusString
public static java.lang.String getStatusString(int status)
getFailureString
public static java.lang.String getFailureString(java.lang.Long failure)
- Format the Elmo status register bit field as a (human readable) String
getFailureString
public static java.lang.String getFailureString(long failure)
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.