Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
CarerayImage
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 31fa496f
由
刘韬
编写于
2025-02-19 09:49:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
浩博v2
1 个父辈
6856c7d7
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
7 行删除
CarerayImage/CarerayImage.cs
CarerayImage/XrayImage.cs
CarerayImage/XrayImageInterface.cs
CarerayImage/haobo_v1.cs
CarerayImage/haobo_v2.cs
CarerayImage/CarerayImage.cs
查看文件 @
31fa496
...
...
@@ -63,7 +63,7 @@ namespace Asa
/// 打开设备
/// </summary>
/// <returns></returns>
public
bool
Open
()
public
bool
Open
(
bool
makeoffsettemplate
)
{
int
rtn
;
...
...
CarerayImage/XrayImage.cs
查看文件 @
31fa496
...
...
@@ -115,9 +115,9 @@ namespace Asa
/// 打开设备
/// </summary>
/// <returns></returns>
public
bool
Open
()
public
bool
Open
(
bool
makeoffsettemplate
=
true
)
{
return
device
.
Open
();
return
device
.
Open
(
makeoffsettemplate
);
}
/// <summary>
...
...
CarerayImage/XrayImageInterface.cs
查看文件 @
31fa496
...
...
@@ -10,7 +10,7 @@ namespace Asa
{
interface
XrayImageInterface
{
bool
Open
();
bool
Open
(
bool
makeoffsettemplate
);
bool
Close
();
bool
GetImage
(
int
_MaxFrameCount
=
3
,
int
MaxDelay
=
5000
);
...
...
CarerayImage/haobo_v1.cs
查看文件 @
31fa496
...
...
@@ -32,7 +32,7 @@ namespace Asa
if
(
_ret
!=
0
)
WriteLog
(
"HBI_RegEventCallBackFun"
+
_ret
.
ToString
());
}
public
bool
Open
()
public
bool
Open
(
bool
makeoffsettemplate
)
{
var
HB_Remote_IP
=
Config
.
Get
(
"HB_Remote_IP"
);
var
HB_Remote_PORT
=
Config
.
Get
<
ushort
>(
"HB_Remote_PORT"
);
...
...
CarerayImage/haobo_v2.cs
查看文件 @
31fa496
...
...
@@ -35,7 +35,7 @@ namespace Asa
if
(
_ret
!=
0
)
WriteLog
(
"HBI_RegEventCallBackFun:"
+
GetHbiError
(
_ret
));
}
public
bool
Open
()
public
bool
Open
(
bool
makeoffsettemplate
)
{
var
HB_Remote_IP
=
Config
.
Get
(
"HB_Remote_IP"
);
var
HB_Remote_PORT
=
Config
.
Get
<
ushort
>(
"HB_Remote_PORT"
);
...
...
@@ -57,7 +57,7 @@ namespace Asa
commCfg
.
_remotePort
=
HB_Remote_PORT
;
var
offsettemplate
=
1
;
var
offsettemplate
=
makeoffsettemplate
?
1
:
0
;
var
_ret
=
HBI_FPD_DLL
.
HBI_ConnectDetector
(
HBI_FPD_DLL
.
_handel
,
commCfg
,
offsettemplate
);
if
(
_ret
!=
0
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论