Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
NS100
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit de54abbe
由
刘韬
编写于
2025-02-07 13:27:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
halcon 升级到20
1 个父辈
2f575419
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
4 行增加
和
7 行删除
SharedDll/Asa.Camera.VisionLib.dll
SharedDll/halcondotnet.dll
SmartScan/Form/FrmMain.Designer.cs
SmartScan/ScanWork.cs
SmartScan/SmartScan.csproj
SharedDll/Asa.Camera.VisionLib.dll
查看文件 @
de54abb
此文件类型无法预览
SharedDll/halcondotnet.dll
查看文件 @
de54abb
此文件类型无法预览
SmartScan/Form/FrmMain.Designer.cs
查看文件 @
de54abb
...
@@ -275,7 +275,7 @@ namespace SmartScan
...
@@ -275,7 +275,7 @@ namespace SmartScan
this
.
Controls
.
Add
(
this
.
BtnSet
);
this
.
Controls
.
Add
(
this
.
BtnSet
);
this
.
Controls
.
Add
(
this
.
BtnRetrospect
);
this
.
Controls
.
Add
(
this
.
BtnRetrospect
);
this
.
Controls
.
Add
(
this
.
BtnStart
);
this
.
Controls
.
Add
(
this
.
BtnStart
);
this
.
Icon
=
global
::
SmartScan
.
Properties
.
Resources
.
NEO_64
;
this
.
Name
=
"FrmMain"
;
this
.
Name
=
"FrmMain"
;
this
.
Text
=
"Form1"
;
this
.
Text
=
"Form1"
;
this
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
16.2F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
TitleFont
=
new
System
.
Drawing
.
Font
(
"宋体"
,
16.2F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
...
SmartScan/ScanWork.cs
查看文件 @
de54abb
...
@@ -233,14 +233,15 @@ namespace SmartScan
...
@@ -233,14 +233,15 @@ namespace SmartScan
System
.
Threading
.
Thread
.
Sleep
(
100
);
//光源打开有一个由暗变亮的过程
System
.
Threading
.
Thread
.
Sleep
(
100
);
//光源打开有一个由暗变亮的过程
}
}
List
<
Bitmap
>
image
=
new
List
<
Bitmap
>(
Camera
.
CaptureAndGetCode
(
out
workCodeInfo
));
List
<
Bitmap
>
image
=
new
List
<
Bitmap
>(
Camera
.
CaptureAndGetCode
(
out
workCodeInfo
));
if
(
image
.
Count
>
0
)
if
(
image
.
Count
>
0
&&
image
[
0
]!=
null
)
{
{
BLLCommon
.
mateEdit
.
CurrntBitmap
=
WebCallWork
.
DeepClone
(
image
[
0
]);
BLLCommon
.
mateEdit
.
CurrntBitmap
=
WebCallWork
.
DeepClone
(
image
[
0
]);
if
(!
BLL
.
Config
.
Backgrounder
)
if
(!
BLL
.
Config
.
Backgrounder
)
picShow
.
Image
=
image
[
0
];
picShow
.
Image
=
image
[
0
];
if
(
BLLCommon
.
mateEdit
.
CurrntBitmap
!=
null
)
if
(
BLLCommon
.
mateEdit
.
CurrntBitmap
!=
null
)
_
=
UnifiedDataHandler
.
PostSmfImageAsync
(
BLLCommon
.
mateEdit
.
CurrntBitmap
,
new
Dictionary
<
string
,
string
>
{
{
"cid"
,
BLLCommon
.
config
.
CID
+
"_1"
}
},
BLLCommon
.
mateEdit
.
CurrntBitmap
.
Width
,
BLLCommon
.
mateEdit
.
CurrntBitmap
.
Height
);
_
=
UnifiedDataHandler
.
PostSmfImageAsync
(
BLLCommon
.
mateEdit
.
CurrntBitmap
,
new
Dictionary
<
string
,
string
>
{
{
"cid"
,
BLLCommon
.
config
.
CID
+
"_1"
}
},
BLLCommon
.
mateEdit
.
CurrntBitmap
.
Width
,
BLLCommon
.
mateEdit
.
CurrntBitmap
.
Height
);
}
}
else
return
false
;
if
(
BLLCommon
.
config
.
TriggerOpenLight
)
if
(
BLLCommon
.
config
.
TriggerOpenLight
)
BLLCommon
.
lightSource
.
TurnOff
();
BLLCommon
.
lightSource
.
TurnOff
();
...
...
SmartScan/SmartScan.csproj
查看文件 @
de54abb
...
@@ -83,10 +83,6 @@
...
@@ -83,10 +83,6 @@
<Reference Include="ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca, processorArchitecture=MSIL">
<Reference Include="ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelNumberFormat.1.1.0\lib\net20\ExcelNumberFormat.dll</HintPath>
<HintPath>..\packages\ExcelNumberFormat.1.1.0\lib\net20\ExcelNumberFormat.dll</HintPath>
</Reference>
</Reference>
<Reference Include="halcondotnet, Version=12.0.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\相机操作类\Camera\CameraVisionLibSetting\bin\Debug\halcondotnet.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
</Reference>
</Reference>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论