using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Community; namespace Model.Vision { /// /// 视觉工程项目类型 /// public class VisualEngineeringItems : NotificationObject { private int id; /// /// ID /// public int ID { get { return id; } set { id = value; this.RaisePropertyChanged("ID"); } } /// /// 视觉工程ID /// public int VisualEngineeringID { get; set; } private int handleType; /// /// 视觉处理类型 1扫码,2定位,3检查,4测量,5OCR /// public int HandleType { get { return handleType; } set { handleType = value; this.RaisePropertyChanged("HandleType"); } } private string vEIname; /// /// 视觉功能名称 /// public string VEIname { get { return vEIname; } set { vEIname = value; this.RaisePropertyChanged("VEIname"); } } private bool enable; /// /// 启用 /// public bool Enable { get { return enable; } set { enable = value; this.RaisePropertyChanged("Enable"); } } private string notes; /// /// 备注 /// public string Notes { get { return notes; } set { notes = value; this.RaisePropertyChanged("Notes"); } } #region 我的区域模型 private V_RectangleModel myRectangleModel; /// /// 我的区域模型 /// public V_RectangleModel MyRectangleModel { get { return myRectangleModel; } set { myRectangleModel = value; this.RaisePropertyChanged("MyRectangleModel"); } } #endregion #region 图像校正区域 private V_RectangleModel imageCorrectionRM; /// /// 图像校正区域 /// public V_RectangleModel ImageCorrectionRM { get { return imageCorrectionRM; } set { imageCorrectionRM = value; this.RaisePropertyChanged("ImageCorrectionRM"); } } #endregion public VisualEngineeringItems() { MyRectangleModel = new V_RectangleModel() { AreaType = 1 }; ImageCorrectionRM = new V_RectangleModel() { AreaType = 2 }; } } }