Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TransformatorView
Please create a React-JS view called "TransformatorView" for the fields of the Transformator entity. The TransformatorView must contain the following fields: - name: Areal type: Areal - name: Baujahr type: LONG - name: Beschreibung type: STRING - name: Hersteller type: STRING - name: MasseTonnen type: STRING - name: MitLaststufenschalter type: BOOL - name: Name type: STRING - name: NennleistungMva type: STRING - name: ObereSpannungsebene type: Spannungsebene - name: Umspannwerk type: Umspannwerk - name: UntereSpannungsebene type: Spannungsebene The data source for the [ObereSpannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Areal] select control should be loaded from the relative URL: "/UmspannwerkService/areal" (HTTP-GET) The data source for the [UntereSpannungsebene] select control should be loaded from the relative URL: "/SpannungsebeneService/spannungsebene" (HTTP-GET) The data source for the [Umspannwerk] select control should be loaded from the relative URL: "/UmspannwerkService/umspannwerk" (HTTP-GET) An existing Transformator entity should be loaded from the relative URL: "/SchaltanlageService/transformator/{id}" (HTTP-GET) If a new Transformator entity has been created, the new entity should be posted to the relative URL: "/SchaltanlageService/transformator" (HTTP-POST) If an existing Transformator entity has been updated, the modified entity should be sent to the relative URL: "/SchaltanlageService/transformator/{id}" (HTTP-PUT) If an existing Transformator entity has to be deleted, the following relative URL should be called: "/SchaltanlageService/transformator/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PrimaertechnikKomponente columns: - column: Areal - column: Schaltanlage - column: Umspannwerk - column: Schaltfeld - column: Beschreibung - column: TechnischeDaten - column: Transformator - column: Name - column: Komponententyp The table should have the title "PrimaertechnikKomponentes" und the data must be loaded from the server with the following relative URL: "/UmspannwerkService/primaertechnikkomponente/transformator/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum