AMatch.cs
1.0 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
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class AMatch
{
/// <summary>
/// 条码匹配结果
/// </summary>
public bool[] IsCodeUsed { get; set; }
/// <summary>
/// 第一个匹配条码的坐标
/// </summary>
public Point Points { get; set; }=new Point(-1,-1);
/// <summary>
/// 第一个匹配条码的角度
/// </summary>
public int Angle { get; set; } = 0;
//
// 摘要:
// 条码类型
[DataMember]
public string CodeType { get; set; }
}
/// <summary>
/// 计算完成新的XY坐标及角度
/// </summary>
public class NewPositionAngle()
{
public int X { get; set; }
public int Y { get; set; }
public int Angle { get; set; }
public bool[] IsCodeUsed { get; set; }
}
}