@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user