iOS AILinkBleSDK - 蓝牙SDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ELSkipBleDataModel.h 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // ELSkipBleDataModel.h
  3. // AILinkBleSDK
  4. //
  5. // Created by cliCk on 2021/6/17.
  6. // Copyright © 2021 IOT. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "ELSkipBleHeader.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. /** 跳绳基础的数据模型 */
  12. @interface ELSkipBleDataModel : NSObject
  13. /** 模式 */
  14. @property (nonatomic, assign) enum Skip_UseModeType modeType;
  15. /** 倒计时跳绳或倒计数跳绳模式下的倒计时或倒计数 */
  16. @property (nonatomic, assign) NSUInteger countdownNum;
  17. /** 运动时间 */
  18. @property (nonatomic, assign) NSUInteger sportTime;
  19. /** 跳绳个数 */
  20. @property (nonatomic, assign) NSUInteger sportNum;
  21. @end
  22. /** 绊绳数据对象模型 */
  23. @interface ELSkipBleTripRopeModel : NSObject
  24. /** 本次连跳的累计时间 */
  25. @property (nonatomic, assign) long long tripTime;
  26. /** 本次连跳的累计个数 */
  27. @property (nonatomic, assign) NSUInteger tripJump;
  28. @end
  29. /** 跳绳记录数据模型 */
  30. @interface ELSkipHistoryDataModel : NSObject
  31. /** 开始时间戳 */
  32. @property (nonatomic, assign) long long startTime;
  33. /** 跳绳基础数据模型 */
  34. @property (nonatomic, strong) ELSkipBleDataModel *dataModel;
  35. /** 平均频次(次/分) */
  36. @property (nonatomic, assign) NSUInteger avgRate;
  37. /** 最快频次(次/分) */
  38. @property (nonatomic, assign) NSUInteger maxRate;
  39. /** 绊绳数据列表 */
  40. @property (nonatomic, copy) NSArray<ELSkipBleTripRopeModel *> *tripRopeList;
  41. @end
  42. NS_ASSUME_NONNULL_END