Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
顾剑亮
/
AGVControl-Qisda-ProductionLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit e36248e1
由
张东亮
编写于
2020-12-28 16:19:37 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
添加C14,15
1 个父辈
80f750cd
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
18 行增加
和
7 行删除
.vs/AGVControl-ProductionLine/v16/.suo
AGVControl-ProductionLine/BLL/AGVManager.cs
AGVControl-ProductionLine/BLL/Common.cs
AGVControl-ProductionLine/BLL/Control.cs
AGVControl-ProductionLine/FrmMain.cs
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.exe
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.pdb
AGVControl-ProductionLine/bin/Debug/logs/AgvServer.log
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.csproj.FileListAbsolute.txt
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.exe
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.pdb
.vs/AGVControl-ProductionLine/v16/.suo
查看文件 @
e36248e
此文件类型无法预览
AGVControl-ProductionLine/BLL/AGVManager.cs
查看文件 @
e36248e
...
@@ -349,6 +349,7 @@ namespace AGVControl
...
@@ -349,6 +349,7 @@ namespace AGVControl
string
msg
=
""
;
string
msg
=
""
;
try
try
{
{
Common
.
log
.
Debug
(
msgList
.
ToArray
());
Dictionary
<
string
,
string
>
paramMap
=
new
Dictionary
<
string
,
string
>();
Dictionary
<
string
,
string
>
paramMap
=
new
Dictionary
<
string
,
string
>();
string
msgListStr
=
JsonHelper
.
SerializeObject
(
msgList
);
string
msgListStr
=
JsonHelper
.
SerializeObject
(
msgList
);
paramMap
.
Add
(
"deviceAlarmList"
,
msgListStr
);
paramMap
.
Add
(
"deviceAlarmList"
,
msgListStr
);
...
@@ -699,6 +700,10 @@ namespace AGVControl
...
@@ -699,6 +700,10 @@ namespace AGVControl
this
.
msgValue
=
value
;
this
.
msgValue
=
value
;
this
.
type
=
type
;
this
.
type
=
type
;
}
}
public
override
string
ToString
()
{
return
string
.
Format
(
"{0},{1},{2},{3}"
,
name
,
msgKey
,
msgValue
,
type
);
;
}
}
}
public
class
RfidData
public
class
RfidData
{
{
...
...
AGVControl-ProductionLine/BLL/Common.cs
查看文件 @
e36248e
...
@@ -70,7 +70,7 @@ namespace AGVControl
...
@@ -70,7 +70,7 @@ namespace AGVControl
public
const
string
IP_4D_Light
=
"IP_4D_Light"
;
public
const
string
IP_4D_Light
=
"IP_4D_Light"
;
public
const
string
IP_4C_Light
=
"IP_4C_Light"
;
public
const
string
IP_4C_Light
=
"IP_4C_Light"
;
public
const
string
Lines_In_Air_Door
=
"C8,C9,C10"
;
public
const
string
Lines_In_Air_Door
=
"C8,C9,C10
,C14,C15
"
;
}
}
...
...
AGVControl-ProductionLine/BLL/Control.cs
查看文件 @
e36248e
...
@@ -98,7 +98,7 @@ namespace AGVControl.BLL
...
@@ -98,7 +98,7 @@ namespace AGVControl.BLL
if
(!
Common
.
UpdateStationState
(
Common
.
nodeInfo
[
j
]))
if
(!
Common
.
UpdateStationState
(
Common
.
nodeInfo
[
j
]))
{
{
isAlarm
=
true
;
isAlarm
=
true
;
msglist
.
Add
(
new
AlarmMsg
(
Common
.
nodeInfo
[
j
].
AliceName
,
"lineAgv."
+
Common
.
nodeInfo
[
j
].
Name
+
".Msg"
,
Common
.
nodeInfo
[
j
].
WarnMsg
));
msglist
.
Add
(
new
AlarmMsg
(
Common
.
nodeInfo
[
j
].
AliceName
,
"lineAgv."
+
Common
.
nodeInfo
[
j
].
Name
+
".
Warn
Msg"
,
Common
.
nodeInfo
[
j
].
WarnMsg
));
}
}
if
(!
isAlarm
&&
!
Common
.
nodeInfo
[
j
].
Online
)
if
(!
isAlarm
&&
!
Common
.
nodeInfo
[
j
].
Online
)
{
{
...
@@ -188,6 +188,7 @@ namespace AGVControl.BLL
...
@@ -188,6 +188,7 @@ namespace AGVControl.BLL
{
{
if
(!
Common
.
agvInfo
[
i
].
IsCon
)
if
(!
Common
.
agvInfo
[
i
].
IsCon
)
{
{
isAlarm
=
true
;
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Msg"
,
"离线"
));
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Msg"
,
"离线"
));
}
}
if
(!
isAlarm
&&
(
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
Error
)
||
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
EmergencyStop
)
||
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
Pause
)))
if
(!
isAlarm
&&
(
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
Error
)
||
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
EmergencyStop
)
||
Common
.
agvInfo
[
i
].
StateID
.
Equals
(
eAGVState
.
Pause
)))
...
@@ -205,22 +206,22 @@ namespace AGVControl.BLL
...
@@ -205,22 +206,22 @@ namespace AGVControl.BLL
if
(!
isAlarm
)
if
(!
isAlarm
)
{
{
if
(!
Common
.
agvInfo
[
i
].
Msg
.
Equals
(
""
))
if
(!
Common
.
agvInfo
[
i
].
Msg
.
Equals
(
""
))
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Msg"
,
Common
.
agvInfo
[
i
].
Msg
,
1
));
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Msg"
,
Common
.
agvInfo
[
i
].
Msg
,
1
));
else
else
{
{
if
((
Common
.
agvInfo
[
i
].
Place
.
Contains
(
SettingString
.
AutoCharge
)
||
Common
.
agvInfo
[
i
].
Place
.
Contains
(
SettingString
.
Standby
)))
if
((
Common
.
agvInfo
[
i
].
Place
.
Contains
(
SettingString
.
AutoCharge
)
||
Common
.
agvInfo
[
i
].
Place
.
Contains
(
SettingString
.
Standby
)))
{
{
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Place"
,
Common
.
agvInfo
[
i
].
Place
,
1
));
msglist
.
Add
(
new
AlarmMsg
(
Common
.
agvInfo
[
i
].
Name
,
"lineAgv."
+
Common
.
agvInfo
[
i
].
Name
+
".Place"
,
Common
.
agvInfo
[
i
].
Place
,
1
));
}
}
}
}
}
}
AGVManager
.
updateDeviceAlarmMsg
(
msglist
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Common
.
log
.
Error
(
Common
.
agvInfo
[
i
].
Name
+
"上报小车状态失败"
+
ex
.
Message
+
ex
.
StackTrace
);
Common
.
log
.
Error
(
Common
.
agvInfo
[
i
].
Name
+
"上报小车状态失败"
+
ex
.
Message
+
ex
.
StackTrace
);
}
}
AGVManager
.
updateDeviceAlarmMsg
(
msglist
);
}
}
AgvStateUpdateProcess
=
false
;
AgvStateUpdateProcess
=
false
;
}
}
...
...
AGVControl-ProductionLine/FrmMain.cs
查看文件 @
e36248e
...
@@ -265,7 +265,11 @@ namespace AGVControl
...
@@ -265,7 +265,11 @@ namespace AGVControl
}
}
else
else
{
{
if
(
Common
.
agvInfo
[
e
.
RowIndex
].
IsExistShelf
)
{
MessageBox
.
Show
(
"小车上有料架,不允许开自动模式"
);
return
;
}
//清除4c临时待机位的占用
//清除4c临时待机位的占用
if
(
Common
.
agvInfo
[
e
.
RowIndex
].
Name
.
Equals
(
Common
.
StandbyStation
.
C4_Station1
))
if
(
Common
.
agvInfo
[
e
.
RowIndex
].
Name
.
Equals
(
Common
.
StandbyStation
.
C4_Station1
))
{
{
...
...
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.exe
查看文件 @
e36248e
此文件类型无法预览
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.pdb
查看文件 @
e36248e
此文件类型无法预览
AGVControl-ProductionLine/bin/Debug/logs/AgvServer.log
0 → 100644
查看文件 @
e36248e
[2020-12-25 15:20:52,821][1][AgvServer:46]INFO =====程序开始=====
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.csproj.FileListAbsolute.txt
查看文件 @
e36248e
...
@@ -54,6 +54,7 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
...
@@ -54,6 +54,7 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\Newtonsoft.Json.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\Newtonsoft.Json.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AsaPL.AgvClient.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AsaPL.AgvClient.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe.config
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe.config
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.pdb
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.pdb
...
@@ -70,5 +71,4 @@ E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLi
...
@@ -70,5 +71,4 @@ E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLi
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CopyComplete
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CopyComplete
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
E:\Neotel\Projects\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.exe
查看文件 @
e36248e
此文件类型无法预览
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.pdb
查看文件 @
e36248e
此文件类型无法预览
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论