Example #1
0
 public CMD_E_ABS_DTC(uint byte_idx, uint bit_idx, ABS_DTC_Code DTC_value, string type, string desc)
 {
     byte_index   = byte_idx;
     bit_index    = bit_idx;
     failure_type = type;
     description  = desc;
     dtc_code     = DTC_value;
 }
Example #2
0
 static public CMD_E_ABS_DTC Find_ABS_DTC(ABS_DTC_Code code)
 {
     foreach (CMD_E_ABS_DTC item in abs_dtc_table)
     {
         if (item.DTC == code)
         {
             return(item);
         }
     }
     return(null);
 }