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. BeleuchtungsklasseView 2. BeleuchtungsnormView 3. EffizienzMassnahmeTypView 4. LichtquellenTypView 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: "/BeleuchtungsnormService/beleuchtungsklasse/{id}" (HTTP-GET) If a new Beleuchtungsklasse entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/beleuchtungsklasse" (HTTP-POST) If an existing Beleuchtungsklasse entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/beleuchtungsklasse/{id}" (HTTP-PUT) If an existing Beleuchtungsklasse entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/beleuchtungsklasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strassenbeleuchtungsanlage columns: - column: Strasse - column: Hinweise - column: Steuerstrategie - column: Beleuchtungsklasse - column: HatHalbnachtbetrieb - column: Baujahr - column: Norm - column: IstPflichtanlage The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage/beleuchtungsklasse/{id}" 2. The BeleuchtungsnormView must contain the following fields: - name: Anwendungsbereich type: STRING - name: Code type: STRING - name: Herausgeber type: STRING - name: JahrBis type: LONG - name: JahrVon type: LONG - 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: Norm - column: Beschreibung - column: Name The table should have the title "Beleuchtungsklasses" und the data must be loaded from the server with the following relative URL: "/BeleuchtungsnormService/beleuchtungsklasse/norm/{id}" Add a HTML table to the view with the following Fussgaengerueberweg columns: - column: HatSpezielleBeleuchtung - column: StandortBeschreibung - column: Strasse - column: DurchschnittsLux - column: Norm 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: Hinweise - column: Steuerstrategie - column: Beleuchtungsklasse - column: HatHalbnachtbetrieb - column: Baujahr - column: Norm - column: IstPflichtanlage The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage/norm/{id}" Add a HTML table to the view with the following Tunnel columns: - column: Name - column: Strasse - column: Norm - column: LaengeMeter - column: HatSpezielleNorm The table should have the title "Tunnels" und the data must be loaded from the server with the following relative URL: "/StrasseService/tunnel/norm/{id}" 3. The EffizienzMassnahmeTypView must contain the following fields: - name: Beschreibung type: STRING - name: IstBetrieblich type: BOOL - name: IstTechnisch type: BOOL - name: Name type: STRING An existing EffizienzMassnahmeTyp entity should be loaded from the relative URL: "/BeleuchtungsnormService/effizienzmassnahmetyp/{id}" (HTTP-GET) If a new EffizienzMassnahmeTyp entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/effizienzmassnahmetyp" (HTTP-POST) If an existing EffizienzMassnahmeTyp entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/effizienzmassnahmetyp/{id}" (HTTP-PUT) If an existing EffizienzMassnahmeTyp entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/effizienzmassnahmetyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EffizienzMassnahme columns: - column: Beschreibung - column: StartJahr - column: ErwarteteErsparnisProzent - column: Gemeinde - column: Foerderprogramm - column: IstLedUmruestung - column: EffizienzMassnahmeTyp - column: EndJahr The table should have the title "EffizienzMassnahmes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/effizienzmassnahme/effizienzmassnahmetyp/{id}" 4. The LichtquellenTypView must contain the following fields: - name: FarbwiedergabeIndex type: STRING - name: IstVeraltet type: BOOL - name: LebensdauerStunden type: LONG - name: LeistungsbereichMax type: STRING - name: LeistungsbereichMin type: STRING - name: LichtausbeuteTypisch type: STRING - name: Name type: STRING - name: TechnologieGruppe type: STRING An existing LichtquellenTyp entity should be loaded from the relative URL: "/BeleuchtungsnormService/lichtquellentyp/{id}" (HTTP-GET) If a new LichtquellenTyp entity has been created, the new entity should be posted to the relative URL: "/BeleuchtungsnormService/lichtquellentyp" (HTTP-POST) If an existing LichtquellenTyp entity has been updated, the modified entity should be sent to the relative URL: "/BeleuchtungsnormService/lichtquellentyp/{id}" (HTTP-PUT) If an existing LichtquellenTyp entity has to be deleted, the following relative URL should be called: "/BeleuchtungsnormService/lichtquellentyp/{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/lichtquellentyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum