zhengqifeng
2025-12-30 e254b1f4efa18b3c84ce75e9da2aeff64a1c7cbe
´úÂë¹ÜÀí/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/BasicInfo/Dt_Formula.cs
@@ -1,9 +1,10 @@
using SqlSugar;
using System;
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
@@ -32,77 +33,77 @@
        /// <summary>
        /// åŽ‹è£…ä½äº§å“é•¿åº¦
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位产品长度")]
        public decimal ProductLength { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品长度")]
        public float ProductLength { get; set; }
        /// <summary>
        /// åŽ‹è£…ä½äº§å“å®½åº¦
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位产品宽度")]
        public decimal ProductWidth { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品宽度")]
        public float ProductWidth { get; set; }
        /// <summary>
        /// åŽ‹è£…ä½äº§å“é«˜åº¦
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位产品高度")]
        public decimal ProductHeight { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位产品高度")]
        public float ProductHeight { get; set; }
        /// <summary>
        /// åŽ‹è£…ä½æ‹§ç´§ä¸‹é™é«˜åº¦
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧下降高度")]
        public decimal ScrewDownsetDistance { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位拧紧下降高度")]
        public float ScrewDownsetDistance { get; set; }
        /// <summary>
        /// åŽ‹è£…ä½æ‹§ç´§æ‰­åŠ›
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位拧紧扭力")]
        public decimal ScrewTorqueOutput { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位拧紧扭力")]
        public float ScrewTorqueOutput { get; set; }
        /// <summary>
        /// åŽ‹è£…ä½è‡ªåŠ¨æ‹§ç´§æ‰“å¼€
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "压装位自动拧紧打开")]
        public decimal DintAutoScrewOn { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "压装位自动拧紧打开")]
        public int DintAutoScrewOn { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½X偏移距离1
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位X偏移距离1")]
        public decimal XDirectionDistance1 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离1")]
        public float XDirectionDistance1 { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½Z高度1
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位Z高度1")]
        public decimal YDirectionHeight1 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度1")]
        public float YDirectionHeight1 { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½X偏移距离2
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位X偏移距离2")]
        public decimal XDirectionDistance2 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离2")]
        public float XDirectionDistance2 { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½Z高度2
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位Z高度2")]
        public decimal YDirectionHeight2 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度2")]
        public float YDirectionHeight2 { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½X偏移距离3
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位X偏移距离3")]
        public decimal XDirectionDistance3 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位X偏移距离3")]
        public float XDirectionDistance3 { get; set; }
        /// <summary>
        /// æ£€æµ‹ä½Z高度3
        /// </summary>
        [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "检测位Z高度3")]
        public decimal YDirectionHeight3 { get; set; }
        [SugarColumn(IsNullable = true,  ColumnDescription = "检测位Z高度3")]
        public float YDirectionHeight3 { get; set; }
        [Navigate(NavigateType.OneToMany, nameof(Dt_BoxingDetail.BoxingId), nameof(Id))]
        public List<Dt_BoxingDetail> Details { get; set; }
        [SugarColumn(IsIgnore = true)]//不参与数据库映射,测试使用
        [Navigate(NavigateType.OneToMany, nameof(Dt_FormulaDetail.FormulaId), nameof(Id))]
        public List<Dt_FormulaDetail> Details { get; set; }
    }
}