Files
ant-vision-inspector/logic/group_manager.py
2026-06-18 13:38:27 +09:00

19 lines
504 B
Python

# 검사 대상 관리 — DB 미연결 시 PatMax 슬롯 1~16 허용 (레거시 호환)
from logic.products import MAX_PATMAX_SLOTS
class GroupManager:
"""레거시 호환용. 그룹 A/B 전환·선택 제한은 비활성화."""
def get_active_group(self) -> list:
return []
def get_active_name(self) -> str:
return "ALL"
def get_allowed_ids(self) -> list:
return list(range(1, MAX_PATMAX_SLOTS + 1))
def switch_group(self) -> str:
return "ALL"