Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 403219e7
由
张东亮
编写于
2024-02-02 09:32:09 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
添加解码超时时间配置
1 个父辈
2a3343e8
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
15 行增加
和
3 行删除
source/AssemblyLineClient/AssemblyLineClient.csproj
source/AssemblyLineClient/FrmAbout.Designer.cs
source/AssemblyLineClient/FrmAbout.cs
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/deviceLibrary/halcon/CodeManager.cs
source/AssemblyLineClient/AssemblyLineClient.csproj
查看文件 @
403219e
...
...
@@ -61,6 +61,9 @@
<Reference Include="CodeLibrary">
<HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\..\..\..\..\SharedRefDll\Neotel\DL.Common\Debug\net462\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="halcondotnet">
<HintPath>..\..\dll\halcondotnet.dll</HintPath>
</Reference>
...
...
source/AssemblyLineClient/FrmAbout.Designer.cs
查看文件 @
403219e
...
...
@@ -59,6 +59,7 @@
this
.
lblVersion
.
TabIndex
=
276
;
this
.
lblVersion
.
Text
=
"版本号:1.1.0000.0000"
;
this
.
lblVersion
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblVersion
.
Click
+=
new
System
.
EventHandler
(
this
.
lblVersion_Click
);
//
// lblTime
//
...
...
@@ -94,7 +95,7 @@
//
// FrmAbout
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
9F
,
20
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
553
,
222
);
this
.
Controls
.
Add
(
this
.
btnCopy
);
...
...
source/AssemblyLineClient/FrmAbout.cs
查看文件 @
403219e
...
...
@@ -37,5 +37,10 @@ namespace OnlineStore.AssemblyLine
{
Clipboard
.
SetDataObject
(
GetCodeNum
(),
true
);
}
private
void
lblVersion_Click
(
object
sender
,
EventArgs
e
)
{
ConfigHelper
.
AdvanceConfigForm
.
ShowEditDialog
(
this
);
}
}
}
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
403219e
...
...
@@ -47,6 +47,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\..\..\..\..\SharedRefDll\Neotel\ConfigHelper\Debug\net461\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="halcondotnet">
<HintPath>..\..\dll\halcondotnet.dll</HintPath>
</Reference>
...
...
source/DeviceLibrary/deviceLibrary/halcon/CodeManager.cs
查看文件 @
403219e
...
...
@@ -186,12 +186,12 @@ namespace OnlineStore.DeviceLibrary
{
List
<
CodeInfo
>
cc
=
new
List
<
CodeInfo
>();
eyemNoCode
=
true
;
int
timeout
=
ConfigHelper
.
Config
.
Get
(
"Camera_Timeout"
,
8000
);
RemoteDecodeHelper
.
RemoteDecodeParam
remoteDecodeParam
=
new
RemoteDecodeHelper
.
RemoteDecodeParam
{
codeTypeList
=
allCodeTypeList
.
ToArray
(),
codeCount
=
3
,
timeout
=
3000
timeout
=
timeout
};
cc
=
RemoteDecodeHelper
.
DecodeRequest
(
ho_Image
,
remoteDecodeParam
);
if
(
cc
!=
null
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论