|
@@ -49,8 +49,8 @@ public class CarInfoMainScreen extends WpadScreen {
|
|
|
String TAG = "CarInfoMainScreen";
|
|
|
|
|
|
private final String PARKING_DOWN_PATH = "sdcard/";
|
|
|
- private final String CAR_LOC_IP = "http://10.0.1.1:8080/Parking/";
|
|
|
- private final String CAR_LOC_IP_8081 = "http://10.0.1.1:8081/Parking/";
|
|
|
+ private String CAR_LOC_IP = "http://10.0.1.1:8080/Parking/";
|
|
|
+ private String CAR_LOC_IP_8081 = "http://10.0.1.1:8081/Parking/";
|
|
|
|
|
|
private int m_SampleMode = Common.MODE;
|
|
|
|
|
@@ -198,6 +198,15 @@ public class CarInfoMainScreen extends WpadScreen {
|
|
|
filter.addAction(Common.NOTIFY_CAR);
|
|
|
this.getContext().registerReceiver(m_EventNotiUpdateBR, filter);
|
|
|
|
|
|
+ //jglee - 2024.11.01 단지서버2.1 쓰면 아래 적용
|
|
|
+ WallpadDeviceSet wallpadDeviceSet = new WallpadDeviceSet(this.getContext());
|
|
|
+ int danjiserverType = wallpadDeviceSet.GetNewDanjiServer();
|
|
|
+ if(danjiserverType == define.DanjiServerBlended)
|
|
|
+ {
|
|
|
+ CAR_LOC_IP = "http://10.0.2.1:8080/Parking/";
|
|
|
+ CAR_LOC_IP_8081 = "http://10.0.2.1:8081/Parking/";
|
|
|
+ }
|
|
|
+
|
|
|
// 주차정보를 요청한다.
|
|
|
Common.SendCarParkingBR(this.getContext());
|
|
|
|