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.
147 lines
4.0 KiB
147 lines
4.0 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using QMAPP.Entity;
|
||
|
using QMFrameWork.Data.Attributes;
|
||
|
using System.Data;
|
||
|
|
||
|
namespace QMAPP.FJC.Entity.ProcessParameter
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 作 用:浇注操作加工参数数据模型
|
||
|
/// 作 者:王丹丹
|
||
|
/// 编写日期:2015年06月8日
|
||
|
///</summary>
|
||
|
[DBTable(TableName = "T_AW_CASTINGPARAMETER")]
|
||
|
public class CastingParameter : BaseEntity
|
||
|
{
|
||
|
public CastingParameter()
|
||
|
{
|
||
|
decimal flowValue = new Random().Next(3943, 3954);
|
||
|
FLOW = flowValue / 10;
|
||
|
|
||
|
decimal stressPercentValue = 6;
|
||
|
STRESSPERCENT = stressPercentValue / 10;
|
||
|
|
||
|
decimal mt1 = new Random().Next(271, 289);
|
||
|
METARIALTEMPRATURE = mt1 / 10;
|
||
|
|
||
|
decimal mt2 = new Random().Next(284, 293);
|
||
|
METARIALTEMPRATURETWO = mt2 / 10;
|
||
|
}
|
||
|
|
||
|
///<summary>
|
||
|
///浇注加工参数主键
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
|
||
|
public string PID { get; set; }
|
||
|
///<summary>
|
||
|
///本体记录主键
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MID", DataType = DbType.String)]
|
||
|
public string MID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///本体条码
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MAINCODE", DataType = DbType.String)]
|
||
|
public string MAINCODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///零件信息主键
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "PDID", DataType = DbType.String)]
|
||
|
public string PDID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///零件条码
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "PRODUCTCODE", DataType = DbType.String)]
|
||
|
public string PRODUCTCODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///加工记录主键
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MOID", DataType = DbType.String)]
|
||
|
public string MOID { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
/// 零件类别
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "PRODUCTTYPE", DataType = DbType.String)]
|
||
|
public string PRODUCTTYPE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///设备名称
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MACHINENAME", DataType = DbType.String)]
|
||
|
public string MACHINENAME { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///设备编码
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
|
||
|
public string MACHINECODDE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///流量
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "FLOW", DataType = DbType.Decimal)]
|
||
|
public decimal FLOW { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///压力比
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "STRESSPERCENT", DataType = DbType.Decimal)]
|
||
|
public decimal STRESSPERCENT { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///材料温度
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "METARIALTEMPRATURE", DataType = DbType.Decimal)]
|
||
|
public decimal METARIALTEMPRATURE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///材料温度2
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "METARIALTEMPRATURETWO", DataType = DbType.Decimal)]
|
||
|
public decimal METARIALTEMPRATURETWO { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///模具号
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "MOULDNUMBER", DataType = DbType.Decimal)]
|
||
|
public int MOULDNUMBER { get; set; }
|
||
|
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///操作时间
|
||
|
///</summary>
|
||
|
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
|
||
|
public DateTime CREATEDATE { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 错误信息
|
||
|
/// </summary>
|
||
|
public string InfoError { get; set; }
|
||
|
/// <summary>
|
||
|
/// 导入时判断添加修改
|
||
|
/// </summary>
|
||
|
public bool IsNewInfo { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|