From d3ae2e67d8237e8474c7b88f526619550608b933 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 13 三月 2025 21:51:20 +0800 Subject: [PATCH] 通信 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Model/Models/SerialPort/Dt_TorqueOp.cs | 6 ++++-- 1 files changed, 4 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_TorqueOp.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_TorqueOp.cs" index 518bbee..5aaac9c 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_TorqueOp.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_TorqueOp.cs" @@ -4,16 +4,18 @@ 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 { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int ID { get; set; } + [SugarColumn(IsNullable = true, Length = 50)] public string DeviceCode { get; set; } [SugarColumn(IsNullable = true, Length = 50)] @@ -26,7 +28,7 @@ public int ProcessSte { get; set; } [SugarColumn(IsNullable = true, Length = 50)] - public string TorqueSize { get; set; } + public float TorqueSize { get; set; } -- Gitblit v1.9.3