Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO853-AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8967469f
由
刘韬
编写于
2022-04-13 15:59:14 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
f85b3f70
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
2 行删除
DeviceLibrary/AutoScan/T1Machine.cs
DeviceLibrary/AutoScan/XRayMachine.XRay.cs
DeviceLibrary/AutoScan/XRayMachine.cs
DeviceLibrary/DeviceLibrary/WistonAgvClientcs.cs
DeviceLibrary/AutoScan/T1Machine.cs
查看文件 @
8967469
...
@@ -314,6 +314,7 @@ namespace DeviceLibrary
...
@@ -314,6 +314,7 @@ namespace DeviceLibrary
if
(!
calledagv
&&
IOValue
(
IO_T1_Type
.
Empty_LineIn_Check
).
Equals
(
IO_VALUE
.
LOW
)&&
IOValue
(
IO_T1_Type
.
EmptyString_In_Check
).
Equals
(
IO_VALUE
.
LOW
))
if
(!
calledagv
&&
IOValue
(
IO_T1_Type
.
Empty_LineIn_Check
).
Equals
(
IO_VALUE
.
LOW
)&&
IOValue
(
IO_T1_Type
.
EmptyString_In_Check
).
Equals
(
IO_VALUE
.
LOW
))
{
{
calledagv
=
true
;
calledagv
=
true
;
if
(!
ConfigHelper
.
Config
.
Get
(
"wiston_disable_agv_NeedEnter"
,
false
))
RobotManage
.
wistonAgvClient
.
NeedEnter
();
RobotManage
.
wistonAgvClient
.
NeedEnter
();
}
}
else
if
(
IOValue
(
IO_T1_Type
.
Empty_LineIn_Check
).
Equals
(
IO_VALUE
.
HIGH
)
||
IOValue
(
IO_T1_Type
.
EmptyString_In_Check
).
Equals
(
IO_VALUE
.
HIGH
))
else
if
(
IOValue
(
IO_T1_Type
.
Empty_LineIn_Check
).
Equals
(
IO_VALUE
.
HIGH
)
||
IOValue
(
IO_T1_Type
.
EmptyString_In_Check
).
Equals
(
IO_VALUE
.
HIGH
))
...
...
DeviceLibrary/AutoScan/XRayMachine.XRay.cs
查看文件 @
8967469
...
@@ -66,7 +66,7 @@ namespace DeviceLibrary
...
@@ -66,7 +66,7 @@ namespace DeviceLibrary
MoveInfo
.
NextMoveStep
(
MoveStep
.
XRay_05_GetImage
);
MoveInfo
.
NextMoveStep
(
MoveStep
.
XRay_05_GetImage
);
RobotManage
.
XRay
.
Start
();
RobotManage
.
XRay
.
Start
();
MoveInfo
.
log
(
$
"打开X光"
);
MoveInfo
.
log
(
$
"打开X光"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
var
pps
=
MoveInfo
.
ReelParam
.
PN
.
Split
(
'-'
);
var
pps
=
MoveInfo
.
ReelParam
.
PN
.
Split
(
'-'
);
var
pn
=
pps
[
0
];
var
pn
=
pps
[
0
];
...
@@ -75,6 +75,7 @@ namespace DeviceLibrary
...
@@ -75,6 +75,7 @@ namespace DeviceLibrary
MoveInfo
.
log
(
$
"判断为需要多次拍照的料盘,PN:{pn}"
);
MoveInfo
.
log
(
$
"判断为需要多次拍照的料盘,PN:{pn}"
);
countlist
.
Clear
();
countlist
.
Clear
();
}
}
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
ConfigHelper
.
Config
.
Get
(
"xray_light_delay"
,
1000
)));
break
;
break
;
case
MoveStep
.
XRay_05_GetImage
:
case
MoveStep
.
XRay_05_GetImage
:
if
(
GrabImage
())
if
(
GrabImage
())
...
...
DeviceLibrary/AutoScan/XRayMachine.cs
查看文件 @
8967469
...
@@ -37,7 +37,7 @@ namespace DeviceLibrary
...
@@ -37,7 +37,7 @@ namespace DeviceLibrary
public
bool
Init
(
out
string
msg
)
public
bool
Init
(
out
string
msg
)
{
{
ConfigHelper
.
Config
.
Get
(
"xray_light_delay"
,
1000
);
msg
=
""
;
msg
=
""
;
try
try
{
{
...
...
DeviceLibrary/DeviceLibrary/WistonAgvClientcs.cs
查看文件 @
8967469
...
@@ -24,6 +24,7 @@ namespace DeviceLibrary
...
@@ -24,6 +24,7 @@ namespace DeviceLibrary
List
<(
DateTime
,
string
)>
InCommandHistroy
;
List
<(
DateTime
,
string
)>
InCommandHistroy
;
public
WistonAgvClient
()
public
WistonAgvClient
()
{
{
ConfigHelper
.
Config
.
Get
(
"wiston_disable_agv_NeedEnter"
,
false
);
commandLoad
();
commandLoad
();
//端口及IP
//端口及IP
ipe
=
new
IPEndPoint
(
IPAddress
.
Parse
(
ConfigHelper
.
Config
.
Get
(
"WistonAgvServerIP"
)),
ConfigHelper
.
Config
.
Get
<
int
>(
"WistonAgvServerPort"
));
ipe
=
new
IPEndPoint
(
IPAddress
.
Parse
(
ConfigHelper
.
Config
.
Get
(
"WistonAgvServerIP"
)),
ConfigHelper
.
Config
.
Get
<
int
>(
"WistonAgvServerPort"
));
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论