Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchaltfeldApp
Please create a React-JS application for the SchaltfeldModule. The application has to offer the following views for the user interface: 1. AbgangView 2. SammelschieneView 3. SchaltanlagentypView 4. SchaltfeldView 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 AbgangView must contain the following fields: - name: Abgangsart type: STRING - name: Bezeichnung type: STRING - name: KurzschlussstromKiloampere type: STRING - name: NennstromAmpere type: STRING - name: Schaltfeld type: Schaltfeld - name: VerbundenesUmspannwerk type: STRING The data source for the [Schaltfeld] select control should be loaded from the relative URL: "/SchaltfeldService/schaltfeld" (HTTP-GET) An existing Abgang entity should be loaded from the relative URL: "/SchaltfeldService/abgang/{id}" (HTTP-GET) If a new Abgang entity has been created, the new entity should be posted to the relative URL: "/SchaltfeldService/abgang" (HTTP-POST) If an existing Abgang entity has been updated, the modified entity should be sent to the relative URL: "/SchaltfeldService/abgang/{id}" (HTTP-PUT) If an existing Abgang entity has to be deleted, the following relative URL should be called: "/SchaltfeldService/abgang/{id}" (HTTP-DELETE) 2. The SammelschieneView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Konfiguration type: STRING - name: Schaltanlage type: Schaltanlage The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) An existing Sammelschiene entity should be loaded from the relative URL: "/SchaltfeldService/sammelschiene/{id}" (HTTP-GET) If a new Sammelschiene entity has been created, the new entity should be posted to the relative URL: "/SchaltfeldService/sammelschiene" (HTTP-POST) If an existing Sammelschiene entity has been updated, the modified entity should be sent to the relative URL: "/SchaltfeldService/sammelschiene/{id}" (HTTP-PUT) If an existing Sammelschiene entity has to be deleted, the following relative URL should be called: "/SchaltfeldService/sammelschiene/{id}" (HTTP-DELETE) 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/sammelschiene/{id}" 3. The SchaltanlagentypView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: IstStandardisiert type: BOOL An existing Schaltanlagentyp entity should be loaded from the relative URL: "/SchaltfeldService/schaltanlagentyp/{id}" (HTTP-GET) If a new Schaltanlagentyp entity has been created, the new entity should be posted to the relative URL: "/SchaltfeldService/schaltanlagentyp" (HTTP-POST) If an existing Schaltanlagentyp entity has been updated, the modified entity should be sent to the relative URL: "/SchaltfeldService/schaltanlagentyp/{id}" (HTTP-PUT) If an existing Schaltanlagentyp entity has to be deleted, the following relative URL should be called: "/SchaltfeldService/schaltanlagentyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schaltanlage columns: - column: Bezeichnung - column: Beschreibung - column: Standort - column: Spannungsebene - column: Umspannwerk - column: InbetriebnahmeJahr - column: Installationsart - column: Betreiber - column: Anwendung - column: Automatisierungsgrad - column: Schaltanlagentyp The table should have the title "Schaltanlages" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlage/schaltanlagentyp/{id}" 4. The SchaltfeldView must contain the following fields: - name: Bezeichnung type: STRING - name: Funktion type: STRING - name: IstErweiterbar type: BOOL - name: Sammelschiene type: Sammelschiene - name: Schaltanlage type: Schaltanlage The data source for the [Sammelschiene] select control should be loaded from the relative URL: "/SchaltfeldService/sammelschiene" (HTTP-GET) The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) An existing Schaltfeld entity should be loaded from the relative URL: "/SchaltfeldService/schaltfeld/{id}" (HTTP-GET) If a new Schaltfeld entity has been created, the new entity should be posted to the relative URL: "/SchaltfeldService/schaltfeld" (HTTP-POST) If an existing Schaltfeld entity has been updated, the modified entity should be sent to the relative URL: "/SchaltfeldService/schaltfeld/{id}" (HTTP-PUT) If an existing Schaltfeld entity has to be deleted, the following relative URL should be called: "/SchaltfeldService/schaltfeld/{id}" (HTTP-DELETE) 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/schaltfeld/{id}" Add a HTML table to the view with the following Abgang columns: - column: NennstromAmpere - column: Schaltfeld - column: KurzschlussstromKiloampere - column: Abgangsart - column: VerbundenesUmspannwerk - column: Bezeichnung The table should have the title "Abgangs" und the data must be loaded from the server with the following relative URL: "/SchaltfeldService/abgang/schaltfeld/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum