Einstellungen

API-Konfiguration

@if (form.controls.apiBaseUrl.invalid && form.controls.apiBaseUrl.touched) { Pflichtfeld – bitte eine gültige URL eingeben }
@if (form.controls.pollingIntervalMs.invalid && form.controls.pollingIntervalMs.touched) { Minimum 1000 ms }

Endpunkte

Verwende {id} als Platzhalter für die Anlagen-ID

@if (form.controls.endpointPlants.invalid && form.controls.endpointPlants.touched) { Pflichtfeld }
@if (form.controls.endpointLiveData.invalid && form.controls.endpointLiveData.touched) { Pflichtfeld }
@if (form.controls.endpointHistory.invalid && form.controls.endpointHistory.touched) { Pflichtfeld }

Authentifizierung

@if (form.controls.authEndpoint.invalid && form.controls.authEndpoint.touched) { Pflichtfeld }
@if (token()) {
Token aktiv
{{ maskedToken }} } @else {
Kein Token gesetzt
}
@if (tokenStatus() === 'loading') {

Token wird abgerufen…

} @if (tokenStatus() === 'success') {

✓ Token erfolgreich abgerufen

} @if (tokenStatus() === 'error') {

✗ {{ tokenError() }}

}
@if (saveSuccess()) { ✓ Einstellungen gespeichert }