| | |
| | | private Document doc = null ; |
| | | private boolean showStartInfo = false ; |
| | | |
| | | private String orgTag ; |
| | | private String RmiSvUrl ; |
| | | private String TcpSvUrl ; |
| | | @Value("${server.port}") |
| | |
| | | System.out.println("@@@@@@@@@@@@@@@@@@@@@# #@@@@@@@@@@@@@@@@O") ; |
| | | System.out.println("@@@@@@@@@@@@@@@@@@@@@@@ &@@@@@@@@@@@@@@") ; |
| | | System.out.println("@@@@@@$ $@@@@@@@@@& O@@@@@@@@@@@#") ; |
| | | System.out.println("@@@@@@$ @@@@@@@@@ @@@@@@@@@& " + svName + "RtuMw 1.0.00" ) ; |
| | | System.out.println("@@@@@@$ @@@@@@@@@ @@@@@@@@@& " + this.orgTag + svName + "RtuMw 1.0.00" ) ; |
| | | if(this.HttpSvPath != null && this.HttpSvPort != null){ |
| | | System.out.println("@@@@@@$ O@@@@@@@@@ &@@@@@@@@ HttpSv [ip]:" + this.HttpSvPort + this.HttpSvPath) ; |
| | | }else{ |
| | |
| | | /////////////// |
| | | //鍩烘湰閰嶇疆 |
| | | ServerProperties.orgTag = this.conf.getSetAttrTxt(this.doc, "config.base", "orgTag", null, false, null) ; |
| | | if(ServerProperties.orgTag==null || ServerProperties.orgTag.trim().equals("")){ |
| | | if(ServerProperties.orgTag == null || ServerProperties.orgTag.trim().equals("")){ |
| | | throw new Exception("鏈烘瀯tag涓嶈兘涓虹┖") ; |
| | | } |
| | | this.orgTag = ServerProperties.orgTag ; |
| | | ServerProperties.isLowPower = conf.getSetAttrBoolean(doc, "config.base", "isLowPower", null, null) ; |
| | | if(ServerProperties.isLowPower == null){ |
| | | ServerProperties.isLowPower = false ; |