diff --git a/GSS2/appsettings.json b/GSS2/appsettings.json index 5187e69..44fe2f3 100644 --- a/GSS2/appsettings.json +++ b/GSS2/appsettings.json @@ -1,82 +1,79 @@ { - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.Hosting.Lifetime": "Information", - "Microsoft.EntityFrameworkCore.Migrations": "Warning", - "Microsoft.EntityFrameworkCore.Database.Command": "Warning", - "GSS2.Core.Hardware.LightsService": "Information", - "GSS2.Core.Hardware.IlluminatorService": "Information", - "GSS2.Core.Hardware.CameraService": "Information", - "LibCamera": "Information", - "LibCamera-Camera": "Information", - "LibCamera-RPI": "Information", - "LibCamera-DeviceEnumerator": "Information", - "LibCamera-IPAProxy": "Information", - "LibCamera-V4L2": "Information", - "LibCamera-RPISTREAM": "Information", - "LibCamera-WRAPPER": "Information", - "Avalonia.*": "Warning" + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.Hosting.Lifetime": "Information", + "Microsoft.EntityFrameworkCore.Migrations": "Warning", + "Microsoft.EntityFrameworkCore.Database.Command": "Warning", + "GSS2.Core.Hardware.LightsService": "Information", + "GSS2.Core.Hardware.IlluminatorService": "Information", + "GSS2.Core.Hardware.CameraService": "Information", + "LibCamera": "Information", + "LibCamera-Camera": "Information", + "LibCamera-RPI": "Information", + "LibCamera-DeviceEnumerator": "Information", + "LibCamera-IPAProxy": "Information", + "LibCamera-V4L2": "Information", + "LibCamera-RPISTREAM": "Information", + "LibCamera-WRAPPER": "Information", + "Avalonia.*": "Warning" + } + }, + "ConnectionStrings": { + "AmineContentCalibrationDatabasePath": "AmineContentCalibration.db", + "AmineContentResultsDatabasePath": "AmineContentResults.db" + }, + "Hardware": { + "Illuminator": { + "WhitePwmPin": 13, + "Uv254PwmPin": 18, + "Uv365PwmPin": 12, + "WhiteRelayPin": 16, + "Uv254RelayPin": 15, + "Uv365RelayPin": 20, + "FanPin": 21, + "PwmFrequency": 200, + "MaxWhitePwmDuty": 1.0, + "MaxUv254PwmDuty": 1.0, + "MaxUv365PwmDuty": 1.0 + }, + "Camera": { + "CameraId": "/base/axi/pcie@1000120000/rp1/i2c@70000/imx477@1a", + "ViewFinderFrameBufferCount": 5, + "ViewFinderWidth": 4056, + "ViewFinderHeight": 3040, + "ViewFinderFps": 30, + "ImageCaptureFrameBufferCount": 5, + "ImageCaptureWidth": 4056, + "ImageCaptureHeight": 3040, + "CameraHardSettings": { + "AeEnable": false, + "ExposureValue": 8.0, + "ExposureTime": 30000, + "ExposureTimeMode": "ExposureTimeModeManual", + "AnalogueGain": 23.0, + "AnalogueGainMode": "AnalogueGainModeManual", + "Brightness": 0.0, + "Contrast": 1.0, + "AwbEnable": false, + "ColourGains": [3.2, 1.0], + "HdrMode": "HdrModeOff", + "NoiseReductionMode": "NoiseReductionModeOff", + "StatsOutputEnable": true, + "SyncMode": "SyncModeOff", + "CnnEnableInputTensor": false + }, + "DecodeGainR": 3.2, + "DecodeGainG": 1.0, + "DecodeGainB": 1.0, + "DecodeBlackLevel": 4096 + }, + "TemperatureHumidity": { + "Bus": 6, + "Address": 69 + }, + "Lights": { + "ServerAddress": "http://127.0.0.1:50051" + } } - }, - "ConnectionStrings": { - "AmineContentCalibrationDatabasePath": "AmineContentCalibration.db", - "AmineContentResultsDatabasePath": "AmineContentResults.db" - }, - "Hardware": { - "Illuminator": { - "WhitePwmPin": 13, - "Uv254PwmPin": 18, - "Uv365PwmPin": 12, - "WhiteRelayPin": 16, - "Uv254RelayPin": 15, - "Uv365RelayPin": 20, - "FanPin": 21, - "PwmFrequency": 200, - "MaxWhitePwmDuty": 1.0, - "MaxUv254PwmDuty": 1.0, - "MaxUv365PwmDuty": 1.0 - }, - "Camera": { - "CameraId": "/base/axi/pcie@1000120000/rp1/i2c@70000/imx477@1a", - "ViewFinderFrameBufferCount": 5, - "ViewFinderWidth": 4056, - "ViewFinderHeight": 3040, - "ViewFinderFps": 30, - "ImageCaptureFrameBufferCount": 5, - "ImageCaptureWidth": 4056, - "ImageCaptureHeight": 3040, - "CameraHardSettings": { - "AeEnable": false, - "ExposureValue": 8.0, - "ExposureTime": 30000, - "ExposureTimeMode": "ExposureTimeModeManual", - "AnalogueGain": 23.0, - "AnalogueGainMode": "AnalogueGainModeManual", - "Brightness": 0.0, - "Contrast": 1.0, - "AwbEnable": false, - "ColourGains": [ - 3.2, - 1.0 - ], - "HdrMode": "HdrModeOff", - "NoiseReductionMode": "NoiseReductionModeOff", - "StatsOutputEnable": true, - "SyncMode": "SyncModeOff", - "CnnEnableInputTensor": false - }, - "DecodeGainR": 3.2, - "DecodeGainG": 1.0, - "DecodeGainB": 1.0, - "DecodeBlackLevel": 4096 - }, - "TemperatureHumidity": { - "Bus": 6, - "Address": 69 - }, - "Lights": { - "ServerAddress": "http://127.0.0.1:50051" - } - } -} \ No newline at end of file +}