进过测试几个文件,拓扑解析基本上能用了。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com 2014-12-26 11:49:42 +08:00
parent 32e3e9cfb1
commit 45a76228c4
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ bool ElementHashtable::GoPath()
// if(p->getName()=="ACLineSegment"){
// std::cout<<p->getID().toStdString()<<std::endl;
// }
if(p->getName()=="ACLineSegment" && p->getID()=="AC-591831")
if(p->getName()=="ACLineSegment" && p->getID()=="AC-591840")
{
ACLineSegment *ac=static_cast<ACLineSegment *>(p);//BusbarSection也就是线路头节点
QString acTerminal=ac->getTerminalB();

View File

@ -20,7 +20,7 @@ bool TopologyRecorder::isEquipmentNeeded(const QString& substatinID)
else
{
QString feederID=sfd->getSubstationMemberOf_Feeder();
return feederID=="FD-2048"||sfd->getNamingDescription()=="V馈线站";
return feederID=="FD-2057"||sfd->getNamingDescription()=="V馈线站";
}
return false;
}