using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Extensometer.Model.RequestModel { public class RequestConfigParameterModel { /// /// 识别线的数量 /// public int iLineDetNum { get; set; } /// /// 图像宽 /// public int paraimgw { get; set; } /// /// 图像高 /// public int paraimgh { get; set; } /// /// 识别模式 /// 1:点对点 /// 2:点对线 /// public int eLineDisMode { get; set; } /// /// 标定有效标志 /// 0:无效 /// 1:有效 /// public int iFlagSuccess { get; set; } /// /// 标定参数 /// public float fConvertCoefficient { get; set; } /// /// 线数目&对应识别位置参数 /// public List stLineDetParas { get; set; } } public class stLineDetPara { /// /// 左边边界 /// public short LeftValue { get; set; } /// /// 顶部边界 /// public short TopValue { get; set; } /// /// 右边边界 /// public short RightValue { get; set; } /// /// 底部边界 /// public short BottomValue { get; set; } /// /// 1:浅到深 /// 2:深到浅 /// public int eGrayDir { get; set; } /// /// 1:水平线 /// 2:竖直线 /// public int eLineDirection { get; set; } /// /// 1:第一条 /// 2:最佳 /// 3:最后一条 /// public int eLineOrder { get; set; } } }