private void lock() {
    if (over5sec) {
      over5sec = false;

      Map<String, String> params = new HashMap<String, String>();
      params.put("token", AnjukeApp.getToken());
      params.put("device_id", device_id);
      params.put("broker_id", AnjukeApp.getBrokerId());
      MyJsonRequest<CLockResponse> mRequest =
          new MyJsonRequest<CLockResponse>(
              ApiUrls.CLOCK,
              params,
              CLockResponse.class,
              createLockResponseListener(),
              createStatusErrorListener());
      MyVolley.addtoRequestQueue(mRequest, this.getClass().getSimpleName());

      new Timer()
          .schedule(
              new TimerTask() {
                @Override
                public void run() {
                  over5sec = true;
                }
              },
              5000);

    } else {
      dialog.setText("");
      dialog.isShowText(false);
      dialog.setTipText("请稍候再试");
      dialog.setImg(R.drawable.anjuke_icon_tips_sad);
    }
  }
 // API-list-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 private void loadData() {
   mDynamicBox.showLoadingLayout();
   Map<String, String> params = new HashMap<String, String>();
   params.put("token", AnjukeApp.getToken());
   params.put("device_id", device_id);
   params.put("broker_id", AnjukeApp.getBrokerId());
   MyJsonRequest<CDetailResponse> mRequest =
       new MyJsonRequest<CDetailResponse>(
           ApiUrls.CDETAIL,
           params,
           CDetailResponse.class,
           createResponseListener(),
           createErrorListener());
   MyVolley.addtoRequestQueue(mRequest, this.getClass().getSimpleName());
 }
 // API-status-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 private void checkStatus() {
   if (dialog.isReShow()) {
     return;
   }
   dialog.reShow();
   Map<String, String> params = new HashMap<String, String>();
   params.put("token", AnjukeApp.getToken());
   params.put("device_id", device_id);
   params.put("broker_id", AnjukeApp.getBrokerId());
   MyJsonRequest<StatusResponse> mRequest =
       new MyJsonRequest<StatusResponse>(
           ApiUrls.CHECKSTATUS,
           params,
           StatusResponse.class,
           createStatusResponseListener(),
           createStatusErrorListener());
   MyVolley.addtoRequestQueue(mRequest, this.getClass().getSimpleName());
 }