CrazyIter_Bin 1 rok temu
rodzic
commit
d3a464074f
1 zmienionych plików z 41 dodań i 58 usunięć
  1. 41 58
      TEAMModelOS.SDK/Models/Service/SystemService.cs

+ 41 - 58
TEAMModelOS.SDK/Models/Service/SystemService.cs

@@ -49,16 +49,14 @@ IES晚间报告:<br>{tmdname}您好,以下是您的今日个人IES教学汇
 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如有布置作业任务,将于次日8点通过早报方式发送。
 ";
         static string cn_examList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{examName}】已经有{submitCount}位学生提交,仍有{unsubmitCount}位学生未提交。<br>";
-        static string cn_lessonList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{lessonName}】课例应出席人数{memberCount},实际出席人数{attendCount},出席率{attendRate}。<br>";
-        static string cn_groupListJoin = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有总人数{memberCount},有{joinCount}加入。<br>";
-        static string cn_groupListLeave = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有总人数{memberCount},有{joinCount}离开。<br>";
+        static string cn_lessonList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{lessonName}】课例应出席人数{memberCount},实际出席人数{attendCount},出席率{attendRate}%。<br>";
+        static string cn_groupListJoin = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有总人数{memberCount},有{joinCount}加入。<br>";
+        static string cn_groupListLeave = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有总人数{memberCount},有{joinCount}离开。<br>";
 
         static string cn_zb = @"
-IES早间报告:
-    {tmdname}您好,以下是您发布过的作业任务汇总报告。
-     以下是报告的具体详细信息。
-    {cn_homeworkTitle}
-        {cn_homeworkList}
+IES早间报告:<br>{tmdname}您好,以下是您发布过的作业任务汇总报告。
+<br>&nbsp;&nbsp;&nbsp;以下是报告的具体详细信息。
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{cn_homeworkTitle}<br>{cn_homeworkList}
 ";
         static string cn_homeworkList = "【{homeworkName}】已经有{submitCount}位学生提交,仍有{unsubmitCount}位学生未提交。<br>";
         static string cn_homeworkTitle = "作业任务提交详情:";
@@ -66,68 +64,53 @@ IES早间报告:
         static string cn_lessonTitle = "课堂教学出席详情:";
         static string cn_groupTitle = "个人课程名单变化详情:";
         #endregion
-
         #region
         static string tw_wb = @"
