[WORK] PRO AV данные (AP08 16x16 Dante/8 AEC, CM50 AES67, CS10-D, CLS120) + дисплеи и кронштейны в BOM
This commit is contained in:
1 parent
c3b61771a5
commit
252be7df0e
3 files changed
+141
No files matched your search
@@ -236,6 +236,29 @@ def main():
|
||||
"why": "совместима: %s" % (strip_marks(e.get("condition"))[:60] or "—"),
|
||||
"src": "матрица"})
|
||||
|
||||
# display_block: дисплей
|
||||
displays = [e for e in edges.get(hk, [])
|
||||
if e.get("supported") and e.get("usable", True)
|
||||
and cat.get(norm(e["to"]), {}).get("role") == "display"]
|
||||
if displays:
|
||||
e = displays[0]
|
||||
bom.append({"role": "Дисплей", "model": e["to"], "qty": 1,
|
||||
"why": "совместим с хостом", "src": "матрица"})
|
||||
else:
|
||||
bom.append({"role": "Дисплей", "model": "внешний ТВ (не Yealink)", "qty": 1,
|
||||
"why": "у Yealink нет дисплея для этого хоста — нужен ТВ/проектор",
|
||||
"src": "—"})
|
||||
|
||||
# mount_block: кронштейн
|
||||
mounts = [e for e in edges.get(hk, [])
|
||||
if e.get("supported") and e.get("usable", True)
|
||||
and cat.get(norm(e["to"]), {}).get("role") == "mount"]
|
||||
if mounts:
|
||||
e = mounts[0]
|
||||
bom.append({"role": "Кронштейн", "model": e["to"], "qty": 1,
|
||||
"why": "совместим: %s" % (strip_marks(e.get("condition"))[:40] or "—"),
|
||||
"src": "матрица"})
|
||||
|
||||
# Dante: если требуется — предлагаем нативный комплект
|
||||
if any(norm(n) == "dante" for n in need):
|
||||
bom.append({"role": "Dante-решение", "model": "CM50+CS10-D+AP08", "qty": 1,
|
||||
|
||||
Reference in new issue
Block a user