Exemple #1
0
 public static boolean DecodeActive(long fault) {
   if (DTOBDFault.IsJ1708(fault)) {
     return ((fault & ACTIVE_MASK) != 0L);
   } else {
     return true;
   }
 }
Exemple #2
0
 public boolean isJ1708() {
   return DTOBDFault.IsJ1708(this.getFaultCode());
 }
Exemple #3
0
 public static boolean IsJ1708_PID(RTProperties rtpFault) {
   return DTOBDFault.IsJ1708(rtpFault) && rtpFault.hasProperty(PROP_PID);
 }
Exemple #4
0
 /* return true if long value represents a SID */
 public static boolean IsJ1708_PID(long fault) {
   return DTOBDFault.IsJ1708(fault) && ((fault & SID_MASK) == 0L);
 }