File size: 866 Bytes
03bcd34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
echo ========================================
echo   Opening Test Interface
echo ========================================
echo.

REM Check if index.html exists
if not exist "index.html" (
    echo ERROR: index.html not found in current directory
    echo Please ensure you are running this from the 'api' folder
    pause
    exit /b 1
)

echo Opening index.html in default browser...
echo.
echo Make sure the API server is running!
echo If not, run: start_server.bat
echo.
echo API should be available at: http://localhost:8000
echo.

REM Open in default browser
start "" "index.html"

echo.
echo Test interface opened successfully!
echo.
echo Tips:
echo   1. Check API status indicator (top-right corner)
echo   2. Try preset scenarios: Healthy, Tool Wear, Overstrain, Cooling
echo   3. For batch processing, upload CSV with required columns
echo.
pause