完成更新设备的测试

This commit is contained in:
2025-07-24 18:52:29 +08:00
parent 7b9c91eee1
commit 899e657053
5 changed files with 42 additions and 12 deletions

View File

@@ -8,12 +8,12 @@ namespace DMS.Application.DTOs;
public class UpdateDeviceDto
{
public int Id { get; set; }
public string Name { get; set; }
public ProtocolType Protocol { get; set; }
public string IpAddress { get; set; }
public int Port { get; set; }
public int Rack { get; set; }
public int Slot { get; set; }
public string OpcUaServerUrl { get; set; }
public bool IsActive { get; set; }
public string? Name { get; set; }
public ProtocolType? Protocol { get; set; }
public string? IpAddress { get; set; }
public int? Port { get; set; }
public int? Rack { get; set; }
public int? Slot { get; set; }
public string? OpcUaServerUrl { get; set; }
public bool? IsActive { get; set; }
}