diff --git a/gloam/WebRoot/config/016config.html b/gloam/WebRoot/config/016config.html deleted file mode 100644 index d9b4d16..0000000 --- a/gloam/WebRoot/config/016config.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - -#(_res.get("system.config")) - - - - -#include("/common/header.html") - - #if(session.successMessage!=null&&session.successMessage!="") - - #else - - #end - - #if(session.errorMessage!=null&&session.errorMessage!="") - - #else - - #end -
-
-
- -
-
- - -
- - #for(deviceData:deviceInfos) - - #if(session.tabTag) - #if(session.tabTag==deviceData.key) -
-
- #else -
-
- #end - #else - #if(for.index==0) -
-
- #else -
-
- #end - #end - - -
- #for(deviceInfo:deviceData.value) - - - - - - - #if(deviceInfo.manageName.contains(':')) - - - - - - - - - - #else - - - - - - - - - - #end - -
#(deviceInfo.manageName) -
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
- #end -
- - -
-
-
-
- #end -
- -
-
- - -
- - - - diff --git a/gloam/WebRoot/config/102config.html b/gloam/WebRoot/config/102config.html deleted file mode 100644 index 5781b6d..0000000 --- a/gloam/WebRoot/config/102config.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - -#(_res.get("system.config")) - - - - -#include("/common/header.html") - - #if(session.successMessage!=null&&session.successMessage!="") - #else - #end - - #if(session.errorMessage!=null&&session.errorMessage!="") - #else - #end -
-
-
-

- #(_res.get("system.config")) -

-
-
- -
- #for(deviceData:deviceInfos) - #for(deviceInfo:deviceData.value) - - - - - - #if(deviceInfo.manageName.contains(':')) - - - - - - - - - - #else - - - - - - - - - - #end - #end - -
#(deviceInfo.manageName) -
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
- -
-
-
- #end - #if(deviceInfos) -
- - -
- #else -

暂无数据信息

- #end -
-
-
- -
- - - - diff --git a/gloam/src/com/nis/gloam/task/DetectDataParseThread.java b/gloam/src/com/nis/gloam/task/DetectDataParseThread.java index e2796c2..1ba365e 100644 --- a/gloam/src/com/nis/gloam/task/DetectDataParseThread.java +++ b/gloam/src/com/nis/gloam/task/DetectDataParseThread.java @@ -54,8 +54,12 @@ public class DetectDataParseThread implements Callable { public String call() { Thread.currentThread().setName(threadName); - String normalPath = root + "/nc_data/done/" + type + "/" + ip + "/" + now + ".csv"; - String abnormalPath = root + "/nc_data/error/" + type + "/" + ip + "/" + now + ".csv"; + String normalPathRoot = root + "/nc_data/done/" + type + "/" + ip + "/"; + String normalPath = normalPathRoot + now + ".csv"; + String abnormalPathRoot = root + "/nc_data/error/" + type + "/" + ip + "/"; + String abnormalPath = abnormalPathRoot + now + ".csv"; + mkdir(normalPathRoot); + mkdir(abnormalPathRoot); try { List allLineList = CSVUtils.csvFileParser(file, "UTF-8");