yanjinhui
2025-03-22 2f0c81709876d76b6b120cf6ac43f05cda6dfe4c
ÏîÄ¿´úÂë/WIDESEAWCS_Server Õýʽ/WIDESEAWCS_Model/Models/SerialPort/Dt_TorqueOp.cs
@@ -4,31 +4,58 @@
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using WIDESEAWCS_Core.DB.Models;
using WIDESEAWCS_Core.Tenants;
namespace WIDESEAWCS_Model.Models
{
    [SugarTable("Dt_TorqueOp", "每次执行成功存储的值"), MultiTenant]
    public class Dt_TorqueOp
    public class Dt_TorqueOp :BaseEntity
    {
        /// <summary>
        /// ä¸»é”®
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int ID { get; set; }
        public string DeviceCode { get;  set; }
        //[SugarColumn(IsNullable = true, Length = 50,ColumnName = "TakeId")]
        public int TakeId {  get; set; }
        /// <summary>
        /// è®¾å¤‡å·
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50)]
        public string DeviceCode { get;  set; }
        //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "GroupOp")]
        /// <summary>
        /// ä»»åŠ¡id(定义的任务id)
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50)]
        public string  TakeId {  get; set; }
        /// <summary>
        /// é‚£ä¸ªç±»åž‹æ‰³æ‰‹æ‰­çš„(机械/电气/地沟)
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50)]
        public string GroupOp { get; set; }
        //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "ProcessSte")]
        /// <summary>
        /// æ­¥éª¤ï¼ˆä»»åŠ¡è¡¨ä¸­çš„å°æ­¥éª¤ï¼‰ï¼Œç¬¬å‡ æ­¥å­˜å‚¨çš„
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50)]
        public int ProcessSte { get; set; }
        //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "TorqueSize")]
        public string TorqueSize { get; set; }
        /// <summary>
        /// å­˜å‚¨å€¼çš„大小
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50)]
        public float TorqueSize { get; set; }
        ///// <summary>
        ///// æ‰­åŠ›å€¼æ˜¯å¦åˆæ ¼
        ///// </summary>
        //[SugarColumn(IsNullable = true)]
        //public bool OpStatus { get; set; }
         
    }