【新增】继电器组合的设备类型是防淹门时,视同车库门

This commit is contained in:
thesai 2024-04-01 14:07:56 +08:00
parent 3ae2f14a16
commit c9dda72725
2 changed files with 680 additions and 1023 deletions

File diff suppressed because it is too large Load Diff

View File

@ -817,7 +817,7 @@ func buildAndRelateElectronicComponent(repo *proto.Repository, relayGi *data_pro
Egs: egs, Egs: egs,
}) })
} }
case data_proto.RelatedRef_GarageDoor: //车库 case data_proto.RelatedRef_GarageDoor, data_proto.RelatedRef_FloodGate: //车库门||防淹
{ {
ckm, ok := ckmMap[GenerateElementUid(city, lineId, nil, relationship.Code)] ckm, ok := ckmMap[GenerateElementUid(city, lineId, nil, relationship.Code)]
if !ok { if !ok {