axle section request

This commit is contained in:
xzb 2023-10-31 11:30:18 +08:00
parent 1a79058c8f
commit b7715b5276
1 changed files with 7 additions and 4 deletions

View File

@ -17,9 +17,12 @@ func ChangeAxleSectionState(simulation *VerifySimulation, req *dto.AxleSectionOp
fi.DriveAxleSectionDrst(simulation.World, sectionUid, req.Reset)
case request_proto.Section_Pdrst:
fi.DriveAxleSectionPdrst(simulation.World, sectionUid, req.Reset)
case request_proto.Section_TrainIn:
fi.DriveAxleSectionTrainIn(simulation.World, sectionUid)
case request_proto.Section_TrainOut:
fi.DriveAxleSectionTrainOut(simulation.World, sectionUid)
/*
case request_proto.Section_TrainIn:
fi.DriveAxleSectionTrainIn(simulation.World, sectionUid)
case request_proto.Section_TrainOut:
fi.DriveAxleSectionTrainOut(simulation.World, sectionUid)
*/
}
}