This commit is contained in:
2025-04-16 08:52:53 +08:00
parent 72b67b6a2f
commit 28e15a556d
17 changed files with 965 additions and 294 deletions

View File

@ -488,6 +488,7 @@ namespace DH.Commons.Base
#region
private string _id = Guid.NewGuid().ToString();
private string _name;
private EnumDetectionType _detectionType= EnumDetectionType.;
private string _cameraSourceId = "";
private List<RelatedCamera> _cameraCollects = new List<RelatedCamera>();
private bool _isEnableGPU;
@ -789,7 +790,19 @@ namespace DH.Commons.Base
}
}
[Category("检测配置")]
[DisplayName("检测类型")]
[Description("检测类型")]
public EnumDetectionType DetectionType
{
get => _detectionType;
set
{
if (_detectionType == value) return;
_detectionType = value;
OnPropertyChanged(nameof(DetectionType));
}
}
[Category("显示配置")]
[DisplayName("显示位置")]