用类处理变压器阻抗数据。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-12-27 21:45:46 +08:00
parent 57dc9e9728
commit 84d5330628
9 changed files with 78 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ bool ACLineSegment::derivedParse(QXmlStreamReader &reader)
if("Conductor.length"==reader.name())
{
bool ok;
this->conductorLength=reader.readElementText().toInt(&ok);
this->conductorLength=reader.readElementText().toDouble(&ok);
if(!ok)
{
this->conductorLength=-100000;