| | |
| | | // try { |
| | | // URL url = Server.class.getResource("/config/this.licence"); |
| | | // if(!new Lnp(null).parese(url.getPath())){ |
| | | // System.out.println("zhzc licence error!") ; |
| | | // System.out.println("licence error!") ; |
| | | // return ; |
| | | // } |
| | | // } catch (Exception e) { |
| | | // System.out.println("zhzc licence error!") ; |
| | | // System.out.println("licence error!") ; |
| | | // return ; |
| | | // } |
| | | //Server sv = new Server(); |
| | |
| | | |
| | | |
| | | ///////////////// |
| | | //RMI模块 |
| | | //RMI模块 暂时不应用 |
| | | /* |
| | | RmiConfigVo rmiVo = new RmiConfigVo(); |
| | | rmiVo.enable = conf.getSetAttrBoolean(doc, "config.rmi", "enable", null, null) ; |
| | | if(rmiVo.enable){ |
| | |
| | | RmiSvUrl = "[ip]:" + rmiVo.port + "/" + rmiVo.context ; |
| | | units.add(rmiUnit) ; |
| | | } |
| | | |
| | | */ |
| | | |
| | | ///////////////// |
| | | //RTU上行数据处理模块 |