Commit 80dcf5b204e1a84b98e25771fe0a93a96f49763d

Authored by 潘钊
1 parent af8ec3be

更新青浦配置文件

src/main/java/com/bsth/data/arrival/ArrivalData_GPS.java
@@ -51,7 +51,7 @@ public class ArrivalData_GPS implements CommandLineRunner{ @@ -51,7 +51,7 @@ public class ArrivalData_GPS implements CommandLineRunner{
51 @Override 51 @Override
52 public void run(String... arg0) throws Exception { 52 public void run(String... arg0) throws Exception {
53 logger.info("ArrivalData_GPS,30,10"); 53 logger.info("ArrivalData_GPS,30,10");
54 - Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 30, 10, TimeUnit.SECONDS); 54 + //Application.mainServices.scheduleWithFixedDelay(dataLoaderThread, 30, 10, TimeUnit.SECONDS);
55 } 55 }
56 56
57 @Component 57 @Component
src/main/java/com/bsth/data/gpsdata/GpsRealData.java
@@ -72,7 +72,7 @@ public class GpsRealData implements CommandLineRunner{ @@ -72,7 +72,7 @@ public class GpsRealData implements CommandLineRunner{
72 72
73 @Override 73 @Override
74 public void run(String... arg0) throws Exception { 74 public void run(String... arg0) throws Exception {
75 - Application.mainServices.scheduleWithFixedDelay(gpsDataLoader, 20, 6, TimeUnit.SECONDS); 75 + //Application.mainServices.scheduleWithFixedDelay(gpsDataLoader, 20, 6, TimeUnit.SECONDS);
76 } 76 }
77 77
78 public GpsEntity add(GpsEntity gps) { 78 public GpsEntity add(GpsEntity gps) {
src/main/resources/application-prod.properties
@@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy @@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy
8 spring.jpa.database= MYSQL 8 spring.jpa.database= MYSQL
9 spring.jpa.show-sql= true 9 spring.jpa.show-sql= true
10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver 10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver
11 -spring.datasource.url= jdbc:mysql://192.168.168.171:3306/control 11 +spring.datasource.url= jdbc:mysql://192.168.40.100:3306/qp_control
12 spring.datasource.username= root 12 spring.datasource.username= root
13 -spring.datasource.password= root2jsp 13 +spring.datasource.password= root@JSP2jsp
14 #DATASOURCE 14 #DATASOURCE
15 spring.datasource.max-active=100 15 spring.datasource.max-active=100
16 spring.datasource.max-idle=8 16 spring.datasource.max-idle=8
@@ -23,9 +23,7 @@ spring.datasource.test-on-return=true @@ -23,9 +23,7 @@ spring.datasource.test-on-return=true
23 spring.datasource.test-while-idle=true 23 spring.datasource.test-while-idle=true
24 spring.datasource.validation-query=select 1 24 spring.datasource.validation-query=select 1
25 25
26 -##  
27 -#222.66.0.204:5555  
28 ##\u5B9E\u65F6gps 26 ##\u5B9E\u65F6gps
29 -http.gps.real.url= http://192.168.168.171:8080/transport_server/rtgps/ 27 +http.gps.real.url= http://192.168.40.82:8080/transport_server/rtgps/
30 ##\u6D88\u606F\u4E0B\u53D1 28 ##\u6D88\u606F\u4E0B\u53D1
31 -http.send.directive = http://192.168.168.171:8080/transport_server/message/  
32 \ No newline at end of file 29 \ No newline at end of file
  30 +http.send.directive = http://192.168.40.82:8080/transport_server/message/
33 \ No newline at end of file 31 \ No newline at end of file
src/main/resources/ms-jdbc.properties
@@ -4,6 +4,6 @@ ms.mysql.username= root @@ -4,6 +4,6 @@ ms.mysql.username= root
4 ms.mysql.password= 123456 4 ms.mysql.password= 123456
5 5
6 #ms.mysql.driver= com.mysql.jdbc.Driver 6 #ms.mysql.driver= com.mysql.jdbc.Driver
7 -#ms.mysql.url= jdbc:mysql://192.168.168.171:3306/ms?useUnicode=true&characterEncoding=utf-8 7 +#ms.mysql.url= jdbc:mysql://192.168.40.82:3306/ms?useUnicode=true&characterEncoding=utf-8
8 #ms.mysql.username= root 8 #ms.mysql.username= root
9 -#ms.mysql.password= root2jsp  
10 \ No newline at end of file 9 \ No newline at end of file
  10 +#ms.mysql.password= 123456
11 \ No newline at end of file 11 \ No newline at end of file
src/main/resources/static/index.html
@@ -143,7 +143,7 @@ tr.row-active td { @@ -143,7 +143,7 @@ tr.row-active td {
143 <div class="page-header-inner "> 143 <div class="page-header-inner ">
144 <!-- LOGO --> 144 <!-- LOGO -->
145 <div class="page-logo"> 145 <div class="page-logo">
146 - <a href="index.html" class="logo-default logo-default-text" > 闵行公交调度系统 </a> 146 + <a href="index.html" class="logo-default logo-default-text" > 青浦公交调度系统 </a>
147 <div class="menu-toggler sidebar-toggler"> 147 <div class="menu-toggler sidebar-toggler">
148 </div> 148 </div>
149 </div> 149 </div>
src/main/resources/static/login.html
@@ -180,7 +180,7 @@ h3.logo-text{ @@ -180,7 +180,7 @@ h3.logo-text{
180 <div class="wrapper ng-scope"> 180 <div class="wrapper ng-scope">
181 <div id="loginPanel" class="dialog dialog-shadow"> 181 <div id="loginPanel" class="dialog dialog-shadow">
182 <br> 182 <br>
183 - <h3 class="logo-text">闵行公交调度系统 </h3> 183 + <h3 class="logo-text">青浦公交调度系统 </h3>
184 <hr> 184 <hr>
185 <form style="padding: 0px 35px;"> 185 <form style="padding: 0px 35px;">
186 <div class="form-group" style="margin-bottom: 0"> 186 <div class="form-group" style="margin-bottom: 0">
src/main/resources/static/pages/control/line/index.html
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <div class="portlet-title banner" > 18 <div class="portlet-title banner" >
19 <div class="caption col_hide_1280" style="color: #FFF;"> 19 <div class="caption col_hide_1280" style="color: #FFF;">
20 <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span 20 <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span
21 - class="caption-subject bold" style="font-size: 24px;">闵行公交线路调度系统</span> 21 + class="caption-subject bold" style="font-size: 24px;">青浦公交线路调度系统</span>
22 </div> 22 </div>
23 <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;"> 23 <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;">
24 <span class="top_username"></span> <span class="operation_mode_text animated" ></span> 24 <span class="top_username"></span> <span class="operation_mode_text animated" ></span>
src/main/resources/static/real_control_v2/main.html
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 <div class="uk-width-4-10"> 37 <div class="uk-width-4-10">
38 <div class="uk-panel"> 38 <div class="uk-panel">
39 <h2 class="north-logo"> 39 <h2 class="north-logo">
40 - <i class="uk-icon-life-ring"></i> 闵行公交线路调度 40 + <i class="uk-icon-life-ring"></i> 青浦公交线路调度
41 </h2> 41 </h2>
42 </div> 42 </div>
43 </div> 43 </div>