feat: 多系统新增扫码中间件与 AGV 对接,优化拧紧与退库流程

新增扫码中间件支持网络型扫码枪键盘注入,AGV 对接从 WMS 迁至 MES 统一管理;新增拧紧不合格人工处置与 PLC 对账机制,优化退库单关联与工位终端功能,同时清理旧 AGV 任务表,完善数据库与配置项。
This commit is contained in:
SunYF
2026-10-14 17:24:59 +08:00
parent 8e6048c64b
commit f65a52d9e1
170 changed files with 15415 additions and 10572 deletions
@@ -0,0 +1,24 @@
@echo off
rem ============================================================
rem 工位终端开机自启注册【当前用户版,普通权限】
rem 目标:当前用户「启动」目录(shell:startup),仅本账号登录触发。
rem 推荐优先用 install_startup.bat(管理员,全局生效);无管理员权限时用本脚本。
rem ============================================================
chcp 65001 >nul
cd /d "%~dp0"
if not exist bj_power_workstation.exe (
echo [错误] 未找到 bj_power_workstation.exe,请先打包 exe。
pause
exit /b 1
)
powershell -NoProfile -Command "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut([Environment]::GetFolderPath('Startup') + '\bj_power_workstation.lnk'); $s.TargetPath = '%~dp0bj_power_workstation.exe'; $s.WorkingDirectory = '%~dp0'; $s.Save()"
if errorlevel 1 (
echo [错误] 创建快捷方式失败,请检查 PowerShell 可用性。
pause
exit /b 1
)
echo [完成] 已创建当前用户开机自启快捷方式(本账号登录自动启动终端)。
pause