Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
图表
网络
创建新的问题
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ccb5e455
由
LN
编写于
2021-02-01 11:19:34 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
59875bb0
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
source/DeviceLibrary/baan/ClampJawBean.cs
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
查看文件 @
ccb5e45
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/baan/ClampJawBean.cs
查看文件 @
ccb5e45
...
@@ -11,11 +11,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -11,11 +11,13 @@ namespace OnlineStore.DeviceLibrary
{
{
public
class
ClampJawBean
public
class
ClampJawBean
{
{
public
string
Name
=
""
;
public
ConfigClampJaw
config
=
null
;
public
ConfigClampJaw
config
=
null
;
public
Rmaxis
rmaxis
=
null
;
public
Rmaxis
rmaxis
=
null
;
public
ClampJawBean
(
ConfigClampJaw
config
)
public
ClampJawBean
(
ConfigClampJaw
config
)
{
{
this
.
config
=
config
;
this
.
config
=
config
;
Name
=
config
.
DisplayStr
+
"("
+
config
.
PortName
+
"_"
+
config
.
AxisNo
+
")"
;
OpenPort
();
OpenPort
();
}
}
public
bool
OpenPort
()
public
bool
OpenPort
()
...
@@ -33,7 +35,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -33,7 +35,7 @@ namespace OnlineStore.DeviceLibrary
bool
result
=
rmaxis
.
OpenPort
(
config
.
PortName
,
config
.
AxisNo
);
bool
result
=
rmaxis
.
OpenPort
(
config
.
PortName
,
config
.
AxisNo
);
if
(!
result
)
if
(!
result
)
{
{
LogUtil
.
error
(
config
.
DisplayStr
+
" OpenPort 失败:"
);
LogUtil
.
error
(
Name
+
" OpenPort 失败:"
);
}
}
}
}
return
rmaxis
.
IsPortOpen
;
return
rmaxis
.
IsPortOpen
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论