|
@@ -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);
|
|
|
|