EPLAN_PROD_Plugin/Sinvo.EplanHpD.Plugin.WPFUI/Models/WireCheck/StuffedDataModel.cs

234 lines
5.7 KiB
C#

using EPLAN.Harness.PlatformCore.P8Objects;
namespace Sinvo.EplanHpD.Plugin.WPFUI.Models
{
/*
线色
线材型号
线材编码
前端子型号
前端子物料编码
前端剥线长度
后端子型号
后端子物料编码
后端剥线长度
截面积
线长+0
十位取整
线号
型号
数量
*/
public class StuffedDataModel : CheckedModel
{
public StuffedDataModel()
{
}
public string OccPartId { get; set; }
private string wireColor;
private string wireModel;
private string wireCode;
private string wireName;
private string frontTerminalModel;
private string frontTerminalMaterialCode;
private string frontStripLength;
private string rearTerminalModel;
private string rearTerminalMaterialCode;
private string rearStripLength;
private string crossSection;
private string wireLength;
private string wireNumber;
private string model;
private int quantity;
private string discolorationDesc;
private string imprint;
private string numberTubeSpec;
private string numberTubeMaterialNo;
private string numberTubeContent;
/// <summary>
/// B号码管规格
/// </summary>
public string NumberTubeSpec
{
get => numberTubeSpec;
set => SetProperty(ref numberTubeSpec, value);
}
/// <summary>
/// B号码管物料编码
/// </summary>
public string NumberTubeMaterialNo
{
get => numberTubeMaterialNo;
set => SetProperty(ref numberTubeMaterialNo, value);
}
/// <summary>
/// B号码管内容
/// </summary>
public string NumberTubeContent
{
get => numberTubeContent;
set => SetProperty(ref numberTubeContent, value);
}
/// <summary>
/// 导线名称
/// </summary>
public string WireName
{
get => wireName;
set => SetProperty(ref wireName, value);
}
/// 电线标码
public string Imprint
{
get => imprint;
set => SetProperty(ref imprint, value);
}
/// <summary>
/// 线色
/// </summary>
public string WireColor
{
get => wireColor;
set => SetProperty(ref wireColor, value);
}
/// <summary>
/// 线材型号
/// </summary>
public string WireModel
{
get => wireModel;
set => SetProperty(ref wireModel, value);
}
/// <summary>
/// 线材编码
/// </summary>
public string WireCode
{
get => wireCode;
set => SetProperty(ref wireCode, value);
}
/// <summary>
/// 前端子型号
/// </summary>
public string FrontTerminalModel
{
get => frontTerminalModel;
set => SetProperty(ref frontTerminalModel, value);
}
/// <summary>
/// 前端子物料编码
/// </summary>
public string FrontTerminalMaterialCode
{
get => frontTerminalMaterialCode;
set => SetProperty(ref frontTerminalMaterialCode, value);
}
/// <summary>
/// 前端剥线长度
/// </summary>
public string FrontStripLength
{
get => frontStripLength;
set => SetProperty(ref frontStripLength, value);
}
/// <summary>
/// 后端子型号
/// </summary>
public string RearTerminalModel
{
get => rearTerminalModel;
set => SetProperty(ref rearTerminalModel, value);
}
/// <summary>
/// 后端子物料编码
/// </summary>
public string RearTerminalMaterialCode
{
get => rearTerminalMaterialCode;
set => SetProperty(ref rearTerminalMaterialCode, value);
}
/// <summary>
/// 后端剥线长度
/// </summary>
public string RearStripLength
{
get => rearStripLength;
set => SetProperty(ref rearStripLength, value);
}
/// <summary>
/// 截面积
/// </summary>
public string CrossSection
{
get => crossSection;
set => SetProperty(ref crossSection, value);
}
/// <summary>
/// 线长
/// </summary>
public string WireLength
{
get => wireLength;
set => SetProperty(ref wireLength, value);
}
/// <summary>
/// 线号
/// </summary>
public string WireNumber
{
get => wireNumber;
set => SetProperty(ref wireNumber, value);
}
/// <summary>
/// 型号
/// </summary>
public string Model
{
get => model;
set => SetProperty(ref model, value);
}
/// <summary>
/// 数量
/// </summary>
public int Quantity
{
get => quantity;
set => SetProperty(ref quantity, value);
}
/// <summary>
/// 变色管信息
/// </summary>
public string DiscolorationDesc
{
get => discolorationDesc;
set => SetProperty(ref discolorationDesc, value);
}
/// <summary>
/// 变色绝缘套管信息
/// </summary>
public InsulationModel Insulation { get; set; }
}
}