Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6bf8fce3
由
LN
编写于
2025-02-13 09:44:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
投影点错误问题修改
1 个父辈
590a69a1
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
3 行删除
DeviceLibrary/bean/BoardInfo.cs
DeviceLibrary/manager/work/WorkInfo.cs
TSA-V/frmBoard/FrmBoardInfo.cs
TSA-V/frmBoard/FrmPointInfo.cs
DeviceLibrary/bean/BoardInfo.cs
查看文件 @
6bf8fce
...
@@ -412,6 +412,12 @@ namespace TSA_V.DeviceLibrary
...
@@ -412,6 +412,12 @@ namespace TSA_V.DeviceLibrary
return
p
;
return
p
;
}
}
public
ProjectorPInfo
GetScreenShowPInfo
(
float
imageXiShu
=
1
)
{
ProjectorPInfo
p
=
new
ProjectorPInfo
(
NodePositionX
*
imageXiShu
,
NodePositionY
*
imageXiShu
,
PointType
,
PolaritiesType
,
PolarityAngle
,
(
int
)(
PointSizeX
*
imageXiShu
),
(
int
)(
PointSizeY
*
imageXiShu
),
(
int
)(
PenWidth
*
imageXiShu
),
ShowText
);
return
p
;
}
/// <summary>
/// <summary>
/// 点大小
/// 点大小
/// </summary>
/// </summary>
...
...
DeviceLibrary/manager/work/WorkInfo.cs
查看文件 @
6bf8fce
...
@@ -301,7 +301,7 @@ namespace TSA_V.DeviceLibrary
...
@@ -301,7 +301,7 @@ namespace TSA_V.DeviceLibrary
if
(
TSAVBean
.
IsValidPosition
(
currPoint
.
NodePositionX
,
currPoint
.
NodePositionY
))
if
(
TSAVBean
.
IsValidPosition
(
currPoint
.
NodePositionX
,
currPoint
.
NodePositionY
))
{
{
LogUtil
.
info
(
" 程序【"
+
currBoard
.
boardName
+
"】插件【"
+
currPoint
.
TagNo
+
"_"
+
currPoint
.
PN
+
"】,X轴【"
+
currPoint
.
NodePositionX
+
"】,Y轴【"
+
currPoint
.
NodePositionY
+
"】显示投影光标"
);
LogUtil
.
info
(
" 程序【"
+
currBoard
.
boardName
+
"】插件【"
+
currPoint
.
TagNo
+
"_"
+
currPoint
.
PN
+
"】,X轴【"
+
currPoint
.
NodePositionX
+
"】,Y轴【"
+
currPoint
.
NodePositionY
+
"】显示投影光标"
);
TSAVBean
.
ShowPoint
(
currPoint
.
GetShowPInfo
());
TSAVBean
.
ShowPoint
(
currPoint
.
GetS
creenS
howPInfo
());
//TSAVBean.ShowPoint(currPoint.NodePositionX, currPoint.NodePositionY, currPoint.PointType,currPoint.PolaritiesType, currPoint.PointSizeX, currPoint.PointSizeY, currPoint.PenWidth, currPoint.ShowText, currBoard.PointColor);
//TSAVBean.ShowPoint(currPoint.NodePositionX, currPoint.NodePositionY, currPoint.PointType,currPoint.PolaritiesType, currPoint.PointSizeX, currPoint.PointSizeY, currPoint.PenWidth, currPoint.ShowText, currBoard.PointColor);
waitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
waitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
}
}
...
...
TSA-V/frmBoard/FrmBoardInfo.cs
查看文件 @
6bf8fce
...
@@ -508,7 +508,7 @@ namespace TSA_V
...
@@ -508,7 +508,7 @@ namespace TSA_V
{
{
FrmProjectorScreen
.
instance
.
ClearPoint
();
FrmProjectorScreen
.
instance
.
ClearPoint
();
//FrmProjectorScreen.instance.ShowPoint(new ProjectorPInfo((int)x, (int)y, type, polaritiesType, sizeX, sizeY, penWidth, showText,btnColorChange.BackColor.ToArgb()));
//FrmProjectorScreen.instance.ShowPoint(new ProjectorPInfo((int)x, (int)y, type, polaritiesType, sizeX, sizeY, penWidth, showText,btnColorChange.BackColor.ToArgb()));
FrmProjectorScreen
.
instance
.
ShowPoint
(
point
.
GetShowPInfo
());
FrmProjectorScreen
.
instance
.
ShowPoint
(
point
.
GetS
creenS
howPInfo
());
}
}
}
}
...
...
TSA-V/frmBoard/FrmPointInfo.cs
查看文件 @
6bf8fce
...
@@ -203,7 +203,7 @@ namespace TSA_V
...
@@ -203,7 +203,7 @@ namespace TSA_V
actControl
.
XValue
=
smtPointInfo
.
PositionX
;
actControl
.
XValue
=
smtPointInfo
.
PositionX
;
actControl
.
YValue
=
smtPointInfo
.
PositionY
;
actControl
.
YValue
=
smtPointInfo
.
PositionY
;
actControl
.
ShowText
=
smtPointInfo
.
ShowText
;
actControl
.
ShowText
=
smtPointInfo
.
ShowText
;
actControl
.
SetPointType
(
smtPointInfo
.
PointType
,
smtPointInfo
.
imgP
.
Size
Y
,
smtPointInfo
.
imgP
.
SizeY
,
smtPointInfo
.
imgP
.
PWidth
,
smtPointInfo
.
PolaritiesType
,
smtPointInfo
.
PolarityAngle
);
actControl
.
SetPointType
(
smtPointInfo
.
PointType
,
smtPointInfo
.
imgP
.
Size
X
,
smtPointInfo
.
imgP
.
SizeY
,
smtPointInfo
.
imgP
.
PWidth
,
smtPointInfo
.
PolaritiesType
,
smtPointInfo
.
PolarityAngle
);
if
(
this
.
smtPointInfo
.
IsEdit
==
false
)
if
(
this
.
smtPointInfo
.
IsEdit
==
false
)
{
{
if
(
prePoint
!=
null
&&
prePoint
.
IsEdit
)
if
(
prePoint
!=
null
&&
prePoint
.
IsEdit
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论