Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
顾剑亮
/
AGVControl-Qisda-ProductionLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3db9fcb6
由
张东亮
编写于
2020-09-23 15:55:52 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
小车自动模式关闭时清除充电位置
1 个父辈
e7bf6073
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
12 行增加
和
6 行删除
.vs/AGVControl-ProductionLine/v16/.suo
AGVControl-ProductionLine/FrmMain.cs
AGVControl-ProductionLine/bean/Agv_Info.cs
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.exe
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.pdb
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
查看文件 @
3db9fcb
此文件类型无法预览
AGVControl-ProductionLine/FrmMain.cs
查看文件 @
3db9fcb
...
@@ -210,8 +210,14 @@ namespace AGVControl
...
@@ -210,8 +210,14 @@ namespace AGVControl
{
{
if
(
Common
.
agvInfo
[
e
.
RowIndex
].
IsUse
.
Equals
(
true
))
if
(
Common
.
agvInfo
[
e
.
RowIndex
].
IsUse
.
Equals
(
true
))
{
{
// if (MessageBox.Show("是否关闭当前小车的自动模式?", Common.agvInfo[e.RowIndex].Name + "_警告", MessageBoxButtons.YesNo).Equals(DialogResult.Yes))
if
(
Common
.
chargeStatus
.
charge3
.
Equals
(
Common
.
agvInfo
[
e
.
RowIndex
].
Name
))
// {
{
Common
.
chargeStatus
.
charge3
=
""
;
}
if
(
Common
.
chargeStatus
.
charge4
.
Equals
(
Common
.
agvInfo
[
e
.
RowIndex
].
Name
))
{
Common
.
chargeStatus
.
charge4
=
""
;
}
Common
.
agvInfo
[
e
.
RowIndex
].
IsUse
=
false
;
Common
.
agvInfo
[
e
.
RowIndex
].
IsUse
=
false
;
//Common.agvInfo[e.RowIndex].CurJob = null;
//Common.agvInfo[e.RowIndex].CurJob = null;
//Common.agvInfo[e.RowIndex].RFID = "";
//Common.agvInfo[e.RowIndex].RFID = "";
...
@@ -219,8 +225,7 @@ namespace AGVControl
...
@@ -219,8 +225,7 @@ namespace AGVControl
}
}
else
else
{
{
//if (MessageBox.Show("是否继续小车上一次的自动运行任务?", Common.agvInfo[e.RowIndex].Name + "_提示", MessageBoxButtons.YesNo).Equals(DialogResult.No))
// {
//清除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/bean/Agv_Info.cs
查看文件 @
3db9fcb
...
@@ -333,7 +333,7 @@ namespace AGVControl
...
@@ -333,7 +333,7 @@ namespace AGVControl
private
void
CheckStandTimeOut
(
clsPosition
position
)
private
void
CheckStandTimeOut
(
clsPosition
position
)
{
{
if
(
IsUse
&&
CurJob
!=
null
&&
!(
CurJob
is
ChargeJob
)
&&
if
(
IsUse
&&
CurJob
!=
null
&&
!(
CurJob
is
ChargeJob
)
&&
(
!
CurTaskName
.
Contains
(
SettingString
.
AutoCharge
)
||
!
CurTaskName
.
Contains
(
SettingString
.
Standby
)))
(
!
CurTaskName
.
Contains
(
SettingString
.
Standby
)))
//!CurTaskName.Contains(SettingString.AutoCharge) ||
{
{
if
(
Math
.
Abs
(
position
.
x
-
Position
.
x
)
<
1
&&
Math
.
Abs
(
position
.
y
-
Position
.
y
)
<
1
)
if
(
Math
.
Abs
(
position
.
x
-
Position
.
x
)
<
1
&&
Math
.
Abs
(
position
.
y
-
Position
.
y
)
<
1
)
{
{
...
@@ -356,10 +356,12 @@ namespace AGVControl
...
@@ -356,10 +356,12 @@ namespace AGVControl
else
if
(
CurJob
!=
null
&&
(
CurJob
is
ChargeJob
))
else
if
(
CurJob
!=
null
&&
(
CurJob
is
ChargeJob
))
{
{
StandTimeOut
=
false
;
StandTimeOut
=
false
;
StandStartTime
=
DateTime
.
Now
;
}
}
else
else
{
{
StandTimeOut
=
false
;
StandTimeOut
=
false
;
StandStartTime
=
DateTime
.
Now
;
}
}
Position
=
position
;
Position
=
position
;
}
}
...
...
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.exe
查看文件 @
3db9fcb
此文件类型无法预览
AGVControl-ProductionLine/bin/Debug/AGVControl-ProductionLine.pdb
查看文件 @
3db9fcb
此文件类型无法预览
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.csproj.FileListAbsolute.txt
查看文件 @
3db9fcb
...
@@ -54,4 +54,3 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
...
@@ -54,4 +54,3 @@ 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
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.exe
查看文件 @
3db9fcb
此文件类型无法预览
AGVControl-ProductionLine/obj/Debug/AGVControl-ProductionLine.pdb
查看文件 @
3db9fcb
此文件类型无法预览
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论