You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
700 B
C#
37 lines
700 B
C#
using HalconDotNet;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace ViewROI.Config
|
|
{
|
|
/// <summary>
|
|
/// 显示xld和region 带有颜色
|
|
/// </summary>
|
|
class HObjectWithColor
|
|
{
|
|
private HObject hObject;
|
|
private string color;
|
|
|
|
|
|
public HObjectWithColor(HObject _hbj, string _color)
|
|
{
|
|
hObject = _hbj;
|
|
color = _color;
|
|
}
|
|
|
|
public HObject HObject
|
|
{
|
|
get { return hObject; }
|
|
set { hObject = value; }
|
|
}
|
|
|
|
public string Color
|
|
{
|
|
get { return color; }
|
|
set { color = value; }
|
|
}
|
|
}
|
|
}
|