-IES晚間報告:
-    {tmdname}您好,以下是您的今日個人IES教學總結報告,截至{sendTime},您已發布{examCount}次測驗任務,{homeworkCount}次作業任務,並使用HiTeach上傳了{lessonCount}節課堂教學活動。
-    以下是詳細資訊。
-    {tw_examTitle}
-        {tw_examList}
-    {tw_lessonTitle}
-        {tw_lessonList}
-    {tw_groupTitle}
-        {tw_groupList}
-    如有佈署作業任務,將於隔天早上8點透過晨間報告方式發送。
+IES晚間報告:<br>{tmdname}您好,以下是您的今日個人IES教學總結報告,截至{sendTime},您已發布{examCount}次測驗任務,{homeworkCount}次作業任務,並使用HiTeach上傳了{lessonCount}節課堂教學活動。
+<br>&nbsp;&nbsp;&nbsp;以下是詳細資訊。
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{tw_examTitle}<br>{tw_examList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{tw_lessonTitle}<br>{tw_lessonList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{tw_groupTitle}<br>{tw_groupList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如有佈署作業任務,將於隔天早上8點透過晨間報告方式發送。
 ";
-        static string tw_examList = "【{examName}】已經有{submitCount}位學生繳交,仍有{unsubmitCount}位學生未繳交。\r\n";
-        static string tw_lessonList = "【{lessonName}】課堂應出席人數{memberCount},實際出席人數{attendCount},出席率{attendRate}。\r\n";
-        static string tw_groupListJoin = "【{grouplistName}】已有總人數{memberCount},有{joinCount}加入。\r\n";
-        static string tw_groupListLeave = "【{grouplistName}】已有總人數{memberCount},有{joinCount}離開。\r\n";
-
+        static string tw_examList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{examName}】已經有{submitCount}位學生繳交,仍有{unsubmitCount}位學生未繳交。<br>";
+        static string tw_lessonList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{lessonName}】課堂應出席人數{memberCount},實際出席人數{attendCount},出席率{attendRate}%。<br>";
+        static string tw_groupListJoin = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有總人數{memberCount}位,有{joinCount}位加入。<br>";
+        static string tw_groupListLeave = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;【{grouplistName}】已有總人數{memberCount}位,有{joinCount}位離開。<br>";
         static string tw_zb = @"
-IES晨間報告:
-    {tmdname}您好,以下是您曾經發佈過的作業任務總結報告。
-    以下是具體詳細資訊。
-    {tw_homeworkTitle}
-        {tw_homeworkList}
+IES晨間報告:<br>{tmdname}您好,以下是您曾經發佈過的作業任務總結報告。
+<br>&nbsp;&nbsp;&nbsp;以下是具體詳細資訊。
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{tw_homeworkTitle}<br>{tw_homeworkList}
 ";
-        static string tw_homeworkList = "【{homeworkName}】已經有{submitCount}位學生繳交,仍有{unsubmitCount}位學生未繳交。\r\n";
-        static string tw_homeworkTitle = "\r\n作業任務繳交詳情:";
-        static string tw_examTitle = "\r\n測驗任務完成詳情:";
-        static string tw_lessonTitle = "\r\n課堂教學出席詳情:";
-        static string tw_groupTitle = "\r\n個人課程名單變動詳情:";
+        static string tw_homeworkList = "【{homeworkName}】已經有{submitCount}位學生繳交,仍有{unsubmitCount}位學生未繳交。<br>";
+        static string tw_homeworkTitle = "作業任務繳交詳情:";
+        static string tw_examTitle = "測驗任務完成詳情:";
+        static string tw_lessonTitle = "課堂教學出席詳情:";
+        static string tw_groupTitle = "個人課程名單變動詳情:";
         #endregion
-
-
         #region
         static string en_wb = @"
-IES Evening Report:
-    Hello {tmdname}, here is your personal IES teaching summary report for today. As of {sendTime}, you have published {examCount} test tasks, {homeworkCount} homework tasks, and uploaded {lessonCount} HiTeach lesson activity records.
-    The following are the specific details.
-    {en_examTitle}
-        {en_examList}
-    {en_lessonTitle}
-        {en_lessonList}
-    {en_groupTitle}
-        {en_groupList}
-    If there are homework tasks assigned, they will be sent through the morning report at 8 am the next day.
+IES Evening Report:<br>Hello {tmdname}, here is your personal IES teaching summary report for today. As of {sendTime}, you have published {examCount} test tasks, {homeworkCount} homework tasks, and uploaded {lessonCount} HiTeach lesson activity records.
+<br>&nbsp;&nbsp;&nbsp;The following are the specific details.
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{en_examTitle}<br>{en_examList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{en_lessonTitle}<br>{en_lessonList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{en_groupTitle}<br>{en_groupList}
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If there are homework tasks assigned, they will be sent through the morning report at 8 am the next day.
 ";
-        static string en_examList = "[ {examName} ] has {submitCount} students submitted, and there are still {unsubmitCount} students who have not submitted.\r\n";
-        static string en_lessonList = "[ {lessonName} ] lesson should have {memberCount} attendees, actual attendees {attendCount}, attendance rate {attendRate}.\r\n";
-        static string en_groupListJoin = "[ {grouplistName} ] has a total of {memberCount}, {joinCount} joined.\r\n";
-        static string en_groupListLeave = "[ {grouplistName} ] has a total of {memberCount}, {joinCount} left.\r\n";
+        static string en_examList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ {examName} ] has {submitCount} students submitted, and there are still {unsubmitCount} students who have not submitted.<br>";
+        static string en_lessonList = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ {lessonName} ] lesson should have {memberCount} attendees, actual attendees {attendCount}, attendance rate {attendRate}%.<br>";
+        static string en_groupListJoin = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ {grouplistName} ] has a total of {memberCount}, {joinCount} joined.<br>";
+        static string en_groupListLeave = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ {grouplistName} ] has a total of {memberCount}, {joinCount} left.<br>";
         static string en_zb = @"
 IES Morning Report:
-    Hello {tmdname}, here is the summary report of the homework tasks you have posted.
-    {en_homeworkTitle}
-    {en_homeworkList}
+<br>&nbsp;&nbsp;&nbsp;Hello {tmdname}, here is the summary report of the homework tasks you have posted.
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{en_homeworkTitle}<br>{en_homeworkList}
 ";
-        static string en_homeworkList = "[ {homeworkName} ] has {submitCount} students submitted, and there are still {unsubmitCount} students who have not submitted.\r\n";
-        static string en_homeworkTitle = "\r\nHomework Submission Details:";
-        static string en_examTitle = "\r\nTest task submission details:";
-        static string en_lessonTitle = "\r\nLesson attendance details:";
-        static string en_groupTitle = "\r\nPersonal course list change details:";
+        static string en_homeworkList = "[ {homeworkName} ] has {submitCount} students submitted, and there are still {unsubmitCount} students who have not submitted.<br>";
+        static string en_homeworkTitle = "Homework Submission Details:";
+        static string en_examTitle = "Test task submission details:";
+        static string en_lessonTitle = "Lesson attendance details:";
+        static string en_groupTitle = "Personal course list change details:";
         #endregion