using System.Collections.Generic; /// /// 判断题数据 /// public class NewJudgmentQuestion { /// /// 问题内容 /// public string Question { get; set; } /// /// 正确答案 /// public string CorrectAnswer { get; set; } /// /// 问题分值 /// public double Score { get; set; } } /// /// 多选题数据 /// public class NewMultipleChoiceQuestion { /// /// 问题内容 /// public string Question { get; set; } /// /// 选项列表 /// public List Options { get; set; } /// /// 正确答案列表 /// public List CorrectAnswers { get; set; } /// /// 问题分值 /// public double Score { get; set; } } public class NewBackgroundItem { /// /// 代保管物资入库 /// public string bigName { get; set; } /// /// 1KV电缆终端退出退役代保管入库 /// public string smallName { get; set; } /// /// 1kV电缆终端 /// public string modelName { get; set; } /// /// 数量 /// public int quantity { get; set; } /// /// 物料编码 /// public string code { get; set; } /// /// 物料描述 /// public string description { get; set; } /// /// 单据名称列表 /// public List docNames { get; set; } /// /// 是否已处理 /// public bool erpProcessed { get; set; } /// /// 存储区域 /// public string storageArea { get; set; } /// /// 位置 /// public string location { get; set; } /// /// 单据号 /// public string docNo { get; set; } /// /// 工厂代码 /// public string factoryCode { get; set; } /// /// 批次 /// public string batch { get; set; } /// /// 库存地点 /// public string inventoryLocation { get; set; } /// /// 库管员 /// public string librarian { get; set; } /// /// 仓库主管 /// public string warehouseSupervisor { get; set; } /// /// 供应商签字 /// public string supplierSign { get; set; } /// /// 接收人 /// public string receiver { get; set; } /// /// 发货人 /// public string shipper { get; set; } /// /// 收货人 /// public string consignee { get; set; } /// /// 供应商送货人 /// public string supplierDeliverer { get; set; } /// /// 接收数量 /// public int receivedQty { get; set; } /// /// 结存数量 /// public int balanceQty { get; set; } /// /// 发出数量 /// public int issuedQty { get; set; } /// /// 期初数量 /// public int initialQty { get; set; } /// /// 日期 /// public string date { get; set; } } public class NewTargetObjectsItem { /// /// 对象名称 /// public string ObjectName { get; set; } /// /// 类型 /// public int Type { get; set; } /// /// 分数 /// public float Score { get; set; } } public class NewTargetObjectEvents { } public class NewActionsItem { /// /// 动作类型:0-点击物体,1-判断题,2-多选题 /// public int ActionType { get; set; } /// /// 判断题列表 /// public List JudgmentQuestions { get; set; } /// /// 多选题列表 /// public List MultipleChoiceQuestions { get; set; } /// /// 动作标题 /// public string Title { get; set; } /// /// 目标对象列表 /// public List TargetObjects { get; set; } /// /// 动作 /// public string Action { get; set; } /// /// 动作描述 /// public string Description { get; set; } /// /// 是否按顺序执行 /// public bool IsSequential { get; set; } /// /// 已点击的对象列表 /// public List ClickedObjects { get; set; } /// /// 当前对象索引 /// public int CurrentObjectIndex { get; set; } /// /// 是否已显示反馈 /// public bool FeedbackDisplayed { get; set; } /// /// 步骤描述 /// public string StepDescription { get; set; } /// /// 分数 /// public float Score { get; set; } /// /// 场景名称 /// public string SceneName { get; set; } /// /// 是否需要切换场景 /// public bool RequiresSceneSwitch { get; set; } /// /// 目标对象事件 /// public NewTargetObjectEvents TargetObjectEvents { get; set; } /// /// 流程步骤索引 /// public int ProcessStepIndex { get; set; } /// /// 是否需要正确完成 /// public bool RequireCorrectCompletion { get; set; } } public class NewStepListItem { /// /// 步骤描述 /// public string StepDescription { get; set; } /// /// 动作列表 /// public List Actions { get; set; } /// /// 是否完成 /// public bool IsCompleted { get; set; } /// /// 步骤编号 /// public int StepNumber { get; set; } } public class NewDetailsListItem { /// /// 课程名称 /// public string course { get; set; } /// /// 课程ID /// public string courseID { get; set; } /// /// 背景信息列表 /// public List background { get; set; } /// /// 步骤列表 /// public List stepList { get; set; } } public class NewJsonRoot { /// /// 培训名称 /// public string trainingName { get; set; } /// /// 应用ID /// public string appId { get; set; } /// /// 应用类型 /// public string appType { get; set; } /// /// 版本号 /// public string version { get; set; } /// /// 介绍 /// public string introduction { get; set; } /// /// 详情列表 /// public List detailsList { get; set; } }