Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b444f6fa
由
刘韬
编写于
2022-05-20 11:44:03 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
5a8177d1
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/store/Camera.cs
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
b444f6f
...
@@ -36,8 +36,9 @@
...
@@ -36,8 +36,9 @@
<Prefer32Bit>false</Prefer32Bit>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<Reference Include="Asa.Camera.VisionLib">
<Reference Include="Asa.Camera.VisionLib, Version=1.3.7927.28975, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\camera\Asa.Camera.VisionLib.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\Camera\CameraVisionLib\bin\Debug\Asa.Camera.VisionLib.dll</HintPath>
</Reference>
</Reference>
<Reference Include="Asa.IOModule.AIOBOX, Version=2.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Asa.IOModule.AIOBOX, Version=2.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<SpecificVersion>False</SpecificVersion>
...
@@ -113,9 +114,7 @@
...
@@ -113,9 +114,7 @@
<Content Include="libdmtx.dll">
<Content Include="libdmtx.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</Content>
<Content Include="MvCameraControl.Net.dll">
<Content Include="MvCameraControl.Net.dll" />
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="MvCameraControl.Net.XML">
<Content Include="MvCameraControl.Net.XML">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</Content>
...
...
source/DeviceLibrary/store/Camera.cs
查看文件 @
b444f6f
...
@@ -40,7 +40,7 @@ namespace OnlineStore
...
@@ -40,7 +40,7 @@ namespace OnlineStore
}
}
var
m
=
Regex
.
Match
(
configtxt
,
"name\".*?\"(.+)\""
,
RegexOptions
.
IgnoreCase
);
var
m
=
Regex
.
Match
(
configtxt
,
"name\".*?\"(.+)\""
,
RegexOptions
.
IgnoreCase
);
DeviceName
=
m
.
Groups
[
1
].
Value
;
DeviceName
=
m
.
Groups
[
1
].
Value
;
camera
=
new
VisionLib
(
path
,
"HIK.IPCamera"
);
camera
=
new
VisionLib
(
path
,
true
,
"HIK.IPCamera"
);
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论