|
@@ -163,11 +163,15 @@ public class RefreshThread extends Thread {
|
|
|
DaemonThread.path_zkt_physical_world = this.path_zkt_physical_world;
|
|
|
DaemonThread.path_ibms_physical_world = this.path_ibms_physical_world;
|
|
|
|
|
|
+ LogOfRun.status = "success";
|
|
|
+ RepositoryContainer.RepositoryProject.AddSuccessLogOfRun(LogOfRun);
|
|
|
+
|
|
|
boolean isTextBlack = false;
|
|
|
if (LogOfRun.errorList.size() == 0) {
|
|
|
- List<String> strList = ImageUtil.toStringList("牛逼", false, 64, isTextBlack);
|
|
|
+ List<String> strList = ImageUtil.toStringList("牛逼", true, 64, isTextBlack);
|
|
|
for (String str : strList) {
|
|
|
- log.warn(str);
|
|
|
+ System.out.println(str);
|
|
|
+ // log.warn(str);
|
|
|
}
|
|
|
} else {
|
|
|
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
|
@@ -178,13 +182,16 @@ public class RefreshThread extends Thread {
|
|
|
is.close();
|
|
|
List<String> strList = ImageUtil.toStringList(bi);
|
|
|
for (String str : strList) {
|
|
|
- log.warn(str);
|
|
|
+ System.out.println(str);
|
|
|
+ // log.warn(str);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- LogOfRun.status = "success";
|
|
|
- RepositoryContainer.RepositoryProject.AddSuccessLogOfRun(LogOfRun);
|
|
|
} catch (Exception e) {
|
|
|
+ String message = LogUtil.GetExceptionStackTrace(e);
|
|
|
+ log.error(e.getMessage(), e);
|
|
|
+ LogOfRun.error(null, message);
|
|
|
+ LogOfRun.status = "failure";
|
|
|
+
|
|
|
boolean isTextBlack = false;
|
|
|
try {
|
|
|
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
|
@@ -195,16 +202,12 @@ public class RefreshThread extends Thread {
|
|
|
is.close();
|
|
|
List<String> strList = ImageUtil.toStringList(bi);
|
|
|
for (String str : strList) {
|
|
|
- log.warn(str);
|
|
|
+ System.out.println(str);
|
|
|
+ // log.warn(str);
|
|
|
}
|
|
|
} catch (Exception e1) {
|
|
|
e1.printStackTrace();
|
|
|
}
|
|
|
-
|
|
|
- String message = LogUtil.GetExceptionStackTrace(e);
|
|
|
- log.error(e.getMessage(), e);
|
|
|
- LogOfRun.error(null, message);
|
|
|
- LogOfRun.status = "failure";
|
|
|
}
|
|
|
LogOfRun.endTime = new Date();
|
|
|
}
|