Module vcr4j.rs422

Class RS422Userbits

java.lang.Object
org.mbari.vcr4j.rs422.RS422Userbits

public class RS422Userbits extends Object
  • 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object