|
@@ -50,7 +50,7 @@ public class VIPElecCarMainScreen extends WpadScreen {
|
|
WpadImageView BG;
|
|
WpadImageView BG;
|
|
WpadImageView ELEC_CAR_1;
|
|
WpadImageView ELEC_CAR_1;
|
|
WpadImageView ELEC_CAR_2;
|
|
WpadImageView ELEC_CAR_2;
|
|
- WpadImageView ELEC_CHARGER[] = new WpadImageView[2];
|
|
|
|
|
|
+ WpadImageView ELEC_CHARGER[] = new WpadImageView[2];
|
|
|
|
|
|
public static int CurrentIndex = 0;
|
|
public static int CurrentIndex = 0;
|
|
|
|
|
|
@@ -483,14 +483,19 @@ public class VIPElecCarMainScreen extends WpadScreen {
|
|
}
|
|
}
|
|
|
|
|
|
void MakeContent() {
|
|
void MakeContent() {
|
|
- if (m_SampleMode == Common.MODE_BUSINESS_SAMPLE) {
|
|
|
|
- LoadSampleData_Page1();
|
|
|
|
- MakeContentPage1_Image();
|
|
|
|
- LoadSampleData_Page3();
|
|
|
|
- MakeContentPage3_Image();
|
|
|
|
- } else {
|
|
|
|
- LoadDataFromServerCharging();
|
|
|
|
- LoadDataFromServerCharger();
|
|
|
|
|
|
+ try {
|
|
|
|
+ if (m_SampleMode == Common.MODE_BUSINESS_SAMPLE) {
|
|
|
|
+ LoadSampleData_Page1();
|
|
|
|
+ MakeContentPage1_Image();
|
|
|
|
+ LoadSampleData_Page3();
|
|
|
|
+ MakeContentPage3_Image();
|
|
|
|
+ } else {
|
|
|
|
+ LoadDataFromServerCharging();
|
|
|
|
+ //Thread.sleep(10000);
|
|
|
|
+ LoadDataFromServerCharger();
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ e.printStackTrace();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|