Initial commit

This commit is contained in:
2026-07-03 16:31:37 +07:00
commit 899c7c637d
1939 changed files with 641750 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class ActionException : RobotException
{
public ActionException(string message) : base(message) { }
public ActionException(string message, Exception inner) : base(message, inner) { }
public ActionException() : base() { }
public ActionException(RobotError error) : base()
{
Error = error;
}
}

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class ModbusException : RobotException
{
public ModbusException(string message) : base(message) { }
public ModbusException(string message, Exception inner) : base(message, inner) { }
public ModbusException() : base() { }
public ModbusException(RobotError error) : base()
{
Error = error;
}
}

View File

@@ -0,0 +1,14 @@
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class NavigationException : RobotException
{
public NavigationException(string message) : base(message) { }
public NavigationException(string message, Exception inner) : base(message, inner) { }
public NavigationException() : base() { }
public NavigationException(RobotError error) : base()
{
Error = error;
}
}

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class OrderException : RobotException
{
public OrderException(string message) : base(message) { }
public OrderException(string message, Exception inner) : base(message, inner) { }
public OrderException() : base() { }
public OrderException(RobotError error) : base()
{
Error = error;
}
}

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class PathPlannerException : RobotException
{
public PathPlannerException(string message) : base(message) { }
public PathPlannerException(string message, Exception inner) : base(message, inner) { }
public PathPlannerException() : base() { }
public PathPlannerException(RobotError error) : base()
{
Error = error;
}
}

View File

@@ -0,0 +1,16 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class RobotException : Exception
{
public RobotException(string message) : base(message) { }
public RobotException(string message, Exception inner) : base(message, inner) { }
public RobotException() : base() { }
public RobotException(RobotError error) : base()
{
Error = error;
}
public RobotError? Error { get; set; }
}

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
using RobotNet10.RobotApp.Services.Robot;
namespace RobotNet10.RobotApp.Services.Exceptions;
public class SimulationException : RobotException
{
public SimulationException(string message) : base(message) { }
public SimulationException(string message, Exception inner) : base(message, inner) { }
public SimulationException() : base() { }
public SimulationException(RobotError error) : base()
{
Error = error;
}
}