35 lines
962 B
C#
35 lines
962 B
C#
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 int PLCUnitId { 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 UpdateRobotPlcConfigDto
|
|
{
|
|
public string ConfigName { get; set; }
|
|
public string Description { get; set; }
|
|
public string PLCAddress { get; set; }
|
|
public int PLCPort { get; set; }
|
|
public int PLCUnitId { get; set; }
|
|
}
|
|
|
|
public record CreateRobotPlcConfigDto
|
|
{
|
|
public string ConfigName { get; set; }
|
|
public string Description { get; set; }
|
|
public string PLCAddress { get; set; }
|
|
public int PLCPort { get; set; }
|
|
public int PLCUnitId { get; set; }
|
|
}
|