Files
SpectraElement/HardwareWeb/appsettings.json
T
2026-11-19 16:42:26 +08:00

70 lines
1.5 KiB
JSON

{
"Urls": "http://0.0.0.0:5062",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"UsbCamera": {
"DeviceNameKeyword": null,
"PreferredFormatKeyword": "MJPG",
"ReconnectBaseDelayMs": 1000,
"ReconnectMaxDelayMs": 10000,
"FrameTimeoutMs": 5000
},
"ArisSpectrometer": {
"DeviceIndex": 0,
"PreferredSerialNumber": null,
"ExposureUs": 1000,
"Averaging": 1,
"DelayUs": 0,
"TimeoutMs": 0,
"SynchronizedExposureUs": 100000,
"SynchronizedWaitTimeoutMs": 8000,
"TriggerMode": "Software",
"Gain": null
},
"AxisStage": {
"ComPort": null,
"FrameHead": "Desktop2D",
"DefaultSpeed": 50,
"DefaultAccel": 10,
"ReadTimeoutMs": 1000,
"ReadRetryIntervalMs": 50
},
"FocusSystem": {
"ComPort": null,
"DefaultCalibrationSpeed": 50,
"ReadTimeoutMs": 1000,
"ReadRetryIntervalMs": 100
},
"CameraStream": {
"Enabled": true,
"FramesPerSecond": 15,
"SendOnlyWhenViewers": true,
"MaxFrameAgeMs": 1500,
"MaxFrameBytes": 8388608
},
"SystemSetting": {
"DatabasePath": null,
"AdminPassword": "flzx3QC!1"
},
"Scanning": {
"DatabasePath": null,
"DataPath": null
},
"SampleAnalysis": {
"Onnx": {
"ModelDirectory": "Models",
"InputWidth": 640,
"InputHeight": 640,
"ConfidenceThreshold": 0.25,
"FallbackConfidenceThreshold": 0.6,
"MaskThreshold": 0.5,
"SamplingMarginRatio": 0.1
}
}
}