临时提交

This commit is contained in:
2025-07-19 09:25:01 +08:00
parent e1a89e7c70
commit 01fe2e14ef
52 changed files with 499 additions and 370 deletions

View File

@@ -2,8 +2,7 @@ using SqlSugar;
using SqlSugar.DbConvert;
using S7.Net;
using DMS.Core.Enums;
namespace DMS.Infrastructure.Entities;
using DMS.Infrastructure.Entities;
/// <summary>
/// 表示数据库中的设备实体。
@@ -76,7 +75,7 @@ public class DbDevice
/// 设备的通信协议类型。
/// </summary>
[SugarColumn(ColumnDataType = "varchar(20)", SqlParameterDbType = typeof(EnumToStringConvert))]
public Enums_ProtocolType ProtocolType { get; set; }
public ProtocolType ProtocolType { get; set; }
/// <summary>
/// OPC UA Endpoint URL。