From 8d64f1504fb211fc147dacddbc8ac77d436bf1d1 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 14 十一月 2024 16:18:28 +0800 Subject: [PATCH] 升级监视,修改升级控制器总数未统计问题 --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java index 7593dab..3e7a3e3 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java @@ -14,10 +14,21 @@ protected HashMap<String, Class<CodeParse>> downCode2Class = new HashMap<>() ; protected HashMap<String, CodeParse> downCode2ClassInstance = new HashMap<>() ; + protected Notify notify ; + /** * 娓呯┖鑷繁 */ public abstract void clear() ; + + /** + * 璁剧疆RTU淇℃伅閫氱煡鍣� + * @param notify 閫氱煡 + */ + public void setNotify(Notify notify){ + this.notify = notify ; + } + /** * 鍗曠嚎绋嬪崟渚婦river妯″紡涓嬭繍琛� * 鎵弿璇嗗埆鍔熻兘鐮佹敞瑙g被 -- Gitblit v1.8.0