Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AbzweigdoseApp
Please create a React-JS application for the AbzweigdoseModule. The application has to offer the following views for the user interface: 1. AbzweigdoseView 2. GeraetetypView 3. InstallationsgeraetView 4. LeitungstypView 5. LeitungswegView 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 AbzweigdoseView must contain the following fields: - name: Beschreibung type: STRING - name: Brandklasse type: STRING - name: Dosentyp type: STRING - name: Raum type: Raum - name: Schutzart type: STRING - name: Standortbeschreibung type: STRING The data source for the [Raum] select control should be loaded from the relative URL: "/NutzungseinheitService/raum" (HTTP-GET) An existing Abzweigdose entity should be loaded from the relative URL: "/AbzweigdoseService/abzweigdose/{id}" (HTTP-GET) If a new Abzweigdose entity has been created, the new entity should be posted to the relative URL: "/AbzweigdoseService/abzweigdose" (HTTP-POST) If an existing Abzweigdose entity has been updated, the modified entity should be sent to the relative URL: "/AbzweigdoseService/abzweigdose/{id}" (HTTP-PUT) If an existing Abzweigdose entity has to be deleted, the following relative URL should be called: "/AbzweigdoseService/abzweigdose/{id}" (HTTP-DELETE) 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/startabzweigdose/{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/endeabzweigdose/{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/abzweigdose/{id}" 2. The GeraetetypView must contain the following fields: - name: Beschreibung type: STRING - name: Einbauart type: STRING - name: Hersteller type: STRING - name: MaxSpannungV type: LONG - name: MaxStromA type: DOUBLE - name: Modell type: STRING - name: Name type: STRING - name: Schutzart type: STRING An existing Geraetetyp entity should be loaded from the relative URL: "/AbzweigdoseService/geraetetyp/{id}" (HTTP-GET) If a new Geraetetyp entity has been created, the new entity should be posted to the relative URL: "/AbzweigdoseService/geraetetyp" (HTTP-POST) If an existing Geraetetyp entity has been updated, the modified entity should be sent to the relative URL: "/AbzweigdoseService/geraetetyp/{id}" (HTTP-PUT) If an existing Geraetetyp entity has to be deleted, the following relative URL should be called: "/AbzweigdoseService/geraetetyp/{id}" (HTTP-DELETE) 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/geraetetyp/{id}" 3. The InstallationsgeraetView must contain the following fields: - name: Abzweigdose type: Abzweigdose - name: Beschreibung type: STRING - name: Geraetetyp type: Geraetetyp - name: HoeheCm type: DOUBLE - name: Installationsmethode type: STRING - name: Installationszone type: LONG - name: Kennzeichnung type: STRING - name: PositionBeschreibung type: STRING - name: Raum type: Raum - name: Stromkreis type: Stromkreis The data source for the [Raum] select control should be loaded from the relative URL: "/NutzungseinheitService/raum" (HTTP-GET) The data source for the [Abzweigdose] select control should be loaded from the relative URL: "/AbzweigdoseService/abzweigdose" (HTTP-GET) The data source for the [Stromkreis] select control should be loaded from the relative URL: "/StromkreisService/stromkreis" (HTTP-GET) The data source for the [Geraetetyp] select control should be loaded from the relative URL: "/AbzweigdoseService/geraetetyp" (HTTP-GET) An existing Installationsgeraet entity should be loaded from the relative URL: "/AbzweigdoseService/installationsgeraet/{id}" (HTTP-GET) If a new Installationsgeraet entity has been created, the new entity should be posted to the relative URL: "/AbzweigdoseService/installationsgeraet" (HTTP-POST) If an existing Installationsgeraet entity has been updated, the modified entity should be sent to the relative URL: "/AbzweigdoseService/installationsgeraet/{id}" (HTTP-PUT) If an existing Installationsgeraet entity has to be deleted, the following relative URL should be called: "/AbzweigdoseService/installationsgeraet/{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/installationsgeraet/{id}" 4. The LeitungstypView must contain the following fields: - name: Beschreibung type: STRING - name: Brandklasse type: STRING - name: Halogenfrei type: BOOL - name: IsolationMaterial type: STRING - name: LeiterMaterial type: STRING - name: MantelMaterial type: STRING - name: MaxSpannungV type: LONG - name: MaxTempC type: LONG - name: Typcode type: STRING An existing Leitungstyp entity should be loaded from the relative URL: "/AbzweigdoseService/leitungstyp/{id}" (HTTP-GET) If a new Leitungstyp entity has been created, the new entity should be posted to the relative URL: "/AbzweigdoseService/leitungstyp" (HTTP-POST) If an existing Leitungstyp entity has been updated, the modified entity should be sent to the relative URL: "/AbzweigdoseService/leitungstyp/{id}" (HTTP-PUT) If an existing Leitungstyp entity has to be deleted, the following relative URL should be called: "/AbzweigdoseService/leitungstyp/{id}" (HTTP-DELETE) 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/leitungstyp/{id}" 5. The LeitungswegView must contain the following fields: - name: Beschreibung type: STRING - name: EndeAbzweigdose type: Abzweigdose - name: EndeGeraet type: LONG - name: EndeVerteiler type: Verteiler - name: Installationsmethode type: STRING - name: LaengeMeter type: DOUBLE - name: Leitungstyp type: Leitungstyp - name: Routenbeschreibung type: STRING - name: StartAbzweigdose type: Abzweigdose - name: StartGeraet type: LONG - name: StartVerteiler type: Verteiler - name: Stromkreis type: Stromkreis The data source for the [EndeAbzweigdose] select control should be loaded from the relative URL: "/AbzweigdoseService/abzweigdose" (HTTP-GET) The data source for the [StartVerteiler] select control should be loaded from the relative URL: "/StromkreisService/verteiler" (HTTP-GET) The data source for the [EndeVerteiler] select control should be loaded from the relative URL: "/StromkreisService/verteiler" (HTTP-GET) The data source for the [Leitungstyp] select control should be loaded from the relative URL: "/AbzweigdoseService/leitungstyp" (HTTP-GET) The data source for the [StartAbzweigdose] select control should be loaded from the relative URL: "/AbzweigdoseService/abzweigdose" (HTTP-GET) The data source for the [Stromkreis] select control should be loaded from the relative URL: "/StromkreisService/stromkreis" (HTTP-GET) An existing Leitungsweg entity should be loaded from the relative URL: "/AbzweigdoseService/leitungsweg/{id}" (HTTP-GET) If a new Leitungsweg entity has been created, the new entity should be posted to the relative URL: "/AbzweigdoseService/leitungsweg" (HTTP-POST) If an existing Leitungsweg entity has been updated, the modified entity should be sent to the relative URL: "/AbzweigdoseService/leitungsweg/{id}" (HTTP-PUT) If an existing Leitungsweg entity has to be deleted, the following relative URL should be called: "/AbzweigdoseService/leitungsweg/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum