暂时先把几个不用的sub项目隐去

Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
dmy@lab
2015-01-08 11:19:31 +08:00
parent fffadb53df
commit ac08caee2a
3 changed files with 6 additions and 5 deletions

View File

@@ -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;