public TinyFanGroup(ISettings settings) { // TODO: Complete member initialization this.settings = settings; USBInterface.HIDInterface.interfaceDetails[] allDevices = this.getDevicesDetails(); if (allDevices.Length == 0) { report.Append("Didn't find TinyFan USB device."); return; } for (int i = 0; i < allDevices.Length; i++) { USBInterface.HIDInterface.interfaceDetails deviceInfos = allDevices[i]; report.AppendLine("Find one device. It's path is:" + deviceInfos.devicePath); TinyFan tinyFan = new TinyFan("tinyfan", settings, deviceInfos); this.hardware.Add(tinyFan); } }