Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO20031_TinStorage
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit af778d55
由
刘韬
编写于
2024-04-30 14:19:58 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
优化安全管控, 所有门没有关闭不得控制伺服
1 个父辈
0a13027d
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
22 行增加
和
2 行删除
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/userControl/AxisMoveControl.cs
TheMachine/AxisControl.Designer.cs
TheMachine/AxisControl.cs
TheMachine/Form1.cs
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
af778d5
...
...
@@ -212,6 +212,14 @@ namespace DeviceLibrary
}
public
bool
IsAllDoorClosed
()
{
if
(
IOValue
(
IO_Type
.
Out_Drawer
).
Equals
(
IO_VALUE
.
LOW
))
{
return
false
;
}
if
(
IOValue
(
IO_Type
.
Entry_Drawer
).
Equals
(
IO_VALUE
.
LOW
))
{
return
false
;
}
if
(
IOValue
(
IO_Type
.
PrinterDoor_Check
).
Equals
(
IO_VALUE
.
LOW
))
{
return
false
;
...
...
DeviceLibrary/userControl/AxisMoveControl.cs
查看文件 @
af778d5
...
...
@@ -77,6 +77,11 @@ namespace DeviceLibrary
private
bool
CanMove
()
{
if
(
RobotManage
.
isRunning
)
{
MessageBox
.
Show
(
crc
.
GetString
(
"Res0029"
,
"系统正在运行,不能手动控制伺服"
),
crc
.
GetString
(
"Res0123"
,
"警告 "
),
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Error
);
return
false
;
}
if
(
axis
==
null
)
{
MessageBox
.
Show
(
crc
.
GetString
(
"Res0122"
,
"请先选择运动轴"
),
crc
.
GetString
(
"Res0123"
,
"警告 "
),
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Error
);
...
...
TheMachine/AxisControl.Designer.cs
查看文件 @
af778d5
...
...
@@ -53,11 +53,13 @@ namespace TheMachine
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
559
,
400
);
this
.
axisMoveControl1
.
TabIndex
=
0
;
this
.
axisMoveControl1
.
Tag
=
"not"
;
this
.
axisMoveControl1
.
Load
+=
new
System
.
EventHandler
(
this
.
axisMoveControl1_Load
);
//
// configControl1
//
this
.
configControl1
.
Config
=
null
;
this
.
configControl1
.
Location
=
new
System
.
Drawing
.
Point
(
568
,
3
);
this
.
configControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
configControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
configControl1
.
Name
=
"configControl1"
;
this
.
configControl1
.
Size
=
new
System
.
Drawing
.
Size
(
647
,
627
);
this
.
configControl1
.
TabIndex
=
1
;
...
...
TheMachine/AxisControl.cs
查看文件 @
af778d5
...
...
@@ -56,5 +56,10 @@ namespace TheMachine
{
}
private
void
axisMoveControl1_Load
(
object
sender
,
EventArgs
e
)
{
}
}
}
TheMachine/Form1.cs
查看文件 @
af778d5
...
...
@@ -148,7 +148,7 @@ namespace TheMachine
NgInfoView
.
Columns
.
Add
(
n1
);
NgInfoView
.
Columns
.
Add
(
n2
);
NgInfoView
.
Columns
.
Add
(
n3
);
NgInfoView
.
Columns
.
Add
(
n4
);
NgInfoView
.
Columns
.
Add
(
n4
);
NgInfoView
.
Columns
.
Add
(
n5
);
NgInfoView
.
ColumnWidthChanging
+=
listView_ColumnWidthChanging
;
#
endregion
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论