LabelParam.cs
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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();
}
}