Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SchaltfeldView
Please create a React-JS view called "SchaltfeldView" for the fields of the Schaltfeld entity. 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