Tz2/Assets/Scripts/NetJsonDto.cs

316 lines
7.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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