123456789101112131415161718192021222324252627282930313233343536 |
- 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; }
- }
- }
- }
|