コード例 #1
0
 private void FillJ2534DeviceList()
 {
     foreach (J2534.J2534Device device in J2534DeviceFinder.FindInstalledJ2534DLLs(this.logger))
     {
         this.j2534DeviceList.Items.Add(device);
     }
 }
コード例 #2
0
        public static Device CreateJ2534Device(string deviceType, ILogger logger)
        {
            foreach (var device in J2534DeviceFinder.FindInstalledJ2534DLLs(logger))
            {
                if (device.Name == deviceType)
                {
                    return(new J2534Device(device, logger));
                }
            }

            return(null);
        }