39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
namespace RobotApp.Common.Shares.Dtos;
|
|
|
|
#nullable disable
|
|
|
|
public record RobotSimulationConfigDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public bool EnableSimulation { get; set; }
|
|
public double SimulationMaxVelocity { get; set; }
|
|
public double SimulationMaxAngularVelocity { get; set; }
|
|
public double SimulationAcceleration { get; set; }
|
|
public double SimulationDeceleration { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public string ConfigName { get; set; }
|
|
public string Description { get; set; }
|
|
}
|
|
|
|
public record UpdateRobotSimulationConfigDto
|
|
{
|
|
public bool EnableSimulation { get; set; }
|
|
public double SimulationMaxVelocity { get; set; }
|
|
public double SimulationMaxAngularVelocity { get; set; }
|
|
public double SimulationAcceleration { get; set; }
|
|
public double SimulationDeceleration { get; set; }
|
|
public string Description { get; set; }
|
|
}
|
|
|
|
public record CreateRobotSimulationConfigDto
|
|
{
|
|
public bool EnableSimulation { get; set; }
|
|
public double SimulationMaxVelocity { get; set; }
|
|
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; }
|
|
} |