update
This commit is contained in:
@@ -26,17 +26,16 @@ public record UpdateRobotConfigDto
|
||||
public double Width { get; set; }
|
||||
public double Length { get; set; }
|
||||
public double Height { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
public record CreateRobotConfigDto
|
||||
{
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public NavigationType NavigationType { get; set; }
|
||||
public double RadiusWheel { get; set; }
|
||||
public double Width { get; set; }
|
||||
public double Length { get; set; }
|
||||
public double Height { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ public record RobotPlcConfigDto
|
||||
|
||||
public record UpdateRobotPlcConfigDto
|
||||
{
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string PLCAddress { get; set; }
|
||||
public int PLCPort { get; set; }
|
||||
|
||||
@@ -28,7 +28,6 @@ public record UpdateRobotSafetyConfigDto
|
||||
public double SafetySpeedOptimal { get; set; }
|
||||
public double SafetySpeedFast { get; set; }
|
||||
public double SafetySpeedVeryFast { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ public record UpdateRobotSimulationConfigDto
|
||||
public double SimulationMaxAngularVelocity { get; set; }
|
||||
public double SimulationAcceleration { get; set; }
|
||||
public double SimulationDeceleration { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public record RobotVDA5050ConfigDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
[Required]
|
||||
public string SerialNumber { get; set; }
|
||||
[Required]
|
||||
public string VDA5050HostServer { get; set; }
|
||||
[Required]
|
||||
public int VDA5050Port { get; set; }
|
||||
[Required]
|
||||
public string VDA5050UserName { get; set; }
|
||||
public string VDA5050Password { get; set; }
|
||||
public string VDA5050Manufacturer { get; set; }
|
||||
@@ -15,6 +21,9 @@ public record RobotVDA5050ConfigDto
|
||||
public int VDA5050PublishRepeat { get; set; }
|
||||
public bool VDA5050EnablePassword { get; set; }
|
||||
public bool VDA5050EnableTls { get; set; }
|
||||
public string VDA5050CA { get; set; }
|
||||
public string VDA5050Cer { get; set; }
|
||||
public string VDA5050_Key { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
@@ -34,7 +43,9 @@ public record UpdateRobotVDA5050ConfigDto
|
||||
public int VDA5050PublishRepeat { get; set; }
|
||||
public bool VDA5050EnablePassword { get; set; }
|
||||
public bool VDA5050EnableTls { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string VDA5050CA { get; set; }
|
||||
public string VDA5050Cer { get; set; }
|
||||
public string VDA5050_Key { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
@@ -50,6 +61,9 @@ public record CreateRobotVDA5050ConfigDto
|
||||
public int VDA5050PublishRepeat { get; set; }
|
||||
public bool VDA5050EnablePassword { get; set; }
|
||||
public bool VDA5050EnableTls { get; set; }
|
||||
public string VDA5050CA { get; set; }
|
||||
public string VDA5050Cer { get; set; }
|
||||
public string VDA5050_Key { get; set; }
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user