diff --git a/src/api/Simulation.ts b/src/api/Simulation.ts index 74612b6..885fa43 100644 --- a/src/api/Simulation.ts +++ b/src/api/Simulation.ts @@ -60,6 +60,7 @@ export async function setSignalState(data: { simulationId: string; mapId: number; id: string; + operation: number; aspect: number; }) { return await api.post(`${UriBase}/signal/operation`, data); diff --git a/src/components/line-app/states/SignalState.vue b/src/components/line-app/states/SignalState.vue index 85851bb..181247d 100644 --- a/src/components/line-app/states/SignalState.vue +++ b/src/components/line-app/states/SignalState.vue @@ -1,7 +1,22 @@