Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-VMILineClient
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0180e940
由
LN
编写于
2020-01-12 16:52:57 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
6bfa721a
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
8 行增加
和
66 行删除
source/DeviceLibrary/acVmiLine/RobotManager.cs
source/DeviceLibrary/acVmiLine/VMILineBean.cs
source/DeviceLibrary/agvClient/AgvClient.cs
source/DeviceLibrary/bean/StoreMoveInfo.cs
source/LoadCVSLibrary/Config/bean/Store_IO_Type.cs
source/VMILineClient/FrmVMIClient.Designer.cs
source/DeviceLibrary/acVmiLine/RobotManager.cs
查看文件 @
0180e94
...
...
@@ -81,8 +81,6 @@ namespace OnlineStore.DeviceLibrary
return
VMILine
;
}
public
static
bool
checkWatch
(
Stopwatch
watch
,
int
targetMs
,
bool
isStop
=
true
)
{
if
(!
watch
.
IsRunning
)
...
...
source/DeviceLibrary/acVmiLine/VMILineBean.cs
查看文件 @
0180e94
...
...
@@ -70,10 +70,10 @@ namespace OnlineStore.DeviceLibrary
if
(
IOManager
.
IOValue
(
IO_Type
.
SuddenStop_BTN
).
Equals
(
IO_VALUE
.
HIGH
))
{
//急停按钮和气压检测需要一起判断
if
(!
AgvClient
.
ISConnected
())
{
//
if (!AgvClient.ISConnected())
//
{
AgvClient
.
Init
();
}
//
}
RFIDManager
.
Open
(
new
string
[]
{
Config
.
InL_In_RFIDIP
,
Config
.
InL_Out_RFIDIP
});
runStatus
=
RunStatus
.
HomeMoving
;
MoveInfo
.
NewMove
(
LineMoveType
.
ReturnHome
);
...
...
@@ -163,6 +163,7 @@ namespace OnlineStore.DeviceLibrary
{
WarnMsg
=
""
;
RFIDManager
.
Close
();
AgvClient
.
Dispose
();
mainTimer
.
Enabled
=
false
;
serverConnectTimer
.
Enabled
=
false
;
StopMove
();
...
...
@@ -271,9 +272,7 @@ namespace OnlineStore.DeviceLibrary
else
if
(
span
.
TotalMilliseconds
>
StopDownMS
)
{
ol_noshelfWatch
.
Stop
();
IOManager
.
CIOMove
(
IO_Type
.
OutL_OutStopDown
,
IO_VALUE
.
LOW
);
}
}
private
DateTime
il_lastCallAgvTime
=
DateTime
.
Now
;
...
...
source/DeviceLibrary/agvClient/AgvClient.cs
查看文件 @
0180e94
...
...
@@ -136,7 +136,7 @@ namespace OnlineStore.DeviceLibrary
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"
释放 agvClient
"
+
ServerIp
+
" 出错:"
,
ex
);
LogUtil
.
error
(
"
agvClient.Close
"
+
ServerIp
+
" 出错:"
,
ex
);
}
}
}
...
...
source/DeviceLibrary/bean/StoreMoveInfo.cs
查看文件 @
0180e94
...
...
@@ -222,46 +222,7 @@ namespace OnlineStore.DeviceLibrary
/// 轴原点信号
/// </summary>
internal
static
int
W006_AxisOrg
=
6
;
/// <summary>
/// 料盘高度
/// </summary>
internal
static
int
W007_ReelHeight
=
7
;
/// <summary>
/// 入库库位验证完成
/// </summary>
internal
static
int
W008_InStoreCheckOK
=
8
;
/// <summary>
/// BOX可以开始入库
/// </summary>
internal
static
int
W009_BoxCanInstore
=
9
;
/// <summary>
/// 等待横移34无托盘
/// </summary>
internal
static
int
W010_SW34NoTray
=
10
;
/// <summary>
/// 入料模块:批量轴缓慢上升,并检测有料盘后停止
/// </summary>
internal
static
int
W101_BatchAxisMove
=
101
;
/// <summary>
/// 入料模块扫码
/// </summary>
internal
static
int
W102_FeedScanCode
=
102
;
/// <summary>
/// 入料横移机构空闲
/// </summary>
internal
static
int
W103_FeedNoMove
=
103
;
/// <summary>
/// 移栽模块可移栽出库
/// </summary>
internal
static
int
W201_ProvidingCanOut
=
201
;
/// <summary>
/// 等待出料流水线可以接收料盘
/// </summary>
internal
static
int
W202_DLineCanOut
=
202
;
/// <summary>
///等待出料皮带线扫码结束
/// </summary>
internal
static
int
W301_DLineScanCode
=
301
;
}
public
enum
LineMoveType
{
...
...
@@ -285,13 +246,5 @@ namespace OnlineStore.DeviceLibrary
/// 重置
/// </summary>
StoreReset
=
4
,
///// <summary>
///// 移栽装置的停止,需要先远点返回,然后停止
///// </summary>
//StopMove=5,
///// <summary>
///// 移栽检测托盘
///// </summary>
//CheckFixture=6,
}
}
source/LoadCVSLibrary/Config/bean/Store_IO_Type.cs
查看文件 @
0180e94
...
...
@@ -3,8 +3,6 @@ using System.Collections.Generic;
using
System.Linq
;
using
System.Reflection
;
using
System.Text
;
namespace
OnlineStore.LoadCSVLibrary
{
...
...
@@ -49,9 +47,6 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
public
static
string
InL_OutStopCheck
=
"InL_OutStopCheck"
;
/// <summary>
/// DI 出料线入口检测 OutL_InCheck
/// </summary>
...
...
@@ -113,8 +108,5 @@ namespace OnlineStore.LoadCSVLibrary
/// 高位
/// </summary>
HIGH
=
1
,
}
}
source/VMILineClient/FrmVMIClient.Designer.cs
查看文件 @
0180e94
...
...
@@ -514,7 +514,7 @@
// btnNeedEntry
//
this
.
btnNeedEntry
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNeedEntry
.
Location
=
new
System
.
Drawing
.
Point
(
49
8
,
22
);
this
.
btnNeedEntry
.
Location
=
new
System
.
Drawing
.
Point
(
49
6
,
22
);
this
.
btnNeedEntry
.
Name
=
"btnNeedEntry"
;
this
.
btnNeedEntry
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnNeedEntry
.
TabIndex
=
4
;
...
...
@@ -525,7 +525,7 @@
// btnNeedLeave
//
this
.
btnNeedLeave
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnNeedLeave
.
Location
=
new
System
.
Drawing
.
Point
(
3
60
,
22
);
this
.
btnNeedLeave
.
Location
=
new
System
.
Drawing
.
Point
(
3
58
,
22
);
this
.
btnNeedLeave
.
Name
=
"btnNeedLeave"
;
this
.
btnNeedLeave
.
Size
=
new
System
.
Drawing
.
Size
(
132
,
39
);
this
.
btnNeedLeave
.
TabIndex
=
3
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论