diff --git a/testHasttable/cimexporter.cpp b/testHasttable/cimexporter.cpp index 0102b46..5ae5106 100644 --- a/testHasttable/cimexporter.cpp +++ b/testHasttable/cimexporter.cpp @@ -132,28 +132,14 @@ void CIMExporter::exportTo(const QString& path,const QString &rootID) { continue; } -// writer<length<<"\t"<id<<"\t"; writer<(l.length)==0) -// { -// writer<<0.01<r<x<b1<b2<r<x<b1<b2<ph3P=0; } + else + { + this->ph3P/=1000;//转换为标幺值 + } // std::cout<<"nb "<ph3P<ph3Q=this->trimDoubleQuotation(sep.at(6)).toDouble(&ok3PhQ); @@ -159,6 +163,10 @@ bool LoadInfo::updateByTime(const QTime& time) { this->ph3Q=0; } + else + { + this->ph3Q/=1000; + } // std::cout<<"nb "<ph3Q<taskFile); QString line; QStringList sep;