public CMD_F_OBD_DTC(uint byte_idx, uint bit_idx, OBD_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; }
static public CMD_F_OBD_DTC Find_OBD_DTC(OBD_DTC_Code code) { foreach (CMD_F_OBD_DTC item in obd_dtc_table) { if (item.DTC == code) { return(item); } } return(null); }
static public String GetDTCStringFromValue(OBD_DTC_Code dtc_code) { return(GetDTCStringFromValue((uint)dtc_code)); }