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. SchaltfeldView 3. 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 3 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 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: "/SchaltanlageService/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: Modell - column: Schaltanlage - column: Hersteller - column: Geraetetyp - column: Bezeichnung - 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: "/SchaltfeldService/schutzsteuergeraet/schaltfeld/{id}" Add a HTML table to the view with the following Abgang columns: - column: KurzschlussstromKiloampere - column: VerbundenesUmspannwerk - column: Abgangsart - column: NennstromAmpere - column: Bezeichnung - column: Schaltfeld 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}" 3. 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: "/SchaltfeldService/schutzsteuergeraet/{id}" (HTTP-GET) If a new SchutzSteuerGeraet entity has been created, the new entity should be posted to the relative URL: "/SchaltfeldService/schutzsteuergeraet" (HTTP-POST) If an existing SchutzSteuerGeraet entity has been updated, the modified entity should be sent to the relative URL: "/SchaltfeldService/schutzsteuergeraet/{id}" (HTTP-PUT) If an existing SchutzSteuerGeraet entity has to be deleted, the following relative URL should be called: "/SchaltfeldService/schutzsteuergeraet/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum