Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b0293b59
由
LN
编写于
2020-05-26 11:35:58 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
界面调整
1 个父辈
73c46d62
全部展开
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
28 行增加
和
225 行删除
RC1266-AutoCountMachine/source/AutoCountClient/FrmInputEquip.Designer.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmInputEquip.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmOutputEquip.Designer.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmOutputEquip.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmRobotMain.cs
RC1266-AutoCountMachine/source/AutoCountClient/useControl/AxisMoveControl.Designer.cs
RC1266-AutoCountMachine/source/AutoCountClient/记录.txt
RC1266-AutoCountMachine/source/Common/Setting_Init.cs
RC1266-AutoCountMachine/source/Common/bean/Bean.cs
RC1266-AutoCountMachine/source/DeviceLibrary/DeviceLibrary.csproj
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean_Partial.cs
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/InputEquip_Config.cs
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/OutputEquip_Config.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmInputEquip.Designer.cs
查看文件 @
b0293b5
...
...
@@ -312,7 +312,7 @@
this
.
chbAutoIn
.
Name
=
"chbAutoIn"
;
this
.
chbAutoIn
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
24
);
this
.
chbAutoIn
.
TabIndex
=
289
;
this
.
chbAutoIn
.
Text
=
"检测到料
架
自动取料"
;
this
.
chbAutoIn
.
Text
=
"检测到料
串
自动取料"
;
this
.
chbAutoIn
.
UseVisualStyleBackColor
=
true
;
this
.
chbAutoIn
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbAutoIn_CheckedChanged
);
//
...
...
@@ -423,7 +423,7 @@
this
.
btnUpdateShelf
.
Name
=
"btnUpdateShelf"
;
this
.
btnUpdateShelf
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnUpdateShelf
.
TabIndex
=
281
;
this
.
btnUpdateShelf
.
Text
=
"更改料
架
号"
;
this
.
btnUpdateShelf
.
Text
=
"更改料
串
号"
;
this
.
btnUpdateShelf
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpdateShelf
.
Visible
=
false
;
this
.
btnUpdateShelf
.
Click
+=
new
System
.
EventHandler
(
this
.
btnUpdateShelf_Click
);
...
...
RC1266-AutoCountMachine/source/AutoCountClient/FrmInputEquip.cs
查看文件 @
b0293b5
...
...
@@ -526,10 +526,10 @@ namespace OnlineStore.AutoCountClient
private
void
btnUpdateShelf_Click
(
object
sender
,
EventArgs
e
)
{
//string shel = txtShelfID.Text.Trim();
//DialogResult result = MessageBox.Show("确定更改当前料
架
号为:" + shel + "?", "", MessageBoxButtons.YesNo);
//DialogResult result = MessageBox.Show("确定更改当前料
串
号为:" + shel + "?", "", MessageBoxButtons.YesNo);
//if (result.Equals(DialogResult.Yes))
//{
// LogUtil.info(equipBean.Name + "旧料
架号【" + equipBean.CurrShelfId + "】手动更改料架
号为【" + shel + "】");
// LogUtil.info(equipBean.Name + "旧料
串号【" + equipBean.CurrShelfId + "】手动更改料串
号为【" + shel + "】");
// equipBean.CurrShelfId = shel;
//}
}
...
...
@@ -735,7 +735,7 @@ namespace OnlineStore.AutoCountClient
bool
isCheck
=
chbAutoIn
.
Checked
;
equipBean
.
AutoInput
=
isCheck
;
ConfigAppSettings
.
SaveValue
(
Setting_Init
.
AutoInput
,
(
isCheck
?
1
:
0
));
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换 检测到料
架
自动取料 ="
+
isCheck
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换 检测到料
串
自动取料 ="
+
isCheck
);
}
}
...
...
RC1266-AutoCountMachine/source/AutoCountClient/FrmOutputEquip.Designer.cs
查看文件 @
b0293b5
...
...
@@ -900,7 +900,7 @@
this
.
chbAutoSend
.
Name
=
"chbAutoSend"
;
this
.
chbAutoSend
.
Size
=
new
System
.
Drawing
.
Size
(
140
,
24
);
this
.
chbAutoSend
.
TabIndex
=
290
;
this
.
chbAutoSend
.
Text
=
"放料完成送出料
架
"
;
this
.
chbAutoSend
.
Text
=
"放料完成送出料
串
"
;
this
.
chbAutoSend
.
UseVisualStyleBackColor
=
true
;
this
.
chbAutoSend
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbAutoSend_CheckedChanged
);
//
...
...
@@ -1432,7 +1432,7 @@
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP1
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
btnBP2
);
this
.
groupBox9
.
Controls
.
Add
(
this
.
txtBP2
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
451
,
3
13
);
this
.
groupBox9
.
Location
=
new
System
.
Drawing
.
Point
(
451
,
3
25
);
this
.
groupBox9
.
Name
=
"groupBox9"
;
this
.
groupBox9
.
Size
=
new
System
.
Drawing
.
Size
(
268
,
152
);
this
.
groupBox9
.
TabIndex
=
321
;
...
...
@@ -1534,7 +1534,7 @@
this
.
btnOpenAllAxis
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenAllAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenAllAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenAllAxis
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
20
);
this
.
btnOpenAllAxis
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
32
);
this
.
btnOpenAllAxis
.
Name
=
"btnOpenAllAxis"
;
this
.
btnOpenAllAxis
.
Size
=
new
System
.
Drawing
.
Size
(
166
,
40
);
this
.
btnOpenAllAxis
.
TabIndex
=
319
;
...
...
@@ -1547,7 +1547,7 @@
this
.
btnBSave
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnBSave
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBSave
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
btnBSave
.
Location
=
new
System
.
Drawing
.
Point
(
260
,
3
51
);
this
.
btnBSave
.
Location
=
new
System
.
Drawing
.
Point
(
260
,
3
63
);
this
.
btnBSave
.
Name
=
"btnBSave"
;
this
.
btnBSave
.
Size
=
new
System
.
Drawing
.
Size
(
166
,
40
);
this
.
btnBSave
.
TabIndex
=
310
;
...
...
@@ -1560,7 +1560,7 @@
this
.
btnCloseAxis
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseAxis
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
62
);
this
.
btnCloseAxis
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
3
74
);
this
.
btnCloseAxis
.
Name
=
"btnCloseAxis"
;
this
.
btnCloseAxis
.
Size
=
new
System
.
Drawing
.
Size
(
166
,
40
);
this
.
btnCloseAxis
.
TabIndex
=
320
;
...
...
@@ -1827,10 +1827,10 @@
//
// axisMoveControl1
//
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
4
);
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
5
);
this
.
axisMoveControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
728
,
3
05
);
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
728
,
3
10
);
this
.
axisMoveControl1
.
TabIndex
=
0
;
//
// btnStop
...
...
RC1266-AutoCountMachine/source/AutoCountClient/FrmOutputEquip.cs
查看文件 @
b0293b5
...
...
@@ -727,7 +727,7 @@ namespace OnlineStore.AutoCountClient
{
bool
isCheck
=
chbAutoSend
.
Checked
;
equipBean
.
AutoSendShelfOut
=
isCheck
;
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换 放料完成送出料
架
="
+
isCheck
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换 放料完成送出料
串
="
+
isCheck
);
}
}
...
...
RC1266-AutoCountMachine/source/AutoCountClient/FrmRobotMain.cs
查看文件 @
b0293b5
...
...
@@ -105,9 +105,9 @@ namespace OnlineStore.AutoCountClient
this
.
listView1
.
Columns
.
Clear
();
AddHealder
(
"设备名称"
,
90
);
AddHealder
(
"启用"
,
50
);
AddHealder
(
"报警"
,
1
1
0
);
AddHealder
(
"报警"
,
1
3
0
);
AddHealder
(
"状态"
,
110
);
AddHealder
(
"料盘信息"
,
listView1
.
Size
.
Width
-
110
-
1
1
0
-
50
-
90
-
10
);
AddHealder
(
"料盘信息"
,
listView1
.
Size
.
Width
-
110
-
1
3
0
-
50
-
90
-
10
);
//AddHealder("BOX状态", listView1.Size.Width - 100 - 80 - 80 - 100 - 100 - 100 -40- 8);
AddRow
(
robot
.
inputEquip
,
robot
.
inputEquip
.
IsDebug
);
...
...
RC1266-AutoCountMachine/source/AutoCountClient/useControl/AxisMoveControl.Designer.cs
查看文件 @
b0293b5
...
...
@@ -91,9 +91,9 @@
this
.
groupAxis
.
Controls
.
Add
(
this
.
panel1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
lblServerOn
);
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
3
);
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
7
16
,
309
);
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
7
24
,
302
);
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
...
...
@@ -119,7 +119,7 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtHomeSingle
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
553
,
12
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
2
90
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
154
,
2
82
);
this
.
groupBox1
.
TabIndex
=
302
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"状态"
;
...
...
@@ -190,7 +190,7 @@
//
this
.
btnGetAlarm
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnGetAlarm
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
35
,
2
51
);
this
.
btnGetAlarm
.
Location
=
new
System
.
Drawing
.
Point
(
35
,
2
45
);
this
.
btnGetAlarm
.
Name
=
"btnGetAlarm"
;
this
.
btnGetAlarm
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnGetAlarm
.
TabIndex
=
284
;
...
...
@@ -680,7 +680,7 @@
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Name
=
"AxisMoveControl"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
731
,
31
7
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
731
,
31
0
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
PerformLayout
();
this
.
groupBox1
.
ResumeLayout
(
false
);
...
...
RC1266-AutoCountMachine/source/AutoCountClient/记录.txt
查看文件 @
b0293b5
...
...
@@ -6,7 +6,7 @@
2.入料模块上料BUG:批量轴上料功能完善。
1.检测到料
架
自动入库时,取料测试按钮不可用。
1.检测到料
串
自动入库时,取料测试按钮不可用。
2.自动入库时,目标位置在界面上可选。
3.X光机互锁信号增加验证。
4.入料模块复位时,需要先下降顶升气缸,防止伺服报警。
...
...
RC1266-AutoCountMachine/source/Common/Setting_Init.cs
查看文件 @
b0293b5
...
...
@@ -68,7 +68,7 @@ namespace OnlineStore.Common
public
static
string
ServerAddr
=
"ServerAddr"
;
/// <summary>
/// 检测到料
架
自动入料
/// 检测到料
串
自动入料
/// </summary>
public
static
string
AutoInput
=
"AutoInput"
;
/// <summary>
...
...
RC1266-AutoCountMachine/source/Common/bean/Bean.cs
查看文件 @
b0293b5
...
...
@@ -236,15 +236,15 @@ namespace OnlineStore.Common
/// </summary>
public
static
string
cutReel
=
"cutReel"
;
/// <summary>
/// smallReel: true 小料(7x8),放置到小料
架
上
/// smallReel: true 小料(7x8),放置到小料
串
上
/// </summary>
public
static
string
smallReel
=
"smallReel"
;
/// <summary>
/// rfid: 分配的料
架
RFID
/// rfid: 分配的料
串
RFID
/// </summary>
public
static
string
rfid
=
"rfid"
;
/// <summary>
/// rfidLoc: 料
架
的架位,值为 - 1时,可以自由分配皮带线, 小料时,架位为1 - 46优先走1 / 2号皮带线,47 - 92优先走3 / 4号皮带线,
/// rfidLoc: 料
串
的架位,值为 - 1时,可以自由分配皮带线, 小料时,架位为1 - 46优先走1 / 2号皮带线,47 - 92优先走3 / 4号皮带线,
/// 70,71,72时只能分配到3 / 4号皮带线; 大料时,架位1 - 6优先走1 / 2号皮带线, 7 - 12优先走3 / 4号皮带线
/// </summary>
public
static
string
rfidLoc
=
"rfidLoc"
;
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
b0293b5
...
...
@@ -96,7 +96,6 @@
<Compile Include="deviceLibrary\IO\AIOBOX\AIOBOXManager.cs" />
<Compile Include="deviceLibrary\IO\IOManager.cs" />
<Compile Include="bean\RobotBean.cs" />
<Compile Include="bean\RobotBean_Partial.cs" />
<Compile Include="bean\X_RAY_Equip.cs" />
<Compile Include="bean\X_RAY_Equip_Partial.cs" />
<Compile Include="bean\EquipBase.cs" />
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
查看文件 @
b0293b5
此文件的差异被折叠,
点击展开。
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean_Partial.cs
deleted
100644 → 0
查看文件 @
73c46d6
using
OnlineStore.Common
;
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Diagnostics
;
using
System.Linq
;
using
System.Text
;
using
System.Threading
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
partial
class
RobotBean
{
#
region
定时处理方法
private
DateTime
preIoTimerOutTime
=
DateTime
.
Now
;
private
void
IOTimeOutProcess
()
{
try
{
TimeSpan
span
=
DateTime
.
Now
-
preIoTimerOutTime
;
if
(
span
.
TotalSeconds
>
1
&&
alarmType
.
Equals
(
AlarmType
.
IoSingleTimeOut
))
{
preIoTimerOutTime
=
DateTime
.
Now
;
if
(
runStatus
<
RobotRunStatus
.
Runing
||
isInSuddenDown
||
isNoAirCheck
)
{
return
;
}
//若BOX和移栽都没有在等待Io的过程中则此Io超时异常可能已经处理过
// if (MoveInfo.IsInWait.Equals(false) && SW41_MoveInfo.IsInWait.Equals(false) && SW23_MoveInfo.IsInWait.Equals(false))
{
LogUtil
.
info
(
Name
+
"清理信号超时报警【"
+
WarnMsg
+
"】 "
);
alarmType
=
AlarmType
.
None
;
SetWarnMsg
(
""
);
}
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"IOTimeOutProcess出错:"
,
ex
);
}
}
private
DateTime
preRWTime
=
DateTime
.
Now
;
private
void
CheckWait
(
RobotMoveInfo
checkWaitInfo
)
{
try
{
List
<
WaitResultInfo
>
list
=
checkWaitInfo
.
WaitList
;
if
(
list
.
Count
<=
0
)
{
checkWaitInfo
.
EndStepWait
();
return
;
}
//当等待超过一分钟时,需要打印提示
TimeSpan
span
=
DateTime
.
Now
-
checkWaitInfo
.
LastSetpTime
;
string
NotOkMsg
=
""
;
bool
isOk
=
true
;
if
(
checkWaitInfo
.
OneWaitCanEndStep
)
{
isOk
=
false
;
}
foreach
(
WaitResultInfo
wait
in
list
)
{
if
(
wait
==
null
||
wait
.
IsEnd
)
{
continue
;
}
NotOkMsg
=
" ["
+
wait
.
ToStr
()
+
"] "
;
if
(
wait
.
WaitType
.
Equals
(
WaitEnum
.
W002_IOValue
))
{
NotOkMsg
=
" ["
+
IOManager
.
GetDI
(
wait
.
IoType
,
DeviceID
).
DisplayStr
+
"="
+
wait
.
IoValue
+
"] "
;
wait
.
IsEnd
=
IOValue
(
wait
.
IoType
).
Equals
(
wait
.
IoValue
);
if
(!
wait
.
IsEnd
)
{
TimeSpan
rwSpan
=
DateTime
.
Now
-
preRWTime
;
//一分钟还未检测到
if
(
span
.
TotalSeconds
>
RobotManager
.
Config
.
IOSingle_TimerOut
&&
NoAlarm
())
{
ConfigIO
io
=
baseConfig
.
getWaitIO
(
wait
.
IoType
);
WarnMsg
=
Name
+
"["
+
checkWaitInfo
.
MoveStep
+
"]等待"
+
NotOkMsg
+
" 超时"
;
Alarm
(
AlarmType
.
IoSingleTimeOut
);
LogUtil
.
error
(
MoveInfo
.
Name
+
WarnMsg
,
901
);
}
//超过报警时长
else
if
(
rwSpan
.
TotalSeconds
>
5
&&
span
.
TotalSeconds
>
6
&&
span
.
TotalSeconds
<
RobotManager
.
Config
.
IOSingle_TimerOut
*
2
)
{
preRWTime
=
DateTime
.
Now
;
string
msg
=
checkWaitInfo
.
Name
+
" "
+
NotOkMsg
+
"已等待 "
+
Math
.
Round
(
span
.
TotalSeconds
,
1
)
+
"秒,重写DO:"
;
bool
isLog
=
false
;
foreach
(
WaitResultInfo
ww
in
list
)
{
if
(
ww
!=
null
&&
ww
.
WaitType
.
Equals
(
2
)
&&
baseConfig
.
DOList
.
ContainsKey
(
ww
.
IoType
))
{
if
(
IOManager
.
DOValue
(
ww
.
IoType
,
baseConfig
.
Id
).
Equals
(
ww
.
IoValue
).
Equals
(
false
))
{
isLog
=
true
;
IOMove
(
ww
.
IoType
,
ww
.
IoValue
);
msg
+=
ww
.
ToStr
()
+
","
;
}
}
}
if
(
isLog
)
{
LogUtil
.
error
(
msg
);
}
}
if
(!
checkWaitInfo
.
OneWaitCanEndStep
)
{
isOk
=
false
;
break
;
}
}
}
else
if
(
wait
.
WaitType
.
Equals
(
WaitEnum
.
W003_Time
))
{
wait
.
IsEnd
=
(
span
.
TotalMilliseconds
>=
wait
.
TimeMSeconds
);
}
if
(
wait
.
IsEnd
)
{
if
(
checkWaitInfo
.
OneWaitCanEndStep
)
{
isOk
=
true
;
break
;
}
}
else
{
if
(!
checkWaitInfo
.
OneWaitCanEndStep
)
{
isOk
=
false
;
break
;
}
}
}
if
(
isOk
)
{
checkWaitInfo
.
EndStepWait
();
}
else
if
(
span
.
TotalSeconds
>
checkWaitInfo
.
TimeOutSeconds
)
{
WarnMsg
=
checkWaitInfo
.
Name
+
"["
+
checkWaitInfo
.
MoveStep
+
"]["
+
NotOkMsg
+
"]已等待["
+
Math
.
Round
(
span
.
TotalSeconds
,
1
)
+
"]秒"
;
LogUtil
.
error
(
WarnMsg
,
900
);
Alarm
(
AlarmType
.
IoSingleTimeOut
);
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
checkWaitInfo
.
Name
+
" ["
+
checkWaitInfo
.
MoveStep
+
"] CheckWait 出错:"
,
ex
);
}
}
#
endregion
public
override
bool
StartLabelling
(
WorkParam
param
)
{
return
true
;
}
protected
override
void
LabellingProcess
()
{
}
public
override
bool
StartWorking
(
WorkParam
param
)
{
return
true
;
}
protected
override
void
WorkingProcess
()
{
}
private
void
InOutLog
(
string
msg
)
{
LogUtil
.
debug
(
Name
+
msg
);
}
public
override
void
Alarm
(
AlarmType
alarmType
)
{
}
}
}
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/InputEquip_Config.cs
查看文件 @
b0293b5
...
...
@@ -132,7 +132,7 @@ namespace OnlineStore.LoadCSVLibrary
[
ConfigProAttribute
(
"UpdownAxis_P2_R"
)]
public
int
UpdownAxis_P2_R
{
get
;
set
;
}
/// <summary>
/// PRO,0,取料升降轴料
架
上方P3取料/放料位置,UpdownAxis_P3,20000,,,,,
/// PRO,0,取料升降轴料
串
上方P3取料/放料位置,UpdownAxis_P3,20000,,,,,
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_P3"
,
true
)]
public
int
UpdownAxis_P3
{
get
;
set
;
}
...
...
RC1266-AutoCountMachine/source/LoadCVSLibrary/storeConfig/config/OutputEquip_Config.cs
查看文件 @
b0293b5
...
...
@@ -29,12 +29,12 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// PRO,0,空料
架
入口AGV站号名称,AgvInName,F3,,,,,
/// PRO,0,空料
串
入口AGV站号名称,AgvInName,F3,,,,,
/// </summary>
[
ConfigProAttribute
(
"AgvInName"
)]
public
string
AgvInName
{
get
;
set
;
}
/// <summary>
/// PRO,0,料
架
出口AGV站号名称,AgvOutName,F4,,,,,
/// PRO,0,料
串
出口AGV站号名称,AgvOutName,F4,,,,,
/// </summary>
[
ConfigProAttribute
(
"AgvOutName"
)]
public
string
AgvOutName
{
get
;
set
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论