Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 2m30s
All checks were successful
CI / Docker-Build (push) Successful in 2m30s
This commit is contained in:
commit
80bb3ee139
@ -1 +1 @@
|
|||||||
Subproject commit 5b0baec461fba33bcb76212ce2b1a19d1b79057f
|
Subproject commit a6293366a132680309a62855d4c4e19546ba3aa8
|
@ -57,6 +57,7 @@ export async function addTrain(data: {
|
|||||||
configTrain: TrainConfigData;
|
configTrain: TrainConfigData;
|
||||||
trainEndsA: TrainEnd;
|
trainEndsA: TrainEnd;
|
||||||
trainEndsB: TrainEnd;
|
trainEndsB: TrainEnd;
|
||||||
|
trainCoachNum: number;
|
||||||
}) {
|
}) {
|
||||||
const response = await api.post(`${UriBase}/train/add`, data);
|
const response = await api.post(`${UriBase}/train/add`, data);
|
||||||
return response.data;
|
return response.data;
|
||||||
|
@ -178,6 +178,7 @@ function onCreate() {
|
|||||||
trainEmergencyBrake: trainConfig.value.train_emergency_brake,
|
trainEmergencyBrake: trainConfig.value.train_emergency_brake,
|
||||||
configTrain: trainConfig.value.trainConfigData as TrainConfigData,
|
configTrain: trainConfig.value.trainConfigData as TrainConfigData,
|
||||||
trainControlMapId: trainConfig.value.trainControlMapId,
|
trainControlMapId: trainConfig.value.trainControlMapId,
|
||||||
|
trainCoachNum: parseInt(trainConfig.value.train_sets),
|
||||||
trainEndsA: {
|
trainEndsA: {
|
||||||
radarCheckSpeedDiff: 0,
|
radarCheckSpeedDiff: 0,
|
||||||
radarCheckTime: 0,
|
radarCheckTime: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user