This commit is contained in:
liyaobang committed 2025-04-16 08:52:53 +08:00
1 parent 72b67b6a2f
commit 28e15a556d
17 files changed
+965 -294

No files matched your search

+14 -1
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("显示位置")]