parent
fffadb53df
commit
ac08caee2a
|
|
@ -1,5 +1,5 @@
|
|||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS=cimparser \
|
||||
core \
|
||||
testHasttable
|
||||
SUBDIRS=testHasttable \
|
||||
#core \
|
||||
#cimparser
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ void Task::doAgainstTaskFile(ElementHashtable &eleHT)
|
|||
eleHT.SetFDSet(setSep.toVector());
|
||||
eleHT.GoPath();
|
||||
eleHT.ShowContainerInfo(lineName);
|
||||
break;
|
||||
// break;
|
||||
}
|
||||
file.close();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ void TopologyRecorder::showContainerInfo(QTextStream &stream)
|
|||
{
|
||||
|
||||
const QHash<QString,BasicElementInfo*> &ht=this->eleHT;
|
||||
stream<<"total tf"<<this->tfs.length()<<"\n";
|
||||
// stream<<"total tf"<<this->tfs.length()<<"\n";
|
||||
//统计一下每个Container下有多少个变压器
|
||||
QHash<QString,QVector<QString> > s;
|
||||
for(QVector<QString>::iterator ite=this->tfs.begin();
|
||||
|
|
@ -57,6 +57,7 @@ void TopologyRecorder::showContainerInfo(QTextStream &stream)
|
|||
stream<<k;
|
||||
Substation *sb=static_cast<Substation *>(ht[k]);
|
||||
stream<<"("<<sb->getNamingDescription()<<")";
|
||||
stream<<"#####";
|
||||
QVector<QString> v=s[k];
|
||||
foreach (QString n, v) {
|
||||
stream<<", "<<n;
|
||||
|
|
|
|||
Loading…
Reference in New Issue