This commit is contained in:
walker 2023-10-31 13:03:36 +08:00
commit 0457d58eeb
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)
*/
}
}