first commit -push

This commit is contained in:
dungtt
2025-10-15 15:15:53 +07:00
parent 674ae395be
commit a9577c5756
885 changed files with 74595 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace RobotNet.RobotShares.Models;
public class RobotInstantActionModel
{
public string RobotId { get; set; } = string.Empty;
public RobotShares.VDA5050.InstantAction.Action Action { get; set; } = new();
}

View File

@@ -0,0 +1,8 @@
namespace RobotNet.RobotShares.Models;
public class RobotMoveStraightModel
{
public string RobotId { get; set; } = string.Empty;
public double X { get; set; }
public double Y { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace RobotNet.RobotShares.Models;
public class RobotMoveToNodeModel
{
public string RobotId { get; set; } = string.Empty;
public string NodeName { get; set; } = string.Empty;
public double LastAngle { get; set; }
public bool OverrideLastAngle { get; set; }
public IDictionary<string, IEnumerable<RobotShares.VDA5050.InstantAction.Action>>? Actions { get; set; }
}

View File

@@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace RobotNet.RobotShares.Models;
public class RobotRotateModel
{
public string RobotId { get; set; } = string.Empty;
[Range(-180, 180)]
public double Angle { get; set; }
}

View File

@@ -0,0 +1,8 @@
namespace RobotNet.RobotShares.Models;
public class RobotSearchExpressionModel
{
public string MapName { get; set; } = string.Empty;
public string ModelName { get; set; } = string.Empty;
public string Expression { get; set; } = string.Empty;
}

View File

@@ -0,0 +1,25 @@
using RobotNet.RobotShares.Dtos;
using RobotNet.RobotShares.VDA5050.State;
using RobotNet.RobotShares.VDA5050.Visualization;
namespace RobotNet.RobotShares.Models;
public class RobotStateModel
{
public string RobotId { get; set; } = string.Empty;
public Guid MapId { get; set; }
public bool IsOnline { get; set; }
public string State { get; set; } = string.Empty;
public bool NewBaseRequest { get; set; }
public RobotOrderDto OrderState { get; set; } = new();
public RobotActionDto[] ActionStates { get; set; } = [];
public NodeState[] NodeStates { get; set; } = [];
public EdgeState[] EdgeStates { get; set; } = [];
public AgvPosition AgvPosition { get; set; } = new();
public Velocity Velocity { get; set; } = new();
public Load[] Loads { get; set; } = [];
public BatteryState BatteryState { get; set; } = new();
public Error[] Errors { get; set; } = [];
public Information[] Information { get; set; } = [];
public SafetyState SafetyState { get; set; } = new();
}

View File

@@ -0,0 +1,10 @@
using RobotNet.RobotShares.Dtos;
namespace RobotNet.RobotShares.Models;
public class UpdateAgentLockerModel
{
public Guid MapId { get; set; }
public string AgentId { get; set; } = "";
public List<TrafficNodeDto> LockedNodes { get; set; } = [];
}