ProjectorPInfo.cs
1.1 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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TSA_V.DeviceLibrary
{
public class ProjectorPInfo
{
public ProjectorPInfo(double x, double y, int type=1,int polaritiesType=0, int sizeX=4, int sizeY=4,int lineWidth=2,string showText="",int color=-1)
{
this.PX = x;
this.PY = y;
this.PType = type;
this.SizeX = sizeX;
this.SizeY = sizeY;
this.PenWidth = lineWidth;
this.ShowText = showText;
this.showColor = color;
this.PolaritiesType= polaritiesType;
}
public double PX = 2;
public double PY = 2;
public int PType = 1;
public int SizeX = 4;
public int SizeY = 4;
/// <summary>
/// 线条宽度
/// </summary>
public int PenWidth = 2;
public string ShowText = "";
public int showColor = -1;
/// <summary>
/// 极性,
/// </summary>
public int PolaritiesType = 0;
}
}