예제 #1
0
  public HeartRateService() {

    bleService = new BLEService();

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