using Community; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model.Vision { /// /// 角点 /// public class V_CornerPoint : NotificationObject { /// /// 第一条线起点R /// public double hv_Row1 { get; set; } /// /// 第一条线起点C /// public double hv_Column1 { get; set; } /// /// 第一条线终点R /// public double hv_Row2 { get; set; } /// /// 第一条线终点C /// public double hv_Column2 { get; set; } /// /// 第二条线起点R /// public double hv_Row11 { get; set; } /// /// 第二条线起点C /// public double hv_Column11 { get; set; } /// /// 第二条线终点R /// public double hv_Row22 { get; set; } /// /// 第二条线终点C /// public double hv_Column22 { get; set; } private int mode; /// /// 角点抓取模式 1:从白到黑 2:从黑到白 /// public int Model { get { return mode; } set { mode = value; RaisePropertyChanged("Model"); } } private int _ShortMode; /// /// 短边寻边方法 0 终点向右 1终点向左 2 起点向右 3起点向左 /// public int ShortMode { get { return _ShortMode; } set { _ShortMode = value; this.RaisePropertyChanged("ShortMode"); } } private int _ShortLengh = 100; /// /// 短边长度 /// public int ShortLengh { get { return _ShortLengh; } set { _ShortLengh = value; this.RaisePropertyChanged("ShortLengh"); } } private int _ShortDis; public int ShortDis { get { return _ShortDis; } set { _ShortDis = value; this.RaisePropertyChanged("ShortDis"); } } public V_CornerPoint() { Model = 1; } } }