【解决IBP获取车站UID出错问题】
This commit is contained in:
parent
0c9816a1ce
commit
211e405798
@ -322,6 +322,8 @@ func getUidMapByType(uidData any, m interface{}) map[string]*elementIdStructure
|
||||
return (uidData.(*relayUidStructure)).RelayIds
|
||||
case *graphicData.EsbButton:
|
||||
return (uidData.(*stationUidStructure)).ButtonIds
|
||||
case *graphicData.Station:
|
||||
return (uidData.(*stationUidStructure)).StationIds
|
||||
default:
|
||||
panic(&dto.ErrorDto{Code: dto.ArgumentParseError, Message: "类型未映射字段"})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user