using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Fleck; using Microsoft.VisualBasic.Devices; using Newtonsoft.Json; public class ClassUserInfo { public long UserID { get; set; } public string UserName { get; set; } public int UserType { get; set; } public long Class { get; set; } public int Schoolclass { get; set; } public Guid GUID { get; set; } [JsonIgnore] public IWebSocketConnection Linsocket{ get; set; } } public class ClassInfo { public string CourseName { get; set; } public List DisplayJK { get; set; } public long CourseID { get; set; } /// /// 1已开课 0结束 /// public int CourseStatus { get; set; } /// /// 屏幕显示ID /// public long DisplayID { get; set; } /// /// 教师ID /// public long TeacherID { get; set; } /// /// 课程是否禁音 /// public bool AudioIsOpen { get; set; } public List userAudioStatus { get; set; } public bool TeacherAudioIsOpen { get; set; } } /// /// 本地监控 /// public class DisplayJK { public string Name { get; set; } public long UserID { get; set; } } /// /// 用户音频状态 /// public class UserAudioStatus { public long UserID { get; set; } public bool IsOpen { get; set; } public int UserType { get; set; } } public class Result { public bool IsSuccess { get; set; } public string Data { get; set; } public int MessageType { get; set; } } public class ReciveSocketInfo { /// /// 业务类型 单发还是群发 /// public int Type { get; set; } public long UserID { get; set; } /// /// 课程 /// public string Class { get; set; } /// /// 班级 /// public string SchoolClass { get; set; } /// /// 发送给指定某些用户 /// public string UserIDS { get; set; } /// /// 教师或者学生 教师0 学生1 /// public int UserType { get; set; } /// /// 内容 /// public string Data { get; set; } }