Renamed 1
4f16668d4b3f70d68d04f1a6acc368a4b3371663
10 files changed
RtRobotSharp.slnxRtRobotSharp/Controllers/LogController.csRtRobotSharp/Controllers/SerialController.csRtRobotSharp/Controllers/ServoController.csRtRobotSharp/Controllers/SettingsController.csRtRobotSharp/Models/RobotSerialSettings.csRtRobotSharp/Program.csRtRobotSharp/RobotSharp.csprojRtRobotSharp/RtRobotSharp.csprojRtRobotSharp/Services/RobotSerialService.cs
diff --git a/RtRobotSharp.slnx b/RtRobotSharp.slnx
index 213c3d5..1c6ac95 100644
--- a/RtRobotSharp.slnx
+++ b/RtRobotSharp.slnx
@@ -1,3 +1,3 @@
<Solution>
- <Project Path="RtRobotSharp/RtRobotSharp.csproj" />
+ <Project Path="RtRobotSharp/RobotSharp.csproj" />
</Solution>
diff --git a/RtRobotSharp/Controllers/LogController.cs b/RtRobotSharp/Controllers/LogController.cs
index 44598d7..fdecfd5 100644
--- a/RtRobotSharp/Controllers/LogController.cs
+++ b/RtRobotSharp/Controllers/LogController.cs
@@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
-using RtRobotSharp.Services;
+using RobotSharp.Services;
-namespace RtRobotSharp.Controllers;
+namespace RobotSharp.Controllers;
[ApiController]
[Route("api/log")]
diff --git a/RtRobotSharp/Controllers/SerialController.cs b/RtRobotSharp/Controllers/SerialController.cs
index e8b99c7..08da8a8 100644
--- a/RtRobotSharp/Controllers/SerialController.cs
+++ b/RtRobotSharp/Controllers/SerialController.cs
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
-using RtRobotSharp.Services;
+using RobotSharp.Services;
-namespace RtRobotSharp.Controllers;
+namespace RobotSharp.Controllers;
[ApiController]
[Route("api/serial")]
diff --git a/RtRobotSharp/Controllers/ServoController.cs b/RtRobotSharp/Controllers/ServoController.cs
index 4561a97..35e1297 100644
--- a/RtRobotSharp/Controllers/ServoController.cs
+++ b/RtRobotSharp/Controllers/ServoController.cs
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
-using RtRobotSharp.Services;
+using RobotSharp.Services;
-namespace RtRobotSharp.Controllers;
+namespace RobotSharp.Controllers;
public record ServoTargetDto(int Channel, int Position);
public record ServoMoveRequest(List<ServoTargetDto> Targets, int? SpeedMs, int? DelayMs);
diff --git a/RtRobotSharp/Controllers/SettingsController.cs b/RtRobotSharp/Controllers/SettingsController.cs
index 1853d95..4257894 100644
--- a/RtRobotSharp/Controllers/SettingsController.cs
+++ b/RtRobotSharp/Controllers/SettingsController.cs
@@ -1,10 +1,10 @@
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
using System.Text.Json.Nodes;
-using RtRobotSharp.Models;
-using RtRobotSharp.Services;
+using RobotSharp.Models;
+using RobotSharp.Services;
-namespace RtRobotSharp.Controllers;
+namespace RobotSharp.Controllers;
[ApiController]
[Route("api/settings")]
diff --git a/RtRobotSharp/Models/RobotSerialSettings.cs b/RtRobotSharp/Models/RobotSerialSettings.cs
index 7cb1401..ffa5d93 100644
--- a/RtRobotSharp/Models/RobotSerialSettings.cs
+++ b/RtRobotSharp/Models/RobotSerialSettings.cs
@@ -1,4 +1,4 @@
-namespace RtRobotSharp.Models;
+namespace RobotSharp.Models;
public class RobotSerialSettings
{
diff --git a/RtRobotSharp/Program.cs b/RtRobotSharp/Program.cs
index 568f479..8d34cb4 100644
--- a/RtRobotSharp/Program.cs
+++ b/RtRobotSharp/Program.cs
@@ -1,4 +1,4 @@
-using RtRobotSharp.Services;
+using RobotSharp.Services;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleton<RobotSerialService>();
diff --git a/RtRobotSharp/RtRobotSharp.csproj b/RtRobotSharp/RobotSharp.csproj
similarity index 100%
rename from RtRobotSharp/RtRobotSharp.csproj
rename to RtRobotSharp/RobotSharp.csproj
diff --git a/RtRobotSharp/Services/RobotSerialService.cs b/RtRobotSharp/Services/RobotSerialService.cs
index e31d3ba..a621f3d 100644
--- a/RtRobotSharp/Services/RobotSerialService.cs
+++ b/RtRobotSharp/Services/RobotSerialService.cs
@@ -2,9 +2,9 @@ using System.Diagnostics;
using System.IO.Ports;
using System.Text;
using System.Threading.Channels;
-using RtRobotSharp.Models;
+using RobotSharp.Models;
-namespace RtRobotSharp.Services;
+namespace RobotSharp.Services;
public record ServoTarget(int Channel, int Position);