pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TaskPool.java
@@ -13,11 +13,21 @@ private static List<TaskSurpport> tasks = new ArrayList<TaskSurpport>() ; private static Integer taskTotal = 0 ; private static TreeConfig taskTreeConf ; public static void setTaskTreeCofig(TreeConfig conf){ taskTreeConf = conf ; } /** * 得到任务树实例总数 * @return */ public static Integer totalTasks() { return taskTotal ; } @@ -39,6 +49,8 @@ } finally { if(t == null){ log.error("实例化上行数据处理任务对象失败!" ); }else{ taskTotal++ ; } } }