Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StromkreisApp
Please create a React-JS application for the StromkreisModule. The application has to offer the following views for the user interface: 1. SchutzorganView 2. StromkreisView 3. VerteilerView 4. ZaehlerView 5. ZaehlerschrankView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The SchutzorganView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Charakteristik type: STRING - name: NennausloesestromMa type: DOUBLE - name: NennstromA type: DOUBLE - name: OrganTyp type: STRING - name: Pole type: LONG - name: PositionIndex type: LONG - name: SchaltvermoegenKa type: DOUBLE - name: Verteiler type: Verteiler The data source for the [Verteiler] select control should be loaded from the relative URL: "/StromkreisService/verteiler" (HTTP-GET) An existing Schutzorgan entity should be loaded from the relative URL: "/StromkreisService/schutzorgan/{id}" (HTTP-GET) If a new Schutzorgan entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/schutzorgan" (HTTP-POST) If an existing Schutzorgan entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/schutzorgan/{id}" (HTTP-PUT) If an existing Schutzorgan entity has to be deleted, the following relative URL should be called: "/StromkreisService/schutzorgan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stromkreis columns: - column: Nummer - column: Stromkreisart - column: Nennspannung - column: Nutzungseinheit - column: Phasen - column: Verteiler - column: NennstromA - column: Name - column: Schutzorgan - column: Beschreibung The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/StromkreisService/stromkreis/schutzorgan/{id}" 2. The StromkreisView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Nennspannung type: STRING - name: NennstromA type: DOUBLE - name: Nummer type: STRING - name: Nutzungseinheit type: Nutzungseinheit - name: Phasen type: LONG - name: Schutzorgan type: Schutzorgan - name: Stromkreisart type: STRING - name: Verteiler type: Verteiler The data source for the [Nutzungseinheit] select control should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-GET) The data source for the [Schutzorgan] select control should be loaded from the relative URL: "/StromkreisService/schutzorgan" (HTTP-GET) The data source for the [Verteiler] select control should be loaded from the relative URL: "/StromkreisService/verteiler" (HTTP-GET) An existing Stromkreis entity should be loaded from the relative URL: "/StromkreisService/stromkreis/{id}" (HTTP-GET) If a new Stromkreis entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/stromkreis" (HTTP-POST) If an existing Stromkreis entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/stromkreis/{id}" (HTTP-PUT) If an existing Stromkreis entity has to be deleted, the following relative URL should be called: "/StromkreisService/stromkreis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verbraucher columns: - column: LeistungW - column: Beschreibung - column: SpannungV - column: Installationsgeraet - column: Anschlussart - column: Name - column: Stromkreis - column: Kategorie The table should have the title "Verbrauchers" und the data must be loaded from the server with the following relative URL: "/NutzungseinheitService/verbraucher/stromkreis/{id}" Add a HTML table to the view with the following Dokumentation columns: - column: Stromkreis - column: Beschreibung - column: DateiReferenz - column: Dokumenttyp - column: Titel - column: Nutzungseinheit - column: Erstellungsdatum - column: Gebaeude The table should have the title "Dokumentations" und the data must be loaded from the server with the following relative URL: "/GebaeudeService/dokumentation/stromkreis/{id}" Add a HTML table to the view with the following Leitungsweg columns: - column: Leitungstyp - column: LaengeMeter - column: EndeAbzweigdose - column: StartAbzweigdose - column: EndeGeraet - column: StartVerteiler - column: Routenbeschreibung - column: Installationsmethode - column: EndeVerteiler - column: Beschreibung - column: StartGeraet - column: Stromkreis The table should have the title "Leitungswegs" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/leitungsweg/stromkreis/{id}" Add a HTML table to the view with the following Installationsgeraet columns: - column: Abzweigdose - column: Geraetetyp - column: Stromkreis - column: Kennzeichnung - column: Installationsmethode - column: Beschreibung - column: Installationszone - column: Raum - column: HoeheCm - column: PositionBeschreibung The table should have the title "Installationsgeraets" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/installationsgeraet/stromkreis/{id}" Add a HTML table to the view with the following StromkreisSchutzmassnahme columns: - column: Stromkreis - column: Beschreibung - column: Schutzmassnahme The table should have the title "StromkreisSchutzmassnahmes" und the data must be loaded from the server with the following relative URL: "/NormService/stromkreisschutzmassnahme/stromkreis/{id}" 3. The VerteilerView must contain the following fields: - name: Beschreibung type: STRING - name: Gebaeude type: Gebaeude - name: Name type: STRING - name: Nutzungseinheit type: Nutzungseinheit - name: Schutzart type: STRING - name: Standortbeschreibung type: STRING - name: Verteilertyp type: STRING - name: Zaehlerschrank type: Zaehlerschrank The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) The data source for the [Nutzungseinheit] select control should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-GET) The data source for the [Zaehlerschrank] select control should be loaded from the relative URL: "/StromkreisService/zaehlerschrank" (HTTP-GET) An existing Verteiler entity should be loaded from the relative URL: "/StromkreisService/verteiler/{id}" (HTTP-GET) If a new Verteiler entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/verteiler" (HTTP-POST) If an existing Verteiler entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/verteiler/{id}" (HTTP-PUT) If an existing Verteiler entity has to be deleted, the following relative URL should be called: "/StromkreisService/verteiler/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schutzorgan columns: - column: SchaltvermoegenKa - column: PositionIndex - column: Pole - column: Verteiler - column: NennausloesestromMa - column: NennstromA - column: OrganTyp - column: Bezeichnung - column: Charakteristik - column: Beschreibung The table should have the title "Schutzorgans" und the data must be loaded from the server with the following relative URL: "/StromkreisService/schutzorgan/verteiler/{id}" Add a HTML table to the view with the following Stromkreis columns: - column: Nummer - column: Stromkreisart - column: Nennspannung - column: Nutzungseinheit - column: Phasen - column: Verteiler - column: NennstromA - column: Name - column: Schutzorgan - column: Beschreibung The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/StromkreisService/stromkreis/verteiler/{id}" Add a HTML table to the view with the following Leitungsweg columns: - column: Leitungstyp - column: LaengeMeter - column: EndeAbzweigdose - column: StartAbzweigdose - column: EndeGeraet - column: StartVerteiler - column: Routenbeschreibung - column: Installationsmethode - column: EndeVerteiler - column: Beschreibung - column: StartGeraet - column: Stromkreis The table should have the title "Leitungswegs" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/leitungsweg/startverteiler/{id}" Add a HTML table to the view with the following Leitungsweg columns: - column: Leitungstyp - column: LaengeMeter - column: EndeAbzweigdose - column: StartAbzweigdose - column: EndeGeraet - column: StartVerteiler - column: Routenbeschreibung - column: Installationsmethode - column: EndeVerteiler - column: Beschreibung - column: StartGeraet - column: Stromkreis The table should have the title "Leitungswegs" und the data must be loaded from the server with the following relative URL: "/AbzweigdoseService/leitungsweg/endeverteiler/{id}" 4. The ZaehlerView must contain the following fields: - name: AusbauDatum type: DATE - name: Beschreibung type: STRING - name: Einbaudatum type: DATE - name: Seriennummer type: STRING - name: Tarifmodell type: STRING - name: Zaehlerschrank type: Zaehlerschrank - name: Zaehlertyp type: STRING The data source for the [Zaehlerschrank] select control should be loaded from the relative URL: "/StromkreisService/zaehlerschrank" (HTTP-GET) An existing Zaehler entity should be loaded from the relative URL: "/StromkreisService/zaehler/{id}" (HTTP-GET) If a new Zaehler entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/zaehler" (HTTP-POST) If an existing Zaehler entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/zaehler/{id}" (HTTP-PUT) If an existing Zaehler entity has to be deleted, the following relative URL should be called: "/StromkreisService/zaehler/{id}" (HTTP-DELETE) 5. The ZaehlerschrankView must contain the following fields: - name: Beschreibung type: STRING - name: Gebaeude type: Gebaeude - name: Hausanschluss type: Hausanschluss - name: Schranktyp type: STRING - name: Standortbeschreibung type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) The data source for the [Hausanschluss] select control should be loaded from the relative URL: "/GebaeudeService/hausanschluss" (HTTP-GET) An existing Zaehlerschrank entity should be loaded from the relative URL: "/StromkreisService/zaehlerschrank/{id}" (HTTP-GET) If a new Zaehlerschrank entity has been created, the new entity should be posted to the relative URL: "/StromkreisService/zaehlerschrank" (HTTP-POST) If an existing Zaehlerschrank entity has been updated, the modified entity should be sent to the relative URL: "/StromkreisService/zaehlerschrank/{id}" (HTTP-PUT) If an existing Zaehlerschrank entity has to be deleted, the following relative URL should be called: "/StromkreisService/zaehlerschrank/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zaehler columns: - column: Beschreibung - column: Seriennummer - column: Einbaudatum - column: Tarifmodell - column: Zaehlerschrank - column: Zaehlertyp - column: AusbauDatum The table should have the title "Zaehlers" und the data must be loaded from the server with the following relative URL: "/StromkreisService/zaehler/zaehlerschrank/{id}" Add a HTML table to the view with the following Verteiler columns: - column: Name - column: Gebaeude - column: Nutzungseinheit - column: Standortbeschreibung - column: Verteilertyp - column: Beschreibung - column: Schutzart - column: Zaehlerschrank The table should have the title "Verteilers" und the data must be loaded from the server with the following relative URL: "/StromkreisService/verteiler/zaehlerschrank/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum