Skip to content

Latest commit

 

History

History
297 lines (227 loc) · 5.89 KB

报表数据字段说明.md

File metadata and controls

297 lines (227 loc) · 5.89 KB

UploadReportEntity:

属性 类型 说明
data Data? 生物基础数据&生理基础数据

Data

参数 类型 说明
affective Affective 生理基础数据
biodata Biodata 生物基础数据

Affective

属性 类型 说明
arousal Arousal
attention Attention
coherence Coherence
pleasure Pleasure
pressure Pressure
relaxation Relaxation
meditation Meditation
sleep Sleep

Arousal

data class Arousal(
        /**
         * 全程激活度有效值(除去无效值0)的均值
         * */
        val arousal_avg: Int,
        /**
         * 全程激活度记录
         * */
        val arousal_rec: Any
)

Attention

data class Attention(
    /**
     * 全程注意力有效值(除去无效值0)的均值
     * */
    @SerializedName("attention_avg")
    val attentionAvg: Double,
    /**
     * 全程注意力记录
     * */
    @SerializedName("attention_rec")
    val attentionRec: List<Double>
)

Coherence

data class Coherence(
    /**
     * 全程和谐度有效值(除去无效值0)的均值
     * */
    @SerializedName("coherence_avg")
    val coherenceAvg: Double,
    @SerializedName("coherence_duration")
    val coherenceDuration: Int?,
    @SerializedName("coherence_flag")
    val coherenceFlag: List<Int>?,
    /**
     * 全程和谐度记录
     * */
    @SerializedName("coherence_rec")
    val coherenceRec: List<Double>
)

Pleasure

data class Pleasure(
        /**
         * 全程愉悦度有效值(除去无效值0)的均值
         * */

        val pleasureAvg: Double,
        /**
         * 全程压力水平记录
         * */

        val pleasureRec: List<Double>
)

Pressure

data class Pressure(

        val pressureAvg: Double,

        val pressureRec: List<Double>
)

Relaxation

data class Relaxation(
        /**
         * 全程放松度有效值(除去无效值0)的均值
         * */

        val relaxationAvg: Double,
        /**
         * 全程放松度记录
         * */

        val relaxationRec: List<Double>
)

Meditation

data class Meditation(

        val meditationAvg: Double,

        val meditationRec: List<Double>,

        val meditationTipsRec: List<Int>,

        val flowPercent: Double,

        val flowDuration: Int,

        val flowLatency: Int,

        val flowCombo: Int,

        val flowDepth: Double,

        val flowBackNum: Int,

        val flowLossNum: Int,
        )

Sleep

data class Sleep(
    /**
     * 睡眠曲线,反映整个体验过程的睡眠情况。睡眠曲线的值越高表明越接近清醒,曲线值越低表明越接近深睡。
     * */
    val sleepCurve: ArrayList<Double> = ArrayList(),
    /**
     * 入睡点时间索引,即入睡时刻在睡眠曲线上的时间轴坐标。数值范围[0, +∞),0表示无效值
     * */
    val sleepPoint: Int = 0,
    /**
     * 入睡用时,单位:秒
     * */
    val sleepLatency: Int = 0,
    /**
     * 清醒时长,单位:秒
     * */
    val awakeDuration: Int = 0,
    /**
     * 浅睡时长,单位:秒
     * */
    val lightDuration: Int = 0,
    /**
     * 深睡时长,单位:秒
     * */
    val deepDuration: Int = 0,
    /**
     * 快速眼动时长
     */
    var remDuration: Int = 0,
    /**
     * 运动次数
     */
    var movementCount: Int = 0,
    /**
     * 惊醒次数
     */
    var arousalCount: Int = 0,
    /**
     * 容差
     */
    var disturbTolerance: Double = 0.0,

    val sleepEegAlphaCurve: List<Double> = ArrayList(),

    val sleepEegBetaCurve: List<Double> =
        ArrayList(),

    val sleepEegThetaCurve: List<Double> =
        ArrayList(),

    val sleepEegDeltaCurve: List<Double> =
        ArrayList(),

    val sleepEegGammaCurve: List<Double> =
        ArrayList(),

    val sleepEegQualityRec: List<Int> =
        ArrayList(),

    val sleepMovementRec: List<Int> =
        ArrayList(),

    val sleepArousalRec: List<Int> = ArrayList()
)

Biodata

属性 类型 说明
data Sceeg 生物基础数据&生理基础数据
eeg Eeg
hr HrV2
pepr PEPR?

Sceeg

data class Sceeg(
    val sceegAlphaCurve: List<Double>,
    val scegBetaCurve: List<Double>,
    val sceegDeltaCurve: List<Double>,
    val sceegGammaCurve: List<Double>,
    val sceegThetaCurve: List<Double>,
    val sceegQualityRec: List<Int>
)

Eeg

data class Eeg(

        val eegAlphaCurve: List<Double>,

        val eegBetaCurve: List<Double>,

        val eegDeltaCurve: List<Double>,

        val eegGammaCurve: List<Double>,

        val eegThetaCurve: List<Double>,

        val eegQualityRec: List<Int>
)

HrV2

data class HrV2(

        val hrAvg: Double?,

        val hrMax: Int?,

        val hrMin: Int?,

        val hrRec: List<Int>,

        val hrvAvg: Double?,

        val hrvRec: List<Double>
)

PEPR

属性 类型 说明
hrAvg Int
hrMax Int
hrMin Int
hrRec List<Int>
hrvAvg Double
hrvRec List<Double>
rrAvg Double
rrRec List<Double>
bcgQualityRec List<Int>
rwQualityRec List<Int>