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. LastklasseView 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: IstPumpspeicher - column: Name - column: NettoFallhoeheMinM - column: IstKavernenkraftwerk - column: Lastklasse - column: NettoFallhoeheMaxM - column: JahreserzeugungGwh - column: InbetriebnahmeJahr - column: Topographieklasse - column: AusserbetriebnahmeJahr - column: Betriebsart - column: Fluss - column: Land - column: Druckstufe - column: Beschreibung - column: Kraftwerkstyp - column: InstallierteLeistungMw 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 LastklasseView must contain the following fields: - name: AuslastungMaxProzent type: DOUBLE - name: AuslastungMinProzent type: DOUBLE - name: Name type: STRING An existing Lastklasse entity should be loaded from the relative URL: "/WasserkraftwerkService/lastklasse/{id}" (HTTP-GET) If a new Lastklasse entity has been created, the new entity should be posted to the relative URL: "/WasserkraftwerkService/lastklasse" (HTTP-POST) If an existing Lastklasse entity has been updated, the modified entity should be sent to the relative URL: "/WasserkraftwerkService/lastklasse/{id}" (HTTP-PUT) If an existing Lastklasse entity has to be deleted, the following relative URL should be called: "/WasserkraftwerkService/lastklasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Wasserkraftwerk columns: - column: IstPumpspeicher - column: Name - column: NettoFallhoeheMinM - column: IstKavernenkraftwerk - column: Lastklasse - column: NettoFallhoeheMaxM - column: JahreserzeugungGwh - column: InbetriebnahmeJahr - column: Topographieklasse - column: AusserbetriebnahmeJahr - column: Betriebsart - column: Fluss - column: Land - column: Druckstufe - column: Beschreibung - column: Kraftwerkstyp - column: InstallierteLeistungMw The table should have the title "Wasserkraftwerks" und the data must be loaded from the server with the following relative URL: "/WasserkraftwerkService/wasserkraftwerk/lastklasse/{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: IstPumpspeicher - column: Name - column: NettoFallhoeheMinM - column: IstKavernenkraftwerk - column: Lastklasse - column: NettoFallhoeheMaxM - column: JahreserzeugungGwh - column: InbetriebnahmeJahr - column: Topographieklasse - column: AusserbetriebnahmeJahr - column: Betriebsart - column: Fluss - column: Land - column: Druckstufe - column: Beschreibung - column: Kraftwerkstyp - column: InstallierteLeistungMw 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: LONG - name: Beschreibung type: STRING - name: Betriebsart type: Betriebsart - name: Druckstufe type: Druckstufe - name: Fluss type: Fluss - name: InbetriebnahmeJahr type: LONG - 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: "/WasserkraftwerkService/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: "/BetriebsartService/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: "/BetriebsartService/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 KraftwerkTurbine columns: - column: GesamtleistungMw - column: TurbinenTyp - column: Anzahl - column: Wasserkraftwerk 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 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: "/HistorischesEreignisService/speicherbecken/wasserkraftwerk/{id}" Add a HTML table to the view with the following Staudamm columns: - column: Wasserkraftwerk - column: Dammtyp - column: LaengeM - column: HoeheM - column: Name The table should have the title "Staudamms" und the data must be loaded from the server with the following relative URL: "/WirtschaftsKennzahlService/staudamm/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkWirtschaftsdaten columns: - column: Wert - column: WirtschaftsKennzahl - column: Wasserkraftwerk - column: Jahr 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 KraftwerkAusbaugrad columns: - column: SpeichervolumenM3 - column: BemessungsAbflussM3s - column: JahresZuflussM3 - column: AusbaugradDefinition - column: Wasserkraftwerk - column: MittlererAbflussM3s - column: AusbaugradWert The table should have the title "KraftwerkAusbaugrads" und the data must be loaded from the server with the following relative URL: "/BetriebsartService/kraftwerkausbaugrad/wasserkraftwerk/{id}" Add a HTML table to the view with the following KraftwerkOekologischeAuswirkung columns: - column: Notizen - column: Schweregrad - column: Wasserkraftwerk - 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 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}" Add a HTML table to the view with the following KraftwerkLeistungsParameter columns: - column: BemessungsAbflussM3s - column: BerechneteLeistungKw - column: Wasserkraftwerk - column: BemessungsFallhoeheM - column: GesamtWirkungsgrad The table should have the title "KraftwerkLeistungsParameters" und the data must be loaded from the server with the following relative URL: "/TurbinenTypService/kraftwerkleistungsparameter/wasserkraftwerk/{id}" Add a HTML table to the view with the following ProjektKraftwerk columns: - column: Projekt - column: Wasserkraftwerk - column: Rolle 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum