-
Notifications
You must be signed in to change notification settings - Fork 297
IsAlive component
Grzegorz Bylica edited this page Jun 27, 2022
·
1 revision
IsAslive component that is able to detect the server Scada is requests.
Example:
<div
id='app-isalive'
plabel='Server is alive'
ptime-warning=7000
ptime-refresh=3000
ptime-error=11000 >
</div>
- plabel - display name
- ptime-warning - in case of no reply, the time after which it shows the warning status
- ptime-refresh - how often it checks if the server is responding
- ptime-error - in case of no reply, the time after which it shows the error status
{http://scadalts:8080/}api/is_alive/time
- checks the time from the server which is then compared by the component to the local time in the browser