增加读取和取回PowerTransformer的NamingDescription

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-12-11 20:03:08 +08:00
parent 2e46068680
commit a27bb65465
3 changed files with 11 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ bool Substation::derivedParse(QXmlStreamReader& reader)
}
if(reader.name()=="Substation.MemberOf_Feeder" && reader.attributes().hasAttribute("rdf:resource"))
{
this->substationMemberOf_Feeder=reader.attributes().value("rdf:resource").toString();
this->substationMemberOf_Feeder=reader.attributes().value("rdf:resource").toString().replace("#","");
}
return true;
}