1.加入Task文件,准备批量做。

2.把Task文件接入流程。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2015-01-06 20:51:19 +08:00
parent 96fc5726f7
commit cd22eecbca
9 changed files with 125 additions and 17 deletions

View File

@@ -1,17 +1,16 @@
#include <QCoreApplication>
#include <elementhashtable.h>
#include "regexextract.h"
#include "task.h"
#include <iostream>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
ElementHashtable eleReader;
eleReader.Parse("D:/Project/佛山项目/佛山收资/exportmodel_pw/df8003/df8600/exportfiles/exportmodel_pw.xml","D:/Project/佛山项目/佛山收资/exportmodel_zwyth20141204/exportmodel_zwyth.xml");
// eleReader.parse("D:/Project/佛山项目/佛山收资/按元素分/BusbarSectionb.xml");
eleReader.GoPath();
// RegexExtract regexExt;
// regexExt.extract("D:/Project/佛山项目/佛山收资/exportmodel_pw/df8003/df8600/exportfiles/exportmodel_pw.xml");
// regexExt.exportBlocks("ThermalGeneratingUnit.xml");
// eleReader.GoPath();
Task task;
task.doAgainstTaskFile(eleReader);
std::cout<<"Finished."<<std::endl;
return a.exec();
}