using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VOL.Model.IOT.Request { /// /// 课堂训练信息 /// public class TankingDataParam { /// ///班级Id /// public int tc_id { get; set; } /// ///老师Id /// public int u_id { get; set; } /// /// /// public string sid { get; set; } /// /// /// public int gid { get; set; } /// /// /// public int sports_id { get; set; } /// /// /// public int project_id { get; set; } /// /// /// public int curPage { get; set; } /// /// /// public int pageNum { get; set; } /// /// /// public int dataType { get; set; } /// /// 项目类型 /// public int type { get; set; } /// /// 开始时间 /// public string insertDataTime { get; set; } /// /// 开始时间 /// public string insertTime { get; set; } /// /// 结束时间 /// public string endTime { get; set; } /// /// 参与人数 /// public int totalNumber { get; set; } /// /// 总轮次 /// public int totalGroup { get; set; } /// /// 训练类型 /// public int trainType { get; set; } /// /// 模式类型 /// public int modeType { get; set; } /// /// 模式名称 /// public string modelName { get; set; } /// /// 限时 /// public int limitTime { get; set; } /// /// 限数 /// public int limitNumber { get; set; } /// /// 年级编号 /// public int grade { get; set; } /// /// 训练成绩[1:优秀,2:良好,3:及格,4:不及格] /// 心率项目[1:达标,2:未达标] /// public int classScore { get; set; } /// /// 男孩优秀的评分标准 /// public string boyLevelHigh { get; set; } /// /// 男孩良好的评分标准 /// public string boyLevelMiddle { get; set; } /// /// 男孩及格的评分标准 /// public string boyLevelLow { get; set; } /// /// 女孩优秀的评分标准 /// public string girlLevelHigh { get; set; } /// /// 女孩良好的评分标准 /// public string girlLevelMiddle { get; set; } /// /// 女孩及格的评分标准 /// public string girlLevelLow { get; set; } /// /// 数据集合 /// public string Data { get; set; } } /// /// 训练数据对象 /// public class JsonClassTrainListEntity { /// /// 班级名称 /// public string className { get; set; } /// /// 班级人数 /// public string classNum { get; set; } /// /// 开始日期 /// public string classDate { get; set; } /// /// 开始时间 /// public string classTime { get; set; } /// /// 训练倒计时时间 (1, 2 分钟) /// public int trainingTime { get; set; } /// /// 当前模式类型 (1: 倒计时,2: 正向计数,3: 限时限数) /// public int modelType { get; set; } /// /// 正向计数总共使用时间 (秒) /// public int trainTimer { get; set; } /// /// 限时限数总耗时 /// public int totalTime { get; set; } /// /// 总个数 (协调项目:所有学生总个数) /// public string classTotal { get; set; } /// /// 平均kcal (协调项目:所有学生总个数) /// public string classAvgKcal { get; set; } /// /// 平均数 /// public string classNumAvg { get; set; } /// /// 中位数 /// public string classMedian { get; set; } /// /// 最大数 /// public string classMaxNum { get; set; } /// /// 最小数 /// public string classMinNum { get; set; } /// /// 优秀人数 (心率的达标人数) /// public int classHightPer { get; set; } /// /// 良好 /// public int classWellNum { get; set; } /// /// 合格 /// public int classLowNum { get; set; } /// /// 总轮次 /// public int totalRound { get; set; } /// /// 自由模式设置 距离所需时间 (算合格) /// public float distanceUseTime { get; set; } /// /// 自由模式 设置跑步距离 /// public int distance { get; set; } /// /// 学生名称 /// public string stuName { get; set; } /// /// 速度 (个/s) /// public string speed { get; set; } /// /// 时间平均数 /// public string classAvgTime { get; set; } /// /// 时间中位数 /// public int classTimeMedian { get; set; } /// /// 男生平均 /// public string avgNumMan { get; set; } = ""; /// /// 男生最大值 /// public string maxNumMan { get; set; } = ""; /// /// 男生最小值 /// public string minNumMan { get; set; } = ""; /// /// 男生中位数 /// public string medianNumMan { get; set; } = ""; /// /// 女生平均 /// public string avgNumWom { get; set; } = ""; /// /// 女生最大值 /// public string maxNumWom { get; set; } = ""; /// /// 女生最小值 /// public string minNumWom { get; set; } = ""; /// /// 女生中位数 /// public string medianNumWom { get; set; } = ""; /// /// 握力效率大值 /// public string maxEff { get; set; } /// /// 握力效率最小值 /// public string minEff { get; set; } /// /// 握力效率平均值 /// public string avgEff { get; set; } /// /// 限时限数班级中最小用时 /// public int minUseTime { get; set; } /// /// 限时限数班级中最大用时 /// public int maxUseTime { get; set; } /// /// 跳绳等级高低1 /// public int level1 { get; set; } = 0; /// /// 跳绳等级高低2 /// public int level2 { get; set; } = 0; /// /// 跳绳等级高低3 /// public int level3 { get; set; } = 0; /// /// 跳绳等级高低4 /// public int level4 { get; set; } = 0; /// /// 跳绳等级高低5 /// public int level5 { get; set; } = 0; /// /// 跳绳等级高低6 /// public int level6 { get; set; } = 0; /// /// 跳绳等级高低7 /// public int level7 { get; set; } = 0; /// /// 跳绳等级高低8 /// public int level8 { get; set; } = 0; /// /// 跳绳等级高低9 /// public int level9 { get; set; } = 0; /// /// 跳绳等级高低10 /// public int level10 { get; set; } = 0; /// /// 限制时间 /// //public float? limitTime { get; set; } /// /// 握力红队KO时间 /// public List koTimeR { get; set; } /// /// 握力黄队KO时间 /// public List koTimeY { get; set; } /// /// 握力红队总握力 /// public List totalR { get; set; } /// /// 握力黄队总握力 /// public List totalY { get; set; } /// /// 班级列表报告 /// public List trainGroupList { get; set; } /// /// 排名列表 /// public List tankingList { get; set; } /// /// 心率达标率 (对应app班级达标率) /// public int? classCompletionRate { get; set; } } /// /// 班级列表报告 /// public class TrainGroupListEntity { /// /// 组名 /// public string groupName { get; set; } /// /// 设备名称 /// public string devicesName { get; set; } /// /// 总数 /// public int groupTotalNum { get; set; } /// /// 平均 /// public string groupAvg { get; set; } /// /// 中位数 /// public int groupMedianNum { get; set; } /// /// 最大 /// public int groupMax { get; set; } /// /// 最小 /// public int groupMin { get; set; } /// /// 平均卡路里 /// public string groupAvgKcal { get; set; } /// /// 每秒个数 /// public string groupSpeed { get; set; } /// /// 优秀 /// public int groupHigh { get; set; } /// /// 良好 /// public int groupM { get; set; } /// /// 合格 /// public int groupLow { get; set; } /// /// 限时限数完成总时间 / 红黄捏捏蛋对决 KO 时间 /// public int groupUseTime { get; set; } /// /// 时间平均数 /// public double groupAvgTime { get; set; } /// /// 时间中位数 /// public int groupTimeMedian { get; set; } /// /// 平均速度 /// public float secondsNumber { get; set; } /// /// 学生名称 (在随堂测试有效) /// public string stuName { get; set; } /// /// true A组, false B组 /// public bool isGroup { get; set; } = true; /// /// 限时限数班级中最小用时 /// public int minUseTime { get; set; } /// /// 限时限数班级中最大用时 /// public int maxUseTime { get; set; } /// /// 等级高低1 /// public int level1 { get; set; } = 0; /// /// 等级高低2 /// public int level2 { get; set; } = 0; /// /// 等级高低3 /// public int level3 { get; set; } = 0; /// /// 等级高低4 /// public int level4 { get; set; } = 0; /// /// 等级高低5 /// public int level5 { get; set; } = 0; /// /// 等级高低6 /// public int level6 { get; set; } = 0; /// /// 等级高低7 /// public int level7 { get; set; } = 0; /// /// 等级高低8 /// public int level8 { get; set; } = 0; /// /// 等级高低9 /// public int level9 { get; set; } = 0; /// /// 等级高低10 /// public int level10 { get; set; } = 0; /// /// 自由训练距离完成人数 /// public int groupSpeedCompleteNum { get; set; } /// /// 百分比 /// public int groupSpeedCompletePre { get; set; } /// /// 自由训练总时间 /// public float groupSpeedTotalTime { get; set; } /// /// 自由训练平均时间 /// public float groupSpeedAvgTime { get; set; } /// /// 自由训练中位数时间 /// public float groupSpeedMedianTime { get; set; } /// /// 自由训练最小时间 /// public float groupSpeedMinTime { get; set; } /// /// 自由训练最大时间 /// public float groupSpeedMaxime { get; set; } /// /// 握力效率最大值 /// public string maxEff { get; set; } /// /// 握力效率最小值 /// public string minEff { get; set; } /// /// 握力效率平均值 /// public string avgEff { get; set; } /// /// 学生详情信息列表 /// public List stuList { get; set; } } /// /// 排名列表 /// public class TrainRankingListEntity { /// /// 学号 = studentId /// public string uc_id { get; set; } /// /// 名次 /// public int? ranking { get; set; } /// /// 长跑次数数组 /// public long[] longRunNum { get; set; } /// /// 学号 /// public string studentId { get; set; } /// /// 排名的名称 /// public string name { get; set; } /// /// 协调项目:完成个数 (心率的平均心率) /// public int jumpValue { get; set; } /// /// 组名 /// public string groupId { get; set; } /// /// 协调项目:卡路里 (心率的能耗) /// public string kcal { get; set; } /// /// 结果等级:1=及格,2=良好,3=优秀 /// public int resultLevel { get; set; } /// /// 协调项目:每秒/个 ---- 速度项目:每秒/米 /// public float secondsNumber { get; set; } /// /// 速度项目:用时 ---- 平衡项目:分数 ------ 敏捷:平均反应时间 (心率的是否达标) /// public float speedTime { get; set; } /// /// 敏捷项目:错误个数 /// public int errorNumber { get; set; } /// /// 敏捷项目:正确个数 /// public int stuAgileSpeedTimeNumber { get; set; } /// /// 力量效率 /// public float efficiency { get; set; } /// /// 性别:0=男士, 1=女生 /// public string gender { get; set; } = "0"; /// /// 每个人总的握力 /// public float powerTotal { get; set; } /// /// 每个人最大握力 /// public float powerMax { get; set; } /// /// 平衡最大值 /// public int balanceMaxNumber { get; set; } /// /// 设备名称 /// public string devicesName { get; set; } /// /// 使用时间,限时限数最短 /// public int useTime { get; set; } /// /// 队伍:黄队 = true, 红队 = false /// public bool isGroup { get; set; } /// /// 第几轮 /// public int studentRound { get; set; } /// /// 对应的训练ID /// public int trainid { get; set; } /// /// 项目类型 /// public int type { get; set; } /// /// 学校ID /// public int? s_id { get; set; } /// /// 班级ID /// public int tc_id { get; set; } /// /// 班级名称 /// public string tc_name { get; set; } /// /// 用户ID /// public int u_id { get; set; } /// /// 倒计时限时限数 /// public int modeType { get; set; } /// /// 训练类型 /// public int trainType { get; set; } /// /// 插入时间 /// public string insertTime { get; set; } /// /// 结束时间 /// public string endTime { get; set; } /// /// 年级编号 /// public int grade { get; set; } /// /// 年级名称 /// public string gradeName { get; set; } /// /// 是否晋级 (0 = 否) /// public int is_promoted { get; set; } = 0; /** 针对学生心率新增的字段 **/ /// /// 年级总人数 /// public int? gradeNumer { get; set; } /// /// 年级达标次数 /// public int? gradeStandardNumer { get; set; } /// /// 心率强度百分比 /// public int? heartRatePercentage { get; set; } /// /// 最高心率 /// public int? highHeartRate { get; set; } /// /// 最低心率 /// public int? lowHeartRate { get; set; } } /// /// 学生训练详细数据 /// public class StuDetailInfoEntity { /// /// 组排名 /// public int GroupRanking { get; set; } /// /// 组编号 /// public string GroupNumber { get; set; } /// /// 总数 /// public int TotalNumber { get; set; } /// /// 速度时间 /// public double SpeedTime { get; set; } /// /// 速度 /// public double Speed { get; set; } /// /// 卡路里 /// public string Kcal { get; set; } /// /// 班级排名 /// public int ClassRanking { get; set; } /// /// 等级 /// public int Level { get; set; } /// /// 使用时间 /// public int UseTime { get; set; } /// /// 是否是组 /// public bool IsGroup { get; set; } /// /// 最大握力 /// public double PowerMax { get; set; } /// /// 总握力 /// public double PowerTotal { get; set; } /// /// 效率 /// public double Efficiency { get; set; } } }