first commit -push
This commit is contained in:
7
RobotNet.RobotShares/Models/RobotInstantActionModel.cs
Normal file
7
RobotNet.RobotShares/Models/RobotInstantActionModel.cs
Normal 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();
|
||||
}
|
||||
8
RobotNet.RobotShares/Models/RobotMoveStraightModel.cs
Normal file
8
RobotNet.RobotShares/Models/RobotMoveStraightModel.cs
Normal 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; }
|
||||
}
|
||||
11
RobotNet.RobotShares/Models/RobotMoveToNodeModel.cs
Normal file
11
RobotNet.RobotShares/Models/RobotMoveToNodeModel.cs
Normal 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; }
|
||||
}
|
||||
|
||||
11
RobotNet.RobotShares/Models/RobotRotateModel.cs
Normal file
11
RobotNet.RobotShares/Models/RobotRotateModel.cs
Normal 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; }
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
25
RobotNet.RobotShares/Models/RobotStateModel.cs
Normal file
25
RobotNet.RobotShares/Models/RobotStateModel.cs
Normal 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();
|
||||
}
|
||||
10
RobotNet.RobotShares/Models/UpdateAgentLockerModel.cs
Normal file
10
RobotNet.RobotShares/Models/UpdateAgentLockerModel.cs
Normal 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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user