Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-HCSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3708de31
由
LN
编写于
2021-06-01 09:25:53 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
e1970f0c
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
3 行删除
source/DeviceLibrary/acSingleStore/BoxBean_Partial.cs
source/HCSingleStore/FrmBox.cs
source/DeviceLibrary/acSingleStore/BoxBean_Partial.cs
查看文件 @
3708de3
...
...
@@ -598,8 +598,12 @@ namespace OnlineStore.DeviceLibrary
{
try
{
if
(
String
.
IsNullOrEmpty
(
Config
.
Camera_Name
))
{
return
""
;
}
string
date
=
Name
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd-HH-mm-ss"
)
+
"-Comp"
;
StoreManager
.
Store
.
vision
.
SaveImage
(
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
StoreManager
.
Store
.
vision
.
SaveImage
(
Config
.
Camera_Name
,
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
return
date
;
}
catch
(
Exception
ex
)
...
...
source/HCSingleStore/FrmBox.cs
查看文件 @
3708de3
...
...
@@ -1147,7 +1147,7 @@ namespace OnlineStore.ACSingleStore
if
(
StoreManager
.
Store
.
vision
!=
null
)
{
string
date
=
boxBean
.
Name
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd-HH-mm-ss"
)
+
"-Original"
;
StoreManager
.
Store
.
vision
.
SaveImage
(
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
StoreManager
.
Store
.
vision
.
SaveImage
(
boxBean
.
Config
.
Camera_Name
,
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
StoreManager
.
Store
.
vision
.
FeatureOriginal
(
boxBean
.
Config
.
Camera_Name
);
}
}
...
...
@@ -1157,7 +1157,7 @@ namespace OnlineStore.ACSingleStore
if
(
StoreManager
.
Store
.
vision
!=
null
)
{
string
date
=
boxBean
.
Name
+
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd-HH-mm-ss"
)
+
"-Comp"
;
StoreManager
.
Store
.
vision
.
SaveImage
(
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
StoreManager
.
Store
.
vision
.
SaveImage
(
boxBean
.
Config
.
Camera_Name
,
Application
.
StartupPath
+
@"\image\"
,
date
,
ImageFormat
.
Png
);
bool
result
=
boxBean
.
VisionComp
(
out
Dictionary
<
string
,
bool
>
exist
);
string
str
=
result
?
"有料\r\n"
:
"无料\r\n"
;
if
(
exist
!=
null
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论