加了处理Disconnector连接关系的代码

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-12-25 21:35:06 +08:00
parent a012ca3502
commit edfb3310f8
5 changed files with 114 additions and 19 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-671401")
if(p->getName()=="ACLineSegment" && p->getID()=="AC-591827")
{
ACLineSegment *ac=static_cast<ACLineSegment *>(p);//BusbarSection也就是线路头节点
QString acTerminal=ac->getTerminalB();