using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TEAMModelOS.SDK.Models.Cosmos.Common { /// /// CS IOT TeachingData (Redis) /// public class IotTeachingData { public long timestamp { get; set; } public string deviceId { get; set; } public string channel { get; set; } public string tmid { get; set; } public string schoolId { get; set; } /// /// 開課使用IES課程 0:false 1:true /// public string useIES { get; set; } /// /// 課堂中取用IES5資源數 /// public int useIES5Resource { get; set; } /// /// 課堂中有使用webirs 0:false 1:true /// public string useWebIrs { get; set; } /// /// 課堂中有使用硬體IRS 0:false 1:true /// public string useDeviceIrs { get; set; } /// /// 課堂中有使用Haboard 0:false 1:true /// public string useHaboard { get; set; } /// /// 課堂中有使用HiTA 0:false 1:true /// public string useHita { get; set; } /// /// 課堂時間(分鐘整數) /// public long lessonLengMin { get; set; } /// /// 學生出席數(整數) /// public int stuShow { get; set; } /// /// T指數(整數) /// public int tPoint { get; set; } /// /// 學習型態: 合作 0:false 1:true /// public string lTypeCoop { get; set; } /// /// 學習型態: 互動 0:false 1:true /// public string lTypeIact { get; set; } /// /// 學習型態: 任務 0:false 1:true /// public string lTypeMis { get; set; } /// /// 學習型態: 測驗 0:false 1:true /// public string lTypeTst { get; set; } /// /// 學習型態: 差異化 0:false 1:true /// public string lTypeDif { get; set; } /// /// 授權方式 0:無授權 1:id授權 2:機器授權 3:ID和機器授權 /// public string authType { get; set; } /// /// 任務數 /// public int mission { get; set; } /// /// 作品任務完成總數 /// public int missionFin { get; set; } /// /// 題數 /// public int item { get; set; } /// /// 互動總次數 /// public int interact { get; set; } /// /// IP /// public string ip { get; set; } /// /// 版本 /// /// [例]ex. 5.0.21.0000 -> 500210000 public string version { get; set; } /// /// 是否送出小數據或SOK服務 0:false 1:true /// public string sendSok { get; set; } } /// /// 產品分析統計共通項目 /// public class ProdAnalysisCalItem { public List deviceList { get; set; } = new(); //機器ID列表 public List deviceNoAuthList { get; set; } = new(); //無機器授權ID列表 public List deviceAuthList { get; set; } = new(); //有安裝機器授權ID列表 public List tmidList { get; set; } = new(); //TMID列表 public string toolType { get; set; } //HiTeach、HiTeachCC、HiTA public int deviceCnt { get; set; } //機器數(不重複) public int deviceNoAuth { get; set; } //無機器授權數 public int deviceAuth { get; set; } //有安裝機器授權數 public int tmidCnt { get; set; } //TMID數(不重複) public int lessonRecord { get; set; } //課堂記錄數 public int useIES { get; set; } //使用IES課程 public int useIES5Resource { get; set; } //課堂中取用IES5資源數 public int useWebIrs { get; set; } //課堂中有使用webirs public int useDeviceIrs { get; set; } //課堂中有使用硬體IRS public int useHaboard { get; set; } //課堂中有使用Haboard public int useHita { get; set; } //課堂中有使用HiTA public long lessonLengMin { get; set; } //課堂時間(分鐘整數) public int lessonLeng0 { get; set; } //課堂時間為0的課堂數 public int stuShow { get; set; } //學生出席人次 public long stuLessonLengMin { get; set; } //學生參與總時數 ※課堂時間x學生出席人次 public int tGreen { get; set; } //T綠燈數(T>=70) public int lTypeCoop { get; set; } //學習型態: 合作 public int lTypeIact { get; set; } //學習型態: 互動 public int lTypeMis { get; set; } //學習型態: 任務 public int lTypeTst { get; set; } //學習型態: 測驗 public int lTypeDif { get; set; } //學習型態: 差異化 public int lTypeNone { get; set; } //學習型態: 無 public int lessonCnt928 { get; set; } //使用928授權課堂數 public int lessonCntId { get; set; } //僅使用ID授權課堂數 public int lessonCntDevice { get; set; } //僅使用機器授權課堂數 public int lessonCntIdDevice { get; set; } //使用ID+機器授權課堂數 public int mission { get; set; } //任務數 public int missionFin { get; set; } //作品任務完成總數 public int item { get; set; } //題數 public int interact { get; set; } //互動總次數 public int sendSok { get; set; } //送出小數據或SOK服務 } }