From b8510ca5d1e56ef78cd27c45b6bd65a2c13f6b27 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期一, 17 三月 2025 15:12:34 +0800 Subject: [PATCH] 代码优化 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Model/Models/SerialPort/Dt_NJCommands.cs | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_NJCommands.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_NJCommands.cs" index 03a4e8c..1657383 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_NJCommands.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_NJCommands.cs" @@ -4,26 +4,50 @@ using System.Text; using System.Threading.Tasks; using SqlSugar; +using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; namespace WIDESEAWCS_Model.Models { [SugarTable("Dt_NJCommands", "鎵煩鍛戒护琛�"), MultiTenant] - public class Dt_NJCommands + public class Dt_NJCommands : BaseEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] - public int Comid { get; set; } + public int ID { get; set; } + + /// <summary> + /// 璁惧鍙� + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string DeviceNum { get; set; } + + /// <summary> + /// 鎵�灞炲垎绫伙紙鏈烘/鐢垫皵/鍦版矡锛� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50)] + public string TorqueGruop { get; set; } + + + /// <summary> + /// 鎵煩鎵虫墜浼犺緭鐨勫�� + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string TorqueValue { get; set; } + + /// <summary> + /// 鏈�澶ц寖鍥�+0001000[+TOL] + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string TorqueMax { get; set; } + + /// <summary> + /// 鏈�灏忚寖鍥�-0001000[-TOL] + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string TorqueMin { get; set; } } -- Gitblit v1.9.3