const seen = {}, hit = []; for (const q of ['1206 保险丝', '保险丝', 'fuse 1206', '贴片式保险丝']) { let r = []; try { r = await eda.lib_Device.search(q) || []; } catch (e) {} for (const d of r) { if (seen[d.uuid]) continue; seen[d.uuid] = 1; const s = (d.description || '') + ' ' + d.name; if (/额定电流:2A|额定电流:2\.0A/.test(s)) hit.push([d.name, d.uuid, d.libraryUuid, (d.description||'').slice(0,110)]); } } return { nSeen: Object.keys(seen).length, hit };