Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchaltanlageApp
Please create a React-JS application for the SchaltanlageModule. The application has to offer the following views for the user interface: 1. SchaltanlageView 2. SchaltanlageNormView 3. SchaltanlageSicherheitsanforderungView 4. SchutzSteuerGeraetView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The SchaltanlageView must contain the following fields: - name: Anwendung type: STRING - name: Automatisierungsgrad type: STRING - name: Beschreibung type: STRING - name: Betreiber type: STRING - name: Bezeichnung type: STRING - name: InbetriebnahmeJahr type: INT - name: Installationsart type: STRING - name: Schaltanlagentyp type: Schaltanlagentyp - name: Spannungsebene type: Spannungsebene - name: Standort type: STRING - name: Umspannwerk type: Umspannwerk The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Schaltanlagentyp] select control should be loaded from the relative URL: "/SchaltfeldService/schaltanlagentyp" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/HistorischerEintragService/umspannwerk" (HTTP-GET) An existing Schaltanlage entity should be loaded from the relative URL: "/SchaltanlageService/schaltanlage/{id}" (HTTP-GET) If a new Schaltanlage entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-POST) If an existing Schaltanlage entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schaltanlage/{id}" (HTTP-PUT) If an existing Schaltanlage entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schaltanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchaltanlageNorm columns: - column: Norm - column: Schaltanlage The table should have the title "SchaltanlageNorms" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlagenorm/schaltanlage/{id}" Add a HTML table to the view with the following Sammelschiene columns: - column: Schaltanlage - column: Beschreibung - column: Konfiguration - column: Bezeichnung The table should have the title "Sammelschienes" und the data must be loaded from the server with the following relative URL: "/SchaltfeldService/sammelschiene/schaltanlage/{id}" Add a HTML table to the view with the following Transformator columns: - column: SekundaerKilovolt - column: NennleistungMva - column: PrimarKilovolt - column: Bezeichnung - column: TertiaerKilovolt - column: HatStufenschalter - column: SchaltanlagePrimar - column: SchaltanlageSekundaer The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/transformator/schaltanlageprimar/{id}" Add a HTML table to the view with the following Transformator columns: - column: SekundaerKilovolt - column: NennleistungMva - column: PrimarKilovolt - column: Bezeichnung - column: TertiaerKilovolt - column: HatStufenschalter - column: SchaltanlagePrimar - column: SchaltanlageSekundaer The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/transformator/schaltanlagesekundaer/{id}" Add a HTML table to the view with the following SchaltanlageHistorie columns: - column: Schaltanlage - column: HistorischerEintrag The table should have the title "SchaltanlageHistories" und the data must be loaded from the server with the following relative URL: "/HistorischerEintragService/schaltanlagehistorie/schaltanlage/{id}" Add a HTML table to the view with the following Schaltfeld columns: - column: Schaltanlage - column: IstErweiterbar - column: Bezeichnung - column: Sammelschiene - column: Funktion The table should have the title "Schaltfelds" und the data must be loaded from the server with the following relative URL: "/SchaltfeldService/schaltfeld/schaltanlage/{id}" Add a HTML table to the view with the following SchutzSteuerGeraet columns: - column: Bezeichnung - column: Schaltanlage - column: Hersteller - column: Modell - column: Geraetetyp - column: Schaltfeld - column: Kommunikationsprotokoll The table should have the title "SchutzSteuerGeraets" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schutzsteuergeraet/schaltanlage/{id}" Add a HTML table to the view with the following SchaltanlageSicherheitsanforderung columns: - column: Sicherheitsanforderung - column: Schaltanlage The table should have the title "SchaltanlageSicherheitsanforderungs" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlagesicherheitsanforderung/schaltanlage/{id}" Add a HTML table to the view with the following SchaltanlageIsoliermedium columns: - column: Schaltanlage - column: Isoliermedium The table should have the title "SchaltanlageIsoliermediums" und the data must be loaded from the server with the following relative URL: "/NormService/schaltanlageisoliermedium/schaltanlage/{id}" 2. The SchaltanlageNormView must contain the following fields: - name: Norm type: Norm - name: Schaltanlage type: Schaltanlage The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [Norm] select control should be loaded from the relative URL: "/NormService/norm" (HTTP-GET) An existing SchaltanlageNorm entity should be loaded from the relative URL: "/SchaltanlageService/schaltanlagenorm/{id}" (HTTP-GET) If a new SchaltanlageNorm entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schaltanlagenorm" (HTTP-POST) If an existing SchaltanlageNorm entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schaltanlagenorm/{id}" (HTTP-PUT) If an existing SchaltanlageNorm entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schaltanlagenorm/{id}" (HTTP-DELETE) 3. The SchaltanlageSicherheitsanforderungView must contain the following fields: - name: Schaltanlage type: Schaltanlage - name: Sicherheitsanforderung type: Sicherheitsanforderung The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [Sicherheitsanforderung] select control should be loaded from the relative URL: "/SpannungsebeneService/sicherheitsanforderung" (HTTP-GET) An existing SchaltanlageSicherheitsanforderung entity should be loaded from the relative URL: "/SchaltanlageService/schaltanlagesicherheitsanforderung/{id}" (HTTP-GET) If a new SchaltanlageSicherheitsanforderung entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schaltanlagesicherheitsanforderung" (HTTP-POST) If an existing SchaltanlageSicherheitsanforderung entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schaltanlagesicherheitsanforderung/{id}" (HTTP-PUT) If an existing SchaltanlageSicherheitsanforderung entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schaltanlagesicherheitsanforderung/{id}" (HTTP-DELETE) 4. The SchutzSteuerGeraetView must contain the following fields: - name: Bezeichnung type: STRING - name: Geraetetyp type: STRING - name: Hersteller type: STRING - name: Kommunikationsprotokoll type: STRING - name: Modell type: STRING - name: Schaltanlage type: Schaltanlage - name: Schaltfeld type: Schaltfeld The data source for the [Schaltfeld] select control should be loaded from the relative URL: "/SchaltfeldService/schaltfeld" (HTTP-GET) The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) An existing SchutzSteuerGeraet entity should be loaded from the relative URL: "/SchaltanlageService/schutzsteuergeraet/{id}" (HTTP-GET) If a new SchutzSteuerGeraet entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/schutzsteuergeraet" (HTTP-POST) If an existing SchutzSteuerGeraet entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/schutzsteuergeraet/{id}" (HTTP-PUT) If an existing SchutzSteuerGeraet entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/schutzsteuergeraet/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum