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