You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace FactorySystemModel.BusinessModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public class BomModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public BomModel()
|
|
|
|
|
|
{
|
|
|
|
|
|
Code = Name = Version = Type = Quantity = TestNO = "";
|
|
|
|
|
|
Specifications = new List<BomModel>();
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// PLM规格内码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string SP { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 规格英文名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string EnName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 版本号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string SP_Version { get; set; }
|
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 实验号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string SP_VALUE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
|
public string Quantity { get; set; }
|
|
|
|
|
|
public string TestNO { get; set; }
|
|
|
|
|
|
public List<BomModel> Specifications { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方层级
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class BomFormulaDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public BomFormulaDto()
|
|
|
|
|
|
{
|
|
|
|
|
|
childs = new List<BomFormulaDto>();
|
|
|
|
|
|
}
|
|
|
|
|
|
public int mId { get; set; }
|
|
|
|
|
|
public bool isNew { get; set; }
|
|
|
|
|
|
public List<BomFormulaDto> childs { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|