Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SignalSymbolApp
Please create a React-JS application for the SignalSymbolModule. The application has to offer the following views for the user interface: 1. ProgrammplanView 2. SignalgeraetSignalgruppeView 3. SignalphaseView 4. SignalSymbolView 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 ProgrammplanView must contain the following fields: - name: Beschreibung type: STRING - name: Endzeit type: STRING - name: Kreuzung type: Kreuzung - name: Name type: STRING - name: Startzeit type: STRING - name: Steuerstrategie type: Steuerstrategie - name: Tagtyp type: STRING - name: Zykluszeit type: LONG The data source for the [Kreuzung] select control should be loaded from the relative URL: "/KreuzungService/kreuzung" (HTTP-GET) The data source for the [Steuerstrategie] select control should be loaded from the relative URL: "/KreuzungService/steuerstrategie" (HTTP-GET) An existing Programmplan entity should be loaded from the relative URL: "/SignalSymbolService/programmplan/{id}" (HTTP-GET) If a new Programmplan entity has been created, the new entity should be posted to the relative URL: "/SignalSymbolService/programmplan" (HTTP-POST) If an existing Programmplan entity has been updated, the modified entity should be sent to the relative URL: "/SignalSymbolService/programmplan/{id}" (HTTP-PUT) If an existing Programmplan entity has to be deleted, the following relative URL should be called: "/SignalSymbolService/programmplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Signalphase columns: - column: Gelb - column: Reihenfolge - column: IstRaeumzeit - column: Beschreibung - column: Programmplan - column: IstGeschuetztesAbbiegen - column: MaxGruen - column: Rot - column: Signalgruppe - column: MinGruen The table should have the title "Signalphases" und the data must be loaded from the server with the following relative URL: "/SignalSymbolService/signalphase/programmplan/{id}" 2. The SignalgeraetSignalgruppeView must contain the following fields: - name: Rolle type: STRING - name: Signalgeraet type: Signalgeraet - name: Signalgruppe type: Signalgruppe The data source for the [Signalgeraet] select control should be loaded from the relative URL: "/SignalSystemService/signalgeraet" (HTTP-GET) The data source for the [Signalgruppe] select control should be loaded from the relative URL: "/VerkehrsartService/signalgruppe" (HTTP-GET) An existing SignalgeraetSignalgruppe entity should be loaded from the relative URL: "/SignalSymbolService/signalgeraetsignalgruppe/{id}" (HTTP-GET) If a new SignalgeraetSignalgruppe entity has been created, the new entity should be posted to the relative URL: "/SignalSymbolService/signalgeraetsignalgruppe" (HTTP-POST) If an existing SignalgeraetSignalgruppe entity has been updated, the modified entity should be sent to the relative URL: "/SignalSymbolService/signalgeraetsignalgruppe/{id}" (HTTP-PUT) If an existing SignalgeraetSignalgruppe entity has to be deleted, the following relative URL should be called: "/SignalSymbolService/signalgeraetsignalgruppe/{id}" (HTTP-DELETE) 3. The SignalphaseView must contain the following fields: - name: Beschreibung type: STRING - name: Gelb type: LONG - name: IstGeschuetztesAbbiegen type: BOOL - name: IstRaeumzeit type: BOOL - name: MaxGruen type: LONG - name: MinGruen type: LONG - name: Programmplan type: Programmplan - name: Reihenfolge type: LONG - name: Rot type: LONG - name: Signalgruppe type: Signalgruppe The data source for the [Programmplan] select control should be loaded from the relative URL: "/SignalSymbolService/programmplan" (HTTP-GET) The data source for the [Signalgruppe] select control should be loaded from the relative URL: "/VerkehrsartService/signalgruppe" (HTTP-GET) An existing Signalphase entity should be loaded from the relative URL: "/SignalSymbolService/signalphase/{id}" (HTTP-GET) If a new Signalphase entity has been created, the new entity should be posted to the relative URL: "/SignalSymbolService/signalphase" (HTTP-POST) If an existing Signalphase entity has been updated, the modified entity should be sent to the relative URL: "/SignalSymbolService/signalphase/{id}" (HTTP-PUT) If an existing Signalphase entity has to be deleted, the following relative URL should be called: "/SignalSymbolService/signalphase/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PhasenAspekt columns: - column: SignalAspekt - column: Signalphase - column: StartOffset - column: EndOffset The table should have the title "PhasenAspekts" und the data must be loaded from the server with the following relative URL: "/SignalFarbeService/phasenaspekt/signalphase/{id}" 4. The SignalSymbolView must contain the following fields: - name: Beschreibung type: STRING - name: IstAnimiert type: BOOL - name: Name type: STRING - name: UnicodeReferenz type: STRING An existing SignalSymbol entity should be loaded from the relative URL: "/SignalSymbolService/signalsymbol/{id}" (HTTP-GET) If a new SignalSymbol entity has been created, the new entity should be posted to the relative URL: "/SignalSymbolService/signalsymbol" (HTTP-POST) If an existing SignalSymbol entity has been updated, the modified entity should be sent to the relative URL: "/SignalSymbolService/signalsymbol/{id}" (HTTP-PUT) If an existing SignalSymbol entity has to be deleted, the following relative URL should be called: "/SignalSymbolService/signalsymbol/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SignalAspekt columns: - column: PositionsIndex - column: IstCountdown - column: SignalSymbol - column: Bedeutung - column: SignalFarbe - column: IstKombiniert - column: Form - column: Signalgeraet - column: IstBlinkend The table should have the title "SignalAspekts" und the data must be loaded from the server with the following relative URL: "/SignalFarbeService/signalaspekt/signalsymbol/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum