update
This commit is contained in:
20
RobotApp.Common.Shares/Dtos/RobotConfigDto.cs
Normal file
20
RobotApp.Common.Shares/Dtos/RobotConfigDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using RobotApp.Common.Shares.Enums;
|
||||
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public record RobotConfigDto
|
||||
{
|
||||
public Guid Id { 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 DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
16
RobotApp.Common.Shares/Dtos/RobotPlcConfigDto.cs
Normal file
16
RobotApp.Common.Shares/Dtos/RobotPlcConfigDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public record RobotPlcConfigDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string PLCAddress { get; set; }
|
||||
public int PLCPort { get; set; }
|
||||
public byte PLCUnitId { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
20
RobotApp.Common.Shares/Dtos/RobotSafetyConfig.cs
Normal file
20
RobotApp.Common.Shares/Dtos/RobotSafetyConfig.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public record RobotSafetyConfig
|
||||
{
|
||||
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; } = true;
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
18
RobotApp.Common.Shares/Dtos/RobotSimulationConfigDto.cs
Normal file
18
RobotApp.Common.Shares/Dtos/RobotSimulationConfigDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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; } = true;
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
23
RobotApp.Common.Shares/Dtos/RobotVDA5050ConfigDto.cs
Normal file
23
RobotApp.Common.Shares/Dtos/RobotVDA5050ConfigDto.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace RobotApp.Common.Shares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public record RobotVDA5050ConfigDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string SerialNumber { get; set; }
|
||||
public string VDA5050HostServer { get; set; }
|
||||
public int VDA5050Port { get; set; } = 1883;
|
||||
public string VDA5050UserName { get; set; }
|
||||
public string VDA5050Password { get; set; }
|
||||
public string VDA5050Manufacturer { get; set; }
|
||||
public string VDA5050Version { get; set; }
|
||||
public int VDA5050PublishRepeat { get; set; }
|
||||
public bool VDA5050EnablePassword { get; set; }
|
||||
public bool VDA5050EnableTls { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public string ConfigName { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user