瀏覽代碼

完善CheckTest

menglu 3 年之前
父節點
當前提交
676ec92514
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/test/CheckTest.java

+ 5 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/test/CheckTest.java

@@ -20,7 +20,7 @@ import lombok.extern.slf4j.Slf4j;
 public class CheckTest {
 
 	public static void test(String[] args) throws Exception {
-		Constant.debug = false;// 调试模式设为true
+		Constant.debug = true;// 调试模式设为true
 		RepositoryImpl Repository = RepositoryContainer.instance;
 		Repository.use_thread = !Constant.debug;
 		Repository.RepositoryBase = RepositoryContainer.RepositoryBase;
@@ -48,6 +48,10 @@ public class CheckTest {
 				log.warn("LoadIBMSPhysicalWorld");
 				RWDLoadUtil.LoadIBMSPhysicalWorld(Repository);
 			}
+			if (Constant.alarm_enable) {
+				log.warn("LoadAlarm");
+				RWDLoadUtil.LoadAlarm(Repository, false);
+			}
 			log.warn("computeAll");
 			ComputeUtil.computeAll(Repository, spListList);