Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LeuchteninstallationApp
Please create a React-JS application for the LeuchteninstallationModule. The application has to offer the following views for the user interface: 1. InstallationUmweltwirkungView 2. LampeView 3. LeuchteninstallationView 4. StrassenbeleuchtungsanlageView 5. UmweltwirkungTypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The InstallationUmweltwirkungView must contain the following fields: - name: Hinweise type: STRING - name: Leuchteninstallation type: Leuchteninstallation - name: Schweregrad type: LONG - name: UmweltwirkungTyp type: UmweltwirkungTyp The data source for the [UmweltwirkungTyp] select control should be loaded from the relative URL: "/LeuchteninstallationService/umweltwirkungtyp" (HTTP-GET) The data source for the [Leuchteninstallation] select control should be loaded from the relative URL: "/LeuchteninstallationService/leuchteninstallation" (HTTP-GET) An existing InstallationUmweltwirkung entity should be loaded from the relative URL: "/LeuchteninstallationService/installationumweltwirkung/{id}" (HTTP-GET) If a new InstallationUmweltwirkung entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/installationumweltwirkung" (HTTP-POST) If an existing InstallationUmweltwirkung entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/installationumweltwirkung/{id}" (HTTP-PUT) If an existing InstallationUmweltwirkung entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/installationumweltwirkung/{id}" (HTTP-DELETE) 2. The LampeView must contain the following fields: - name: AusbauDatum type: DATE - name: Installationsdatum type: DATE - name: IstPrimaer type: BOOL - name: LeistungWatt type: STRING - name: Leuchteninstallation type: Leuchteninstallation - name: LichtquellenTyp type: LichtquellenTyp The data source for the [LichtquellenTyp] select control should be loaded from the relative URL: "/BeleuchtungsnormService/lichtquellentyp" (HTTP-GET) The data source for the [Leuchteninstallation] select control should be loaded from the relative URL: "/LeuchteninstallationService/leuchteninstallation" (HTTP-GET) An existing Lampe entity should be loaded from the relative URL: "/LeuchteninstallationService/lampe/{id}" (HTTP-GET) If a new Lampe entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/lampe" (HTTP-POST) If an existing Lampe entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/lampe/{id}" (HTTP-PUT) If an existing Lampe entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/lampe/{id}" (HTTP-DELETE) 3. The LeuchteninstallationView must contain the following fields: - name: AbstandMeter type: STRING - name: IstAnBruecke type: BOOL - name: IstAnGebaeude type: BOOL - name: IstAnSeil type: BOOL - name: Leuchte type: Leuchte - name: Mast type: Mast - name: Montagehoehe type: STRING - name: PositionUeberFahrbahn type: STRING - name: Strassenbeleuchtungsanlage type: Strassenbeleuchtungsanlage - name: Stromkreis type: Stromkreis The data source for the [Leuchte] select control should be loaded from the relative URL: "/SteuerstrategieService/leuchte" (HTTP-GET) The data source for the [Mast] select control should be loaded from the relative URL: "/StrasseService/mast" (HTTP-GET) The data source for the [Strassenbeleuchtungsanlage] select control should be loaded from the relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage" (HTTP-GET) The data source for the [Stromkreis] select control should be loaded from the relative URL: "/SteuerstrategieService/stromkreis" (HTTP-GET) An existing Leuchteninstallation entity should be loaded from the relative URL: "/LeuchteninstallationService/leuchteninstallation/{id}" (HTTP-GET) If a new Leuchteninstallation entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/leuchteninstallation" (HTTP-POST) If an existing Leuchteninstallation entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/leuchteninstallation/{id}" (HTTP-PUT) If an existing Leuchteninstallation entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/leuchteninstallation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Lampe columns: - column: Installationsdatum - column: LichtquellenTyp - column: AusbauDatum - column: Leuchteninstallation - column: LeistungWatt - column: IstPrimaer The table should have the title "Lampes" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/lampe/leuchteninstallation/{id}" Add a HTML table to the view with the following InstallationUmweltwirkung columns: - column: Hinweise - column: Schweregrad - column: UmweltwirkungTyp - column: Leuchteninstallation The table should have the title "InstallationUmweltwirkungs" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/installationumweltwirkung/leuchteninstallation/{id}" 4. The StrassenbeleuchtungsanlageView must contain the following fields: - name: Baujahr type: LONG - 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: "/BeleuchtungsnormService/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: "/SteuerstrategieService/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: "/LeuchteninstallationService/strassenbeleuchtungsanlage/{id}" (HTTP-GET) If a new Strassenbeleuchtungsanlage entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage" (HTTP-POST) If an existing Strassenbeleuchtungsanlage entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage/{id}" (HTTP-PUT) If an existing Strassenbeleuchtungsanlage entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/strassenbeleuchtungsanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leuchteninstallation columns: - column: IstAnGebaeude - column: IstAnBruecke - column: IstAnSeil - column: Leuchte - column: Strassenbeleuchtungsanlage - column: AbstandMeter - column: Mast - column: Montagehoehe - column: Stromkreis - column: PositionUeberFahrbahn 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}" 5. The UmweltwirkungTypView must contain the following fields: - name: Beschreibung type: STRING - name: BetroffenAstronomie type: BOOL - name: BetroffenFauna type: BOOL - name: BetroffenMensch type: BOOL - name: Name type: STRING An existing UmweltwirkungTyp entity should be loaded from the relative URL: "/LeuchteninstallationService/umweltwirkungtyp/{id}" (HTTP-GET) If a new UmweltwirkungTyp entity has been created, the new entity should be posted to the relative URL: "/LeuchteninstallationService/umweltwirkungtyp" (HTTP-POST) If an existing UmweltwirkungTyp entity has been updated, the modified entity should be sent to the relative URL: "/LeuchteninstallationService/umweltwirkungtyp/{id}" (HTTP-PUT) If an existing UmweltwirkungTyp entity has to be deleted, the following relative URL should be called: "/LeuchteninstallationService/umweltwirkungtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InstallationUmweltwirkung columns: - column: Hinweise - column: Schweregrad - column: UmweltwirkungTyp - column: Leuchteninstallation The table should have the title "InstallationUmweltwirkungs" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/installationumweltwirkung/umweltwirkungtyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum