java.lang.Object
org.mbari.vcr4j.rs422.RS422Userbits
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final byte[]static final byte[]static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]inthashCode()static booleanisUserbitsHoldReply(byte[] cmd) Checks to see if the reply for a users bits command is telling you that the value has been held.static booleanisUserbitsReply(byte[] cmd)
-
Field Details
-
LTC_USERBITS
public static final byte[] LTC_USERBITS -
LTC_USERBITS_HOLD
public static final byte[] LTC_USERBITS_HOLD -
VTC_USERBITS
public static final byte[] VTC_USERBITS -
VTC_USERBITS_HOLD
public static final byte[] VTC_USERBITS_HOLD
-
-
Constructor Details
-
RS422Userbits
public RS422Userbits(byte[] userbits)
-
-
Method Details
-
isUserbitsReply
public static boolean isUserbitsReply(byte[] cmd) - Parameters:
cmd-- Returns:
-
isUserbitsHoldReply
public static boolean isUserbitsHoldReply(byte[] cmd) Checks to see if the reply for a users bits command is telling you that the value has been held. For example, if your are shuttling at a speed where the VUB can't be read correctly, then it will return this command where the value will be the same as you last VUB request.- Parameters:
cmd-- Returns:
-
getUserbits
public byte[] getUserbits() -
hashCode
public int hashCode() -
equals
-