Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 | 305x 305x | export class Slash{
twinpad_version: string;
}
export class ServicesStatus{
backend: string;
signal_storage: string;
heartbeat_storage: string;
data_analyzer: string;
cloud_broker: string;
time_series_database: string;
constructor(backend: string){
this.backend = backend;
}
globalStatus(): boolean{
return (this.cloud_broker ==="up" && this.signal_storage === "up" && this.heartbeat_storage === "up" && this.data_analyzer ==="up" && this.time_series_database ==="up" && this.backend === "up");
}
}
export class TwinPadStatus{
services: ServicesStatus;
constructor(services: ServicesStatus){
this.services = services;
}
}
|