尺寸测量功能界面
This commit is contained in:
@ -6,6 +6,7 @@ using System.Text.RegularExpressions;
|
||||
using System.Text;
|
||||
using System.Drawing.Design;
|
||||
using AntdUI;
|
||||
using static DH.Commons.Enums.EnumHelper;
|
||||
|
||||
|
||||
namespace DH.Commons.Enums
|
||||
@ -736,6 +737,7 @@ namespace DH.Commons.Enums
|
||||
}
|
||||
|
||||
|
||||
|
||||
public string LabelId
|
||||
{
|
||||
get { return _labelId; }
|
||||
@ -826,7 +828,125 @@ namespace DH.Commons.Enums
|
||||
}
|
||||
}
|
||||
|
||||
public class SizeTreatParam : NotifyProperty
|
||||
{
|
||||
private bool _selected = false;
|
||||
|
||||
|
||||
private bool _isEnable;
|
||||
private string _preName;
|
||||
private int _prePix;
|
||||
|
||||
private SizeEnum _preType;
|
||||
private string _resultShow;
|
||||
private string _outResultShow;
|
||||
|
||||
|
||||
private string _prePath;
|
||||
|
||||
|
||||
public bool Selected
|
||||
{
|
||||
get { return _selected; }
|
||||
set
|
||||
{
|
||||
if (_selected == value) return;
|
||||
_selected = value;
|
||||
OnPropertyChanged(nameof(Selected));
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsEnable
|
||||
{
|
||||
get { return _isEnable; }
|
||||
set
|
||||
{
|
||||
if (_isEnable == value) return;
|
||||
_isEnable = value;
|
||||
OnPropertyChanged(nameof(IsEnable));
|
||||
}
|
||||
}
|
||||
|
||||
public string PreName
|
||||
{
|
||||
get { return _preName; }
|
||||
set
|
||||
{
|
||||
if (_preName == value) return;
|
||||
_preName = value;
|
||||
OnPropertyChanged(nameof(PreName));
|
||||
}
|
||||
}
|
||||
|
||||
public SizeEnum PreType
|
||||
{
|
||||
get { return _preType; }
|
||||
set
|
||||
{
|
||||
if (_preType == value) return;
|
||||
_preType = value;
|
||||
OnPropertyChanged(nameof(PreType));
|
||||
}
|
||||
}
|
||||
|
||||
public int PrePix
|
||||
{
|
||||
get { return _prePix; }
|
||||
set
|
||||
{
|
||||
if (_prePix.Equals(value)) return;
|
||||
_prePix = value;
|
||||
OnPropertyChanged(nameof(PrePix));
|
||||
}
|
||||
}
|
||||
|
||||
public string ResultShow
|
||||
{
|
||||
get { return _resultShow; }
|
||||
set
|
||||
{
|
||||
if (_resultShow == value) return;
|
||||
_resultShow = value;
|
||||
OnPropertyChanged(nameof(ResultShow));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public string OutResultShow
|
||||
{
|
||||
get { return _outResultShow; }
|
||||
set
|
||||
{
|
||||
if (_outResultShow == value) return;
|
||||
_outResultShow = value;
|
||||
OnPropertyChanged(nameof(OutResultShow));
|
||||
}
|
||||
}
|
||||
|
||||
public string PrePath
|
||||
{
|
||||
get { return _prePath; }
|
||||
set
|
||||
{
|
||||
if (_prePath.Equals(value)) return;
|
||||
_prePath = value;
|
||||
OnPropertyChanged(nameof(PrePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private CellLink[] cellLinks;
|
||||
public CellLink[] CellLinks
|
||||
{
|
||||
get { return cellLinks; }
|
||||
set
|
||||
{
|
||||
if (cellLinks == value) return;
|
||||
cellLinks = value;
|
||||
OnPropertyChanged(nameof(CellLinks));
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 识别目标定义 class:分类信息 Detection Segmentation:要识别的对象
|
||||
/// </summary>
|
||||
|
@ -650,15 +650,15 @@ namespace DH.Commons.Enums
|
||||
public enum SizeEnum
|
||||
{
|
||||
[Description("圆形测量")]
|
||||
Circle = 1,
|
||||
圆形测量 = 1,
|
||||
[Description("直线测量")]
|
||||
Line = 2,
|
||||
直线测量 = 2,
|
||||
[Description("线线测量")]
|
||||
LineLine = 3,
|
||||
线线测量 = 3,
|
||||
[Description("线圆测量")]
|
||||
LineCircle = 4,
|
||||
线圆测量 = 4,
|
||||
[Description("高度测量")]
|
||||
Height = 5,
|
||||
高度测量 = 5,
|
||||
}
|
||||
|
||||
public enum MachineState
|
||||
|
Reference in New Issue
Block a user