|
|
@@ -0,0 +1,89 @@
|
|
|
+using Business.EntityFrameworkCore;
|
|
|
+using Business.Models;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.ComponentModel.DataAnnotations;
|
|
|
+using System.Linq;
|
|
|
+using System.Security.AccessControl;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+
|
|
|
+namespace Bussiness.Model.Tech
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 工艺关联工序表
|
|
|
+ /// </summary>
|
|
|
+ public class mes_tech_process:BaseEntity
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 工艺工序主键
|
|
|
+ /// </summary>
|
|
|
+ [Key]
|
|
|
+ public long tech_proc_id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工艺主键
|
|
|
+ /// </summary>
|
|
|
+ [Required]
|
|
|
+ public long tech_id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工序主键
|
|
|
+ /// </summary>
|
|
|
+ [Required]
|
|
|
+ public long proc_id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 组合层级
|
|
|
+ /// </summary>
|
|
|
+ public int level { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 前置准备时间
|
|
|
+ /// </summary>
|
|
|
+ [DecimalPrecision(20,8)]
|
|
|
+ public decimal readytime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 效率计算类型 1-节拍时间;2-UPH
|
|
|
+ /// </summary>
|
|
|
+ public int type { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// UPH
|
|
|
+ /// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
+ public decimal uph { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 节拍时间
|
|
|
+ /// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
+ public decimal ct { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否需要跟踪工序
|
|
|
+ /// </summary>
|
|
|
+ public int mototrack { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 下一工序id
|
|
|
+ /// </summary>
|
|
|
+ public long nextprocid { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 父级工序id
|
|
|
+ /// </summary>
|
|
|
+ public long parentprocid { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否需要质检
|
|
|
+ /// </summary>
|
|
|
+ public int needqc { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最大并行工位数
|
|
|
+ /// </summary>
|
|
|
+ public int maxworkshop { get; set; }
|
|
|
+ }
|
|
|
+}
|