Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SpannungsebeneApp
Please create a React-JS application for the SpannungsebeneModule. The application has to offer the following views for the user interface: 1. SpannungsebeneView 2. TransformatorView 3. UmspannwerkSpannungsebeneView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The SpannungsebeneView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: SpannungMaxKv type: STRING - name: SpannungMinKv type: STRING - name: StandardNennspannungKv type: STRING An existing Spannungsebene entity should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-GET) If a new Spannungsebene entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-POST) If an existing Spannungsebene entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-PUT) If an existing Spannungsebene entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/spannungsebene/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schaltanlage columns: - column: Spannungsebene - column: Name - column: Areal - column: Schaltanlagentyp - column: Beschreibung - column: Umspannwerk The table should have the title "Schaltanlages" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlage/spannungsebene/{id}" Add a HTML table to the view with the following Areal columns: - column: Spannungsebene - column: EigenstaendigEingezaeunt - column: Beschreibung - column: Umspannwerk - column: Name The table should have the title "Areals" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/areal/spannungsebene/{id}" Add a HTML table to the view with the following Leitung columns: - column: Bauart - column: Spannungsebene - column: Beschreibung - column: Kennung - column: Name - column: LaengeKm - column: Uebertragungsart The table should have the title "Leitungs" und the data must be loaded from the server with the following relative URL: "/WeblinkService/leitung/spannungsebene/{id}" Add a HTML table to the view with the following Transformator columns: - column: Areal - column: MitLaststufenschalter - column: MasseTonnen - column: Name - column: UntereSpannungsebene - column: Hersteller - column: Baujahr - column: NennleistungMva - column: ObereSpannungsebene - column: Umspannwerk - column: Beschreibung The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/transformator/oberespannungsebene/{id}" Add a HTML table to the view with the following Transformator columns: - column: Areal - column: MitLaststufenschalter - column: MasseTonnen - column: Name - column: UntereSpannungsebene - column: Hersteller - column: Baujahr - column: NennleistungMva - column: ObereSpannungsebene - column: Umspannwerk - column: Beschreibung The table should have the title "Transformators" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/transformator/unterespannungsebene/{id}" Add a HTML table to the view with the following UmspannwerkSpannungsebene columns: - column: Spannungsebene - column: Rolle - column: Umspannwerk The table should have the title "UmspannwerkSpannungsebenes" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/spannungsebene/{id}" 2. The TransformatorView must contain the following fields: - name: Areal type: Areal - name: Baujahr type: LONG - name: Beschreibung type: STRING - name: Hersteller type: STRING - name: MasseTonnen type: STRING - name: MitLaststufenschalter type: BOOL - name: Name type: STRING - name: NennleistungMva type: STRING - name: ObereSpannungsebene type: Spannungsebene - name: Umspannwerk type: Umspannwerk - name: UntereSpannungsebene type: Spannungsebene The data source for the [ObereSpannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Areal] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) The data source for the [UntereSpannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing Transformator entity should be loaded from the relative URL: "/SpannungsebeneService/transformator/{id}" (HTTP-GET) If a new Transformator entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/transformator" (HTTP-POST) If an existing Transformator entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/transformator/{id}" (HTTP-PUT) If an existing Transformator entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/transformator/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PrimaertechnikKomponente columns: - column: Beschreibung - column: Umspannwerk - column: Schaltanlage - column: Name - column: TechnischeDaten - column: Areal - column: Transformator - column: Komponententyp - column: Schaltfeld The table should have the title "PrimaertechnikKomponentes" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/primaertechnikkomponente/transformator/{id}" 3. The UmspannwerkSpannungsebeneView must contain the following fields: - name: Rolle type: STRING - name: Spannungsebene type: Spannungsebene - name: Umspannwerk type: Umspannwerk The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing UmspannwerkSpannungsebene entity should be loaded from the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-GET) If a new UmspannwerkSpannungsebene entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene" (HTTP-POST) If an existing UmspannwerkSpannungsebene entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-PUT) If an existing UmspannwerkSpannungsebene entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/umspannwerkspannungsebene/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum