Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
Line-Smart-Workstation
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0ac16077
由
LN
编写于
2024-05-17 15:46:34 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修改:数量为0导入后无法补料
1 个父辈
36e5869a
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
23 行增加
和
3 行删除
DeviceLibrary/csvLoad/CSVBomManager.cs
DeviceLibrary/csvLoad/position/ComponetInfo.cs
DeviceLibrary/manager/ImageUtilM.cs
TSA-V/FrmBoardPutCom.cs
TSA-V/FrmMenu.cs
DeviceLibrary/csvLoad/CSVBomManager.cs
查看文件 @
0ac1607
...
...
@@ -575,6 +575,8 @@ namespace TSA_V.LoadCSVLibrary
foreach
(
string
proName
in
propertyList
)
{
try
{
PropertyInfo
prop
=
props
.
First
(
c
=>
c
.
Name
==
proName
);
//获取同名属性
if
(
prop
!=
null
)
{
//如果属性存在
...
...
@@ -582,6 +584,12 @@ namespace TSA_V.LoadCSVLibrary
int
index
=
propIndexMap
[
proName
];
array
[
index
]
=
value
;
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
ex
.
ToString
());
}
}
string
newStr
=
""
;
...
...
DeviceLibrary/csvLoad/position/ComponetInfo.cs
查看文件 @
0ac1607
...
...
@@ -42,7 +42,7 @@ namespace TSA_V.LoadCSVLibrary
///数量
/// </summary>
[
CSVAttribute
(
"Count"
,
true
,
"数量"
,
"Quantity"
)]
public
string
ComCount
{
get
;
set
;
}
public
string
ComCount
{
get
;
set
;
}
=
"0"
;
/// <summary>
///X坐标
/// </summary>
...
...
DeviceLibrary/manager/ImageUtilM.cs
查看文件 @
0ac1607
...
...
@@ -32,7 +32,7 @@ namespace TSA_V.DeviceLibrary
int
zhao
=
(
int
)(
freespace
/
1024
);
if
(
zhao
<
checkZhao
)
{
LogUtil
.
error
(
volume
+
"盘剩余空间:"
+
zhao
+
"G, 不再保存
识别
图片"
);
LogUtil
.
error
(
volume
+
"盘剩余空间:"
+
zhao
+
"G, 不再保存图片"
);
return
false
;
}
}
...
...
TSA-V/FrmBoardPutCom.cs
查看文件 @
0ac1607
...
...
@@ -70,6 +70,8 @@ namespace TSA_V
}
currIndex
=
0
;
ShowCom
();
//if (!Setting_NInit.App_IsDebug)
{
if
(
TSAVBean
.
Status
<=
TSAVStatus
.
Wait
)
{
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
ResourceCulture
.
DeviceNotOk
,
"设备未连接,无法备料!"
));
...
...
@@ -80,6 +82,8 @@ namespace TSA_V
MessageBox
.
Show
(
ResourceCulture
.
GetString
(
ResourceCulture
.
DeviceInReset
,
"设备正在重置中,请稍后再备料!"
));
return
false
;
}
}
return
true
;
}
...
...
TSA-V/FrmMenu.cs
查看文件 @
0ac1607
...
...
@@ -510,7 +510,8 @@ namespace TSA_V
private
void
btnReplenish_Click
(
object
sender
,
EventArgs
e
)
{
try
{
if
(
WorkModeUtil
.
OnlyGB
)
{
string
msg
=
ResourceControl
.
GetString
(
"GuobanMode"
,
"操作失败,当前为过板模式"
);
...
...
@@ -555,6 +556,13 @@ namespace TSA_V
this
.
Visible
=
true
;
}
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"btnReplenish_Click 出错:"
+
ex
.
ToString
());
MessageBox
.
Show
(
ex
.
ToString
());
}
}
private
DialogResult
WorkModeUtil_boxShowEvent
(
string
msg
,
string
okMsg
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论