public HeartRateService() {

    bleService = new BLEService();

    minuteHeartRates = new ArrayList<HeartRateData>();
    bleService.setLis(this);
  }
 // 开始
 public void start() {
   bleService.work();
 }
 public void start() {
   BLEService.work();
 }
 // 设置每分钟的全部心率数据集合
 public void setHeartRates() {
   // 取得当前一分钟的全部的心率集合
   heartRates.addAll(BLEService.getHeartRates());
 }
 public HeartRateService() {
   BLEService.setLis(this);
 }