Class ParmsModel

java.lang.Object
com.yasee.yasee.core.models.ParmsModel

public final class ParmsModel extends Object
参数模型 (需要传递的参数模型)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
     
    历史数据操作 获取: (步数 0, 睡眠 1,心率 2, 血压 3, 血氧 呼吸率 hrv 温度 血糖 4, 运动模式历史数据 5,后台提醒记录数据 6 (这些暂不支持,为以后扩展用的:血氧0x051A, 温湿度0x051C, 体温0x051E, 环境光0x0520, 手环脱落记录0x0529)) 删除: 运动,Constants.DATATYPE.Health_DeleteSport - 10 睡眠,Constants.DATATYPE.Health_DeleteSleep - 11 心率,Constants.DATATYPE.Health_DeleteHeart - 12 血压,Constants.DATATYPE.Health_DeleteBlood - 13 组合数据,Constants.DATATYPE.Health_DeleteAll - 14 血脂、尿酸,Constants.DATATYPE.Health_DeleteComprehensiveMeasureData - 15
    int
    单位设置 (不需要的设置项置 0)
    int
    语言设置
    ECG心电 左右手、开始、结束、
    int
     
    int
     
    long
    毫秒 时间戳 - 同步时间
    int
     
    int
     
    boolean
    温度报警
    int
     
    int
     
    int
     
    int
    温度校准
    int
    测量控制 (onOff-开关、testType-测试类型、time-时间间隔) testType 0x00心率,0x01血压,0x02血氧,0x03呼吸率,0x04体温,0x05血糖,0x06尿酸,0x07血酮, 0x08 EDA,0x09:血脂,0x0A:HRV,0x0B:PPG,(小于 0x70 同步 ID=0x03,KEY=0x2F,0x70临床模式
    int
     
    int
     
    int
     
    int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    根据 yc 类型 返回 dataType
    根据 dataType 返回 yc 类型

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • time

      public int time
    • millis

      public long millis
      毫秒 时间戳 - 同步时间
    • distanceUnit

      public int distanceUnit
      单位设置 (不需要的设置项置 0)
    • weightUnit

      public int weightUnit
    • temperatureUnit

      public int temperatureUnit
    • timeFormat

      public int timeFormat
    • bloodSugarUnit

      public int bloodSugarUnit
    • uricAcidUnit

      public int uricAcidUnit
    • langType

      public int langType
      语言设置
    • on_off

      public boolean on_off
      温度报警
    • temp

      public int temp
    • maxTempInteger

      public int maxTempInteger
    • minTempInteger

      public int minTempInteger
    • maxTempFloat

      public int maxTempFloat
    • minTempFloat

      public int minTempFloat
    • tempInt

      public int tempInt
      温度校准
    • tempFloat

      public int tempFloat
    • testType

      public int testType
      测量控制 (onOff-开关、testType-测试类型、time-时间间隔) testType 0x00心率,0x01血压,0x02血氧,0x03呼吸率,0x04体温,0x05血糖,0x06尿酸,0x07血酮, 0x08 EDA,0x09:血脂,0x0A:HRV,0x0B:PPG,(小于 0x70 同步 ID=0x03,KEY=0x2F,0x70临床模式
    • dataType

      public Integer dataType
      历史数据操作 获取: (步数 0, 睡眠 1,心率 2, 血压 3, 血氧 呼吸率 hrv 温度 血糖 4, 运动模式历史数据 5,后台提醒记录数据 6 (这些暂不支持,为以后扩展用的:血氧0x051A, 温湿度0x051C, 体温0x051E, 环境光0x0520, 手环脱落记录0x0529)) 删除: 运动,Constants.DATATYPE.Health_DeleteSport - 10 睡眠,Constants.DATATYPE.Health_DeleteSleep - 11 心率,Constants.DATATYPE.Health_DeleteHeart - 12 血压,Constants.DATATYPE.Health_DeleteBlood - 13 组合数据,Constants.DATATYPE.Health_DeleteAll - 14 血脂、尿酸,Constants.DATATYPE.Health_DeleteComprehensiveMeasureData - 15
    • leftOrRight

      public Integer leftOrRight
      ECG心电 左右手、开始、结束、
  • Constructor Details

    • ParmsModel

      public ParmsModel()
  • Method Details

    • getDataType

      public Integer getDataType()
      根据 yc 类型 返回 dataType
    • reGetDataType

      public Integer reGetDataType(Integer dt)
      根据 dataType 返回 yc 类型