| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text.Json.Serialization; |
| | | using Newtonsoft.Json; |
| | | |
| | | namespace MES.Service.Dto.service |
| | | { |
| | | namespace MES.Service.Dto.service; |
| | | |
| | | /// <summary> |
| | | /// 拼板(单板)生成数据DTO |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 设备名称 |
| | | /// </summary> |
| | | [JsonPropertyName("device_name")] |
| | | public string DeviceName { get; set; } |
| | | [JsonProperty("device_name")] |
| | | public string? DeviceName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 整板条码 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_sn")] |
| | | public string PcbSn { get; set; } |
| | | [JsonProperty("pcb_sn")] |
| | | public string? PcbSn { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 轨道信息(1,1轨)(2,2轨) |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_track_line")] |
| | | [JsonProperty("pcb_track_line")] |
| | | public int PcbTrackLine { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 板面(T,顶面)(B,底面)(T+B,板面+底面) |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_board_side")] |
| | | public string PcbBoardSide { get; set; } |
| | | [JsonProperty("pcb_board_side")] |
| | | public string? PcbBoardSide { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 检测时间 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_test_time")] |
| | | public string PcbTestTime { get; set; } |
| | | [JsonProperty("pcb_test_time")] |
| | | public string? PcbTestTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 检测耗时,单位秒 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_cycle_time")] |
| | | [JsonProperty("pcb_cycle_time")] |
| | | public float PcbCycleTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 程序名/板式名 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_project_name")] |
| | | public string PcbProjectName { get; set; } |
| | | [JsonProperty("pcb_project_name")] |
| | | public string? PcbProjectName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 整板检测结果 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_robot_result")] |
| | | public string PcbRobotResult { get; set; } |
| | | [JsonProperty("pcb_robot_result")] |
| | | public string? PcbRobotResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 整板复判结果 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_user_result")] |
| | | public string PcbUserResult { get; set; } |
| | | [JsonProperty("pcb_user_result")] |
| | | public string? PcbUserResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 整板最终结果 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_final_result")] |
| | | public string PcbFinalResult { get; set; } |
| | | [JsonProperty("pcb_final_result")] |
| | | public string? PcbFinalResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 维修站复判用户名 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_repair_user")] |
| | | public string PcbRepairUser { get; set; } |
| | | [JsonProperty("pcb_repair_user")] |
| | | public string? PcbRepairUser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板数量 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_board_number")] |
| | | [JsonProperty("pcb_board_number")] |
| | | public int PcbBoardNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 器件总数量 |
| | | /// </summary> |
| | | [JsonPropertyName("pcb_comp_number")] |
| | | [JsonProperty("pcb_comp_number")] |
| | | public int PcbCompNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板条码 |
| | | /// </summary> |
| | | [JsonPropertyName("board_sn")] |
| | | public string BoardSn { get; set; } |
| | | [JsonProperty("board_sn")] |
| | | public string? BoardSn { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板序号 |
| | | /// </summary> |
| | | [JsonPropertyName("board_no")] |
| | | public string BoardNo { get; set; } |
| | | [JsonProperty("board_no")] |
| | | public string? BoardNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板检测结果 |
| | | /// </summary> |
| | | [JsonPropertyName("board_robot_result")] |
| | | public string BoardRobotResult { get; set; } |
| | | [JsonProperty("board_robot_result")] |
| | | public string? BoardRobotResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板复判结果 |
| | | /// </summary> |
| | | [JsonPropertyName("board_user_result")] |
| | | public string BoardUserResult { get; set; } |
| | | [JsonProperty("board_user_result")] |
| | | public string? BoardUserResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板最终结果 |
| | | /// </summary> |
| | | [JsonPropertyName("board_final_result")] |
| | | public string BoardFinalResult { get; set; } |
| | | [JsonProperty("board_final_result")] |
| | | public string? BoardFinalResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板器件数量 |
| | | /// </summary> |
| | | [JsonPropertyName("board_comp_number")] |
| | | [JsonProperty("board_comp_number")] |
| | | public int BoardCompNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板器件检测NG总数 |
| | | /// </summary> |
| | | [JsonPropertyName("board_comp_robot_ng_number")] |
| | | [JsonProperty("board_comp_robot_ng_number")] |
| | | public int BoardCompRobotNgNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板器件复判NG总数 |
| | | /// </summary> |
| | | [JsonPropertyName("board_comp_user_ng_number")] |
| | | [JsonProperty("board_comp_user_ng_number")] |
| | | public int BoardCompUserNgNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 拼板器件误报总数 |
| | | /// </summary> |
| | | [JsonPropertyName("board_comp_repass_number")] |
| | | [JsonProperty("board_comp_repass_number")] |
| | | public int BoardCompRepassNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 器件列表 |
| | | /// </summary> |
| | | [JsonPropertyName("comp_data")] |
| | | public List<ComponentDataDto> CompData { get; set; } |
| | | } |
| | | [JsonProperty("comp_data")] |
| | | public List<ComponentDataDto>? CompData { get; set; } |
| | | } |