Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 38e092d1
由
LN
编写于
2020-09-07 13:15:18 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
送出料架时多等待5秒钟再停止链条转动
1 个父辈
ec53a87f
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
41 行增加
和
26 行删除
RC1266-AutoCountMachine/source/AutoCountClient/FrmRobotMain.Designer.cs
RC1266-AutoCountMachine/source/Common/util/MyWebClient.cs
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_Robot.csv
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip_Shelf.cs
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/AIO_Type.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmRobotMain.Designer.cs
查看文件 @
38e092d
...
...
@@ -356,43 +356,43 @@
// 元器件学习ToolStripMenuItem
//
this
.
元器件学习
ToolStripMenuItem
.
Name
=
"元器件学习ToolStripMenuItem"
;
this
.
元器件学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
元器件学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
元器件学习
ToolStripMenuItem
.
Text
=
"元器件学习"
;
this
.
元器件学习
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
元器件学习
ToolStripMenuItem_Click
);
//
// toolStripSeparator17
//
this
.
toolStripSeparator17
.
Name
=
"toolStripSeparator17"
;
this
.
toolStripSeparator17
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator17
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
// 二维码学习ToolStripMenuItem
//
this
.
二维码学习
ToolStripMenuItem
.
Name
=
"二维码学习ToolStripMenuItem"
;
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
二维码学习
ToolStripMenuItem
.
Text
=
"二维码学习"
;
this
.
二维码学习
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
二维码学习
ToolStripMenuItem_Click
);
//
// toolStripSeparator7
//
this
.
toolStripSeparator7
.
Name
=
"toolStripSeparator7"
;
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator7
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
// toolStripMenuItem2
//
this
.
toolStripMenuItem2
.
Name
=
"toolStripMenuItem2"
;
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
toolStripMenuItem2
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
toolStripMenuItem2
.
Text
=
"AGV调试"
;
this
.
toolStripMenuItem2
.
Click
+=
new
System
.
EventHandler
(
this
.
toolStripMenuItem2_Click
);
//
// toolStripSeparator6
//
this
.
toolStripSeparator6
.
Name
=
"toolStripSeparator6"
;
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
1
7
7
,
6
);
this
.
toolStripSeparator6
.
Size
=
new
System
.
Drawing
.
Size
(
1
5
7
,
6
);
//
// 标签编辑ToolStripMenuItem
//
this
.
标签编辑
ToolStripMenuItem
.
Name
=
"标签编辑ToolStripMenuItem"
;
this
.
标签编辑
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
8
0
,
26
);
this
.
标签编辑
ToolStripMenuItem
.
Size
=
new
System
.
Drawing
.
Size
(
1
6
0
,
26
);
this
.
标签编辑
ToolStripMenuItem
.
Text
=
"标签编辑"
;
this
.
标签编辑
ToolStripMenuItem
.
Click
+=
new
System
.
EventHandler
(
this
.
标签编辑
ToolStripMenuItem_Click
);
//
...
...
RC1266-AutoCountMachine/source/Common/util/MyWebClient.cs
查看文件 @
38e092d
...
...
@@ -90,15 +90,17 @@ namespace OnlineStore.Common
try
{
var
wc
=
new
MyWebClient
(
10000
);
if
(
string
.
IsNullOrEmpty
(
wc
.
Headers
[
"Content-Type"
]))
using
(
var
wc
=
new
MyWebClient
(
10000
))
{
wc
.
Headers
.
Add
(
"Content-Type"
,
"application/json;charset=UTF-8"
);
}
wc
.
Headers
.
Add
(
"User-Agent"
,
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)"
);
wc
.
Encoding
=
encoding
;
if
(
string
.
IsNullOrEmpty
(
wc
.
Headers
[
"Content-Type"
]))
{
wc
.
Headers
.
Add
(
"Content-Type"
,
"application/json;charset=UTF-8"
);
}
wc
.
Headers
.
Add
(
"User-Agent"
,
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)"
);
wc
.
Encoding
=
encoding
;
result
=
wc
.
UploadString
(
url
,
"POST"
,
paramData
);
result
=
wc
.
UploadString
(
url
,
"POST"
,
paramData
);
}
//LogUtil.info(result);
}
catch
(
Exception
e
)
...
...
@@ -118,13 +120,15 @@ namespace OnlineStore.Common
try
{
LogUtil
.
debug
(
"HTTP GET FROM: "
+
url
);
var
wc
=
new
WebClient
{
Encoding
=
encoding
};
var
readStream
=
wc
.
OpenRead
(
url
);
using
(
var
sr
=
new
StreamReader
(
readStream
,
encoding
))
using
(
var
wc
=
new
MyWebClient
{
Encoding
=
encoding
})
{
var
result
=
sr
.
ReadToEnd
();
LogUtil
.
debug
(
"receive << "
+
result
);
return
result
;
var
readStream
=
wc
.
OpenRead
(
url
);
using
(
var
sr
=
new
StreamReader
(
readStream
,
encoding
))
{
var
result
=
sr
.
ReadToEnd
();
LogUtil
.
debug
(
"receive << "
+
result
);
return
result
;
}
}
}
catch
(
Exception
e
)
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/RobotConfig/Config_Robot.csv
查看文件 @
38e092d
...
...
@@ -64,7 +64,7 @@ DI,1,左入料线体定位1上升端,L_LocationUp_1,10,PRO_AOI_IP_2,X21,,,,,,,,,,
DI,1,左入料线体定位1下降端,L_LocationDown_1,11,PRO_AOI_IP_2,X22,,,,,,,,,,
DI,1,左入料线体定位2上升端,L_LocationUp_2,12,PRO_AOI_IP_2,X23,,,,,,,,,,
DI,1,左入料线体定位2下降端,L_LocationDown_2,13,PRO_AOI_IP_2,X24,,,,,,,,,,
,,,
,14,PRO_AOI_IP_2,X25,,,,,,,,,,
DI,1,上料线体光栅信号,LineIn_GratingSignal
,14,PRO_AOI_IP_2,X25,,,,,,,,,,
,,,,15,PRO_AOI_IP_2,X26,,,,,,,,,,
,,,,,,,,,,,,,,,,
DO,1,左线体启动,L_LineRun_Start,0,PRO_AOI_IP_2,Y11,,,,,,,,,,
...
...
@@ -132,8 +132,8 @@ DI,3,贴标气缸前进端,PasteCode_Forward,10,PRO_AOI_IP_4,X61,,,,,,,,,,
DI,3,贴标气缸后退端,PasteCode_Back,11,PRO_AOI_IP_4,X62,,,,,,,,,,
DI,3,贴标机打码OK信号,PasteCode_OK,12,PRO_AOI_IP_4,X63,,,,,,,,,,
DI,3,吸嘴压力确认信号,Nozzle_Work,13,PRO_AOI_IP_4,X64,,,,,,,,,,
,3,,
,14,PRO_AOI_IP_4,X65,,,,,,,,,,
,3,,
,15,PRO_AOI_IP_4,X66,,,,,,,,,,
DI,3,入空料串线体光栅信号,O_ELine_GratingSignal
,14,PRO_AOI_IP_4,X65,,,,,,,,,,
DI,3,出料串线体光栅信号,O_OLine_GratingSignal
,15,PRO_AOI_IP_4,X66,,,,,,,,,,
,,,,,,,,,,,,,,,,
DO,3,自动指示灯,AutoRun_HddLed,0,PRO_AOI_IP_4,Y51,,,,,,,,,,
DO,3,故障指示灯,Alarm_HddLed,1,PRO_AOI_IP_4,Y52,,,,,,,,,,
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip_Shelf.cs
查看文件 @
38e092d
...
...
@@ -488,9 +488,9 @@ namespace OnlineStore.DeviceLibrary
}
else
{
LogUtil
.
info
(
logName
+
" 已收到 O_WLine_OutCheck=LOW ,等待
8
000后停止转动 "
);
LogUtil
.
info
(
logName
+
" 已收到 O_WLine_OutCheck=LOW ,等待
13
000后停止转动 "
);
}
Thread
.
Sleep
(
8
000
);
Thread
.
Sleep
(
13
000
);
//停止转动 ,阻挡上升
IOMove
(
IO_Type
.
O_WLine_OutStop
,
IO_VALUE
.
LOW
);
...
...
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/AIO_Type.cs
查看文件 @
38e092d
...
...
@@ -575,7 +575,18 @@ namespace OnlineStore.LoadCSVLibrary
#
endregion
/// <summary>
/// DI,1,上料线体光栅信号,LineIn_GratingSignal,14,PRO_AOI_IP_2,X25,,,,,,,,,,
/// </summary>
public
static
string
LineIn_GratingSignal
=
"LineIn_GratingSignal"
;
/// <summary>
/// DI,3,入空料串线体光栅信号,O_ELine_GratingSignal,14,PRO_AOI_IP_4,X65,,,,,,,,,,
/// </summary>
public
static
string
O_ELine_GratingSignal
=
"O_ELine_GratingSignal"
;
/// <summary>
/// DI,3,出料串线体光栅信号,O_OLine_GratingSignal,15,PRO_AOI_IP_4,X66,,,,,,,,,,
/// </summary>
public
static
string
O_OLine_GratingSignal
=
"O_OLine_GratingSignal"
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论