using System; using System.Collections.Generic; using UnityEngine; public class RequestBase { public string msg { get; set; } public string code { get; set; } public T data { get; set; } } public class ExamInfo { /// /// /// public string pageNum { get; set; } /// /// /// public string pageSize { get; set; } /// /// /// public int id { get; set; } /// /// 设备结构认知 /// public string examName { get; set; } /// /// /// public string examContent { get; set; } /// /// /// public int sceneId { get; set; } /// /// 设备结构认知 /// public string sceneName { get; set; } /// /// /// public string sceneScriptId { get; set; } /// /// /// public int status { get; set; } /// /// /// public string createBy { get; set; } /// /// /// public string createTime { get; set; } /// /// /// public string updateBy { get; set; } /// /// /// public string updateTime { get; set; } } public class ExamContent { /// /// /// public string pageNum { get; set; } /// /// /// public string pageSize { get; set; } /// /// /// public int id { get; set; } /// /// 匹配内容 /// public string point { get; set; } /// /// /// public string score { get; set; } /// /// /// public string createTime { get; set; } /// /// /// public string createBy { get; set; } /// /// /// public int sceneId { get; set; } /// /// /// public string step { get; set; } /// /// 设备名称-自定义 /// public string device { get; set; } } public class StepListItem { /// /// /// public string stepName { get; set; } /// /// /// public string testPoint { get; set; } /// /// /// public float score { get; set; } /// /// /// public float setScore { get; set; } } public class ScoreInfo { /// /// /// public string userName { get; set; } /// /// /// public string userId { get; set; } /// /// /// public string examId { get; set; } /// /// /// public string classId { get; set; } /// /// /// public string useTime { get; set; } public string examClassId { get; set; } /// /// /// public List stepList { get; set; } } /// /// 配置信息 /// public class InfoIni { /// /// 场景名称 /// public string scene_name { get; set; } /// /// 0练习/1考试/2教学 /// public string type { get; set; } = string.Empty; /// /// 考试id /// public string exam_id { get; set; } /// /// 用户id /// public string user_id { get; set; } /// /// 用户名称 /// public string user_name { get; set; } /// /// token /// public string token { get; set; } /// /// 考核限时,分 /// public float user_time { get; set; } /// /// /// public string class_id { get; set; } public string exam_class_id { get; set; } public string url { get; set; } } [Serializable] public class TrainingDeviceData { public string id { get; set; } public string uuid { get; set; } } [Serializable] public class CameraSettingsParam { /// /// 初始距离 /// public float Distance; /// /// 距离限制范围 /// public Vector2 DistanceClamp; /// /// 平移速度 /// public float PanSpeed; /// /// 缩放速度 /// public float ZoomSpeed; //public bool /// /// 相机初始坐标 /// public Vector3 CameraInitPosition; /// /// 相机初始角度 /// public Vector3 CameraInitEulerAng; } /// /// 设备信息 /// public class DevicesItemData { /// /// 设备名称 /// public string dev_name { get; set; } /// /// 设备介绍 /// public string dev_int { get; set; } /// /// 练习/考核选项图片id /// public string pic_id { get; set; } /// /// 图片数据 /// public string pic_url { get; set; } /// /// 正确的图片 /// public Sprite _right_sprite { get; set; } /// /// 选择的图片 /// public Sprite _select_sprite { get; set; } } /// /// 分类信息 /// public class ClassificationData { /// /// 分类名称 /// public string classification { get; set; } /// /// 分类介绍 /// public string classification_introduce { get; set; } /// /// 分类设备列表 /// public DevicesItemData[] devices { get; set; } } /// /// 用户信息数据 /// public class UserInfoData { public string name { get; set; } public string department { get; set; } public string logintime { get; set; } } /// /// 模式 /// public enum GameMode { /// /// 教学 /// Tutorial = 2, /// /// 训练 /// Training = 0, /// /// 考核 /// Examination = 1, }