Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 26df9ae0
由
LN
编写于
2024-06-03 13:27:37 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
83c7a02d
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
20 行增加
和
6 行删除
DeviceLibrary/manager/work/TSAVBean.cs
TSA-V/FrmHistorySearch.cs
TSA-V/Properties/Resource.en-US.resx
TSA-V/Properties/Resource.zh-CN.resx
TSA-V/ResourceCulture.cs
TSA-V/workForm/FrmAOICheck.cs
DeviceLibrary/manager/work/TSAVBean.cs
查看文件 @
26df9ae
...
...
@@ -396,7 +396,8 @@ namespace TSA_V.DeviceLibrary
// PUSICANControl.HomeMove(LWidthManager.Line_NodeAddr);
resetStep
=
ResetStep
.
XYHomeMove_3
;
LastResetChangeTime
=
DateTime
.
Now
;
LogUtil
.
info
(
Name
+
"重置中 "
+
resetStep
+
":所有轴已连接, 旋转轴开始原点返回"
);
CylinderMove
(
IOManager
.
StopCylinder_Down
,
IOManager
.
StopCylinder_Up
,
false
);
LogUtil
.
info
(
Name
+
"重置中 "
+
resetStep
+
":所有轴已连接, 旋转轴开始原点返回,阻挡气缸上升"
);
}
private
static
void
ToRunning
(
string
msg
)
{
...
...
TSA-V/FrmHistorySearch.cs
查看文件 @
26df9ae
...
...
@@ -54,14 +54,14 @@ namespace TSA_V
{
DgvOperateInfo
.
Rows
.
Clear
();
if
(
data
.
Length
==
0
)
MessageBox
.
Show
(
"没有找到记录"
);
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
"没有找到记录"
)
);
else
for
(
int
i
=
0
;
i
<
data
.
Length
;
i
++)
DgvOperateInfo
.
Rows
.
Add
(
data
[
i
]);
}
else
{
MessageBox
.
Show
(
"查询出错"
,
""
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Information
);
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
"查询出错"
)
,
""
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Information
);
}
}
...
...
@@ -74,14 +74,14 @@ namespace TSA_V
{
DgvPointInfo
.
Rows
.
Clear
();
if
(
data
.
Length
==
0
)
MessageBox
.
Show
(
"没有找到记录"
);
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
"没有找到记录"
)
);
else
for
(
int
i
=
0
;
i
<
data
.
Length
;
i
++)
DgvPointInfo
.
Rows
.
Add
(
data
[
i
]);
}
else
{
MessageBox
.
Show
(
"查询出错"
,
""
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Information
);
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
"查询出错"
)
,
""
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Information
);
}
}
...
...
TSA-V/Properties/Resource.en-US.resx
查看文件 @
26df9ae
...
...
@@ -2717,4 +2717,11 @@
<data name = "handWork" xml:space = "preserve"> <value> Assembling </value> </data>
<data name = "handCount" xml:space = "preserve"> <value> Number </value> </data>
<data name = "handTime" xml:space = "preserve"> <value> Total Time </value> </data>
<data name="查询出错" xml:space="preserve">
<value>Query Error</value>
</data>
<data name="没有找到记录" xml:space="preserve">
<value>No records found</value>
</data>
</root>
\ No newline at end of file
TSA-V/Properties/Resource.zh-CN.resx
查看文件 @
26df9ae
此文件的差异被折叠,
点击展开。
TSA-V/ResourceCulture.cs
查看文件 @
26df9ae
...
...
@@ -895,7 +895,7 @@ namespace TSA_V
/// <summary>
/// 无
/// </summary>
internal
static
readonly
string
Type_None
=
"
无
"
;
internal
static
readonly
string
Type_None
=
"
Type_None
"
;
internal
static
readonly
string
CreateNew
=
"CreateNew"
;
}
...
...
TSA-V/workForm/FrmAOICheck.cs
查看文件 @
26df9ae
...
...
@@ -146,6 +146,8 @@ namespace TSA_V
}
}
public
string
defFile
=
@"G:\1.bmp"
;
[
HandleProcessCorruptedStateExceptions
]
private
int
AoiCheck
()
{
GC
.
Collect
(
0
,
GCCollectionMode
.
Forced
);
...
...
@@ -258,6 +260,10 @@ namespace TSA_V
}
chbAllShow
.
Enabled
=
true
;
}
catch
(
AccessViolationException
e
)
{
LogUtil
.
error
(
"检测出错 AccessViolationException 异常 ."
+
e
.
ToString
());
}
catch
(
Exception
ex
)
{
lblError
.
Text
=
ResourceCulture
.
GetString
(
"执行检测失败"
,
"执行检测失败"
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论