Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0145d73d
由
张东亮
编写于
2023-12-07 13:05:36 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出入库前检查料叉不停止设备,避免料串运动造成误感应
1 个父辈
85c1de37
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
6 行删除
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/MainMachine_Store.cs
DeviceLibrary/theMachine/RobotManage.cs
TheMachine/Form1.cs
TheMachine/Program.cs
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
0145d73
...
@@ -64,7 +64,7 @@ namespace DeviceLibrary
...
@@ -64,7 +64,7 @@ namespace DeviceLibrary
public
bool
boxTransportIsFree
{
get
=>
boxTransport
.
IsComplateOrFree
;
}
public
bool
boxTransportIsFree
{
get
=>
boxTransport
.
IsComplateOrFree
;
}
public
event
Action
<
string
,
StoreMoveType
,
bool
>
InOutEndProcessEvent
;
public
event
Action
<
string
,
StoreMoveType
,
bool
>
InOutEndProcessEvent
;
ServerCommunication
ServerCM
=
new
ServerCommunication
()
;
ServerCommunication
ServerCM
;
/// <summary>
/// <summary>
/// 开始运行的时间
/// 开始运行的时间
/// </summary>
/// </summary>
...
@@ -192,6 +192,7 @@ namespace DeviceLibrary
...
@@ -192,6 +192,7 @@ namespace DeviceLibrary
ConfigHelper
.
Config
.
Set
(
"CamTestReel_debug"
,
false
);
ConfigHelper
.
Config
.
Set
(
"CamTestReel_debug"
,
false
);
ConfigHelper
.
Config
.
Get
(
"Device_1315_ReelHeight_Compensation"
,
0
);
ConfigHelper
.
Config
.
Get
(
"Device_1315_ReelHeight_Compensation"
,
0
);
initAgv
();
initAgv
();
ServerCM
=
new
ServerCommunication
();
}
}
private
void
Crc_LanguageChangeEvent
(
object
sender
,
EventArgs
e
)
private
void
Crc_LanguageChangeEvent
(
object
sender
,
EventArgs
e
)
...
...
DeviceLibrary/theMachine/MainMachine_Store.cs
查看文件 @
0145d73
...
@@ -70,7 +70,7 @@ namespace DeviceLibrary
...
@@ -70,7 +70,7 @@ namespace DeviceLibrary
//}
//}
//else
//else
Msg
.
add
(
crc
.
GetString
(
"Res0004"
,
"收到出库任务,但料叉上有料,无法启动,请检查"
),
MsgLevel
.
alarm
);
Msg
.
add
(
crc
.
GetString
(
"Res0004"
,
"收到出库任务,但料叉上有料,无法启动,请检查"
),
MsgLevel
.
alarm
);
RobotManage
.
UserPause
(
crc
.
GetString
(
"Res0004"
,
"收到出库任务,但料叉上有料,无法启动,请检查"
));
//
RobotManage.UserPause(crc.GetString("Res0004", "收到出库任务,但料叉上有料,无法启动,请检查"));
return
;
return
;
}
}
else
else
...
...
DeviceLibrary/theMachine/RobotManage.cs
查看文件 @
0145d73
...
@@ -100,7 +100,7 @@ namespace DeviceLibrary
...
@@ -100,7 +100,7 @@ namespace DeviceLibrary
}
}
catch
(
Exception
ex
)
{
catch
(
Exception
ex
)
{
LogUtil
.
error
(
ex
.
ToString
()
);
LogUtil
.
error
(
"Init "
,
ex
);
LoadFinishEvent
?.
Invoke
(
false
,
ex
.
Message
);
LoadFinishEvent
?.
Invoke
(
false
,
ex
.
Message
);
return
;
return
;
}
}
...
...
TheMachine/Form1.cs
查看文件 @
0145d73
...
@@ -317,7 +317,7 @@ namespace TheMachine
...
@@ -317,7 +317,7 @@ namespace TheMachine
lm
.
Add
(
m
);
lm
.
Add
(
m
);
}
}
SetMsg
(
lm
);
SetMsg
(
lm
);
//
WindowManager.Show();
WindowManager
.
Show
();
}
}
void
SetMsg
(
List
<
Msg
>
msgs
)
void
SetMsg
(
List
<
Msg
>
msgs
)
{
{
...
...
TheMachine/Program.cs
查看文件 @
0145d73
...
@@ -54,12 +54,12 @@ namespace TheMachine
...
@@ -54,12 +54,12 @@ namespace TheMachine
private
static
void
CurrentDomain_UnhandledException
(
object
sender
,
UnhandledExceptionEventArgs
e
)
private
static
void
CurrentDomain_UnhandledException
(
object
sender
,
UnhandledExceptionEventArgs
e
)
{
{
LogUtil
.
error
(
e
.
ToString
());
LogUtil
.
error
(
$
"CurrentDomain_UnhandledException:"
+
e
.
ToString
());
}
}
private
static
void
Application_ThreadException
(
object
sender
,
ThreadExceptionEventArgs
e
)
private
static
void
Application_ThreadException
(
object
sender
,
ThreadExceptionEventArgs
e
)
{
{
LogUtil
.
error
(
e
.
ToString
());
LogUtil
.
error
(
$
"Application_ThreadException:"
+
e
.
ToString
());
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论