liurunyu
2024-11-08 04779efe2410fb0df1ff983b26384d56471b85cf
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/Driver.java
@@ -14,6 +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 ;
   }
   /**
    * 单线程单例Driver模式下运行
    * 扫描识别功能码注解类
@@ -24,7 +39,6 @@
    * 扫描识别功能码注解类
    * @param driver 驱动
    * @param protocolName 协议名称
    * @param uri URI
    * @param scanRootPackage 扫描包
    * @throws Exception 异常
    */