-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified project structure yet better defined our different functio…
…ns of the program.
- Loading branch information
Showing
59 changed files
with
272 additions
and
256 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
GlucoseTray.Infrastructure/ExternalCommunicationAdapter.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
...ray.Domain/DisplayResults/AlertService.cs → GlucoseTray/DisplayResults/AlertService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...y.Domain/DisplayResults/IDialogService.cs → ...isplayResults/Contracts/IDialogService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ray.Domain/DisplayResults/IIconService.cs → .../DisplayResults/Contracts/IIconService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/ISchedulingAdapter.cs → ...ayResults/Contracts/ISchedulingAdapter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using GlucoseTray.DisplayResults.Contracts; | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace GlucoseTray.DisplayResults; | ||
|
||
public static class DependencyExtensions | ||
{ | ||
public static IServiceCollection RegisterDisplayResultServices(this IServiceCollection services) | ||
{ | ||
services | ||
.AddScoped<AlertService, AlertService>() | ||
.AddScoped<ISchedulingAdapter, TaskSchedulerService>() | ||
.AddScoped<IIconService, IconService>() | ||
.AddScoped<IDialogService, DialogService>(); | ||
|
||
return services; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ayResults/GlucoseFetchResultExtensions.cs → ...xtensions/GlucoseFetchResultExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...Domain/DisplayResults/StringExtensions.cs → ...layResults/Extensions/StringExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...ay.Infrastructure/TaskSchedulerService.cs → ...ay/DisplayResults/TaskSchedulerService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/AlertLevel.cs → GlucoseTray/Enums/AlertLevel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace GlucoseTray.Domain.Enums; | ||
namespace GlucoseTray.Enums; | ||
|
||
public enum AlertLevel | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/DataSource.cs → GlucoseTray/Enums/DataSource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace GlucoseTray.Domain.Enums; | ||
namespace GlucoseTray.Enums; | ||
|
||
public enum DataSource | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/DexcomServer.cs → GlucoseTray/Enums/DexcomServer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/GlucoseUnitType.cs → GlucoseTray/Enums/GlucoseUnitType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace GlucoseTray.Domain.Enums; | ||
namespace GlucoseTray.Enums; | ||
|
||
public enum GlucoseUnitType | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/TrendResult.cs → GlucoseTray/Enums/TrendResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace GlucoseTray.Domain.Enums; | ||
namespace GlucoseTray.Enums; | ||
|
||
public enum TrendResult | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
GlucoseTray.Domain/Enums/UpDown.cs → GlucoseTray/Enums/UpDown.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace GlucoseTray.Domain.Enums; | ||
namespace GlucoseTray.Enums; | ||
|
||
public enum UpDown | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace GlucoseTray.FetchResults.Contracts; | ||
|
||
public interface IDexcomService | ||
{ | ||
Task GetLatestReadingAsync(); | ||
} |
2 changes: 1 addition & 1 deletion
2
...hResults/IExternalCommunicationAdapter.cs → ...ontracts/IExternalCommunicationAdapter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace GlucoseTray.FetchResults.Contracts; | ||
|
||
public interface IGlucoseFetchService | ||
{ | ||
Task GetLatestReadingsAsync(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace GlucoseTray.FetchResults.Contracts; | ||
|
||
public interface INightscoutService | ||
{ | ||
Task GetLatestReadingAsync(); | ||
} |
4 changes: 2 additions & 2 deletions
4
...eTray.Domain/FetchResults/DebugService.cs → GlucoseTray/FetchResults/DebugService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.