feat: create di helper and update appsettings

This commit is contained in:
2025-12-15 15:32:47 +03:00
parent 5a4ef0b4f7
commit 34635c39b5
4 changed files with 121 additions and 43 deletions
+9 -1
View File
@@ -6,7 +6,8 @@
}
},
"ConnectionStrings": {
"AmineContentCalibrationDatabasePath": "AmineContentCalibration.db"
"AmineContentCalibrationDatabasePath": "AmineContentCalibration.db",
"AmineContentResultsDatabasePath": "AmineContentResults.db"
},
"Hardware": {
"Illuminator": {
@@ -22,6 +23,13 @@
"MaxUv254PwmDuty": 1.0,
"MaxUv365PwmDuty": 1.0
},
"Camera": {
"ViewFinderWidth": 1920,
"ViewFinderHeight": 1080,
"ViewFinderFps": 30,
"ImageCaptureWidth": 4056,
"ImageCaptureHeight": 3080
},
"TemperatureHumidity": {
"Bus": 6,
"Address": 69