diff --git a/ats/verify/simulation/wayside/memory/wayside_memory_turnout.go b/ats/verify/simulation/wayside/memory/wayside_memory_turnout.go index a278d01..7a2eadd 100644 --- a/ats/verify/simulation/wayside/memory/wayside_memory_turnout.go +++ b/ats/verify/simulation/wayside/memory/wayside_memory_turnout.go @@ -39,11 +39,11 @@ func HandleTurnoutOperation(simulation *VerifySimulation, req *request_proto.Tur case request_proto.Turnout_SetSB: fi.SetTurnoutFault(simulation.World, uid, component_proto.Turnout_SB) case request_proto.Turnout_CancelSB: - fi.CancelTurnoutFault(simulation.World, uid, component_proto.Turnout_SB) + fi.CancleTurnoutFault(simulation.World, uid, component_proto.Turnout_SB) case request_proto.Turnout_SetJC: fi.SetTurnoutFault(simulation.World, uid, component_proto.Turnout_JC) case request_proto.Turnout_CancelJC: - fi.CancelTurnoutFault(simulation.World, uid, component_proto.Turnout_JC) + fi.CancleTurnoutFault(simulation.World, uid, component_proto.Turnout_JC) default: panic(fmt.Sprintf("未知的道岔操作:%s", req.Operation)) }