Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SignalFarbeApp
Please create a React-JS application for the SignalFarbeModule. The application has to offer the following views for the user interface: 1. PhasenAspektView 2. SignalAspektView 3. SignalFarbeView 4. UeberwegView 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 PhasenAspektView must contain the following fields: - name: EndOffset type: LONG - name: SignalAspekt type: SignalAspekt - name: Signalphase type: Signalphase - name: StartOffset type: LONG The data source for the [Signalphase] select control should be loaded from the relative URL: "/SignalSymbolService/signalphase" (HTTP-GET) The data source for the [SignalAspekt] select control should be loaded from the relative URL: "/SignalFarbeService/signalaspekt" (HTTP-GET) An existing PhasenAspekt entity should be loaded from the relative URL: "/SignalFarbeService/phasenaspekt/{id}" (HTTP-GET) If a new PhasenAspekt entity has been created, the new entity should be posted to the relative URL: "/SignalFarbeService/phasenaspekt" (HTTP-POST) If an existing PhasenAspekt entity has been updated, the modified entity should be sent to the relative URL: "/SignalFarbeService/phasenaspekt/{id}" (HTTP-PUT) If an existing PhasenAspekt entity has to be deleted, the following relative URL should be called: "/SignalFarbeService/phasenaspekt/{id}" (HTTP-DELETE) 2. The SignalAspektView must contain the following fields: - name: Bedeutung type: STRING - name: Form type: STRING - name: IstBlinkend type: BOOL - name: IstCountdown type: BOOL - name: IstKombiniert type: BOOL - name: PositionsIndex type: LONG - name: SignalFarbe type: SignalFarbe - name: Signalgeraet type: Signalgeraet - name: SignalSymbol type: SignalSymbol The data source for the [Signalgeraet] select control should be loaded from the relative URL: "/SignalSystemService/signalgeraet" (HTTP-GET) The data source for the [SignalSymbol] select control should be loaded from the relative URL: "/SignalSymbolService/signalsymbol" (HTTP-GET) The data source for the [SignalFarbe] select control should be loaded from the relative URL: "/SignalFarbeService/signalfarbe" (HTTP-GET) An existing SignalAspekt entity should be loaded from the relative URL: "/SignalFarbeService/signalaspekt/{id}" (HTTP-GET) If a new SignalAspekt entity has been created, the new entity should be posted to the relative URL: "/SignalFarbeService/signalaspekt" (HTTP-POST) If an existing SignalAspekt entity has been updated, the modified entity should be sent to the relative URL: "/SignalFarbeService/signalaspekt/{id}" (HTTP-PUT) If an existing SignalAspekt entity has to be deleted, the following relative URL should be called: "/SignalFarbeService/signalaspekt/{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/signalaspekt/{id}" 3. The SignalFarbeView must contain the following fields: - name: HexCode type: STRING - name: IstStandard type: BOOL - name: Name type: STRING - name: WellenlaengeNm type: LONG An existing SignalFarbe entity should be loaded from the relative URL: "/SignalFarbeService/signalfarbe/{id}" (HTTP-GET) If a new SignalFarbe entity has been created, the new entity should be posted to the relative URL: "/SignalFarbeService/signalfarbe" (HTTP-POST) If an existing SignalFarbe entity has been updated, the modified entity should be sent to the relative URL: "/SignalFarbeService/signalfarbe/{id}" (HTTP-PUT) If an existing SignalFarbe entity has to be deleted, the following relative URL should be called: "/SignalFarbeService/signalfarbe/{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/signalfarbe/{id}" 4. The UeberwegView must contain the following fields: - name: Beschreibung type: STRING - name: HatZebrastreifen type: BOOL - name: IstEbenerdig type: BOOL - name: IstSignalisiert type: BOOL - name: Kreuzung type: Kreuzung - name: Typ type: STRING The data source for the [Kreuzung] select control should be loaded from the relative URL: "/KreuzungService/kreuzung" (HTTP-GET) An existing Ueberweg entity should be loaded from the relative URL: "/SignalFarbeService/ueberweg/{id}" (HTTP-GET) If a new Ueberweg entity has been created, the new entity should be posted to the relative URL: "/SignalFarbeService/ueberweg" (HTTP-POST) If an existing Ueberweg entity has been updated, the modified entity should be sent to the relative URL: "/SignalFarbeService/ueberweg/{id}" (HTTP-PUT) If an existing Ueberweg entity has to be deleted, the following relative URL should be called: "/SignalFarbeService/ueberweg/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum