From f26ffd4ab03eccba69af84102d41862674aa3737 Mon Sep 17 00:00:00 2001 From: "dmy@lab" Date: Mon, 9 Mar 2015 21:57:23 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B8=89=E7=9B=B8=E6=80=BB=E5=8A=9F=E7=8E=87?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E4=B8=BA=E6=A0=87=E5=B9=BA=E5=80=BC=20=0D2.?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E5=8A=9F=E7=8E=87=E5=89=8D=E5=85=88=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=8A=9F=E7=8E=87=203.=E8=BE=93=E5=87=BAQG=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E6=97=B6=E5=80=99=E5=B0=91=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=B8=AAseperator=EF=BC=8C=E8=A1=A5=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dmy@lab --- testHasttable/cimexporter.cpp | 24 +++++------------------- testHasttable/loadinfo.cpp | 8 ++++++++ testHasttable/task.cpp | 1 + 3 files changed, 14 insertions(+), 19 deletions(-) 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;