| | |
| | | |
| | | import com.dy.common.mw.UnitAdapterInterface; |
| | | import com.dy.common.mw.UnitInterface; |
| | | import com.dy.common.mw.UnitStartedCallbackInterface; |
| | | import com.dy.common.mw.UnitCallbackInterface; |
| | | import com.dy.rtuMw.resource.rtuLog.RtuLogManager; |
| | | import com.dy.common.util.DateTime; |
| | | |
| | |
| | | ResourceUnit.springContext = springContext ; |
| | | } |
| | | @Override |
| | | public void start(UnitStartedCallbackInterface callback) throws Exception { |
| | | public void start(UnitCallbackInterface callback) throws Exception { |
| | | if(ResourceUnit.springContext == null){ |
| | | throw new Exception("Spring上下文对象未设置!") ; |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void stop(UnitStartedCallbackInterface callback) { |
| | | public void stop(UnitCallbackInterface callback) { |
| | | } |
| | | |
| | | /** |