using System; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace TEAMModelOS.SDK.Models { /// /// 课堂记录简要信息。 /// public class VRARLessonRecord : CosmosEntity { /// ///必填 教师醍摩豆id /// public string tmdid { get; set; } /// /// 教师醍摩豆id名称 /// public string tmdname { get; set; } /// /// 教师醍摩豆id名称 /// public string tmdpicture { get; set; } /// ///必填 课堂名称 /// public string name { get; set; } /// ///必填 scope==school必填 | string | 学校id /// public string school { get; set; } /// ///必填 private/school| /// public string scope { get; set; } /// ///选填 视频封面地址 /// public string poster { get; set; } /// ///必填 开始时间(时间戳) 1606393763434 /// public long startTime { get; set; } /// ///必填 上课时长,最后更新 /// public double duration { get; set; } /// ///选填 t分,科技应用 ,最后更新 /// public int tScore { get; set; } /// ///选填 p分,教法应用 ,最后更新 /// public int pScore { get; set; } /// ///选填 t灯,科技应用 0红灯,1 黄灯,2绿灯 /// public int tLevel { get; set; } = -1; /// ///选填 p灯,教法应用 0红灯,1 黄灯,2绿灯 /// public int pLevel { get; set; } = -1; /// ///选填 选用IES5的课程id /// public string courseId { get; set; } /// /// 选填 课程名称 是因支持VR/AR那边课例 /// public string courseName { get; set; } /// ///选填 选用IES5固定名单的id /// public List groupIds { get; set; } = new List(); public List groupNames { get; set; } = new List(); /// ///选填 学生人数 ,最后更新 /// public int mCount { get; set; } /// ///选填 议课次数,大于1则是优课,苏格拉底获取 /// public int discuss { get; set; } /// ///选填 科技互动次数, /// public int techCount { get; set; } /// /// 学 不填 段id,由课程或者名单获取 /// public string periodId { get; set; } /// /// 选填 学段名称 是因支持VR/AR那边课例 /// public string periodName { get; set; } /// /// 不填 科目id,由课程id获取 /// public string subjectId { get; set; } /// /// 选填 科目名称 是因支持VR/AR那边课例 /// public string subjecName { get; set; } /// /// 不填 年级id,由名单id获取 /// public List grade { get; set; } = new List(); public List gradeName { get; set; } = new List(); /// /// 不填 ["混合学习","语文教研"]课例类别,tag标签,IES5维护 /// public List category { get; set; } = new List(); /// /// 0 是否包含视频,1包含视频 /// public int hasVideo { get; set; }=0; public int status { get; set; } = 0; /// /// 出席人数 /// public int attendCount { get; set; } = 0; /// /// 总人数 /// public int clientCount { get; set; } = 0; /// ///出席率 /// public double attendRate { get; set; } = 0; /// /// 小组数 /// public int groupCount { get; set; } = 0; /// /// 任务总数,作品收集任务数 /// public int collateTaskCount { get; set; } = 0; /// /// 作品总数 /// public int collateCount { get; set; } = 0; /// /// 推送总数(页面,资源,讯息,差异化) /// public int pushCount { get; set; } = 0; /// /// 总计分 /// public double totalPoint { get; set; } = 0; /// /// 测验总题数 /// public int examQuizCount { get; set; } = 0; /// /// 互动题数 /// public int interactionCount { get; set; } = 0; /// /// 测验得分率 /// public double examPointRate { get; set; } = 0; /// /// 学生互动总数 /// public int clientInteractionCount { get; set; } = 0; /// /// 学生互动率 /// public double clientInteractionAverge { get; set; } = 0; public int examCount { get; set; } /// /// 总互动分 /// public double totalInteractPoint { get; set; } = 0; /// /// 过期时间,-1永不过期, 1577808000000 2020-01-01 /// public long expire { get; set; } = -1; public LearningCategory learningCategory { get; set; } = new LearningCategory(); public int hitaClientCmpCount { get; set; } /// /// 课例来源 0 hiteach 1 VR/AR课例 /// public int source { get; set; } = 0; } public class VRARGroupList { /// /// 学生名称 /// public string name { get; set; } /// /// 分组名称 /// public string groupName { get; set; } /// /// 头像 /// public string picture { get; set; } /// /// 是否出席 0缺席 1 出席 /// public int attend { get; set; } = 1; } public class VRARTimeLine { public List events { get; set; } = new List(); public List screens { get; set; } = new List(); } /// /// 事件 /// public class VRAREvent { public double time { get; set; } public long eventId { get; set; } public string @event { get; set; } public string optRole { get; set; } public string optUser { get; set; } public string screen { get; set; } public List work{get;set;}=new List(); } /// /// 操作的资源,如打开PPT ,网站链接,播放视频,答题,选项 /// doc question image answer /// public class VRARWork { public string type { get; set; } public List link { get; set; } } /* { "id": "08fcc236-3d8b-42fa-98d3-b4b3fce4ecff", //课例id,可选,不传则新增,传递尝试检查是否存在,不存在则新增。 "tmdname": "罗老师", //上课教师昵称,必填 "tmdpicture": "https://teammodelstorage.blob.core.chinacloudapi.cn/0-public/school%2F08fcc236-3d8b-42fa-98d3-b4b3fce4ecff.png", //头像,可选 "name": "2022-12-06-罗老师-杉达VR/AR虚拟教程实践", //本次课堂课例的名称,必填 "poster": "https://img.zcool.cn/community/01ec775ae9379ca801207fa1668efc.jpg", //课例封面图片,可选 "video": "https://teammodelstorage.blob.core.chinacloudapi.cn/0-public/video%2F%E4%B8%93%E5%A1.mp4", //虚拟课程的视频,可选 "duration": 300.55, //课例视频时长,video不为空则 必填 "courseName": "杉达VR/AR虚拟教程实践", //关联课程名称,必填 "groupNames": [ //分组 可选。 "第一组", "第二组" ], "mCount": 56, //上课人数,必填。 "attendCount": 55, //出席人数,必填。 "periodName": "杉达学院", //学段名称,可选。 "subjecName": "VR/AR技术", //科目名称,可选。 "gradeName": [ //年级,可选。 "一年级", "二年级" ] } //eventType:timing 计时类型的事件。 action 触发类型的事件。 //说明:同一eventId 出现多次 以time最小的为开始时间,最大的为结束时间 //event 出现多次,代表出现频次。 { "events": [ { "time": 0.0000,//时间秒.毫秒 "eventId": 100001,//事件id "event": "lesson-start",//开课 "screen": "屏幕1-id",//在那个屏幕进行操作 "optRole": "T",//操作角色 "optUser": "罗老师"//谁在操作 }, { "time": 1.000, "eventId": 602528, "event": "play-doc",//教师在屏幕1播放文档 "screen": "屏幕1-id", "optRole": "T", "optUser": "罗老师", "work": //操作的资源,如打开PPT ,网站链接,播放视频,学生推送作品或答题 { "type": "doc",//任务类型 "link": [//资源链接 ,名称或者 学生作答的答案 "杉达VR/AR虚拟教程实践.pptx" ] } }, { "time": 5.0006, "eventId": 705528, "event": "play-question",//教师在屏幕1提问 "screen": "屏幕1-id", "optRole": "T", "optUser": "罗老师", "work": { "type": "question", "link": [ "题目信息的文档.doc" ] } }, { "time": 6.0006, "eventId": 8282258, "event": "push-answer",//学生在屏幕1提交答案 "optRole": "S", "optUser": "李同学", "screen": "屏幕1-id", "work": { "type": "answer", "link": [ "A", "B", "俱往矣,数风流人物,还看今朝。" ] } }, { "time": 7.0006, "eventId": 589825, "event": "push-image",//学生在屏幕1推送作品 "optRole": "S", "optUser": "李同学", "screen": "屏幕1-id", "work": //操作的资源,如打开PPT ,网站链接,播放视频,答题,选项 { "type": "image", "link": [ "xxxx.png" ] } }, { "time": 20.0000, "eventId": 100001, "optRole": "T", "optUser": "罗老师", "event": "lesson-finish",//结束课堂 "screen": "屏幕1-id" }, ], "screens": [ //VR虚拟教室的屏幕编号 "屏幕1-id", "屏幕2-id", "屏幕2-id" ] } */ }