using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace MES.Service.Dto.service { /// /// 整板生成数据DTO /// public class WholeboardGenerateDto { /// /// 设备名称 /// [JsonPropertyName("device_name")] public string DeviceName { get; set; } /// /// 整板条码 /// [JsonPropertyName("pcb_sn")] public string PcbSn { get; set; } /// /// 轨道信息(1,1轨)(2,2轨) /// [JsonPropertyName("pcb_track_line")] public int PcbTrackLine { get; set; } /// /// 板面(T,顶面)(B,底面)(T+B,板面+底面) /// [JsonPropertyName("pcb_board_side")] public string PcbBoardSide { get; set; } /// /// 检测时间,格式yyyy-mm-dd hh:mm:ss /// [JsonPropertyName("pcb_test_time")] public string PcbTestTime { get; set; } /// /// 检测耗时,单位秒 /// [JsonPropertyName("pcb_cycle_time")] public float PcbCycleTime { get; set; } /// /// 程序名/板式名 /// [JsonPropertyName("pcb_project_name")] public string PcbProjectName { get; set; } /// /// 整板检测结果 /// [JsonPropertyName("pcb_robot_result")] public string PcbRobotResult { get; set; } /// /// 整板复判结果 /// [JsonPropertyName("pcb_user_result")] public string PcbUserResult { get; set; } /// /// 整板最终结果 /// [JsonPropertyName("pcb_final_result")] public string PcbFinalResult { get; set; } /// /// 维修站复判用户名 /// [JsonPropertyName("pcb_repair_user")] public string PcbRepairUser { get; set; } /// /// 拼板数量 /// [JsonPropertyName("pcb_board_number")] public int PcbBoardNumber { get; set; } /// /// 拼板检测NG数量 /// [JsonPropertyName("pcb_board_robot_ng_number")] public int PcbBoardRobotNgNumber { get; set; } /// /// 拼板复判NG数量 /// [JsonPropertyName("pcb_board_user_ng_number")] public int PcbBoardUserNgNumber { get; set; } /// /// 拼板误报数量 /// [JsonPropertyName("pcb_board_repass_number")] public int PcbBoardRepassNumber { get; set; } /// /// 器件总数量 /// [JsonPropertyName("pcb_comp_number")] public int PcbCompNumber { get; set; } /// /// 器件检测NG数量 /// [JsonPropertyName("pcb_comp_robot_ng_number")] public int PcbCompRobotNgNumber { get; set; } /// /// 器件复判NG数量 /// [JsonPropertyName("pcb_comp_user_ng_number")] public int PcbCompUserNgNumber { get; set; } /// /// 器件误报数量 /// [JsonPropertyName("pcb_comp_repass_number")] public int PcbCompRepassNumber { get; set; } /// /// 拼板列表 /// [JsonPropertyName("board_data")] public List BoardData { get; set; } } /// /// 拼板数据DTO /// public class BoardDataDto { /// /// 拼板条码 /// [JsonPropertyName("board_sn")] public string BoardSn { get; set; } /// /// 拼板序号 /// [JsonPropertyName("board_no")] public string BoardNo { get; set; } /// /// 拼板检测结果 /// [JsonPropertyName("board_robot_result")] public string BoardRobotResult { get; set; } /// /// 拼板复判结果 /// [JsonPropertyName("board_user_result")] public string BoardUserResult { get; set; } /// /// 拼板最终结果 /// [JsonPropertyName("board_final_result")] public string BoardFinalResult { get; set; } /// /// 器件列表 /// [JsonPropertyName("comp_data")] public List CompData { get; set; } } /// /// 器件数据DTO /// public class ComponentDataDto { /// /// 器件位号 /// [JsonPropertyName("comp_designator")] public string CompDesignator { get; set; } /// /// 器件料号 /// [JsonPropertyName("comp_part")] public string CompPart { get; set; } /// /// 器件封装 /// [JsonPropertyName("comp_package")] public string CompPackage { get; set; } /// /// 器件类型 /// [JsonPropertyName("comp_type")] public string CompType { get; set; } /// /// 器件检测不良代码 /// [JsonPropertyName("comp_robot_code")] public string CompRobotCode { get; set; } /// /// 器件检测结果 /// [JsonPropertyName("comp_robot_result")] public string CompRobotResult { get; set; } /// /// 器件复判不良代码 /// [JsonPropertyName("comp_user_code")] public string CompUserCode { get; set; } /// /// 器件复判结果 /// [JsonPropertyName("comp_user_result")] public string CompUserResult { get; set; } /// /// 器件图片地址 /// [JsonPropertyName("comp_image")] public string CompImage { get; set; } } }