RobotApp/RobotApp.Common.Shares/Dtos/RobotSafetyConfigDto.cs
Đăng Nguyễn aa2146e383 update
2025-10-30 13:34:44 +07:00

46 lines
1.6 KiB
C#

namespace RobotApp.Common.Shares.Dtos;
#nullable disable
public record RobotSafetyConfigDto
{
public Guid Id { get; set; }
public double SafetySpeedVerySlow { get; set; }
public double SafetySpeedSlow { get; set; }
public double SafetySpeedNormal { get; set; }
public double SafetySpeedMedium { get; set; }
public double SafetySpeedOptimal { get; set; }
public double SafetySpeedFast { get; set; }
public double SafetySpeedVeryFast { 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 UpdateRobotSafetyConfigDto
{
public double SafetySpeedVerySlow { get; set; }
public double SafetySpeedSlow { get; set; }
public double SafetySpeedNormal { get; set; }
public double SafetySpeedMedium { get; set; }
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; }
}
public record CreateRobotSafetyConfigDto
{
public double SafetySpeedVerySlow { get; set; }
public double SafetySpeedSlow { get; set; }
public double SafetySpeedNormal { get; set; }
public double SafetySpeedMedium { get; set; }
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; }
}