38 lines
927 B
C#
38 lines
927 B
C#
using RobotNet.RobotShares.Enums;
|
|
|
|
namespace RobotNet.RobotShares.Dtos;
|
|
|
|
|
|
#nullable disable
|
|
public class RobotDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string RobotId { get; set; }
|
|
public string Name { get; set; }
|
|
public Guid ModelId { get; set; }
|
|
public string ModelName { get; set; }
|
|
public Guid MapId { get; set; }
|
|
public string MapName { get; set; }
|
|
public NavigationType NavigationType { get; set; }
|
|
public bool Online { get; set; }
|
|
public string State { get; set; }
|
|
public double Battery { get; set; }
|
|
}
|
|
|
|
|
|
public class RobotCreateModel
|
|
{
|
|
public string RobotId { get; set; }
|
|
public string Name { get; set; }
|
|
public Guid ModelId { get; set; }
|
|
}
|
|
|
|
public class RobotUpdateModel
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string RobotId { get; set; }
|
|
public string Name { get; set; }
|
|
public Guid ModelId { get; set; }
|
|
public Guid MapId { get; set; }
|
|
}
|