forked from amkovkov/GranuSightSoftware2
feat: starting to build a application itself
add "capture" and "camera-tuning" commands for cli
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,23 +0,0 @@
|
||||
using GSS2.Core.Analysis.AmineContent.Database;
|
||||
using GSS2.Core.Analysis.AmineContent.Database.Calibration;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace GSS2.Core.Analysis.AmineContent;
|
||||
|
||||
public class AmineContentCalibrationDataService
|
||||
{
|
||||
private readonly ILogger<AmineContentCalibrationDataService> _logger;
|
||||
private AmineContentCalibrationContext _calibrationContext;
|
||||
|
||||
public AmineContentCalibrationDataService(ILogger<AmineContentCalibrationDataService> logger, AmineContentCalibrationContext calibrationContext)
|
||||
{
|
||||
_logger = logger;
|
||||
_calibrationContext = calibrationContext;
|
||||
}
|
||||
|
||||
public async Task LoadData(CancellationToken cancellationToken = default)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace GSS2.Core.Analysis.AmineContent;
|
||||
|
||||
public class AmineContentCalibrationService
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
using GSS2.Core.Analysis.AmineContent.Database;
|
||||
using GSS2.Core.Analysis.AmineContent.Database.Calibration;
|
||||
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace GSS2.Core.Analysis.AmineContent;
|
||||
|
||||
public class AmineContentResultsDataService
|
||||
{
|
||||
private readonly ILogger<AmineContentResultsDataService> _logger;
|
||||
private AmineContentCalibrationContext _calibrationContext;
|
||||
|
||||
public AmineContentResultsDataService(ILogger<AmineContentResultsDataService> logger, AmineContentCalibrationContext calibrationContext)
|
||||
{
|
||||
_logger = logger;
|
||||
_calibrationContext = calibrationContext;
|
||||
}
|
||||
|
||||
public async Task LoadData(CancellationToken cancellationToken = default)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@ using Microsoft.Extensions.Logging;
|
||||
using GSS2.Core.Hardware;
|
||||
using GSS2.Core.Analysis.AmineContent.Database.Calibration;
|
||||
using GSS2.Core.Analysis.AmineContent.Database.Results;
|
||||
using GSS2.Core.Analysis.AmineContent;
|
||||
|
||||
namespace GSS2.Core;
|
||||
|
||||
@@ -107,4 +108,10 @@ public static class DependencyInjectionHelper
|
||||
},
|
||||
ServiceLifetime.Singleton
|
||||
);
|
||||
}
|
||||
|
||||
public static IServiceCollection AddAmineContentImageCapturerService(this IServiceCollection services) => services
|
||||
.AddSingleton<AmineContentImageCapturerService>();
|
||||
|
||||
public static IServiceCollection AddAmineContentAnalyzerService(this IServiceCollection services) => services
|
||||
.AddSingleton<AmineContentAnalyzerService>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user