Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-OutletEquip
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 2d2b6d1b
由
LN
编写于
2021-03-31 09:10:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
界面显示调整。NG料根据料盘高度自动匹配压紧前点
1 个父辈
a9f1c42d
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
51 行增加
和
23 行删除
source/Common/util/LogUtil.cs
source/DeviceLibrary/bean/EquipBean.cs
source/DeviceLibrary/bean/EquipBean_Partial.cs
source/DeviceLibrary/bean/WorkStation.cs
source/HCSingleStore/FrmEquip.Designer.cs
source/Common/util/LogUtil.cs
查看文件 @
2d2b6d1
...
...
@@ -19,7 +19,7 @@ namespace OnlineStore.Common
public
static
Dictionary
<
int
,
DateTime
>
lastErrorLogTime
=
new
Dictionary
<
int
,
DateTime
>();
public
static
System
.
Windows
.
Forms
.
RichTextBox
logBox
=
null
;
public
static
int
showCount
=
2
0
;
public
static
int
showCount
=
1
0
;
public
static
bool
debug_opened
=
false
;
...
...
source/DeviceLibrary/bean/EquipBean.cs
查看文件 @
2d2b6d1
...
...
@@ -996,7 +996,9 @@ namespace OnlineStore.DeviceLibrary
}
public
string
GetMoveStr
()
{
string
msg
=
LineConnect
.
DoorPosInfo
?.
ToStr
()
+
"\r\n"
+
"料架信息:"
+
CurrTray
?.
ToStr
()+
"\r\n"
;
string
msg
=
LineConnect
.
DoorPosInfo
?.
ToStr
()
+
"\r\n"
;
msg
+=
CurrTray
==
null
?
""
:
"料架信息:"
+
CurrTray
?.
ToStr
()
+
"\r\n"
;
foreach
(
WorkStation
shelf
in
StationMap
.
Values
)
{
...
...
source/DeviceLibrary/bean/EquipBean_Partial.cs
查看文件 @
2d2b6d1
...
...
@@ -36,10 +36,36 @@ namespace OnlineStore.DeviceLibrary
{
LineMoveP
p
=
new
LineMoveP
();
if
(
param
.
PosInfo
.
IsNg
&&
param
.
PosInfo
.
ShelfPosId
.
Equals
(
""
))
{
param
.
PosInfo
.
ShelfPosId
=
PositionNumList
[
0
];
//判断料盘尺寸
if
(
param
.
PosInfo
.
PlateW
.
Equals
(
7
))
{
List
<
ShelfPosition
>
positionList
=
CSVPositionReader
<
ShelfPosition
>.
getPositionList
();
List
<
ShelfPosition
>
list
=
(
from
m
in
positionList
where
m
.
BagWidth
.
Equals
(
7
)
select
m
).
ToList
();
if
(
list
.
Count
>
0
)
{
param
.
PosInfo
.
ShelfPosId
=
list
[
0
].
PositionNum
;
}
else
{
param
.
PosInfo
.
ShelfPosId
=
PositionNumList
[
0
];
}
}
else
{
List
<
ShelfPosition
>
positionList
=
CSVPositionReader
<
ShelfPosition
>.
getPositionList
();
List
<
ShelfPosition
>
list
=
(
from
m
in
positionList
where
m
.
BagWidth
>(
7
)
select
m
).
ToList
();
if
(
list
.
Count
>
0
)
{
param
.
PosInfo
.
ShelfPosId
=
list
[
0
].
PositionNum
;
}
else
{
param
.
PosInfo
.
ShelfPosId
=
PositionNumList
[
0
];
}
}
//param.PosInfo.ShelfPosId = PositionNumList[0];
}
ShelfPosition
position
=
param
.
GetACPosition
();
...
...
source/DeviceLibrary/bean/WorkStation.cs
查看文件 @
2d2b6d1
...
...
@@ -792,7 +792,7 @@ namespace OnlineStore.DeviceLibrary
}
public
string
ToStr
()
{
string
result
=
"料架
["
+
RealShelf
+
"][
"
+
XNShelf
+
"]"
;
string
result
=
"料架
:["
+
RealShelf
+
"_
"
+
XNShelf
+
"]"
;
if
(
TaskInfo
!=
null
&&
TaskInfo
.
IsValid
())
{
result
+=
"[空位:大料="
+
TaskInfo
.
bigEmpty
+
",小料="
+
TaskInfo
.
smallEmpty
+
"]"
;
...
...
source/HCSingleStore/FrmEquip.Designer.cs
查看文件 @
2d2b6d1
...
...
@@ -168,10 +168,10 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage2
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage3
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
7
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
3
7
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
996
,
6
27
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
996
,
6
39
);
this
.
tabControl1
.
TabIndex
=
272
;
//
// tabPage2
...
...
@@ -193,7 +193,7 @@
this
.
tabPage2
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
988
,
594
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
988
,
606
);
this
.
tabPage2
.
TabIndex
=
3
;
this
.
tabPage2
.
Text
=
" 设备状态 "
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -204,9 +204,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblWarnMsg
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblWarnMsg
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
17
1
);
this
.
lblWarnMsg
.
Location
=
new
System
.
Drawing
.
Point
(
7
,
23
1
);
this
.
lblWarnMsg
.
Name
=
"lblWarnMsg"
;
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
713
,
60
);
this
.
lblWarnMsg
.
Size
=
new
System
.
Drawing
.
Size
(
975
,
60
);
this
.
lblWarnMsg
.
TabIndex
=
224
;
this
.
lblWarnMsg
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
...
...
@@ -228,7 +228,7 @@
this
.
checkBox3
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
checkBox3
.
AutoSize
=
true
;
this
.
checkBox3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
checkBox3
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
1
47
);
this
.
checkBox3
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
1
54
);
this
.
checkBox3
.
Name
=
"checkBox3"
;
this
.
checkBox3
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
21
);
this
.
checkBox3
.
TabIndex
=
286
;
...
...
@@ -241,7 +241,7 @@
this
.
checkBox2
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
checkBox2
.
AutoSize
=
true
;
this
.
checkBox2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
checkBox2
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
1
13
);
this
.
checkBox2
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
1
20
);
this
.
checkBox2
.
Name
=
"checkBox2"
;
this
.
checkBox2
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
21
);
this
.
checkBox2
.
TabIndex
=
285
;
...
...
@@ -254,7 +254,7 @@
this
.
checkBox1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
checkBox1
.
AutoSize
=
true
;
this
.
checkBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
checkBox1
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
79
);
this
.
checkBox1
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
86
);
this
.
checkBox1
.
Name
=
"checkBox1"
;
this
.
checkBox1
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
21
);
this
.
checkBox1
.
TabIndex
=
284
;
...
...
@@ -266,11 +266,11 @@
//
this
.
lblMoveEquipInfo
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblMoveEquipInfo
.
AutoSize
=
true
;
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveEquipInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveEquipInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
834
,
11
);
this
.
lblMoveEquipInfo
.
Location
=
new
System
.
Drawing
.
Point
(
723
,
11
);
this
.
lblMoveEquipInfo
.
Name
=
"lblMoveEquipInfo"
;
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
1
07
,
17
);
this
.
lblMoveEquipInfo
.
Size
=
new
System
.
Drawing
.
Size
(
1
43
,
22
);
this
.
lblMoveEquipInfo
.
TabIndex
=
283
;
this
.
lblMoveEquipInfo
.
Text
=
"移栽状态:不可出库"
;
//
...
...
@@ -336,9 +336,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
2
36
);
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
2
97
);
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
978
,
3
40
);
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
978
,
3
01
);
this
.
logBox
.
TabIndex
=
278
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
...
...
@@ -346,11 +346,11 @@
// lblMoveStr
//
this
.
lblMoveStr
.
AutoSize
=
true
;
this
.
lblMoveStr
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveStr
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveStr
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblMoveStr
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
37
);
this
.
lblMoveStr
.
Name
=
"lblMoveStr"
;
this
.
lblMoveStr
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblMoveStr
.
Size
=
new
System
.
Drawing
.
Size
(
74
,
21
);
this
.
lblMoveStr
.
TabIndex
=
277
;
this
.
lblMoveStr
.
Text
=
"等待启动"
;
this
.
lblMoveStr
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
...
...
@@ -364,7 +364,7 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
button6
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
button5
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
4
36
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
4
42
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
972
,
78
);
this
.
groupBox2
.
TabIndex
=
276
;
...
...
@@ -448,7 +448,7 @@
this
.
chbDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
chbDebug
.
AutoSize
=
true
;
this
.
chbDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
4
2
);
this
.
chbDebug
.
Location
=
new
System
.
Drawing
.
Point
(
886
,
4
9
);
this
.
chbDebug
.
Name
=
"chbDebug"
;
this
.
chbDebug
.
Size
=
new
System
.
Drawing
.
Size
(
84
,
24
);
this
.
chbDebug
.
TabIndex
=
271
;
...
...
@@ -466,7 +466,7 @@
this
.
tabPage3
.
Controls
.
Add
(
this
.
btnAxisOff
);
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
988
,
597
);
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
988
,
602
);
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
Text
=
" 库位调试 "
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论