Added uploads, part renaming, bulk data import acceptance

This commit is contained in:
2025-12-17 13:57:47 +11:00
parent aaa1f7520a
commit ae9e1d6e7e
14 changed files with 3325 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ PARTDB_TOKEN = "tcp_564c6518a8476c25c68778e640c1bf40eecdec9f67be580bbd6504e9b6e
UI_LANG_PATH = "/en"
# Modes: "bulk" or "scan"
MODE = "scan"
MODE = "bulk"
# Scanner
COM_PORT = "COM7"
@@ -30,4 +30,19 @@ ENV_USER = "Nick"
ENV_PASSWORD = "O@IyECa^XND7BvPpRX9XRKBhv%XVwCV4"
# UI defaults
WINDOW_GEOM = "860x560"
WINDOW_GEOM = "860x560"
# Bulk import job acceptance
ACCEPT_JOBS_MAX_ITERATIONS = 100 # Maximum number of jobs to process in one run
ACCEPT_JOBS_RETRY_DELAY = 1.0 # Delay between job attempts (seconds)
# Bulk add workflow settings
ENABLE_RESISTORS_0805 = False
ENABLE_RESISTORS_0603 = False
ENABLE_CAPS_0805 = False
ADD_1206_FOR_LOW_V_CAPS = False
LOW_V_CAP_THRESHOLD_V = 10.0
UPSIZED_1206_TARGET_V = "25V"
DEFAULT_CAP_MANUFACTURER = "Samsung"
MAX_TO_CREATE = None # None for all, or a number to limit
SKIP_IF_EXISTS = True