Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 658eff58
由
刘韬
编写于
2022-03-25 10:08:00 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修改pn算法匹配规则
1 个父辈
787c70a3
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
48 行增加
和
27 行删除
RC1266-AutoCountMachine/source/AutoCountClient/FrmLearning.Designer.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip_Partial.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip_Partial.cs
RC1266-AutoCountMachine/source/DeviceLibrary/manager/ParamManager.cs
RC1266-AutoCountMachine/source/DeviceLibrary/model/OldPNList.cs
RC1266-AutoCountMachine/source/AutoCountClient/FrmLearning.Designer.cs
查看文件 @
658eff5
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
this
.
btnEnd
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnEnd
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox4
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
label_coutresult
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
buttonE
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
buttonE
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
buttonD
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
buttonD
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
buttonC
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
buttonC
=
new
System
.
Windows
.
Forms
.
Button
();
...
@@ -54,7 +55,6 @@
...
@@ -54,7 +55,6 @@
this
.
lblFeng
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblFeng
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblDes
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblDes
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblProName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblProName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label_coutresult
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
numWSize
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
numWSize
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
numTh
)).
BeginInit
();
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
numTh
)).
BeginInit
();
...
@@ -244,6 +244,15 @@
...
@@ -244,6 +244,15 @@
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"请选择参数"
;
this
.
groupBox4
.
Text
=
"请选择参数"
;
//
//
// label_coutresult
//
this
.
label_coutresult
.
AutoSize
=
true
;
this
.
label_coutresult
.
Location
=
new
System
.
Drawing
.
Point
(
57
,
380
);
this
.
label_coutresult
.
Name
=
"label_coutresult"
;
this
.
label_coutresult
.
Size
=
new
System
.
Drawing
.
Size
(
79
,
20
);
this
.
label_coutresult
.
TabIndex
=
304
;
this
.
label_coutresult
.
Text
=
"点料结果:"
;
//
// buttonE
// buttonE
//
//
this
.
buttonE
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
buttonE
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
@@ -255,6 +264,7 @@
...
@@ -255,6 +264,7 @@
this
.
buttonE
.
TabIndex
=
303
;
this
.
buttonE
.
TabIndex
=
303
;
this
.
buttonE
.
Text
=
"算法E"
;
this
.
buttonE
.
Text
=
"算法E"
;
this
.
buttonE
.
UseVisualStyleBackColor
=
false
;
this
.
buttonE
.
UseVisualStyleBackColor
=
false
;
this
.
buttonE
.
Visible
=
false
;
this
.
buttonE
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonE_Click
);
this
.
buttonE
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonE_Click
);
//
//
// buttonD
// buttonD
...
@@ -268,6 +278,7 @@
...
@@ -268,6 +278,7 @@
this
.
buttonD
.
TabIndex
=
302
;
this
.
buttonD
.
TabIndex
=
302
;
this
.
buttonD
.
Text
=
"算法D"
;
this
.
buttonD
.
Text
=
"算法D"
;
this
.
buttonD
.
UseVisualStyleBackColor
=
false
;
this
.
buttonD
.
UseVisualStyleBackColor
=
false
;
this
.
buttonD
.
Visible
=
false
;
this
.
buttonD
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonD_Click
);
this
.
buttonD
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonD_Click
);
//
//
// buttonC
// buttonC
...
@@ -320,6 +331,7 @@
...
@@ -320,6 +331,7 @@
this
.
buttonA
.
TabIndex
=
299
;
this
.
buttonA
.
TabIndex
=
299
;
this
.
buttonA
.
Text
=
"算法A"
;
this
.
buttonA
.
Text
=
"算法A"
;
this
.
buttonA
.
UseVisualStyleBackColor
=
false
;
this
.
buttonA
.
UseVisualStyleBackColor
=
false
;
this
.
buttonA
.
Visible
=
false
;
this
.
buttonA
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonA_Click
);
this
.
buttonA
.
Click
+=
new
System
.
EventHandler
(
this
.
buttonA_Click
);
//
//
// groupBox2
// groupBox2
...
@@ -374,15 +386,6 @@
...
@@ -374,15 +386,6 @@
this
.
lblProName
.
Text
=
"产品:"
;
this
.
lblProName
.
Text
=
"产品:"
;
this
.
lblProName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblProName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
// label_coutresult
//
this
.
label_coutresult
.
AutoSize
=
true
;
this
.
label_coutresult
.
Location
=
new
System
.
Drawing
.
Point
(
57
,
380
);
this
.
label_coutresult
.
Name
=
"label_coutresult"
;
this
.
label_coutresult
.
Size
=
new
System
.
Drawing
.
Size
(
79
,
20
);
this
.
label_coutresult
.
TabIndex
=
304
;
this
.
label_coutresult
.
Text
=
"点料结果:"
;
//
// FrmLearning
// FrmLearning
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
20F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
8F
,
20F
);
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip_Partial.cs
查看文件 @
658eff5
...
@@ -667,9 +667,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -667,9 +667,12 @@ namespace OnlineStore.DeviceLibrary
{
{
printTask
=
null
;
printTask
=
null
;
}
}
LabelXAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelX_P2
,
Config
.
LabelX_P2Speed
);
if
(!
LabelXAxis
.
IsInPosition
(
Config
.
LabelX_P2
))
LabelYAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelY_P2
,
Config
.
LabelY_P2Speed
);
LabelXAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelX_P2
,
Config
.
LabelX_P2Speed
);
LabelRAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelR_P2
,
Config
.
LabelR_P2Speed
);
if
(!
LabelYAxis
.
IsInPosition
(
Config
.
LabelY_P2
))
LabelYAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelY_P2
,
Config
.
LabelY_P2Speed
);
if
(!
LabelRAxis
.
IsInPosition
(
Config
.
LabelR_P2
))
LabelRAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelR_P2
,
Config
.
LabelR_P2Speed
);
}
}
else
if
(
SecMoveInfo
.
IsStep
(
StepEnum
.
OL03_PrintLabel
))
else
if
(
SecMoveInfo
.
IsStep
(
StepEnum
.
OL03_PrintLabel
))
{
{
...
@@ -851,7 +854,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -851,7 +854,7 @@ namespace OnlineStore.DeviceLibrary
{
{
SecMoveInfo
.
NextMoveStep
(
StepEnum
.
OL14_PasteForward
);
SecMoveInfo
.
NextMoveStep
(
StepEnum
.
OL14_PasteForward
);
SecWorkLog
(
"贴标: 七寸盘:贴标气缸后退"
);
SecWorkLog
(
"贴标: 七寸盘:贴标气缸后退"
);
CylinderMove
(
SecMoveInfo
,
IO_Type
.
LablePaste_Forward
,
IO_Type
.
PasteCode_Back
);
//
CylinderMove(SecMoveInfo, IO_Type.LablePaste_Forward, IO_Type.PasteCode_Back);
}
}
else
else
{
{
...
@@ -883,12 +886,17 @@ namespace OnlineStore.DeviceLibrary
...
@@ -883,12 +886,17 @@ namespace OnlineStore.DeviceLibrary
{
{
SecMoveInfo
.
NextMoveStep
(
StepEnum
.
OL18_LableBack
);
SecMoveInfo
.
NextMoveStep
(
StepEnum
.
OL18_LableBack
);
SecWorkLog
(
"贴标: 贴标气缸后退,X轴R轴返回待机点P2,Y轴返回待机点P1, "
);
SecWorkLog
(
"贴标: 贴标气缸后退,X轴R轴返回待机点P2,Y轴返回待机点P1, "
);
LabelZAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelZ_P1
,
Config
.
LabelZ_P1Speed
);
LabelZAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelZ_P1
,
Config
.
LabelZ_P1Speed
);
CylinderMove
(
SecMoveInfo
,
IO_Type
.
LablePaste_Forward
,
IO_Type
.
PasteCode_Back
);
if
(!
SecMoveInfo
.
MoveParam
.
PlateW
.
Equals
(
7
))
CylinderMove
(
SecMoveInfo
,
IO_Type
.
LablePaste_Forward
,
IO_Type
.
PasteCode_Back
);
LabelXAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelX_P2
,
Config
.
LabelX_P2Speed
);
LabelXAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelX_P2
,
Config
.
LabelX_P2Speed
);
LabelYAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelY_P1
,
Config
.
LabelY_P1Speed
);
LabelYAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelY_P1
,
Config
.
LabelY_P1Speed
);
LabelRAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelR_P2
,
Config
.
LabelR_P2Speed
);
LabelRAxis
.
AbsMove
(
SecMoveInfo
,
Config
.
LabelR_P2
,
Config
.
LabelR_P2Speed
);
}
else
if
(
SecMoveInfo
.
IsStep
(
StepEnum
.
OL18_LableBack
))
{
bool
canLabel
=
ShelfMoveInfo
.
MoveType
.
Equals
(
RobotMoveType
.
ShelfPro
)
&&
ShelfMoveInfo
.
IsStep
(
StepEnum
.
OS_25_WaitLabel
);
bool
canLabel
=
ShelfMoveInfo
.
MoveType
.
Equals
(
RobotMoveType
.
ShelfPro
)
&&
ShelfMoveInfo
.
IsStep
(
StepEnum
.
OS_25_WaitLabel
);
if
(
canLabel
)
if
(
canLabel
)
{
{
...
@@ -896,9 +904,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -896,9 +904,6 @@ namespace OnlineStore.DeviceLibrary
//SecTickLog("贴标完成1");
//SecTickLog("贴标完成1");
ShelfWorkLog
(
"贴标完成"
);
ShelfWorkLog
(
"贴标完成"
);
}
}
}
else
if
(
SecMoveInfo
.
IsStep
(
StepEnum
.
OL18_LableBack
))
{
// SecMoveInfo.NextMoveStep(StepEnum.OL19_XYRBackToP2);
// SecMoveInfo.NextMoveStep(StepEnum.OL19_XYRBackToP2);
// SecWorkLog("贴标: X轴R轴返回待机点P2,Y轴返回待机点P1, ");
// SecWorkLog("贴标: X轴R轴返回待机点P2,Y轴返回待机点P1, ");
// LabelXAxis.AbsMove(SecMoveInfo, Config.LabelX_P2, Config.LabelX_P2Speed);
// LabelXAxis.AbsMove(SecMoveInfo, Config.LabelX_P2, Config.LabelX_P2Speed);
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
查看文件 @
658eff5
...
@@ -66,7 +66,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -66,7 +66,7 @@ namespace OnlineStore.DeviceLibrary
AgvClient
.
NodeList
.
Add
(
outputEquip
.
Config
.
AgvOutName
);
AgvClient
.
NodeList
.
Add
(
outputEquip
.
Config
.
AgvOutName
);
AgvClient
.
NodeList
.
Add
(
inputEquip
.
Config
.
RightAgvName
);
AgvClient
.
NodeList
.
Add
(
inputEquip
.
Config
.
RightAgvName
);
AgvClient
.
NodeList
.
Add
(
inputEquip
.
Config
.
LeftAgvName
);
AgvClient
.
NodeList
.
Add
(
inputEquip
.
Config
.
LeftAgvName
);
/*var carerayImage = new CarerayImage();
/*var carerayImage = new CarerayImage();
if (carerayImage.Open())
if (carerayImage.Open())
{
{
...
@@ -77,6 +77,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -77,6 +77,8 @@ namespace OnlineStore.DeviceLibrary
return;
return;
}
}
*/
*/
ParamManager
.
Init
();
OldPNList
.
init
();
Task
.
Factory
.
StartNew
(
delegate
Task
.
Factory
.
StartNew
(
delegate
{
{
LogUtil
.
info
(
Name
+
"开始连接IO模块 "
);
LogUtil
.
info
(
Name
+
"开始连接IO模块 "
);
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip.cs
查看文件 @
658eff5
...
@@ -54,6 +54,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -54,6 +54,7 @@ namespace OnlineStore.DeviceLibrary
IoCheckTimer
.
Elapsed
+=
IoCheckTimerProcess
;
IoCheckTimer
.
Elapsed
+=
IoCheckTimerProcess
;
MoveInfo
=
new
RobotMoveInfo
(
Name
);
MoveInfo
=
new
RobotMoveInfo
(
Name
);
SecMoveInfo
=
new
RobotMoveInfo
(
Name
.
Trim
()
+
"-SMove"
);
SecMoveInfo
=
new
RobotMoveInfo
(
Name
.
Trim
()
+
"-SMove"
);
XrayImage
.
setProcessLevel
(
4
);
Task
.
Factory
.
StartNew
(
delegate
Task
.
Factory
.
StartNew
(
delegate
{
{
XRayLoad
();
XRayLoad
();
...
@@ -96,8 +97,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -96,8 +97,7 @@ namespace OnlineStore.DeviceLibrary
{
{
Directory
.
CreateDirectory
(
path2_out
);
Directory
.
CreateDirectory
(
path2_out
);
}
}
ParamManager
.
Init
();
OldPNList
.
init
();
ResultMinCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
ResultMinCount
);
ResultMinCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
ResultMinCount
);
if
(
ResultMinCount
==
-
1
)
if
(
ResultMinCount
==
-
1
)
{
{
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip_Partial.cs
查看文件 @
658eff5
...
@@ -805,12 +805,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -805,12 +805,14 @@ namespace OnlineStore.DeviceLibrary
int
windowsize
=
param
.
WindowSize
;
;
int
windowsize
=
param
.
WindowSize
;
;
if
(
param
.
Sign
==
CountParam
.
SignType
.
AUTO
)
if
(
param
.
Sign
==
CountParam
.
SignType
.
AUTO
)
{
{
result
=
XrayImage
.
GetLocalCount
(
fileP
,
50
,
out
countStr
,
out
dst
);
LogUtil
.
info
(
"GetCountResult "
+
type
+
" 调用 GetLocalCount 【"
+
fileP
+
"】【"
+
100
+
"】"
);
LogUtil
.
info
(
"GetCountResult "
+
type
+
" 调用 GetLocalCount 【"
+
fileP
+
"】【"
+
threshold
+
"】【"
+
windowsize
+
"】,返回【"
+
result
+
"】,结果【"
+
string
.
Join
(
","
,
countStr
)
+
"】"
);
result
=
XrayImage
.
GetLocalCount
(
fileP
,
100
,
out
countStr
,
out
dst
);
LogUtil
.
info
(
"GetCountResult "
+
type
+
" 调用 GetLocalCount 【"
+
fileP
+
"】【"
+
100
+
"】,返回【"
+
result
+
"】,结果【"
+
string
.
Join
(
","
,
countStr
)
+
"】"
);
}
}
else
{
else
{
result
=
XrayImage
.
GetLocalCountIrregular
(
fileP
,
50
,
type
.
ToString
(),
out
countStr
,
out
dst
);
LogUtil
.
info
(
"GetLocalCountIrregular "
+
type
+
" 【"
+
fileP
+
"】【"
+
100
+
"】"
);
LogUtil
.
info
(
"GetCountResult "
+
type
+
" 调用 GetLocalCountIrregular 【"
+
fileP
+
"】【"
+
threshold
+
"】【"
+
windowsize
+
"】,返回【"
+
result
+
"】,结果【"
+
string
.
Join
(
","
,
countStr
)
+
"】"
);
result
=
XrayImage
.
GetLocalCountIrregular
(
fileP
,
100
,
type
.
ToString
(),
out
countStr
,
out
dst
);
LogUtil
.
info
(
"GetLocalCountIrregular "
+
type
+
" 【"
+
fileP
+
"】【"
+
100
+
"】,返回【"
+
result
+
"】,结果【"
+
string
.
Join
(
","
,
countStr
)
+
"】"
);
}
}
if
(
dst
!=
null
)
if
(
dst
!=
null
)
{
{
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/manager/ParamManager.cs
查看文件 @
658eff5
...
@@ -70,6 +70,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -70,6 +70,9 @@ namespace OnlineStore.DeviceLibrary
//bool result = false;
//bool result = false;
//CountParam lastParam = new CountParam("", ThresholdValue, 3);
//CountParam lastParam = new CountParam("", ThresholdValue, 3);
string
pn
=
GetCodeStrPN
(
codeStr
);
string
pn
=
GetCodeStrPN
(
codeStr
);
var
pns
=
pn
.
Split
(
'.'
);
if
(
pns
.
Length
==
3
)
pn
=
pns
[
0
]
+
"."
+
pns
[
2
];
if
(
countParamMap
.
ContainsKey
(
pn
))
if
(
countParamMap
.
ContainsKey
(
pn
))
{
{
CountParam
lastParam
=
countParamMap
[
pn
];
CountParam
lastParam
=
countParamMap
[
pn
];
...
@@ -256,6 +259,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -256,6 +259,9 @@ namespace OnlineStore.DeviceLibrary
{
{
public
CountParam
(
string
pn
,
int
th
=
0
,
int
size
=
0
,
SignType
sign
=
SignType
.
AUTO
,
int
value
=
0
)
public
CountParam
(
string
pn
,
int
th
=
0
,
int
size
=
0
,
SignType
sign
=
SignType
.
AUTO
,
int
value
=
0
)
{
{
var
pns
=
pn
.
Split
(
'.'
);
if
(
pns
.
Length
==
3
)
pn
=
pns
[
0
]
+
"."
+
pns
[
2
];
this
.
PN
=
pn
;
this
.
PN
=
pn
;
this
.
Threshold
=
th
;
this
.
Threshold
=
th
;
this
.
WindowSize
=
size
;
this
.
WindowSize
=
size
;
...
@@ -287,6 +293,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -287,6 +293,9 @@ namespace OnlineStore.DeviceLibrary
if
(
array
.
Length
>=
5
)
if
(
array
.
Length
>=
5
)
{
{
string
pn
=
array
[
0
].
Trim
();
string
pn
=
array
[
0
].
Trim
();
var
pns
=
pn
.
Split
(
'.'
);
if
(
pns
.
Length
==
3
)
pn
=
pns
[
0
]
+
"."
+
pns
[
2
];
SignType
sign
=
SignType
.
AUTO
;
SignType
sign
=
SignType
.
AUTO
;
Enum
.
TryParse
<
SignType
>(
array
[
1
].
Trim
(),
out
sign
);
Enum
.
TryParse
<
SignType
>(
array
[
1
].
Trim
(),
out
sign
);
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/model/OldPNList.cs
查看文件 @
658eff5
...
@@ -21,7 +21,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -21,7 +21,7 @@ namespace OnlineStore.DeviceLibrary
var
data
=
File
.
ReadAllLines
(
datafile
);
var
data
=
File
.
ReadAllLines
(
datafile
);
pnlist
=
new
HashSet
<
string
>(
data
);
pnlist
=
new
HashSet
<
string
>(
data
);
LogUtil
.
info
(
$
"OldPNList加载数据{pnlist.Count}条"
);
LogUtil
.
info
(
$
"OldPNList加载数据{pnlist.Count}条"
);
pnlist
.
Union
(
ParamManager
.
GetPNlist
());
pnlist
.
Union
With
(
ParamManager
.
GetPNlist
());
LogUtil
.
info
(
$
"OldPNList加载学习数据{pnlist.Count}条"
);
LogUtil
.
info
(
$
"OldPNList加载学习数据{pnlist.Count}条"
);
}
}
...
@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
}
}
public
static
void
AddOne
(
string
pn
)
public
static
void
AddOne
(
string
pn
)
{
{
if
(!
pnlist
.
Contains
(
pn
))
//
if(!pnlist.Contains(pn))
pnlist
.
Add
(
pn
);
pnlist
.
Add
(
pn
);
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论