Commit df666cc76237476c91ab4a87f9689f0860fa3efb

Authored by 杨帅
1 parent ff29c54f

1.修改报名页面相关逻辑

moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/frame/presenter/CollRunningMapFragmentPresenter.java
@@ -479,6 +479,8 @@ public class CollRunningMapFragmentPresenter extends MvpBasePresenter<CollRunnin @@ -479,6 +479,8 @@ public class CollRunningMapFragmentPresenter extends MvpBasePresenter<CollRunnin
479 // } 479 // }
480 // } 480 // }
481 481
  482 +
  483 +
482 FenceListRequest request = FenceListRequest.buildServerRequest(Constant.TAG, Constant.SERVICE_ID, "yangshuai", null, CoordType.gcj02); 484 FenceListRequest request = FenceListRequest.buildServerRequest(Constant.TAG, Constant.SERVICE_ID, "yangshuai", null, CoordType.gcj02);
483 485
484 //发起查询围栏请求 486 //发起查询围栏请求
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/model/Constant.java
@@ -3,8 +3,8 @@ package com.cnlive.moudle.pedometer.model; @@ -3,8 +3,8 @@ package com.cnlive.moudle.pedometer.model;
3 public class Constant { 3 public class Constant {
4 public static final long SERVICE_ID = 213511; 4 public static final long SERVICE_ID = 213511;
5 public static final int TAG = 1; 5 public static final int TAG = 1;
6 - public static final int GATHER_INTERVAL=3;//位置采集周期  
7 - public static final int PACK_INTERVAL =10;//位置采集周期 6 + public static final int GATHER_INTERVAL = 3;//位置采集周期
  7 + public static final int PACK_INTERVAL = 10;//位置采集周期
8 8
9 public static final int SERVICE_STEP_COUNT_UPDATE = 0;//步数更新 9 public static final int SERVICE_STEP_COUNT_UPDATE = 0;//步数更新
10 public static final int SERVICE_STEP_COUNT_PAUSE = 1;//步数暂停 10 public static final int SERVICE_STEP_COUNT_PAUSE = 1;//步数暂停
@@ -17,5 +17,6 @@ public class Constant { @@ -17,5 +17,6 @@ public class Constant {
17 public static final int COLL_START_TRACE_GATHER_FAIL = 8;//启动轨迹服务失败(运营) 17 public static final int COLL_START_TRACE_GATHER_FAIL = 8;//启动轨迹服务失败(运营)
18 public static final int START_TRACE_GATHER_SUCCESS = 9;//启动轨迹服务成功(用户) 18 public static final int START_TRACE_GATHER_SUCCESS = 9;//启动轨迹服务成功(用户)
19 public static final int START_TRACE_GATHER_FAIL = 10;//启动轨迹服务失败(用户) 19 public static final int START_TRACE_GATHER_FAIL = 10;//启动轨迹服务失败(用户)
  20 + public static final int REGISTRATION_SUCCESS = 11;//用户报名成功
20 21
21 } 22 }