Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f21554bd
由
几米阳光
编写于
2019-01-15 09:29:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加一维码扫码
1 个父辈
c1e49efa
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
9 行删除
dll/CodeLibrary.dll
source/ACSingleStore/FrmAxisDebug.Designer.cs
source/DeviceLibrary/halcon/CodeManager.cs
dll/CodeLibrary.dll
查看文件 @
f21554b
此文件类型无法预览
source/ACSingleStore/FrmAxisDebug.Designer.cs
查看文件 @
f21554b
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
// label1
// label1
//
//
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
39
,
77
);
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
77
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label1
.
TabIndex
=
0
;
this
.
label1
.
TabIndex
=
0
;
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
// label2
// label2
//
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
39
,
131
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
131
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label2
.
TabIndex
=
1
;
this
.
label2
.
TabIndex
=
1
;
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
// label3
// label3
//
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
39
,
184
);
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
184
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label3
.
TabIndex
=
2
;
this
.
label3
.
TabIndex
=
2
;
...
@@ -102,21 +102,21 @@
...
@@ -102,21 +102,21 @@
//
//
// txtMiddleSpeed
// txtMiddleSpeed
//
//
this
.
txtMiddleSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
50
,
75
);
this
.
txtMiddleSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
43
,
75
);
this
.
txtMiddleSpeed
.
Name
=
"txtMiddleSpeed"
;
this
.
txtMiddleSpeed
.
Name
=
"txtMiddleSpeed"
;
this
.
txtMiddleSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtMiddleSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtMiddleSpeed
.
TabIndex
=
5
;
this
.
txtMiddleSpeed
.
TabIndex
=
5
;
//
//
// txtUpDownSpeed
// txtUpDownSpeed
//
//
this
.
txtUpDownSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
50
,
129
);
this
.
txtUpDownSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
43
,
129
);
this
.
txtUpDownSpeed
.
Name
=
"txtUpDownSpeed"
;
this
.
txtUpDownSpeed
.
Name
=
"txtUpDownSpeed"
;
this
.
txtUpDownSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtUpDownSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtUpDownSpeed
.
TabIndex
=
6
;
this
.
txtUpDownSpeed
.
TabIndex
=
6
;
//
//
// txtInOutSpeed
// txtInOutSpeed
//
//
this
.
txtInOutSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
50
,
182
);
this
.
txtInOutSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
43
,
182
);
this
.
txtInOutSpeed
.
Name
=
"txtInOutSpeed"
;
this
.
txtInOutSpeed
.
Name
=
"txtInOutSpeed"
;
this
.
txtInOutSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtInOutSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtInOutSpeed
.
TabIndex
=
7
;
this
.
txtInOutSpeed
.
TabIndex
=
7
;
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
//
//
// txtComSpeed
// txtComSpeed
//
//
this
.
txtComSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
50
,
290
);
this
.
txtComSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
43
,
290
);
this
.
txtComSpeed
.
Name
=
"txtComSpeed"
;
this
.
txtComSpeed
.
Name
=
"txtComSpeed"
;
this
.
txtComSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtComSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtComSpeed
.
TabIndex
=
23
;
this
.
txtComSpeed
.
TabIndex
=
23
;
...
@@ -276,7 +276,7 @@
...
@@ -276,7 +276,7 @@
// label4
// label4
//
//
this
.
label4
.
AutoSize
=
true
;
this
.
label4
.
AutoSize
=
true
;
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
39
,
292
);
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
27
,
292
);
this
.
label4
.
Name
=
"label4"
;
this
.
label4
.
Name
=
"label4"
;
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
17
);
this
.
label4
.
TabIndex
=
22
;
this
.
label4
.
TabIndex
=
22
;
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
//
//
// txtAutoSpeed
// txtAutoSpeed
//
//
this
.
txtAutoSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
50
,
235
);
this
.
txtAutoSpeed
.
Location
=
new
System
.
Drawing
.
Point
(
1
43
,
235
);
this
.
txtAutoSpeed
.
Name
=
"txtAutoSpeed"
;
this
.
txtAutoSpeed
.
Name
=
"txtAutoSpeed"
;
this
.
txtAutoSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtAutoSpeed
.
Size
=
new
System
.
Drawing
.
Size
(
108
,
23
);
this
.
txtAutoSpeed
.
TabIndex
=
28
;
this
.
txtAutoSpeed
.
TabIndex
=
28
;
...
...
source/DeviceLibrary/halcon/CodeManager.cs
查看文件 @
f21554b
...
@@ -110,8 +110,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -110,8 +110,16 @@ namespace OnlineStore.DeviceLibrary
List
<
CodeInfo
>
cc
=
new
List
<
CodeInfo
>();
List
<
CodeInfo
>
cc
=
new
List
<
CodeInfo
>();
foreach
(
string
codeType
in
codeTypeList
)
foreach
(
string
codeType
in
codeTypeList
)
{
{
//判断是否是一维码
if
(
codeType
.
ToLower
().
Equals
(
"barcode"
))
{
cc
=
HDCodeHelper
.
DecodeBarCode
(
ho_Image
);
}
else
{
cc
=
HDCodeHelper
.
DecodeCode
(
ho_Image
,
1
,
GetCodeParamFilePath
(
codeType
),
codeType
);
cc
=
HDCodeHelper
.
DecodeCode
(
ho_Image
,
1
,
GetCodeParamFilePath
(
codeType
),
codeType
);
}
}
}
allCodeList
.
AddRange
(
cc
);
allCodeList
.
AddRange
(
cc
);
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论