加了Substation的类

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-12-11 19:57:55 +08:00
parent d6bcb9a0c5
commit 2e46068680
7 changed files with 61 additions and 32 deletions

View File

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