Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GemeindeApp
Please create a React-JS application for the GemeindeModule. The application has to offer the following views for the user interface: 1. BeleuchtungsklasseView 2. GemeindeView 3. SchaltkastenView 4. StromkreisView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The BeleuchtungsklasseView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Norm type: Beleuchtungsnorm The data source for the [Norm] select control should be loaded from the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm" (HTTP-GET) An existing Beleuchtungsklasse entity should be loaded from the relative URL: "/GemeindeService/beleuchtungsklasse/{id}" (HTTP-GET) If a new Beleuchtungsklasse entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/beleuchtungsklasse" (HTTP-POST) If an existing Beleuchtungsklasse entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/beleuchtungsklasse/{id}" (HTTP-PUT) If an existing Beleuchtungsklasse entity has to be deleted, the following relative URL should be called: "/GemeindeService/beleuchtungsklasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strassenbeleuchtungsanlage columns: - column: Strasse - column: IstPflichtanlage - column: HatHalbnachtbetrieb - column: Norm - column: Steuerstrategie - column: Baujahr - column: Hinweise - column: Beleuchtungsklasse The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/beleuchtungsklasse/{id}" 2. The GemeindeView must contain the following fields: - name: Einwohner type: INT - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gemeinde entity should be loaded from the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-GET) If a new Gemeinde entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeinde" (HTTP-POST) If an existing Gemeinde entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-PUT) If an existing Gemeinde entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeinde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EffizienzMassnahme columns: - column: Gemeinde - column: StartJahr - column: Beschreibung - column: IstLedUmruestung - column: EndJahr - column: Foerderprogramm - column: ErwarteteErsparnisProzent - column: EffizienzMassnahmeTyp The table should have the title "EffizienzMassnahmes" und the data must be loaded from the server with the following relative URL: "/EffizienzMassnahmeTypService/effizienzmassnahme/gemeinde/{id}" Add a HTML table to the view with the following Strasse columns: - column: FahrstreifenAnzahl - column: Name - column: HatFussgaengerueberwege - column: HatFussgaengerverkehr - column: IstSchnellstrasse - column: Gemeinde - column: IstTunnelabschnitt The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/StrasseService/strasse/gemeinde/{id}" Add a HTML table to the view with the following Beleuchtungspflicht columns: - column: Gemeinde - column: Hinweise - column: Rechtsvorschrift - column: GiltSeitJahr The table should have the title "Beleuchtungspflichts" und the data must be loaded from the server with the following relative URL: "/LichtmanagementSystemService/beleuchtungspflicht/gemeinde/{id}" Add a HTML table to the view with the following Schaltkasten columns: - column: Code - column: Gemeinde - column: StandortBeschreibung - column: Steuerstrategie The table should have the title "Schaltkastens" und the data must be loaded from the server with the following relative URL: "/GemeindeService/schaltkasten/gemeinde/{id}" Add a HTML table to the view with the following LmsInstallation columns: - column: LichtmanagementSystem - column: Beschreibung - column: StartJahr - column: Gemeinde The table should have the title "LmsInstallations" und the data must be loaded from the server with the following relative URL: "/LichtmanagementSystemService/lmsinstallation/gemeinde/{id}" 3. The SchaltkastenView must contain the following fields: - name: Code type: STRING - name: Gemeinde type: Gemeinde - name: StandortBeschreibung type: STRING - name: Steuerstrategie type: Steuerstrategie The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Steuerstrategie] select control should be loaded from the relative URL: "/LandService/steuerstrategie" (HTTP-GET) An existing Schaltkasten entity should be loaded from the relative URL: "/GemeindeService/schaltkasten/{id}" (HTTP-GET) If a new Schaltkasten entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/schaltkasten" (HTTP-POST) If an existing Schaltkasten entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/schaltkasten/{id}" (HTTP-PUT) If an existing Schaltkasten entity has to be deleted, the following relative URL should be called: "/GemeindeService/schaltkasten/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stromkreis columns: - column: Name - column: Spannung - column: FrequenzHz - column: KurzschlussstromMin - column: MaxLaengeMeter - column: Schaltkasten The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/GemeindeService/stromkreis/schaltkasten/{id}" 4. The StromkreisView must contain the following fields: - name: FrequenzHz type: STRING - name: KurzschlussstromMin type: STRING - name: MaxLaengeMeter type: STRING - name: Name type: STRING - name: Schaltkasten type: Schaltkasten - name: Spannung type: STRING The data source for the [Schaltkasten] select control should be loaded from the relative URL: "/GemeindeService/schaltkasten" (HTTP-GET) An existing Stromkreis entity should be loaded from the relative URL: "/GemeindeService/stromkreis/{id}" (HTTP-GET) If a new Stromkreis entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/stromkreis" (HTTP-POST) If an existing Stromkreis entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/stromkreis/{id}" (HTTP-PUT) If an existing Stromkreis entity has to be deleted, the following relative URL should be called: "/GemeindeService/stromkreis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leuchteninstallation columns: - column: Montagehoehe - column: IstAnGebaeude - column: Leuchte - column: Strassenbeleuchtungsanlage - column: Mast - column: IstAnBruecke - column: PositionUeberFahrbahn - column: AbstandMeter - column: Stromkreis - column: IstAnSeil The table should have the title "Leuchteninstallations" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/leuchteninstallation/stromkreis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum