update
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
@@ -6,13 +8,18 @@ public record RobotSimulationConfigDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public bool EnableSimulation { get; set; }
|
||||
[Range(0.1, 10, ErrorMessage = "Value must be from 0.1 to 10")]
|
||||
public double SimulationMaxVelocity { get; set; }
|
||||
[Range(0.1, 10, ErrorMessage = "Value must be from 0.1 to 10")]
|
||||
public double SimulationMaxAngularVelocity { get; set; }
|
||||
[Range(0.1, 10, ErrorMessage = "Value must be from 0.1 to 10")]
|
||||
public double SimulationAcceleration { get; set; }
|
||||
[Range(0.1, 10, ErrorMessage = "Value must be from 0.1 to 10")]
|
||||
public double SimulationDeceleration { get; set; }
|
||||
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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user