FrmProjectorScreen.cs
24.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
using Org.BouncyCastle.Ocsp;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TSA_V.Common;
using TSA_V.DeviceLibrary;
using UserFromControl;
namespace TSA_V
{
public partial class FrmProjectorScreen : Form
{
public static FrmProjectorScreen instance = new FrmProjectorScreen();
public FrmProjectorScreen()
{
InitializeComponent();
//ScreenIndex = ConfigAppSettings.GetIntValue(Setting_Init.ProjectorScreen_Index, 1);
ScreenIndex = Setting_NInit.Device_ProjectorScreen_Index ;
}
public int ScreenIndex = 1;
public int BoundsWidth = 1920;
public int BoundsHeight = 1280;
public int LastX = 0;
public int LastY = 0;
public int LastType = 1;
public int LastSizeX = 2;
public int LastSizeY = 2;
public bool ISShow = false;
// private bool hasShow = false;
private void FrmScreenTest_Load(object sender, EventArgs e)
{
this.Text = "投影_" + ScreenIndex;
this.StartPosition = FormStartPosition.Manual;
timer1.Start();
if (panel1.BackgroundImage != null)
{
panel1.BackgroundImage = null;
}
if (lblAlarm.Visible)
{
lblAlarm.Visible = false;
}
}
public bool CloseShowName = false;
public bool ShowForm()
{
Screen[] sc = Screen.AllScreens;
this.StartPosition = FormStartPosition.Manual;
this.WindowState = FormWindowState.Maximized;
if (sc.Count() > ScreenIndex)
{
Screen screen = sc[ScreenIndex];
//foreach (Screen s in sc)
//{
// if (!s.Primary)
// {
// screen = s;
// break;
// }
//}
string text = "名称:" + screen.DeviceName + "\r\n";
text += "Width:" + screen.Bounds.Width + "\r\n";
text += "Heigh:" + screen.Bounds.Height + "\r\n";
text += "是否主显示器:" + screen.Primary.ToString() + "\r\n";
//lblInfo.Text = text;
BoundsWidth = screen.Bounds.Width;
BoundsHeight = screen.Bounds.Height;
TSAVBean.X_Max = BoundsWidth;
TSAVBean.Y_Max = BoundsHeight;
TSAVBean.X_Min = 1;
TSAVBean.Y_Min = 1;
//ProjectorControl.MaxX = (int)TSAVBean.X_Max;
//ProjectorControl.MaxY = (int)TSAVBean.Y_Max;
ISShow = true;
this.Location = new Point(screen.Bounds.Left, screen.Bounds.Top);
this.Show();
LogUtil.info($"投影显示成功,屏幕索引={ ScreenIndex} , 位置X:{screen.Bounds.Left} ,Y:{screen.Bounds.Top} ,范围 X:{BoundsWidth},Y:{BoundsHeight}");
return true;
}
else
{
LogUtil.info("投影显示失败:屏幕索引=" + ScreenIndex + " 未找到");
return false;
}
}
private void FrmScreenTest_Shown(object sender, EventArgs e)
{
ShowPoint(new ProjectorPInfo(BoundsWidth / 2, BoundsHeight / 2));
DrawArea();
panAoi.BackColor = Color.Black;
panAoi.Visible = false;
}
public void DrawArea()
{
if (!ISShow)
{
return;
}
int startX = 0;
int startY = 0;
int Point_X_Length = 3;
int Point_Y_Length = 3;
int lineWidth = (BoundsWidth) / (Point_X_Length - 1);
int lineHeight = (BoundsHeight) / (Point_Y_Length - 1);
Graphics grfx = panel1.CreateGraphics();
Color color = Color.White;
grfx.SmoothingMode = SmoothingMode.HighQuality;
//循环画线
for (int i = 0; i <= Point_X_Length; i++)
{
float line = 2F;
float picLocationX = startX + lineWidth * i;
if (picLocationX >= BoundsWidth)
{
picLocationX = BoundsWidth - 2;
}
else if (picLocationX == 0)
{
picLocationX = 2;
}
grfx.DrawLine(new Pen(color, line), picLocationX, startY, picLocationX, BoundsHeight);
}
for (int i = 0; i <= Point_Y_Length; i++)
{
float line = 2F;
float picLocationY = startY + lineHeight * i;
if (picLocationY >= BoundsHeight)
{
picLocationY = BoundsHeight - 1;
}else if(picLocationY== 0)
{
picLocationY = 2;
}
grfx.DrawLine(new Pen(color, line), startX, picLocationY, BoundsWidth, picLocationY);
}
grfx.Dispose();
}
public void DrawLine()
{
if (!ISShow)
{
return;
}
int startX = 0;
int startY = 0;
int Point_X_Length = 21;
int Point_Y_Length = 21;
int lineWidth = (BoundsWidth - startX * 2) / (Point_X_Length - 1);
int lineHeight = (BoundsHeight - startY * 2) / (Point_Y_Length - 1);
Graphics grfx = panel1.CreateGraphics();
Color color = Color.White;
grfx.SmoothingMode = SmoothingMode.HighQuality;
//循环画线
for (int i = 0; i <= Point_X_Length; i++)
{
float line = 0.2F;
float picLocationX = startX + lineWidth * i;
if (i.Equals(Point_X_Length / 2))
{
line = 1;
}
else if (((i % 5).Equals(0)) && (i > 0) && (i < Point_X_Length))
{
line = 0.5F;
}
grfx.DrawLine(new Pen(color, line), picLocationX, startY, picLocationX, BoundsHeight);
}
for (int i = 0; i <= Point_Y_Length; i++)
{
float line = 0.2F;
float picLocationY = startY + lineHeight * i;
if (i.Equals(Point_Y_Length / 2))
{
line = 1;
}
else if (((i % 5).Equals(0)) && (i > 0) && (i < Point_Y_Length))
{
line = 0.5F;
}
grfx.DrawLine(new Pen(color, line), startX, picLocationY, BoundsWidth, picLocationY);
}
grfx.Dispose();
}
private Color CurrColor = Color.White;
public void ClearPoint()
{
try
{
if (!ISShow)
{
return;
}
Graphics g = this.panel1.CreateGraphics();
g.Clear(Color.Black);
g.Dispose();//释放资源
}
catch (Exception ex)
{
LogUtil.error("ClearPoint 出错:" + ex.ToString());
}
}
private void DrawPoint(Color color, Graphics g, int x, int y, int type = 0, int PolaritiesType=0,int angle=0, int sizeX = 2, int sizeY = 2, int lineLength = 2, string name = "")
{
if (sizeX < 2)
{
sizeX = 2;
}
if (sizeY < 2)
{
sizeY = 2;
}
LastX = x;
LastY = y;
LastSizeX = sizeX;
LastSizeY = sizeY;
LastType = type;
Pen pen = new Pen(color, lineLength);
System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(color);
//点类型,1 = 点,2 = +,3 =|,4 = -,5 = 方形,6 = 圆圈
if (type.Equals(PointType_Define.PlusSign_2))
{
g.DrawLine(pen, new Point(x - sizeX, y), new Point(x + sizeX, y));
g.DrawLine(pen, new Point(x, y - sizeY), new Point(x, y + sizeY));
}
else if (type.Equals(PointType_Define.VerticalLine_3))
{
g.DrawLine(pen, new Point(x, y - sizeY), new Point(x, y + sizeY));
}
else if (type.Equals(PointType_Define.Line_4))
{
g.DrawLine(pen, new Point(x - sizeX, y), new Point(x + sizeX, y));
}
else if (type.Equals(PointType_Define.Rectangle_5))
{
g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else if (type.Equals(PointType_Define.Cycle_6))
{
g.DrawEllipse(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else if(type> PointType_Define.Cycle_6)
{
g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else
{
g.FillEllipse(myBrush, new Rectangle(x - sizeX / 2, y - sizeY / 2, sizeX, sizeY));//画实心椭圆
}
if (PolaritiesType.Equals(PolaritiesType_Define.Plus_Up_1))
{
int plusSize = sizeX / 2;
int pX = x;
int pY = y - sizeY / 2 - lineLength - plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_Down_2))
{
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
int plusSize = sizeX / 2;
int pX = x;
int pY = y + sizeY / 2 + lineLength + plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_Left_3))
{
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
int plusSize = sizeY / 2;
int pX = x - sizeX / 2 - lineLength - plusSize;
int pY = y;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_Right_4))
{
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
int plusSize = sizeY / 2;
int pX = x + sizeX / 2 + lineLength + plusSize;
int pY = y;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_LUp_5))
{
int plusSize = sizeX / 2;
int pX = x - plusSize;
int pY = y - sizeY / 2 - lineLength - plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_RUp_6))
{
int plusSize = sizeX / 2;
int pX = x + plusSize;
int pY = y - sizeY / 2 - lineLength - plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_LDown_7))
{
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
int plusSize = sizeX / 2;
int pX = x - plusSize;
int pY = y + sizeY / 2 + lineLength + plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
}
else if (PolaritiesType.Equals(PolaritiesType_Define.Plus_RDown_8))
{
// g.DrawRectangle(pen, x - sizeX / 2, y - sizeY / 2, sizeX, sizeY);
int plusSize = sizeX / 2;
int pX = x + plusSize;
int pY = y + sizeY / 2 + lineLength + plusSize;
g.DrawLine(pen, new Point(pX - plusSize, pY), new Point(pX + plusSize, pY));
g.DrawLine(pen, new Point(pX, pY - plusSize), new Point(pX, pY + plusSize));
}
else if (angle > 0)
{
int pointWidth = sizeX;
Point drawP = ProjectorPInfo.CalculatePoint(new Point(x, y), pointWidth, angle);
g.DrawLine(pen, new Point(drawP.X - pointWidth / 2, drawP.Y), new Point(drawP.X + pointWidth / 2, drawP.Y));
g.DrawLine(pen, new Point(drawP.X, drawP.Y - pointWidth / 2), new Point(drawP.X, drawP.Y + pointWidth / 2));
}
if (!name.Equals(""))
{
int size = (sizeX + sizeY) / 2;
size = 30;
if (!CloseShowName)
{
int textXWidth = size * StrLength (name)/ 3;
int yLength = size ;
if (x - size < TSAVBean.X_Min)
{
x = x + size;
}
else if (x + 5 + textXWidth > TSAVBean.X_Max)
{
x =(int) TSAVBean.X_Max - textXWidth -5;
}
if (y + size + 2 + yLength > TSAVBean.Y_Max)
{
y = y -size- yLength - 5;
}
Brush brush = new SolidBrush(color);
g.DrawString(name, new Font("Arial ", size/2, FontStyle.Regular), brush, x - size + 5, y + size + 2);
}
}
}
public static int StrLength(string inputString)
{
System.Text.ASCIIEncoding ascii = new System.Text.ASCIIEncoding();
int tempLen = 0;
byte[] s = ascii.GetBytes(inputString);
for (int i = 0; i < s.Length; i++)
{
if ((int)s[i] == 63)
tempLen += 2;
else
tempLen += 1;
}
return tempLen;
}
private Color getPointColor(int rgbColor = -1)
{
if (rgbColor >= 0xffffff)
{
rgbColor = Color.White.ToArgb();
}
return Color.FromArgb(rgbColor);
}
public void ShowPoint(DeviceLibrary.ProjectorPInfo p )
{
if (!ISShow)
{
return;
}
Graphics g = panel1.CreateGraphics();
Color pColor = Color.FromArgb(p.showColor);
DrawPoint(pColor, g, (int)p.PX, (int)p.PY, p.PType,p.PolaritiesType,p.PolarityAngle, p.SizeX, p.SizeY, p.PenWidth, p.ShowText);
g.Dispose();
}
public void ShowPoint(bool showName,int rgbColor, params SMTPointInfo[] points)
{
if (!ISShow)
{
return;
}
Color pColor = Color.FromArgb(rgbColor);
ClearPoint();
Graphics g = panel1.CreateGraphics();
foreach (SMTPointInfo point in points)
{
int type = point.PointType;
int x = (int)point.NodePositionX;
int y = (int)point.NodePositionY;
int sizex = point.PointSizeX;
int sizey = point.PointSizeY;
DrawPoint(pColor, g, x, y, type, point.PolaritiesType,point.PolarityAngle, sizex, sizey, point.PenWidth, "");
if (showName)
{
int size = (sizex + sizey) / 2;
if (!CloseShowName)
{
if (point.CheckOK && (points.Length > 1))
{
g.DrawString(point.ShowText, new Font("Arial ", size, FontStyle.Regular), Brushes.Red, x - size / 2 + 5, y + size / 2 + 2);
}
else
{
Brush brush = new SolidBrush(pColor);
g.DrawString(point.ShowText, new Font("Arial ", size, FontStyle.Regular), brush, x - size / 2 + 5, y + size / 2 + 2);
}
}
}
}
g.Dispose();
}
public void ShowBoardPoint(BoardInfo board, bool showName, int rgbColor, params SMTPointInfo[] points)
{
if (!ISShow)
{
return;
}
Color pColor = Color.FromArgb(rgbColor);
ClearPoint();
Graphics g = panel1.CreateGraphics();
if (board != null && board.calInfo != null && board.calInfo.leftUpPoint != null && board.calInfo.rightBottomPoint != null)
{
DrawBoardArea(g, board.calInfo.leftUpPoint, board.calInfo.rightBottomPoint);
}
foreach (SMTPointInfo point in points)
{
int type = point.PointType;
int x = (int)point.NodePositionX;
int y = (int)point.NodePositionY;
int sizex = point.PointSizeX;
int sizey = point.PointSizeY;
DrawPoint(pColor, g, x, y, type, point.PolaritiesType,point.PolarityAngle, sizex, sizey, point.PenWidth, "");
if (showName)
{
int size = (sizex + sizey) / 2;
if (!CloseShowName)
{
if (point.CheckOK && (points.Length > 1))
{
g.DrawString(point.ShowText, new Font("Arial ", size, FontStyle.Regular), Brushes.Red, x - size / 2 + 5, y + size / 2 + 2);
}
else
{
Brush brush = new SolidBrush(pColor);
g.DrawString(point.ShowText, new Font("Arial ", size, FontStyle.Regular), brush, x - size / 2 + 5, y + size / 2 + 2);
}
}
}
}
g.Dispose();
}
public void DrawBoardArea(Graphics g,Point point1,Point point2)
{
if (!ISShow)
{
return;
}
Color boardColor = Color.LightGray;
int line = 1;
g.DrawRectangle(new Pen(boardColor,line),new Rectangle( point1.X,point1.Y,(point2.X-point1.X),(point2.Y-point1.Y)));
//g.DrawLine(new Pen(boardColor, line), point1.X, point1.Y, point2.X,point1.Y);
//g.DrawLine(new Pen(boardColor, line), point1.X, point1.Y, point1.X, point2.Y);
//g.DrawLine(new Pen(boardColor, line), point1.X, point2.Y, point2.X, point2.Y);
//g.DrawLine(new Pen(boardColor, line), point2.X, point2.Y, point1.X, point2.Y);
}
private void timer1_Tick(object sender, EventArgs e)
{
if (PTipSoundProcess.AOIopen)
{
panAoi.BackColor = Color.Black;
panAoi.Visible = true;
}
else if (PTipSoundProcess.IsAlarm(out string msg) &&(! PTipSoundProcess.ViewScreen_Show)&&(!Setting_NInit.Device_SoftMode))
{
panAoi.Visible = false;
if (panel1.BackgroundImage != null)
{
panel1.BackgroundImage = null;
}
else
{
if (PTipSoundProcess.DisShowScreenAlarm)
{
}
else
{
panel1.BackgroundImage = ImageManager.imgAlarm;
panel1.BackgroundImageLayout = ImageLayout.Zoom;
}
lblAlarm.Text = msg;
lblAlarm.Visible = true;
}
}
else
{
panAoi.Visible = false;
if (panel1.BackgroundImage != null)
{
panel1.BackgroundImage = null;
}
if (lblAlarm.Visible)
{
lblAlarm.Visible = false;
}
}
}
}
public class PolaritiesType_Define {
public static int Plus_None = 0;
/// <summary>
/// "1=正极限_上方",
/// </summary>
public static int Plus_Up_1 = 1;
/// <summary>
/// "2=正极限_下方",
/// </summary>
public static int Plus_Down_2 = 2;
/// <summary>
/// "3=正极限_左方 ✚□",
/// </summary>
public static int Plus_Left_3 =3;
/// <summary>
///"4=正极限_右方 □✚"
/// </summary>
public static int Plus_Right_4 = 4;
/// <summary>
/// "5=正极限_左上方",
/// </summary>
public static int Plus_LUp_5 = 5;
/// <summary>
/// "6=正极限_右上方",
/// </summary>
public static int Plus_RUp_6 = 6;
/// <summary>
/// "7=正极限_左下方",
/// </summary>
public static int Plus_LDown_7 = 7;
/// <summary>
///"8=正极限_右下方"
/// </summary>
public static int Plus_RDown_8 = 8;
/// <summary>
/// 自定义角度
/// </summary>
public static int Plus_Custom = 9;
}
public class PointType_Define
{
public static int None = 0;
/// <summary>
/// "1=●",
/// </summary>
public static int Point_1 = 1;
/// <summary>
/// "2=✚",
/// </summary>
public static int PlusSign_2 = 2;
/// <summary>
/// "3=┃",
/// </summary>
public static int VerticalLine_3 = 3;
/// <summary>
/// "4=━━",
/// </summary>
public static int Line_4 = 4;
/// <summary>
/// "5=□",
/// </summary>
public static int Rectangle_5 = 5;
/// <summary>
/// "6=○"
/// </summary>
public static int Cycle_6 = 6;
///// <summary>
///// "7=正极限_上方",
///// </summary>
//public static int Plus_Up_7 = 7;
///// <summary>
///// "8=正极限_下方",
///// </summary>
//public static int Plus_Down_8 = 8;
///// <summary>
///// "9=正极限_左方 ✚□",
///// </summary>
//public static int Plus_Left_9 = 9;
///// <summary>
/////"10=正极限_右方 □✚"
///// </summary>
//public static int Plus_Right_10 = 10;
///// <summary>
///// "11=正极限_左上方",
///// </summary>
//public static int Plus_LUp_11 = 11;
///// <summary>
///// "12=正极限_右上方",
///// </summary>
//public static int Plus_RUp_12 = 12;
///// <summary>
///// "13=正极限_左下方",
///// </summary>
//public static int Plus_LDown_13 = 13;
///// <summary>
/////"14=正极限_右下方"
///// </summary>
//public static int Plus_RDown_14 = 14;
}
}