Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Scretch9 committed Nov 29, 2023
1 parent 7359cde commit 39e1546
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/FieldElementSubsystems.Test/Point/PointTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using EulynxLive.Messages.IPointToInterlockingConnection;
using IPointToInterlockingConnection = EulynxLive.Point.Interfaces.IPointToInterlockingConnection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Moq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using EulynxLive.Messages.Baseline4R1;
using Grpc.Core;
using static EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection;
using IPointToInterlockingConnection = EulynxLive.Point.Interfaces.IPointToInterlockingConnection;
using PointState = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointState;
using PointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointPosition;
using EulynxLive.Point.Interfaces;
using EulynxLive.Messages.IPointToInterlockingConnection;


namespace EulynxLive.Point.EulynxBaseline4R1;

Expand Down
6 changes: 4 additions & 2 deletions src/Point/Connections/PointStateBaseline4R1.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

using EulynxLive.Messages.Baseline4R1;
using EulynxLive.Messages.IPointToInterlockingConnection;
using static EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection;
using IPointToInterlockingConnection = EulynxLive.Point.Interfaces.IPointToInterlockingConnection;
using PointState = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointState;
using PointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointPosition;
using DegradedPointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.DegradedPointPosition;

public record PointStateBaseline4R1
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System.Threading;
using System.Threading.Tasks;
namespace EulynxLive.Point.Interfaces;

namespace EulynxLive.Messages.IPointToInterlockingConnection;

public interface IPointToInterlockingConnection: System.IDisposable {
public interface IPointToInterlockingConnection: IDisposable {
Task SendPointPosition(PointState state);
Task SendTimeoutMessage();
void Connect();
Expand Down
11 changes: 5 additions & 6 deletions src/Point/Point.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using DegradedPointPosition = EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection.DegradedPointPosition;
using EulynxLive.Messages.IPointToInterlockingConnection;
using EulynxLive.Point.Proto;
using EulynxLive.Point.Proto;
using Grpc.Core;
using PointPosition = EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection.PointPosition;
using PointState = EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection.PointState;
using Sci;
using IPointToInterlockingConnection = EulynxLive.Point.Interfaces.IPointToInterlockingConnection;
using PointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointPosition;
using PointState = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointState;
using DegradedPointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.DegradedPointPosition;
using System.Net.WebSockets;
using System.Text;
using System.Text.Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using EulynxLive.Point.Proto;

using ReportedPointPosition = EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection.PointPosition ;
using DegradedPointPosition = EulynxLive.Messages.IPointToInterlockingConnection.IPointToInterlockingConnection.DegradedPointPosition;
using ReportedPointPosition = EulynxLive.Point.Interfaces.IPointToInterlockingConnection.PointPosition ;

namespace Point.Services.Extensions
{
Expand Down
2 changes: 1 addition & 1 deletion src/Point/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer;
using EulynxLive.Point.Services;
using EulynxLive.Messages.IPointToInterlockingConnection;
using IPointToInterlockingConnection =EulynxLive.Point.Interfaces.IPointToInterlockingConnection;
using EulynxLive.Point.EulynxBaseline4R1;

namespace EulynxLive.Point
Expand Down

0 comments on commit 39e1546

Please sign in to comment.