LabelParam.cs 1.3 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineStore.DeviceLibrary
{
    /// <summary>
    /// 标签参数
    /// </summary>
    public class LabelParam
    {
        /// <summary>
        ///  相对二维码的角度
        /// </summary>
        public int RelativeAngle { get; set; } = 150;
        /// <summary>
        /// 照片中料盘中心点像素X方向位置
        /// </summary>
        public int TrayCenterInImg_X { get; set; } = 2500;
        /// <summary>
        /// 照片中料盘中心点像素Y方向位置
        /// </summary>
        public int TrayCenterInImg_Y { get; set; } = 1650;
        /// <summary>
        /// 贴标旋转初始位置时在图片中的角度
        /// </summary>
        public int LabelInImgAngle { get; set; } = 190;
        /// <summary>
        /// 料盘图片路径
        /// </summary>
        public string BitmapFilename { get; set; } = "";
        public int BitmapWidth { get; set; } = 5742;
        /// <summary>
        /// 料盘图片高度
        /// </summary>
        public int BitmapHeight { get; set; } = 3648;
        /// <summary>
        /// 标签内容
        /// </summary>
        public LabelContent LabelContent { get; set; } = new LabelContent();
    }
}