【增加属性】

This commit is contained in:
weizhihong 2023-10-13 15:19:17 +08:00
parent 389bea4970
commit f009df2672
2 changed files with 6 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {