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. SicherheitsanforderungView 2. SpannungsebeneView 3. TransformatorView 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 SicherheitsanforderungView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: GiltFuerFreiluft type: BOOL - name: GiltFuerHochspannung type: BOOL - name: GiltFuerInnenraum type: BOOL - name: Spannungsebene type: Spannungsebene The data source for the [Spannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) An existing Sicherheitsanforderung entity should be loaded from the relative URL: "/SpannungsebeneService/sicherheitsanforderung/{id}" (HTTP-GET) If a new Sicherheitsanforderung entity has been created, the new entity should be posted to the relative URL: "/SpannungsebeneService/sicherheitsanforderung" (HTTP-POST) If an existing Sicherheitsanforderung entity has been updated, the modified entity should be sent to the relative URL: "/SpannungsebeneService/sicherheitsanforderung/{id}" (HTTP-PUT) If an existing Sicherheitsanforderung entity has to be deleted, the following relative URL should be called: "/SpannungsebeneService/sicherheitsanforderung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchaltanlageSicherheitsanforderung columns: - column: Sicherheitsanforderung - column: Schaltanlage The table should have the title "SchaltanlageSicherheitsanforderungs" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlagesicherheitsanforderung/sicherheitsanforderung/{id}" 2. The SpannungsebeneView must contain the following fields: - name: Bezeichnung type: STRING - name: Kategorie type: STRING - name: MaxKilovolt type: STRING - name: MinKilovolt 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 Sicherheitsanforderung columns: - column: GiltFuerHochspannung - column: GiltFuerFreiluft - column: GiltFuerInnenraum - column: Bezeichnung - column: Spannungsebene - column: Beschreibung The table should have the title "Sicherheitsanforderungs" und the data must be loaded from the server with the following relative URL: "/SpannungsebeneService/sicherheitsanforderung/spannungsebene/{id}" Add a HTML table to the view with the following Schaltanlage columns: - column: Bezeichnung - column: Beschreibung - column: Standort - column: Spannungsebene - column: Umspannwerk - column: InbetriebnahmeJahr - column: Installationsart - column: Betreiber - column: Anwendung - column: Automatisierungsgrad - column: Schaltanlagentyp 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}" 3. The TransformatorView must contain the following fields: - name: Bezeichnung type: STRING - name: HatStufenschalter type: BOOL - name: NennleistungMva type: STRING - name: PrimarKilovolt type: STRING - name: SchaltanlagePrimar type: Schaltanlage - name: SchaltanlageSekundaer type: Schaltanlage - name: SekundaerKilovolt type: STRING - name: TertiaerKilovolt type: STRING The data source for the [SchaltanlagePrimar] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [SchaltanlageSekundaer] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (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)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum