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