Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserkraftwerkApp
Please create a React-JS application for the WasserkraftwerkModule. The application has to offer the following views for the user interface: 1. DruckstufeView 2. FlussView 3. TopographieklasseView 4. WasserkraftwerkView 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 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}" 2. The FlussView must contain the following fields: - name: IstSchiffbar type: BOOL - name: Kontinent type: STRING - name: Name type: STRING An existing Fluss entity should be loaded from the relative URL: "/WasserkraftwerkService/fluss/{id}" (HTTP-GET) If a new Fluss entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/fluss" (HTTP-POST) If an existing Fluss entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/fluss/{id}" (HTTP-PUT) If an existing Fluss entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/fluss/{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/fluss/{id}" 3. The TopographieklasseView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Topographieklasse entity should be loaded from the relative URL: "/WasserkraftwerkService/topographieklasse/{id}" (HTTP-GET) If a new Topographieklasse entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/topographieklasse" (HTTP-POST) If an existing Topographieklasse entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/topographieklasse/{id}" (HTTP-PUT) If an existing Topographieklasse entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/topographieklasse/{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/topographieklasse/{id}" 4. The WasserkraftwerkView must contain the following fields: - name: AusserbetriebnahmeJahr type: INT - name: Beschreibung type: STRING - name: Betriebsart type: Betriebsart - name: Druckstufe type: Druckstufe - name: Fluss type: Fluss - name: InbetriebnahmeJahr type: INT - name: InstallierteLeistungMw type: DOUBLE - name: IstKavernenkraftwerk type: BOOL - name: IstPumpspeicher type: BOOL - name: JahreserzeugungGwh type: DOUBLE - name: Kraftwerkstyp type: Kraftwerkstyp - name: Land type: Land - name: Lastklasse type: Lastklasse - name: Name type: STRING - name: NettoFallhoeheMaxM type: DOUBLE - name: NettoFallhoeheMinM type: DOUBLE - name: Topographieklasse type: Topographieklasse The data source for the [Lastklasse] select control should be loaded from the relative URL: "/HistorischesEreignisService/lastklasse" (HTTP-GET) The data source for the [Topographieklasse] select control should be loaded from the relative URL: "/WasserkraftwerkService/topographieklasse" (HTTP-GET) The data source for the [Fluss] select control should be loaded from the relative URL: "/WasserkraftwerkService/fluss" (HTTP-GET) The data source for the [Kraftwerkstyp] select control should be loaded from the relative URL: "/OekologischeAuswirkungService/kraftwerkstyp" (HTTP-GET) The data source for the [Druckstufe] select control should be loaded from the relative URL: "/WasserkraftwerkService/druckstufe" (HTTP-GET) The data source for the [Betriebsart] select control should be loaded from the relative URL: "/WirtschaftsKennzahlService/betriebsart" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Wasserkraftwerk entity should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk/{id}" (HTTP-GET) If a new Wasserkraftwerk entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-POST) If an existing Wasserkraftwerk entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/wasserkraftwerk/{id}" (HTTP-PUT) If an existing Wasserkraftwerk entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/wasserkraftwerk/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KraftwerkLeistungsParameter columns: - column: BemessungsAbflussM3s - column: Wasserkraftwerk - column: GesamtWirkungsgrad - column: BemessungsFallhoeheM - column: BerechneteLeistungKw The table should have the title "KraftwerkLeistungsParameters" und the data must be loaded from the server with the following relative URL: "/HistorischesEreignisService/kraftwerkleistungsparameter/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkAusbaugrad columns: - column: SpeichervolumenM3 - column: AusbaugradWert - column: Wasserkraftwerk - column: AusbaugradDefinition - column: BemessungsAbflussM3s - column: MittlererAbflussM3s - column: JahresZuflussM3 The table should have the title "KraftwerkAusbaugrads" und the data must be loaded from the server with the following relative URL: "/AusbaugradDefinitionService/kraftwerkausbaugrad/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkOekologischeAuswirkung columns: - column: Wasserkraftwerk - column: Notizen - column: Schweregrad - column: OekologischeAuswirkung The table should have the title "KraftwerkOekologischeAuswirkungs" und the data must be loaded from the server with the following relative URL: "/OekologischeAuswirkungService/kraftwerkoekologischeauswirkung/wasserkraftwerk/{id}" Add a HTML table to the view with the following Speicherbecken columns: - column: IstNatuerlich - column: SpeichervolumenM3 - column: Wasserkraftwerk - column: Speicherart - column: Name The table should have the title "Speicherbeckens" und the data must be loaded from the server with the following relative URL: "/WirtschaftsKennzahlService/speicherbecken/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkTurbine columns: - column: Anzahl - column: GesamtleistungMw - column: Wasserkraftwerk - column: TurbinenTyp The table should have the title "KraftwerkTurbines" und the data must be loaded from the server with the following relative URL: "/TurbinenTypService/kraftwerkturbine/wasserkraftwerk/{id}" Add a HTML table to the view with the following Staudamm columns: - column: Dammtyp - column: HoeheM - column: Name - column: Wasserkraftwerk - column: LaengeM The table should have the title "Staudamms" und the data must be loaded from the server with the following relative URL: "/TurbinenTypService/staudamm/wasserkraftwerk/{id}" Add a HTML table to the view with the following ProjektKraftwerk columns: - column: Projekt - column: Rolle - column: Wasserkraftwerk The table should have the title "ProjektKraftwerks" und the data must be loaded from the server with the following relative URL: "/LandService/projektkraftwerk/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkWirtschaftsdaten columns: - column: Wasserkraftwerk - column: WirtschaftsKennzahl - column: Jahr - column: Wert The table should have the title "KraftwerkWirtschaftsdatens" und the data must be loaded from the server with the following relative URL: "/WirtschaftsKennzahlService/kraftwerkwirtschaftsdaten/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkHistorischesEreignis columns: - column: HistorischesEreignis - column: Wasserkraftwerk - column: Rolle The table should have the title "KraftwerkHistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/wasserkraftwerk/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum