feat(wms): add controlled three-channel mixed-storage pilot

This commit is contained in:
zgw
2026-09-10 16:03:20 +08:00
parent 63ed8f72b1
commit ae7f8c08f4
11 changed files with 1001 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
@echo off
setlocal
if "%~3"=="" goto usage
if /I "%~1"=="install" (
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0install-mixed-pilot.ps1" -Server "%~2" -Database "%~3"
exit /b
)
if /I "%~1"=="enable" (
if /I not "%~4"=="CONFIRM-FIT-ALL-PROJECTS" goto usage
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0control-mixed-pilot.ps1" -Server "%~2" -Database "%~3" -Mode enable -ConfirmPhysicalFit -AllProjectsMayMix
exit /b
)
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0control-mixed-pilot.ps1" -Server "%~2" -Database "%~3" -Mode "%~1"
exit /b
:usage
echo Usage: mixed-pilot.cmd install^|status^|disable^|uninstall "lpc:." "FT546-wms"
echo Enable: mixed-pilot.cmd enable "lpc:." "FT546-wms" CONFIRM-FIT-ALL-PROJECTS
exit /b 2