using HalconDotNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ViewROI.Config { /// /// 显示xld和region 带有颜色 /// 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; } } } }