Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BeleuchtungsnormApp
Please create a React-JS application for the BeleuchtungsnormModule. The application has to offer the following views for the user interface: 1. BeleuchtungsnormView 2. FoerderprogrammView 3. StrassenbeleuchtungsanlageView 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 BeleuchtungsnormView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Code type: STRING - name: Herausgeber type: STRING - name: JahrBis type: INT - name: JahrVon type: INT - name: Titel type: STRING An existing Beleuchtungsnorm entity should be loaded from the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm/{id}" (HTTP-GET) If a new Beleuchtungsnorm entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm" (HTTP-POST) If an existing Beleuchtungsnorm entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm/{id}" (HTTP-PUT) If an existing Beleuchtungsnorm entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/beleuchtungsnorm/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beleuchtungsklasse columns: - column: Beschreibung - column: Norm - column: Name The table should have the title "Beleuchtungsklasses" und the data must be loaded from the server with the following relative URL: "/GemeindeService/beleuchtungsklasse/norm/{id}" Add a HTML table to the view with the following Fussgaengerueberweg columns: - column: Strasse - column: DurchschnittsLux - column: Norm - column: StandortBeschreibung - column: HatSpezielleBeleuchtung The table should have the title "Fussgaengerueberwegs" und the data must be loaded from the server with the following relative URL: "/StrasseService/fussgaengerueberweg/norm/{id}" 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/norm/{id}" Add a HTML table to the view with the following Tunnel columns: - column: Name - column: Norm - column: Strasse - column: HatSpezielleNorm - column: LaengeMeter The table should have the title "Tunnels" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/tunnel/norm/{id}" 2. The FoerderprogrammView must contain the following fields: - name: Anbieter type: STRING - name: Beschreibung type: STRING - name: EndJahr type: INT - name: Land type: Land - name: Name type: STRING - name: StartJahr type: INT The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Foerderprogramm entity should be loaded from the relative URL: "/BeleuchtungsnormService/foerderprogramm/{id}" (HTTP-GET) If a new Foerderprogramm entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/foerderprogramm" (HTTP-POST) If an existing Foerderprogramm entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/foerderprogramm/{id}" (HTTP-PUT) If an existing Foerderprogramm entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/foerderprogramm/{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/foerderprogramm/{id}" 3. The StrassenbeleuchtungsanlageView must contain the following fields: - name: Baujahr type: INT - name: Beleuchtungsklasse type: Beleuchtungsklasse - name: HatHalbnachtbetrieb type: BOOL - name: Hinweise type: STRING - name: IstPflichtanlage type: BOOL - name: Norm type: Beleuchtungsnorm - name: Steuerstrategie type: Steuerstrategie - name: Strasse type: Strasse The data source for the [Beleuchtungsklasse] select control should be loaded from the relative URL: "/GemeindeService/beleuchtungsklasse" (HTTP-GET) The data source for the [Norm] select control should be loaded from the relative URL: "/BeleuchtungsnormService/beleuchtungsnorm" (HTTP-GET) The data source for the [Steuerstrategie] select control should be loaded from the relative URL: "/LandService/steuerstrategie" (HTTP-GET) The data source for the [Strasse] select control should be loaded from the relative URL: "/StrasseService/strasse" (HTTP-GET) An existing Strassenbeleuchtungsanlage entity should be loaded from the relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/{id}" (HTTP-GET) If a new Strassenbeleuchtungsanlage entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage" (HTTP-POST) If an existing Strassenbeleuchtungsanlage entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/{id}" (HTTP-PUT) If an existing Strassenbeleuchtungsanlage entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/{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/strassenbeleuchtungsanlage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum