Skip to content

Commit

Permalink
Cleanup some raman files
Browse files Browse the repository at this point in the history
  • Loading branch information
three-halves committed Oct 24, 2024
1 parent 0e5099f commit 3dfaae9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
13 changes: 13 additions & 0 deletions Basestation_Software.Models/RamanGraph/DataItem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Basestation_Software.Models.RamanGraph;

public class DataItem
{
public int Raman_Shift { get; set; }
public double Intensity { get; set; }

public DataItem()
{
Raman_Shift = 0;
Intensity = 0f;
}
}
21 changes: 0 additions & 21 deletions Basestation_Software.Models/RamanGraphType.cs

This file was deleted.

5 changes: 2 additions & 3 deletions Basestation_Software.Web/Core/Components/RamanGraph.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@inject RoveCommService _RoveCommService
@using static Basestation_Software.Models.RamanGraphType
@using Basestation_Software.Models.RamanGraph

<div class="card full-height">
<div class="card-header">
Expand All @@ -16,7 +16,6 @@


@code {

DataItem[] ramanGraph = new DataItem[2048];


Expand Down Expand Up @@ -63,4 +62,4 @@
await InvokeAsync(StateHasChanged);
});
}
}
}
6 changes: 0 additions & 6 deletions Basestation_Software.Web/Core/Services/RamanGraphService.cs

This file was deleted.

1 change: 0 additions & 1 deletion Basestation_Software.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
builder.Services.AddHttpClient<MapTileService>();
builder.Services.AddSingleton<MapTileService>();
builder.Services.AddSingleton<TaskTimerService>();
builder.Services.AddSingleton<RamanGraphService>();

builder.Services.AddSingleton<RoveCommService>();
builder.Services.AddHostedService((sp) => sp.GetRequiredService<RoveCommService>());
Expand Down

0 comments on commit 3dfaae9

Please sign in to comment.