Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SteuerstrategieApp
Please create a React-JS application for the SteuerstrategieModule. The application has to offer the following views for the user interface: 1. LeuchteView 2. SchaltkastenView 3. SteuerstrategieView 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 LeuchteView must contain the following fields: - name: Code type: STRING - name: GehaeuseMaterial type: STRING - name: HatSekundaersystem type: BOOL - name: Hersteller type: STRING - name: IpSchutz type: STRING - name: IstDimmbar type: BOOL - name: IstLed type: BOOL - name: Modell type: STRING - name: Montageart type: STRING - name: OptikTyp type: STRING An existing Leuchte entity should be loaded from the relative URL: "/SteuerstrategieService/leuchte/{id}" (HTTP-GET) If a new Leuchte entity has been created, the new entity should be posted to the relative URL: "/SteuerstrategieService/leuchte" (HTTP-POST) If an existing Leuchte entity has been updated, the modified entity should be sent to the relative URL: "/SteuerstrategieService/leuchte/{id}" (HTTP-PUT) If an existing Leuchte entity has to be deleted, the following relative URL should be called: "/SteuerstrategieService/leuchte/{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/leuchte/{id}" 2. 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: "/SteuerstrategieService/steuerstrategie" (HTTP-GET) An existing Schaltkasten entity should be loaded from the relative URL: "/SteuerstrategieService/schaltkasten/{id}" (HTTP-GET) If a new Schaltkasten entity has been created, the new entity should be posted to the relative URL: "/SteuerstrategieService/schaltkasten" (HTTP-POST) If an existing Schaltkasten entity has been updated, the modified entity should be sent to the relative URL: "/SteuerstrategieService/schaltkasten/{id}" (HTTP-PUT) If an existing Schaltkasten entity has to be deleted, the following relative URL should be called: "/SteuerstrategieService/schaltkasten/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stromkreis columns: - column: Spannung - column: MaxLaengeMeter - column: KurzschlussstromMin - column: FrequenzHz - column: Name - column: Schaltkasten The table should have the title "Stromkreiss" und the data must be loaded from the server with the following relative URL: "/SteuerstrategieService/stromkreis/schaltkasten/{id}" 3. The SteuerstrategieView must contain the following fields: - name: Beschreibung type: STRING - name: IstZentral type: BOOL - name: Name type: STRING - name: NutztAnruf type: BOOL - name: NutztDaemmerung type: BOOL - name: NutztGasdruck type: BOOL - name: NutztRundsteuer type: BOOL - name: NutztZeitschaltuhr type: BOOL An existing Steuerstrategie entity should be loaded from the relative URL: "/SteuerstrategieService/steuerstrategie/{id}" (HTTP-GET) If a new Steuerstrategie entity has been created, the new entity should be posted to the relative URL: "/SteuerstrategieService/steuerstrategie" (HTTP-POST) If an existing Steuerstrategie entity has been updated, the modified entity should be sent to the relative URL: "/SteuerstrategieService/steuerstrategie/{id}" (HTTP-PUT) If an existing Steuerstrategie entity has to be deleted, the following relative URL should be called: "/SteuerstrategieService/steuerstrategie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Schaltkasten columns: - column: Steuerstrategie - column: StandortBeschreibung - column: Gemeinde - column: Code The table should have the title "Schaltkastens" und the data must be loaded from the server with the following relative URL: "/SteuerstrategieService/schaltkasten/steuerstrategie/{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/steuerstrategie/{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: "/SteuerstrategieService/schaltkasten" (HTTP-GET) An existing Stromkreis entity should be loaded from the relative URL: "/SteuerstrategieService/stromkreis/{id}" (HTTP-GET) If a new Stromkreis entity has been created, the new entity should be posted to the relative URL: "/SteuerstrategieService/stromkreis" (HTTP-POST) If an existing Stromkreis entity has been updated, the modified entity should be sent to the relative URL: "/SteuerstrategieService/stromkreis/{id}" (HTTP-PUT) If an existing Stromkreis entity has to be deleted, the following relative URL should be called: "/SteuerstrategieService/stromkreis/{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/stromkreis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum