leiqunqing
2025-12-26 ee67c9e74f6af07d3ffc09bd122a139713054727
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Numeric;
using SqlSugar;
using WIDESEAWCS_Core.DB.Models;
 
namespace WIDESEAWCS_Model.Models
{
    [SugarTable(nameof(Dt_Formula), "配方信息表")]
    public class Dt_Formula : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 成品编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品编号")]
        public string ProductCode { get; set; }
 
        /// <summary>
        /// 成品名称
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品名称")]
        public string ProductName { get; set; }
 
        /// <summary>
        /// 压装位产品长度
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品长度")]
        public float ProductLength { get; set; }
 
        /// <summary>
        /// 压装位产品宽度
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品宽度")]
        public float ProductWidth { get; set; }
 
        /// <summary>
        /// 压装位产品高度
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品高度")]
        public float ProductHeight { get; set; }
 
        /// <summary>
        /// 压装位拧紧下降高度
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位拧紧下降高度")]
        public float ScrewDownsetDistance { get; set; }
 
        /// <summary>
        /// 压装位拧紧扭力
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位拧紧扭力")]
        public float ScrewTorqueOutput { get; set; }
 
        /// <summary>
        /// 压装位自动拧紧打开
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位自动拧紧打开")]
        public int DintAutoScrewOn { get; set; }
 
        /// <summary>
        /// 检测位X偏移距离1
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离1")]
        public float XDirectionDistance1 { get; set; }
 
        /// <summary>
        /// 检测位Z高度1
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度1")]
        public float YDirectionHeight1 { get; set; }
 
        /// <summary>
        /// 检测位X偏移距离2
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离2")]
        public float XDirectionDistance2 { get; set; }
 
        /// <summary>
        /// 检测位Z高度2
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度2")]
        public float YDirectionHeight2 { get; set; }
 
        /// <summary>
        /// 检测位X偏移距离3
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离3")]
        public float XDirectionDistance3 { get; set; }
 
        /// <summary>
        /// 检测位Z高度3
        /// </summary>
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度3")]
        public float YDirectionHeight3 { get; set; }
 
 
        [Navigate(NavigateType.OneToMany, nameof(Dt_FormulaDetail.FormulaId), nameof(Id))]
        public List<Dt_FormulaDetail> Details { get; set; }
    }
}