namespace ConsoleApp2
{
public class UpLoadTraceModel
{
public Serials serials { get; set; }
public Data data { get; set; }
}
public class Serials
{
public string part_id { get; set; } //二维码 LYC0000000000001
}
public class Data
{
public Insight insight { get; set; }
}
public class Insight
{
public Test_Attributes test_attributes { get; set; }
public Test_Station_Attributes test_station_attributes { get; set; }
public Uut_Attributes uut_attributes { get; set; }
public Result[] results { get; set; }
}
public class Test_Attributes
{
///
/// 测试结果
///
public string test_result { get; set; }//pass/fail
///
/// 开始时间
///
public string uut_start { get; set; }//2018-09-18 20:41:33
///
/// 停止时间
///
public string uut_stop { get; set; }
}
public class Test_Station_Attributes
{
public string fixture_id { get; set; }//H-76HO-SMA40-2200-A-00003
public string head_id { get; set; }// An optional string containing Cavity 1?
///
/// 线id
///
public string line_id { get; set; } //H-76HO-SMA40-2200-A-00003
///
/// 软件名称
///
public string software_name { get; set; }//TeamXXX
///
/// 版本
///
public string software_version { get; set; }//V1.111
///
///
///
public string station_id { get; set; }//Site_LineID_MachineID_StationName
}
public class Uut_Attributes
{
//操作员id
public string op_id { get; set; }
///
/// 白夜班
///
public string shift { get; set; }//D/N
///
/// 设备供应商?代工商
///
public string station_vendor { get; set; }//team
}
public class Result
{
///
/// “pass”, “fail” or “scrap”
///
public string result { get; set; }//pass/fail
///
/// A required string containing the name of the test
/// 点位的意思
///
public string test { get; set; } //"SPCXYZ (e.g., SPC-D-1_1)
///
/// 单位
///
public string units { get; set; }
///
/// : A required string containing value of the parametric data
/// 要求字符串包含参数话数据
/// e.g. SPC-AW_M6,1,1.1,1.5,PASS
/// 客户说是直接写 值
///
public string value { get; set; }//
}
}