mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-24 08:46:35 +08:00
版本初始化,建立主窗体页面
This commit is contained in:
36
ImageWindow/Config/HObjectWithColor.cs
Normal file
36
ImageWindow/Config/HObjectWithColor.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user