liurunyu
2025-02-27 186aac796d81fd1799c9503558c1081c5102ab74
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/UnitInterface.java
@@ -1,7 +1,7 @@
package com.dy.common.mw;
/**
 * 模块单元接口
 * 单元接口
 *
 */
public interface UnitInterface {
@@ -9,14 +9,15 @@
    * 设置适配器
    * @throws Exception
    */
   public void setAdapter(UnitAdapterInterface adapter) throws Exception ;
   void setAdapter(UnitAdapterInterface adapter) throws Exception ;
   /**
    * 启动模块
    * 启动单元运行
    * @throws Exception
    */
   public void start(UnitStartedCallbackInterface callback) throws Exception  ;
   void start(UnitCallbackInterface callback) throws Exception  ;
   /**
    * 停止模块运行
    * 停止单元运行
    * @throws Exception
    */
   public void stop(UnitStartedCallbackInterface callback) throws Exception  ;
   void stop(UnitCallbackInterface callback) throws Exception  ;
}