This commit is contained in:
xzb 2023-10-13 15:24:58 +08:00
commit 98405390a5
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,8 @@ func PublishMapVerifyStructure(graphic *model.PublishedGi) {
message = &graphicData.RelayCabinetGraphicStorage{} message = &graphicData.RelayCabinetGraphicStorage{}
case graphicData.PictureType_Psl: case graphicData.PictureType_Psl:
message = &graphicData.PslGraphicStorage{} message = &graphicData.PslGraphicStorage{}
case graphicData.PictureType_IBP:
message = &graphicData.IBPGraphicStorage{}
} }
err := proto.Unmarshal(graphic.Proto, message) err := proto.Unmarshal(graphic.Proto, message)
if err != nil { if err != nil {

View File

@ -27,6 +27,10 @@ type stationUidStructure struct {
TransponderIds map[string]*elementIdStructure TransponderIds map[string]*elementIdStructure
SlopeIds map[string]*elementIdStructure SlopeIds map[string]*elementIdStructure
CurvatureIds 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 { type relayUidStructure struct {