Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UmspannwerkApp
Please create a React-JS application for the UmspannwerkModule. The application has to offer the following views for the user interface: 1. SchaltanlageSicherheitsanforderungView 2. SicherheitsanforderungView 3. UmspannwerkView 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 SchaltanlageSicherheitsanforderungView must contain the following fields: - name: Schaltanlage type: Schaltanlage - name: Sicherheitsanforderung type: Sicherheitsanforderung The data source for the [Schaltanlage] select control should be loaded from the relative URL: "/SchaltanlageService/schaltanlage" (HTTP-GET) The data source for the [Sicherheitsanforderung] select control should be loaded from the relative URL: "/UmspannwerkService/sicherheitsanforderung" (HTTP-GET) An existing SchaltanlageSicherheitsanforderung entity should be loaded from the relative URL: "/UmspannwerkService/schaltanlagesicherheitsanforderung/{id}" (HTTP-GET) If a new SchaltanlageSicherheitsanforderung entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkService/schaltanlagesicherheitsanforderung" (HTTP-POST) If an existing SchaltanlageSicherheitsanforderung entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkService/schaltanlagesicherheitsanforderung/{id}" (HTTP-PUT) If an existing SchaltanlageSicherheitsanforderung entity has to be deleted, the following relative URL should be called: "/UmspannwerkService/schaltanlagesicherheitsanforderung/{id}" (HTTP-DELETE) 2. 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: "/SchaltanlageService/spannungsebene" (HTTP-GET) An existing Sicherheitsanforderung entity should be loaded from the relative URL: "/UmspannwerkService/sicherheitsanforderung/{id}" (HTTP-GET) If a new Sicherheitsanforderung entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkService/sicherheitsanforderung" (HTTP-POST) If an existing Sicherheitsanforderung entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkService/sicherheitsanforderung/{id}" (HTTP-PUT) If an existing Sicherheitsanforderung entity has to be deleted, the following relative URL should be called: "/UmspannwerkService/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: "/UmspannwerkService/schaltanlagesicherheitsanforderung/sicherheitsanforderung/{id}" 3. The UmspannwerkView must contain the following fields: - name: Automatisierungsgrad type: STRING - name: Betreiber type: STRING - name: Bezeichnung type: STRING - name: HatLeitwarte type: BOOL - name: Standort type: STRING An existing Umspannwerk entity should be loaded from the relative URL: "/UmspannwerkService/umspannwerk/{id}" (HTTP-GET) If a new Umspannwerk entity has been created, the new entity should be posted to the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-POST) If an existing Umspannwerk entity has been updated, the modified entity should be sent to the relative URL: "/UmspannwerkService/umspannwerk/{id}" (HTTP-PUT) If an existing Umspannwerk entity has to be deleted, the following relative URL should be called: "/UmspannwerkService/umspannwerk/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schaltanlage columns: - column: Anwendung - column: Standort - column: Installationsart - column: Betreiber - column: Spannungsebene - column: Automatisierungsgrad - column: Bezeichnung - column: Schaltanlagentyp - column: Beschreibung - column: Umspannwerk - column: InbetriebnahmeJahr The table should have the title "Schaltanlages" und the data must be loaded from the server with the following relative URL: "/SchaltanlageService/schaltanlage/umspannwerk/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum