Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO908-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 1f88fb29
由
刘韬
编写于
2024-12-29 11:08:35 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
27d27e42
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
32 行增加
和
1 行删除
source/XLRStoreClient/boxForm/FrmPosDebug.cs
source/XLRStoreClient/boxForm/FrmPosDebug.cs
查看文件 @
1f88fb2
...
...
@@ -23,6 +23,12 @@ namespace OnlineStore.XLRStore
BoxEquip
boxEquip
;
private
void
btnStart_Click
(
object
sender
,
EventArgs
e
)
{
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
if
(
MessageBox
.
Show
(
"是否开始库位调试?"
,
"提示"
,
MessageBoxButtons
.
YesNo
).
Equals
(
DialogResult
.
Yes
))
{
boxEquip
.
posDebugInfo
.
IsBreak
=
false
;
...
...
@@ -55,13 +61,23 @@ namespace OnlineStore.XLRStore
private
void
btnStop_Click
(
object
sender
,
EventArgs
e
)
{
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
if
(
MessageBox
.
Show
(
"确认停止库位调试?"
,
"提示"
,
MessageBoxButtons
.
OKCancel
).
Equals
(
DialogResult
.
OK
))
boxEquip
.
posDebugInfo
.
IsBreak
=
true
;
}
FrmPosResult
frmPosResult
=
null
;
private
void
btnPosResult_Click
(
object
sender
,
EventArgs
e
)
{
if
(
frmPosResult
==
null
)
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
if
(
frmPosResult
==
null
)
{
frmPosResult
=
new
FrmPosResult
();
frmPosResult
.
Show
();
...
...
@@ -82,6 +98,11 @@ namespace OnlineStore.XLRStore
FrmMoveAxisDebug
frmMoveAxisDebug
=
null
;
private
void
button1_Click
(
object
sender
,
EventArgs
e
)
{
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
try
{
FrmPwd
fw
=
new
FrmPwd
(
10
);
...
...
@@ -117,11 +138,21 @@ namespace OnlineStore.XLRStore
private
void
button3_Click
(
object
sender
,
EventArgs
e
)
{
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
boxEquip
.
posDebugInfo
.
IsPause
=
false
;
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
{
if
(!
StoreManager
.
XLRStore
.
boxEquip
.
IsServerConnected
)
{
MessageBox
.
Show
(
"等待服务器通讯"
);
return
;
}
boxEquip
.
posDebugInfo
.
IsPause
=
true
;
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论