Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtsts-server-go
This commit is contained in:
commit
98405390a5
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user