Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
ctltool
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李定达
ctltool
Commits
e17b1576
Commit
e17b1576
authored
Oct 29, 2020
by
OFFICE\dingda.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.debug
parent
3962c81c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
main.cpp
+15
-15
No files found.
main.cpp
View file @
e17b1576
...
...
@@ -1064,10 +1064,10 @@ int main(int argc, char *argv[])
QFile
xmlfile
(
xmlpath
);
QFile
xmlbakfile
(
xmlpathbak
);
//
if(xmlfile.exists())
//
xmlfile.copy(xmlpathbak);
if
(
xmlfile
.
exists
())
xmlfile
.
copy
(
xmlpathbak
);
//
Creatxml(xmlpath);
Creatxml
(
xmlpath
);
QDir
locdir
;
locdir
.
mkdir
(
localpath
);
...
...
@@ -1079,12 +1079,12 @@ int main(int argc, char *argv[])
while
(
i
<
checkday
)
{
//
QDir dirt1, dirt2;
//
dirt1.mkdir("C:/np6data/newdata/bak");
//
dirt2.mkdir("C:/np6data/newdata/0000000");
//
ClearDirForPath("C:/np6data/newdata/temp");
//
ClearDirForPath("C:/np6data/newdata/bak");
//
ClearDirForPath("C:/np6data/newdata/000000");
QDir
dirt1
,
dirt2
;
dirt1
.
mkdir
(
"C:/np6data/newdata/bak"
);
dirt2
.
mkdir
(
"C:/np6data/newdata/0000000"
);
ClearDirForPath
(
"C:/np6data/newdata/temp"
);
ClearDirForPath
(
"C:/np6data/newdata/bak"
);
ClearDirForPath
(
"C:/np6data/newdata/000000"
);
//QStringList tmplist = argvs;
QStringList
tmplist
;
...
...
@@ -1103,13 +1103,13 @@ int main(int argc, char *argv[])
// continue ;
// }
//
QString stldpaths = QString("D:/newpos61/STLD/") + days + "/stld.xml";
QString
stldpaths
=
QString
(
"D:/newpos61/STLD/"
)
+
days
+
"/stld.xml"
;
//
if(!havastldFile(stldpaths))
//
{
//
QLOG_WARN() << "not find : " << stldpaths;
//
continue ;
//
}
if
(
!
havastldFile
(
stldpaths
))
{
QLOG_WARN
()
<<
"not find : "
<<
stldpaths
;
continue
;
}
QString
daysstr
=
QString
(
"D:
\\
fm
\\
Gomax
\\
ctllist
\\
"
)
+
days
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment