Tz2/Assets/Scripts/JsonDataDto.cs

344 lines
15 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;
using Newtonsoft.Json;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
/// <summary>
/// API响应根实体
/// </summary>
public class ApiResponse<T>
{
/// <summary>
/// 消息内容
/// </summary>
[JsonProperty("msg")]
public string Message { get; set; }
/// <summary>
/// 状态代码
/// </summary>
[JsonProperty("code")]
public int Code { get; set; }
/// <summary>
/// 响应数据
/// </summary>
[JsonProperty("data")]
public T Data { get; set; }
}
/// <summary>
/// 考试数据实体
/// </summary>
public class ExamData
{
/// <summary>
///
/// </summary>
public string? createBy { get; set; }
/// <summary>
///
/// </summary>
public string? createTime { get; set; }
/// <summary>
///
/// </summary>
public string? updateBy { get; set; }
/// <summary>
///
/// </summary>
public string? updateTime { get; set; }
/// <summary>
///
/// </summary>
public string? remark { get; set; }
/// <summary>
///
/// </summary>
public string? pageNum { get; set; }
/// <summary>
///
/// </summary>
public string? pageSize { get; set; }
/// <summary>
///
/// </summary>
public int? id { get; set; }
/// <summary>
///
/// </summary>
public string? simulationId { get; set; }
/// <summary>
///
/// </summary>
public string? courseId { get; set; }
/// <summary>
/// 试卷名称11111111111
/// </summary>
public string? examName { get; set; }
/// <summary>
///
/// </summary>
public string? faultId { get; set; }
/// <summary>
///
/// </summary>
public string? totalScore { get; set; }
/// <summary>
///
/// </summary>
public string? assessPoint { get; set; }
/// <summary>
///
/// </summary>
public string? examContent { get; set; }
/// <summary>
///
/// </summary>
public string? sceneId { get; set; }
/// <summary>
///
/// </summary>
public string? sceneName { get; set; }
/// <summary>
///
/// </summary>
public string? sceneScriptId { get; set; }
/// <summary>
/// 已发布
/// </summary>
public string? status { get; set; }
/// <summary>
///
/// </summary>
public int? delFlag { get; set; }
/// <summary>
///
/// </summary>
public string? steps { get; set; }
/// <summary>
/// 初级工
/// </summary>
public string? skillLevel { get; set; }
/// <summary>
/// 物资配送作业员
/// </summary>
public string? position { get; set; }
/// <summary>
///
/// </summary>
public string? examCode { get; set; }
/// <summary>
/// 仓储作业
/// </summary>
public string? profession { get; set; }
/// <summary>
/// 采购物资入库
/// </summary>
public string? big { get; set; }
/// <summary>
/// 电缆分支箱到货验收
/// </summary>
public string? small { get; set; }
/// <summary>
/// {"quantity":1,"modelName":"吃的","code":"22","description":"33","billName":"货物交接单","storageArea":"横梁式货架存储区(B01)","location":"B01-02","docNo":"dd","factoryCode":"1","inventoryLocation":"2","warehouseSupervisor":"3","receiver":"4","supplierSign":"f","librarian":"sdf","batch":"gg","supplierDeliverer":"123","shipper":"dasf","consignee":"vb","receivedQty":"2","balanceQty":"3","issuedQty":"4","initialQty":"5"}
/// </summary>
public string? task { get; set; }
/// <summary>
/// 供应商已将1台【物资数量】吃的【物资名称】物料编码22物料描述33【物资描述】送至物资库请考生根据供应商提供的货物交接单【单据名称】办理到货验收在ERP系统PC端完成验收入库操作【ERP系统操作】将1台吃的至货架区【存放区域】B01-02【仓位号】仓位并将入库业务单据归档。货物交接单dd【货物交接单】工厂代码1【工厂代码】批次gg【物资批次】库存地点2【库存地点】库管员sdf仓库主管3物资公司签字f单位签收人4供应商交付人123发货方dasf收货方vb。 收入数量:2结存数量3发出数量4期初库存数量5日期为null
/// </summary>
public string? shows { get; set; }
/// <summary>
///
/// </summary>
public string? limitTime { get; set; }
/// <summary>
///
/// </summary>
public string? passScore { get; set; }
/// <summary>
///
/// </summary>
public string? topicId { get; set; }
/// <summary>
///
/// </summary>
public string? isModel { get; set; }
/// <summary>
/// [{"StepDescription":"实物入库","Actions":[{"ActionType":1,"JudgmentQuestions":[{"Question":"上架仓位","CorrectAnswer":"C01-010101","Score":0}],"Title":"物资上架","TargetObjects":[],"Description":"点击物资上架,检查物资朝向,更新物资卡片。","IsSequential":false,"ClickedObjects":[],"CurrentObjectIndex":0,"FeedbackDisplayed":false,"StepDescription":"","Score":0,"RequiresSceneSwitch":false,"TargetObjectEvents":{},"ProcessStepIndex":0,"RequireCorrectCompletion":true},{"ActionType":1,"JudgmentQuestions":[{"Question":"物资1将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"false","Score":5},{"Question":"物资2将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5},{"Question":"物资3将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5},{"Question":"物资4将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"false","Score":5},{"Question":"物资5将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5},{"Question":"物资6将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5},{"Question":"物资7将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5},{"Question":"物资8将物资外包装标识、二维码等信息朝外展示","CorrectAnswer":"true","Score":5}],"Title":"物资码放","TargetObjects":[],"Description":"物资码放。放置在仓位的物资可进行90°旋转点击物资每次旋转90°将物资外包装标识、二维码等信息朝外展示","IsSequential":false,"ClickedObjects":[],"CurrentObjectIndex":0,"FeedbackDisplayed":false,"StepDescription":"","Score":5,"RequiresSceneSwitch":false,"TargetObjectEvents":{},"ProcessStepIndex":0,"RequireCorrectCompletion":true},{"ActionType":1,"JudgmentQuestions":[{"Question":"物料编码","CorrectAnswer":"500021119","Score":0},{"Question":"物料描述","CorrectAnswer":"1kV电缆终端,4x150,户外终端,冷缩,铜","Score":0},{"Question":"期初库存数量","CorrectAnswer":"10","Score":0},{"Question":"批次号","CorrectAnswer":"2412D02214","Score":0},{"Question":"收入数量","CorrectAnswer":"8","Score":0},{"Question":"发出数量","CorrectAnswer":"0","Score":0},{"Question":"结存数量","CorrectAnswer":"8","Score":0}],"Title":"制作并悬挂物资卡片","TargetObjects":[],"Description":"制作并悬挂物资卡片。(点击物资卡片,下拉框选择物资卡片内容。物料编码:500021119、物料描述1kV电缆终端,4x150,户外终端,冷缩,铜、期初库存数量0、批次号2412D02214、收入数量8、发出数量0、结存数量8","IsSequential":false,"ClickedObjects":[],"CurrentObjectIndex":0,"FeedbackDisplayed":false,"StepDescription":"","Score":0,"RequiresSceneSwitch":false,"TargetObjectEvents":{},"ProcessStepIndex":0,"RequireCorrectCompletion":true}],"stepName":"1370073165690044416"}]
/// </summary>
public string? updateStep { get; set; }
/// <summary>
/// ["{\"StepDescription\":\"实物入库\",\"Actions\":[{\"ActionType\":1,\"JudgmentQuestions\":[{\"Question\":\"上架仓位\",\"CorrectAnswer\":\"C01-010101\",\"Score\":0.0}],\"Title\":\"物资上架\",\"TargetObjects\":[],\"Description\":\"点击物资上架,检查物资朝向,更新物资卡片。\",\"IsSequential\":false,\"ClickedObjects\":[],\"CurrentObjectIndex\":0,\"FeedbackDisplayed\":false,\"StepDescription\":\"\",\"Score\":0.0,\"RequiresSceneSwitch\":false,\"TargetObjectEvents\":{},\"ProcessStepIndex\":0,\"RequireCorrectCompletion\":true},{\"ActionType\":1,\"JudgmentQuestions\":[{\"Question\":\"物资1将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资2将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资3将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资4将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资5将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资6将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资7将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0},{\"Question\":\"物资8将物资外包装标识、二维码等信息朝外展示\",\"CorrectAnswer\":\"true\",\"Score\":5.0}],\"Title\":\"物资码放\",\"TargetObjects\":[],\"Description\":\"物资码放。放置在仓位的物资可进行90°旋转点击物资每次旋转90°将物资外包装标识、二维码等信息朝外展示\",\"IsSequential\":false,\"ClickedObjects\":[],\"CurrentObjectIndex\":0,\"FeedbackDisplayed\":false,\"StepDescription\":\"\",\"Score\":5.0,\"RequiresSceneSwitch\":false,\"TargetObjectEvents\":{},\"ProcessStepIndex\":0,\"RequireCorrectCompletion\":true},{\"ActionType\":1,\"JudgmentQuestions\":[{\"Question\":\"物料编码\",\"CorrectAnswer\":\"500021119\",\"Score\":0.0},{\"Question\":\"物料描述\",\"CorrectAnswer\":\"1kV电缆终端,4x150,户外终端,冷缩,铜\",\"Score\":0.0},{\"Question\":\"期初库存数量\",\"CorrectAnswer\":\"0\",\"Score\":0.0},{\"Question\":\"批次号\",\"CorrectAnswer\":\"2412D02214\",\"Score\":0.0},{\"Question\":\"收入数量\",\"CorrectAnswer\":\"8\",\"Score\":0.0},{\"Question\":\"发出数量\",\"CorrectAnswer\":\"0\",\"Score\":0.0},{\"Question\":\"结存数量\",\"CorrectAnswer\":\"8\",\"Score\":0.0}],\"Title\":\"制作并悬挂物资卡片\",\"TargetObjects\":[],\"Description\":\"制作并悬挂物资卡片。(点击物资卡片,下拉框选择物资卡片内容。物料编码:500021119、物料描述1kV电缆终端,4x150,户外终端,冷缩,铜、期初库存数量0、批次号2412D02214、收入数量8、发出数量0、结存数量8\",\"IsSequential\":false,\"ClickedObjects\":[],\"CurrentObjectIndex\":0,\"FeedbackDisplayed\":false,\"StepDescription\":\"\",\"Score\":0.0,\"RequiresSceneSwitch\":false,\"TargetObjectEvents\":{},\"ProcessStepIndex\":0,\"RequireCorrectCompletion\":true}],\"IsCompleted\":false,\"StepNumber\":0}"]
/// </summary>
public string? oldStep { get; set; }
}
/// <summary>
/// 训练数据模型
/// </summary>
public class TrainingData
{
/// <summary>
/// 训练名称
/// </summary>
[JsonProperty("trainingName")]
public string TrainingName { get; set; }
/// <summary>
/// 应用 ID
/// </summary>
[JsonProperty("appId")]
public string AppId { get; set; }
/// <summary>
/// 应用类型
/// </summary>
[JsonProperty("appType")]
public string AppType { get; set; }
/// <summary>
/// 版本号
/// </summary>
[JsonProperty("version")]
public string Version { get; set; }
/// <summary>
/// 介绍
/// </summary>
[JsonProperty("introduction")]
public string Introduction { get; set; }
/// <summary>
/// 详细信息列表
/// </summary>
[JsonProperty("detailsList")]
public List<Detail> DetailsList { get; set; }
}
/// <summary>
/// 详细信息
/// </summary>
public class Detail
{
/// <summary>
/// 课程名称
/// </summary>
[JsonProperty("course")]
public string Course { get; set; }
/// <summary>
/// 课程 ID
/// </summary>
[JsonProperty("courseID")]
public string CourseID { get; set; }
/// <summary>
/// 背景信息列表
/// </summary>
[JsonProperty("background")]
public List<Background> Background { get; set; }
/// <summary>
/// 步骤列表
/// </summary>
[JsonProperty("stepList")]
public List<ProcessStepDto> StepList { get; set; }
}
/// <summary>
/// 背景信息
/// </summary>
public class Background
{
[JsonProperty("bigName")]
public string BigName { get; set; }
[JsonProperty("smallName")]
public string SmallName { get; set; }
[JsonProperty("modelName")]
public string ModelName { get; set; }
[JsonProperty("quantity")]
public int? Quantity { get; set; }
[JsonProperty("code")]
public string Code { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("docNames")]
public List<string> DocNames { get; set; }
[JsonProperty("erpProcessed")]
public bool ErpProcessed { get; set; }
[JsonProperty("storageArea")]
public string StorageArea { get; set; }
[JsonProperty("location")]
public string Location { get; set; }
[JsonProperty("deliveryNote")]
public DeliveryNote DeliveryNote { get; set; }
}
/// <summary>
/// 交货单信息
/// </summary>
public class DeliveryNote
{
[JsonProperty("docNo")]
public string DocNo { get; set; }
[JsonProperty("factoryCode")]
public string FactoryCode { get; set; }
[JsonProperty("batch")]
public string Batch { get; set; }
[JsonProperty("inventoryLocation")]
public string InventoryLocation { get; set; }
[JsonProperty("librarian")]
public string Librarian { get; set; }
[JsonProperty("warehouseSupervisor")]
public string WarehouseSupervisor { get; set; }
[JsonProperty("supplierSign")]
public string SupplierSign { get; set; }
[JsonProperty("receiver")]
public string Receiver { get; set; }
[JsonProperty("shipper")]
public string Shipper { get; set; }
[JsonProperty("consignee")]
public string Consignee { get; set; }
[JsonProperty("receivedQty")]
public int? ReceivedQty { get; set; }
[JsonProperty("balanceQty")]
public int? BalanceQty { get; set; }
[JsonProperty("issuedQty")]
public int? IssuedQty { get; set; }
[JsonProperty("initialQty")]
public int? InitialQty { get; set; }
[JsonProperty("date")]
public string Date { get; set; }
}