update
This commit is contained in:
46
RobotApp.Common.Shares/Dtos/RobotSafetyConfigDto.cs
Normal file
46
RobotApp.Common.Shares/Dtos/RobotSafetyConfigDto.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user