-
Notifications
You must be signed in to change notification settings - Fork 2
/
CheckAlpacaSimulators-Dev.cmd
75 lines (64 loc) · 1.96 KB
/
CheckAlpacaSimulators-Dev.cmd
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
@echo off
echo %CD%\logs
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/camera/0" --logfile logs\%1.camera.txt
echo.
echo Return code: %errorlevel%
echo.
set CameraRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/covercalibrator/0"
echo.
echo Return code: %errorlevel%
echo.
set CoverCalibratorRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/dome/0"
echo.
echo Return code: %errorlevel%
echo.
set DomeRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/filterwheel/0"
echo.
echo Return code: %errorlevel%
echo.
set FilterWheelRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/focuser/0"
echo.
echo Return code: %errorlevel%
echo.
set FocuserRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/observingconditions/0"
echo.
echo Return code: %errorlevel%
echo.
set ObservingConditionsRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/rotator/0"
echo.
echo Return code: %errorlevel%
echo.
set RotatorRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/safetymonitor/0"
echo.
echo Return code: %errorlevel%
echo.
set SafetyMonitorRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/switch/0"
echo.
echo Return code: %errorlevel%
echo.
set SwitchRC=%errorlevel%
ConformU\bin\Debug\net7.0-windows\conformu.exe %1 "http://%2/api/v1/telescope/0"
echo.
echo Return code: %errorlevel%
echo.
set TelescopeRC=%errorlevel%
echo Camera issues: %CameraRC%
echo CoverCalibrator issues: %CoverCalibratorRC%
echo Dome issues: %DomeRC%
echo FilterWheel issues: %FilterWheelRC%
echo Focuser issues: %FocuserRC%
echo ObservingConditions issues: %ObservingConditionsRC%
echo Rotator issues: %RotatorRC%
echo SafetyMonitor issues: %SafetyMonitorRC%
echo Switch issues: %SwitchRC%
echo Telescope issues: %TelescopeRC%
echo.
pause