This commit is contained in:
Đăng Nguyễn
2025-11-06 14:14:10 +07:00
parent 99716cc414
commit 8736bad3e7
28 changed files with 931 additions and 146 deletions

View File

@@ -14,11 +14,11 @@ public record RobotVDA5050ConfigDto
[Required]
[Range(1, 65535, ErrorMessage = "Value must be from 1 to 65535")]
public int VDA5050Port { get; set; }
[Required]
public string VDA5050UserName { get; set; }
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public string VDA5050TopicPrefix { get; set; }
[Range(1, 65535, ErrorMessage = "Value must be from 1 to 65535")]
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
@@ -29,6 +29,7 @@ public record RobotVDA5050ConfigDto
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsActive { get; set; }
[Required]
public string ConfigName { get; set; }
public string Description { get; set; }
}
@@ -42,6 +43,7 @@ public record UpdateRobotVDA5050ConfigDto
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public string VDA5050TopicPrefix { get; set; }
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }
@@ -60,6 +62,7 @@ public record CreateRobotVDA5050ConfigDto
public string VDA5050Password { get; set; }
public string VDA5050Manufacturer { get; set; }
public string VDA5050Version { get; set; }
public string VDA5050TopicPrefix { get; set; }
public int VDA5050PublishRepeat { get; set; }
public bool VDA5050EnablePassword { get; set; }
public bool VDA5050EnableTls { get; set; }