Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO908-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 1df02aac
由
LN
编写于
2021-08-22 19:34:29 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/lina/SO908-XLRStore
2 个父辈
d6c1ef7b
c6ca6aaa
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
34 行增加
和
4 行删除
source/DeviceLibrary/storeBean/boxBean/BoxEquip.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
source/XLRStoreClient/boxForm/FrmAutoFindPos.Designer.cs
source/XLRStoreClient/boxForm/FrmAutoFindPos.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip.cs
查看文件 @
1df02aa
...
...
@@ -102,6 +102,10 @@ namespace OnlineStore.DeviceLibrary
public
List
<
string
>
PositionNumList
;
public
bool
IgnoreCamDect
=
false
;
public
bool
CamDetectError
=
false
;
/// <summary>
/// 关闭相机检测抽屉
/// </summary>
public
bool
CloseCamDetect
=
false
;
public
BoxEquip
(
string
cid
,
BoxEquip_Config
config
)
{
baseConfig
=
config
;
...
...
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
查看文件 @
1df02aa
...
...
@@ -640,6 +640,12 @@ namespace OnlineStore.DeviceLibrary
/// <returns></returns>
private
bool
CamCheckReelPosition
()
{
if
(
CloseCamDetect
)
{
LogInfo
(
$
"关闭相机检查库位 {MoveInfo.SLog}:[{MoveInfo.MoveParam.PosInfo.PosId}]"
);
CamDetectError
=
false
;
return
true
;
}
if
(
IgnoreCamDect
)
{
return
true
;
...
...
source/XLRStoreClient/boxForm/FrmAutoFindPos.Designer.cs
查看文件 @
1df02aa
...
...
@@ -86,6 +86,7 @@
this
.
textBox6
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
button9
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
chkBoxCloseCam
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
checkBoxOpenAuto
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
button4
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button3
=
new
System
.
Windows
.
Forms
.
Button
();
...
...
@@ -667,6 +668,7 @@
//
// groupBox1
//
this
.
groupBox1
.
Controls
.
Add
(
this
.
chkBoxCloseCam
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
checkBoxOpenAuto
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
button4
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
button3
);
...
...
@@ -681,6 +683,17 @@
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"流程"
;
//
// chkBoxCloseCam
//
this
.
chkBoxCloseCam
.
AutoSize
=
true
;
this
.
chkBoxCloseCam
.
Location
=
new
System
.
Drawing
.
Point
(
596
,
62
);
this
.
chkBoxCloseCam
.
Name
=
"chkBoxCloseCam"
;
this
.
chkBoxCloseCam
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
21
);
this
.
chkBoxCloseCam
.
TabIndex
=
7
;
this
.
chkBoxCloseCam
.
Text
=
"关闭视觉检查抽屉Mark"
;
this
.
chkBoxCloseCam
.
UseVisualStyleBackColor
=
true
;
this
.
chkBoxCloseCam
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chkBoxCloseCam_CheckedChanged
);
//
// checkBoxOpenAuto
//
this
.
checkBoxOpenAuto
.
AutoSize
=
true
;
...
...
@@ -694,7 +707,7 @@
//
// button4
//
this
.
button4
.
Location
=
new
System
.
Drawing
.
Point
(
504
,
91
);
this
.
button4
.
Location
=
new
System
.
Drawing
.
Point
(
432
,
86
);
this
.
button4
.
Name
=
"button4"
;
this
.
button4
.
Size
=
new
System
.
Drawing
.
Size
(
146
,
41
);
this
.
button4
.
TabIndex
=
3
;
...
...
@@ -704,7 +717,7 @@
//
// button3
//
this
.
button3
.
Location
=
new
System
.
Drawing
.
Point
(
342
,
91
);
this
.
button3
.
Location
=
new
System
.
Drawing
.
Point
(
270
,
86
);
this
.
button3
.
Name
=
"button3"
;
this
.
button3
.
Size
=
new
System
.
Drawing
.
Size
(
146
,
41
);
this
.
button3
.
TabIndex
=
2
;
...
...
@@ -714,7 +727,7 @@
//
// button2
//
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
504
,
32
);
this
.
button2
.
Location
=
new
System
.
Drawing
.
Point
(
432
,
27
);
this
.
button2
.
Name
=
"button2"
;
this
.
button2
.
Size
=
new
System
.
Drawing
.
Size
(
146
,
41
);
this
.
button2
.
TabIndex
=
1
;
...
...
@@ -724,7 +737,7 @@
//
// button1
//
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
342
,
32
);
this
.
button1
.
Location
=
new
System
.
Drawing
.
Point
(
270
,
27
);
this
.
button1
.
Name
=
"button1"
;
this
.
button1
.
Size
=
new
System
.
Drawing
.
Size
(
146
,
41
);
this
.
button1
.
TabIndex
=
0
;
...
...
@@ -870,5 +883,6 @@
private
System
.
Windows
.
Forms
.
Button
button13
;
private
System
.
Windows
.
Forms
.
Label
label22
;
private
System
.
Windows
.
Forms
.
CheckBox
checkBoxOpenAuto
;
private
System
.
Windows
.
Forms
.
CheckBox
chkBoxCloseCam
;
}
}
\ No newline at end of file
source/XLRStoreClient/boxForm/FrmAutoFindPos.cs
查看文件 @
1df02aa
...
...
@@ -31,6 +31,7 @@ namespace OnlineStore.XLRStore
button3
.
Enabled
=
state
;
button4
.
Enabled
=
state
;
tabControl1
.
Enabled
=
state
;
chkBoxCloseCam
.
Enabled
=
state
;
}
private
void
button1_Click
(
object
sender
,
EventArgs
e
)
{
...
...
@@ -349,5 +350,10 @@ namespace OnlineStore.XLRStore
{
SetState
(
checkBoxOpenAuto
.
Checked
);
}
private
void
chkBoxCloseCam_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
boxEquip
.
CloseCamDetect
=
chkBoxCloseCam
.
Checked
;
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论