From f009df267269d108868cbbdfc1e2996e570f49c2 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Fri, 13 Oct 2023 15:19:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ats/verify/simulation/wayside/memory/wayside_memory_map.go | 2 ++ .../simulation/wayside/memory/wayside_memory_map_init.go | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ats/verify/simulation/wayside/memory/wayside_memory_map.go b/ats/verify/simulation/wayside/memory/wayside_memory_map.go index 45e4b18..7f80ff3 100644 --- a/ats/verify/simulation/wayside/memory/wayside_memory_map.go +++ b/ats/verify/simulation/wayside/memory/wayside_memory_map.go @@ -33,6 +33,8 @@ func PublishMapVerifyStructure(graphic *model.PublishedGi) { message = &graphicData.RelayCabinetGraphicStorage{} case graphicData.PictureType_Psl: message = &graphicData.PslGraphicStorage{} + case graphicData.PictureType_IBP: + message = &graphicData.IBPGraphicStorage{} } err := proto.Unmarshal(graphic.Proto, message) if err != nil { diff --git a/ats/verify/simulation/wayside/memory/wayside_memory_map_init.go b/ats/verify/simulation/wayside/memory/wayside_memory_map_init.go index 656d51e..d7d30e2 100644 --- a/ats/verify/simulation/wayside/memory/wayside_memory_map_init.go +++ b/ats/verify/simulation/wayside/memory/wayside_memory_map_init.go @@ -27,6 +27,10 @@ type stationUidStructure struct { TransponderIds map[string]*elementIdStructure SlopeIds map[string]*elementIdStructure CurvatureIds map[string]*elementIdStructure + ButtonIds map[string]*elementIdStructure + LightIds map[string]*elementIdStructure + AlarmIds map[string]*elementIdStructure + StationIds map[string]*elementIdStructure } type relayUidStructure struct {