Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit c4b93ce1
由
LN
编写于
2019-11-06 15:41:33 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
49c28c58
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
26 行删除
source/ACPackingStore/FrmBox.cs
source/ACPackingStore/FrmBox.cs
查看文件 @
c4b93ce
...
@@ -828,22 +828,19 @@ namespace OnlineStore.ACPackingStore
...
@@ -828,22 +828,19 @@ namespace OnlineStore.ACPackingStore
private
void
btnComP2_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP2_Click
(
object
sender
,
EventArgs
e
)
{
{
int
value
=
FormUtil
.
GetIntValue
(
txtComP2
);
int
value
=
FormUtil
.
GetIntValue
(
txtComP2
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P2_Speed
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P2_Speed
);
//ShuoKeControls.AbsMove(BoxBean.Config.CompressAxis_Slv, value);
}
}
private
void
btnComP1_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP1_Click
(
object
sender
,
EventArgs
e
)
{
{
int
value
=
FormUtil
.
GetIntValue
(
txtComP1
);
int
value
=
FormUtil
.
GetIntValue
(
txtComP1
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P1_Speed
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P1_Speed
);
//ShuoKeControls.AbsMove(BoxBean.Config.CompressAxis_Slv, value);
}
}
private
void
btnComP3_Click
(
object
sender
,
EventArgs
e
)
private
void
btnComP3_Click
(
object
sender
,
EventArgs
e
)
{
{
int
value
=
FormUtil
.
GetIntValue
(
txtComP3
);
int
value
=
FormUtil
.
GetIntValue
(
txtComP3
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P3_Speed
);
AxisABSMove
(
BoxBean
.
Config
.
Comp_Axis
,
value
,
BoxBean
.
Config
.
CompAxis_P3_Speed
);
//ShuoKeControls.AbsMove(BoxBean.Config.CompressAxis_Slv, value);
}
}
int
xWidth
=
SystemInformation
.
PrimaryMonitorSize
.
Width
;
//获取显示器屏幕宽度
int
xWidth
=
SystemInformation
.
PrimaryMonitorSize
.
Width
;
//获取显示器屏幕宽度
int
yHeight
=
SystemInformation
.
PrimaryMonitorSize
.
Height
;
//高度
int
yHeight
=
SystemInformation
.
PrimaryMonitorSize
.
Height
;
//高度
...
@@ -923,14 +920,7 @@ namespace OnlineStore.ACPackingStore
...
@@ -923,14 +920,7 @@ namespace OnlineStore.ACPackingStore
private
void
查看
IOToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
查看
IOToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
FormManager
.
ShowIOShow
(
BoxBean
);
FormManager
.
ShowIOShow
(
BoxBean
);
}
}
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
{
//this.richTextBox1.Text = "";
LogUtil
.
ClearLog
();
}
private
void
料仓运转
ONToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
料仓运转
ONToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
...
@@ -939,23 +929,13 @@ namespace OnlineStore.ACPackingStore
...
@@ -939,23 +929,13 @@ namespace OnlineStore.ACPackingStore
this
.
Enabled
=
true
;
this
.
Enabled
=
true
;
LogUtil
.
info
(
"料仓运转ON完成"
);
LogUtil
.
info
(
"料仓运转ON完成"
);
}
}
private
void
打开舱门
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
// StoreManager.Store.OpenDoor(false);
}
private
void
料仓运转
OFFToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
料仓运转
OFFToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
BoxBean
.
CloseAllAxis
();
BoxBean
.
CloseAllAxis
();
LogUtil
.
info
(
"料仓运转OFF完成"
);
LogUtil
.
info
(
"料仓运转OFF完成"
);
}
}
private
void
关闭仓门
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
// StoreManager.Store.CloseDoor(false);
}
private
void
回待机点
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
回待机点
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
if
(
BoxBean
.
storeRunStatus
>=
StoreRunStatus
.
HomeMoving
)
if
(
BoxBean
.
storeRunStatus
>=
StoreRunStatus
.
HomeMoving
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论