Пример #1
0
        /// <summary>
        /// This method cycles through the list of ECUs for the selected protocol attempting
        /// to contact each one using the Unified Diagnostic Services (ISO 14229).
        /// </summary>
        public List <ECU> AutoDetectEcus()
        {
            List <ECU> responsiveEcus = _protocol.AutoDetectEcus();

            foreach (ECU nextEcu in responsiveEcus)
            {
                log.Info(nextEcu.Index + ": " + nextEcu.Name);
            }

            return(responsiveEcus);
        }