Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
HistorischesEreignisApp
Please create a React-JS application for the HistorischesEreignisModule. The application has to offer the following views for the user interface: 1. HistorischesEreignisView 2. KraftwerkHistorischesEreignisView 3. KraftwerkLeistungsParameterView 4. LastklasseView 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 HistorischesEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EreignisDatum type: DATE - name: EreignisTyp type: STRING - name: Name type: STRING - name: Ortsbeschreibung type: STRING An existing HistorischesEreignis entity should be loaded from the relative URL: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-GET) If a new HistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/historischesereignis" (HTTP-POST) If an existing HistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-PUT) If an existing HistorischesEreignis entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/historischesereignis/{id}" (HTTP-DELETE) 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/historischesereignis/{id}" 2. The KraftwerkHistorischesEreignisView must contain the following fields: - name: HistorischesEreignis type: HistorischesEreignis - name: Rolle type: STRING - name: Wasserkraftwerk type: Wasserkraftwerk The data source for the [Wasserkraftwerk] select control should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-GET) The data source for the [HistorischesEreignis] select control should be loaded from the relative URL: "/HistorischesEreignisService/historischesereignis" (HTTP-GET) An existing KraftwerkHistorischesEreignis entity should be loaded from the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-GET) If a new KraftwerkHistorischesEreignis entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis" (HTTP-POST) If an existing KraftwerkHistorischesEreignis entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-PUT) If an existing KraftwerkHistorischesEreignis entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/kraftwerkhistorischesereignis/{id}" (HTTP-DELETE) 3. The KraftwerkLeistungsParameterView must contain the following fields: - name: BemessungsAbflussM3s type: DOUBLE - name: BemessungsFallhoeheM type: DOUBLE - name: BerechneteLeistungKw type: DOUBLE - name: GesamtWirkungsgrad type: DOUBLE - name: Wasserkraftwerk type: Wasserkraftwerk The data source for the [Wasserkraftwerk] select control should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-GET) An existing KraftwerkLeistungsParameter entity should be loaded from the relative URL: "/HistorischesEreignisService/kraftwerkleistungsparameter/{id}" (HTTP-GET) If a new KraftwerkLeistungsParameter entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/kraftwerkleistungsparameter" (HTTP-POST) If an existing KraftwerkLeistungsParameter entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/kraftwerkleistungsparameter/{id}" (HTTP-PUT) If an existing KraftwerkLeistungsParameter entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/kraftwerkleistungsparameter/{id}" (HTTP-DELETE) 4. 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: "/HistorischesEreignisService/lastklasse/{id}" (HTTP-GET) If a new Lastklasse entity has been created, the new entity should be posted to the relative URL: "/HistorischesEreignisService/lastklasse" (HTTP-POST) If an existing Lastklasse entity has been updated, the modified entity should be sent to the relative URL: "/HistorischesEreignisService/lastklasse/{id}" (HTTP-PUT) If an existing Lastklasse entity has to be deleted, the following relative URL should be called: "/HistorischesEreignisService/lastklasse/{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/lastklasse/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum