Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup #112

6 changes: 3 additions & 3 deletions exe_script.bat
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ echo Cloud App ready!

cd src

echo Starting Sensors Client...
start "Sensor Dispatcher" python.exe "sensor_devices.py"
echo Sensors Started!
echo Starting CAN Client...
start "CAN Dispatcher" python.exe "can_service.py"
echo CAN Started!

echo Starting IoT Gateway...
start "IoT Gateway" python.exe "app.py"
Expand Down
6 changes: 3 additions & 3 deletions shutdown_script.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title Windows Shutdown Script

set sensors_mosquitto_window_title=Sensors Mosquitto
set gateway_mosquitto_window_title=Gateway Mosquitto
set sensor_dispatcher_window_title=Sensor Dispatcher
set can_dispatcher_window_title=CAN Dispatcher
set cloud_window_title=Cloud App
set gateway_window_title=IoT Gateway
set rest_window_title=REST API
Expand All @@ -18,8 +18,8 @@ if %errorlevel% equ 0 ( echo %sensors_mosquitto_window_title% shut down! )
taskkill /FI "WINDOWTITLE eq %gateway_mosquitto_window_title%" /F >nul 2>&1
if %errorlevel% equ 0 ( echo %gateway_mosquitto_window_title% shut down! )

taskkill /FI "WINDOWTITLE eq %sensor_dispatcher_window_title%" /F >nul 2>&1
if %errorlevel% equ 0 ( echo %sensor_dispatcher_window_title% shut down! )
taskkill /FI "WINDOWTITLE eq %can_dispatcher_window_title%" /F >nul 2>&1
if %errorlevel% equ 0 ( echo %can_dispatcher_window_title% shut down! )

taskkill /FI "WINDOWTITLE eq %cloud_window_title%" /F >nul 2>&1
if %errorlevel% equ 0 ( echo %cloud_window_title% shut down! )
Expand Down
Loading
Loading