Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-HCSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 2823b2db
由
张东亮
编写于
2020-11-25 14:40:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
两个仓可同时自动跑位
1 个父辈
2efb4cde
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
11 行删除
source/HCSingleStore/App.config
source/HCSingleStore/FrmBox.Designer.cs
source/HCSingleStore/FrmBox.cs
source/HCSingleStore/FrmInOutStore.cs
source/HCSingleStore/App.config
查看文件 @
2823b2d
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
<
add
key
=
"Box_ConfigPath"
value
=
"\StoreConfig\BoxConfig.csv"
/>
<
add
key
=
"Box_ConfigPath"
value
=
"\StoreConfig\BoxConfig.csv"
/>
<
add
key
=
"Store_Type"
value
=
"RC_AC_SA"
/>
<
add
key
=
"Store_Type"
value
=
"RC_AC_SA"
/>
<
add
key
=
"Store_CID"
value
=
"D1"
/>
<
add
key
=
"Store_CID"
value
=
"D1"
/>
<
add
key
=
"Store_CID_1"
value
=
"line-ac-0
1
"
/>
<
add
key
=
"Store_CID_1"
value
=
"line-ac-0
5
"
/>
<
add
key
=
"Store_CID_2"
value
=
"line-ac-0
2
"
/>
<
add
key
=
"Store_CID_2"
value
=
"line-ac-0
6
"
/>
<!--
end
one
store
config
-->
<!--
end
one
store
config
-->
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"ACBaudRate"
value
=
"115200"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"5000"
/>
<
add
key
=
"InOutDefaultPosition"
value
=
"5000"
/>
...
...
source/HCSingleStore/FrmBox.Designer.cs
查看文件 @
2823b2d
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
label43
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label43
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label42
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label42
);
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
42
0
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
42
8
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
136
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
136
);
this
.
groupBox1
.
TabIndex
=
217
;
this
.
groupBox1
.
TabIndex
=
217
;
...
@@ -493,7 +493,7 @@
...
@@ -493,7 +493,7 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
3
36
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
11
,
3
44
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
78
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
476
,
78
);
this
.
groupBox2
.
TabIndex
=
276
;
this
.
groupBox2
.
TabIndex
=
276
;
...
@@ -669,7 +669,7 @@
...
@@ -669,7 +669,7 @@
this
.
tabPage5
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
22
);
this
.
tabPage5
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
22
);
this
.
tabPage5
.
Name
=
"tabPage5"
;
this
.
tabPage5
.
Name
=
"tabPage5"
;
this
.
tabPage5
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage5
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage5
.
Size
=
new
System
.
Drawing
.
Size
(
5
80
,
559
);
this
.
tabPage5
.
Size
=
new
System
.
Drawing
.
Size
(
5
73
,
558
);
this
.
tabPage5
.
TabIndex
=
1
;
this
.
tabPage5
.
TabIndex
=
1
;
this
.
tabPage5
.
Text
=
"点位示意图"
;
this
.
tabPage5
.
Text
=
"点位示意图"
;
this
.
tabPage5
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage5
.
UseVisualStyleBackColor
=
true
;
...
@@ -746,7 +746,7 @@
...
@@ -746,7 +746,7 @@
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Enabled
=
false
;
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
6
);
this
.
groupInout
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
6
);
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Name
=
"groupInout"
;
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
494
,
585
);
this
.
groupInout
.
Size
=
new
System
.
Drawing
.
Size
(
899
,
585
);
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabIndex
=
100
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
TabStop
=
false
;
this
.
groupInout
.
Text
=
"料仓操作"
;
this
.
groupInout
.
Text
=
"料仓操作"
;
...
@@ -1432,10 +1432,10 @@
...
@@ -1432,10 +1432,10 @@
// tabPage1
// tabPage1
//
//
this
.
tabPage1
.
Controls
.
Add
(
this
.
panel1
);
this
.
tabPage1
.
Controls
.
Add
(
this
.
panel1
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
2
9
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
2
2
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1
091
,
607
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1
92
,
74
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" IO调试 "
;
this
.
tabPage1
.
Text
=
" IO调试 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
...
source/HCSingleStore/FrmBox.cs
查看文件 @
2823b2d
...
@@ -1103,7 +1103,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -1103,7 +1103,7 @@ namespace OnlineStore.ACSingleStore
private
void
btnInOutTest_Click
(
object
sender
,
EventArgs
e
)
private
void
btnInOutTest_Click
(
object
sender
,
EventArgs
e
)
{
{
FrmInOutStore
frmInOutStore
=
new
FrmInOutStore
(
boxBean
);
FrmInOutStore
frmInOutStore
=
new
FrmInOutStore
(
boxBean
);
frmInOutStore
.
Show
Dialog
();
frmInOutStore
.
Show
();
}
}
}
}
}
}
source/HCSingleStore/FrmInOutStore.cs
查看文件 @
2823b2d
...
@@ -115,6 +115,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -115,6 +115,7 @@ namespace OnlineStore.ACSingleStore
{
{
InitializeComponent
();
InitializeComponent
();
this
.
store
=
store
;
this
.
store
=
store
;
this
.
Text
=
"D"
+
store
.
Config
.
GetStoreId
()+
" 自动跑位"
;
lastStageInOutStep
=
new
LastStageInOutStep
();
lastStageInOutStep
=
new
LastStageInOutStep
();
generalInOutStep
=
new
GeneralInOutStep
();
generalInOutStep
=
new
GeneralInOutStep
();
moveToStartPosStep
=
new
MoveToStartPosStep
();
moveToStartPosStep
=
new
MoveToStartPosStep
();
...
@@ -180,7 +181,6 @@ namespace OnlineStore.ACSingleStore
...
@@ -180,7 +181,6 @@ namespace OnlineStore.ACSingleStore
preOpen
=
isOpen
;
preOpen
=
isOpen
;
btnOutStore
.
Enabled
=
!
isOpen
;
btnOutStore
.
Enabled
=
!
isOpen
;
cmbPosition
.
Enabled
=
!
isOpen
;
btnStoreStart
.
Enabled
=
!
isOpen
;
btnStoreStart
.
Enabled
=
!
isOpen
;
...
@@ -1232,7 +1232,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -1232,7 +1232,7 @@ namespace OnlineStore.ACSingleStore
bool
result
=
ACStorePosition
.
CheckPosition
(
position
,
boxBean
.
Config
);
bool
result
=
ACStorePosition
.
CheckPosition
(
position
,
boxBean
.
Config
);
if
(
result
&&
position
.
StoreId
.
Equals
(
boxBean
.
Config
.
GetStoreId
()))
if
(
result
&&
position
.
StoreId
.
Equals
(
boxBean
.
Config
.
GetStoreId
()))
{
{
size
=
position
.
Bag
High
+
"*"
+
position
.
BagWidt
h
;
size
=
position
.
Bag
Width
+
"*"
+
position
.
BagHig
h
;
if
(
PositionDic
.
ContainsKey
(
size
))
if
(
PositionDic
.
ContainsKey
(
size
))
{
{
PositionDic
[
size
].
Add
(
position
.
PositionNum
);
PositionDic
[
size
].
Add
(
position
.
PositionNum
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论