Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
DruckstufeView
Please create a React-JS view called "DruckstufeView" for the fields of the Druckstufe entity. The DruckstufeView must contain the following fields: - name: FallhoeheMaxM type: DOUBLE - name: FallhoeheMinM type: DOUBLE - name: Name type: STRING - name: TypischeNutzung type: STRING An existing Druckstufe entity should be loaded from the relative URL: "/WasserkraftwerkService/druckstufe/{id}" (HTTP-GET) If a new Druckstufe entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/druckstufe" (HTTP-POST) If an existing Druckstufe entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/druckstufe/{id}" (HTTP-PUT) If an existing Druckstufe entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/druckstufe/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wasserkraftwerk columns: - column: Betriebsart - column: JahreserzeugungGwh - column: AusserbetriebnahmeJahr - column: Land - column: Fluss - column: IstKavernenkraftwerk - column: NettoFallhoeheMaxM - column: InbetriebnahmeJahr - column: IstPumpspeicher - column: Druckstufe - column: InstallierteLeistungMw - column: NettoFallhoeheMinM - column: Kraftwerkstyp - column: Lastklasse - column: Name - column: Beschreibung - column: Topographieklasse The table should have the title "Wasserkraftwerks" und the data must be loaded from the server with the following relative URL: "/WasserkraftwerkService/wasserkraftwerk/druckstufe/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum