Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8b9862c6
由
LN
编写于
2019-10-24 10:14:31 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
34de589f
显示空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
65 行增加
和
150 行删除
ABBRobotTest/App.config
source/AssemblyLineClient/App.config
source/AssemblyLineClient/FrmFeedingEquip.cs
source/AssemblyLineClient/FrmLineStore.cs
source/AssemblyLineSystem/App.config
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/LineConfig/Config_FeedingEquip_2.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_4.csv
source/DeviceLibrary/assemblyLine/ALineManager.cs
source/DeviceLibrary/assemblyLine/DischargeLine.cs
source/DeviceLibrary/assemblyLine/EquipBase.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
source/DeviceLibrary/assemblyLine/LineBean.cs
source/DeviceLibrary/assemblyLine/MoveEquip.cs
source/DeviceLibrary/assemblyLine/ProvidingEquip.cs
source/DeviceLibrary/assemblyLine/TrayManager.cs
source/DeviceLibrary/model/KTK_Store.cs
source/DeviceLibrary/model/StoreMoveInfo.cs → source/DeviceLibrary/model/LineMoveInfo.cs
source/LoadCVSLibrary/LoadCSVLibrary.csproj
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
source/LoadCVSLibrary/storeConfig/ConfigItemBase.cs
source/LoadCVSLibrary/storeConfig/config/StoreConfig.cs → source/LoadCVSLibrary/storeConfig/config/DeviceConfig.cs
source/LoadCVSLibrary/storeConfig/config/DischargeLine_Config.cs
source/LoadCVSLibrary/storeConfig/config/FeedingEquip_Config.cs
source/LoadCVSLibrary/storeConfig/config/Line_Config.cs
source/LoadCVSLibrary/storeConfig/config/MoveEquip_Config.cs
source/LoadCVSLibrary/storeConfig/config/ProvidingEquip_Config.cs
source/LoadCVSLibrary/storeConfig/config/StoreType.cs
ABBRobotTest/App.config
查看文件 @
8b9862c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<
add
key
=
"Line_feedingEquip_count"
value
=
"4"
/>
<
add
key
=
"Line_feedingEquip_count"
value
=
"4"
/>
<
add
key
=
"Line_providingEquip_count"
value
=
"4"
/>
<
add
key
=
"Line_providingEquip_count"
value
=
"4"
/>
<
add
key
=
"Line_dischargeLine_count"
value
=
"2"
/>
<
add
key
=
"Line_dischargeLine_count"
value
=
"2"
/>
<!--
start
one
store
config
-->
<!--
start
one
SecondMove
config
-->
<
add
key
=
"ConfigPath_Line"
value
=
"\LineConfig\Config_Line.csv"
/>
<
add
key
=
"ConfigPath_Line"
value
=
"\LineConfig\Config_Line.csv"
/>
<
add
key
=
"ConfigPath_MoveEquip"
value
=
"\LineConfig\MoveEquip\Config_MoveEquip.csv"
/>
<
add
key
=
"ConfigPath_MoveEquip"
value
=
"\LineConfig\MoveEquip\Config_MoveEquip.csv"
/>
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"Line_Type"
value
=
"RC_LINE"
/>
<
add
key
=
"Line_Type"
value
=
"RC_LINE"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
<!--
end
one
store
config
-->
<!--
end
one
SecondMove
config
-->
<!--摄像机名称列表配置,用
#分割-->
<!--摄像机名称列表配置,用
#分割-->
<
add
key
=
"CameraName"
value
=
"GigE:MV-CE100-30GC (00C69898519)#GigE:MV-CE100-30GC (00C95305929)"
/>
<
add
key
=
"CameraName"
value
=
"GigE:MV-CE100-30GC (00C69898519)#GigE:MV-CE100-30GC (00C95305929)"
/>
<!--二维码类型列表配置,用
#分割,一维码=Barcode 二维码: QR Code#Data Matrix ECC 200#Micro QR Code-->
<!--二维码类型列表配置,用
#分割,一维码=Barcode 二维码: QR Code#Data Matrix ECC 200#Micro QR Code-->
...
...
source/AssemblyLineClient/App.config
查看文件 @
8b9862c
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
<
add
key
=
"ConfigPath_ProvidingEquip"
value
=
"\LineConfig\Config_ProvidingEquip.csv"
/>
<
add
key
=
"ConfigPath_ProvidingEquip"
value
=
"\LineConfig\Config_ProvidingEquip.csv"
/>
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"Line_Type"
value
=
"
RC_LINE
"
/>
<
add
key
=
"Line_Type"
value
=
"
Line
"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
<!--
end
one
store
config
-->
<!--
end
one
store
config
-->
<!--摄像机名称列表配置,用
#分割-->
<!--摄像机名称列表配置,用
#分割-->
...
...
source/AssemblyLineClient/FrmFeedingEquip.cs
查看文件 @
8b9862c
...
@@ -531,7 +531,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -531,7 +531,7 @@ namespace OnlineStore.AssemblyLine
int
position
=
FormUtil
.
GetIntValue
(
txtSizePosition
);
int
position
=
FormUtil
.
GetIntValue
(
txtSizePosition
);
if
(
position
!=
-
1
)
if
(
position
!=
-
1
)
{
{
int
speed
=
equipBean
.
Config
.
Batch
Axis_DownSpeed
;
int
speed
=
equipBean
.
Config
.
Updown
Axis_DownSpeed
;
LogUtil
.
info
(
"点击【移栽位置】,料盘高度【"
+
cmbSizeList
.
Text
+
"】 位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
LogUtil
.
info
(
"点击【移栽位置】,料盘高度【"
+
cmbSizeList
.
Text
+
"】 位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
ACServerManager
.
AbsMove
(
portName
,
SlvAddr
,
position
,
speed
);
ACServerManager
.
AbsMove
(
portName
,
SlvAddr
,
position
,
speed
);
}
}
...
@@ -600,7 +600,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -600,7 +600,7 @@ namespace OnlineStore.AssemblyLine
int
position
=
FormUtil
.
GetIntValue
(
txtBoxP
);
int
position
=
FormUtil
.
GetIntValue
(
txtBoxP
);
if
(
position
!=
-
1
)
if
(
position
!=
-
1
)
{
{
int
speed
=
equipBean
.
Config
.
Batch
Axis_DownSpeed
;
int
speed
=
equipBean
.
Config
.
Updown
Axis_DownSpeed
;
LogUtil
.
info
(
"点击【料仓门口下降位置】,料盘高度【"
+
cmbSizeList
.
Text
+
"】 位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
LogUtil
.
info
(
"点击【料仓门口下降位置】,料盘高度【"
+
cmbSizeList
.
Text
+
"】 位置【"
+
position
+
"】速度【"
+
speed
+
"】"
);
ACServerManager
.
AbsMove
(
portName
,
SlvAddr
,
position
,
speed
);
ACServerManager
.
AbsMove
(
portName
,
SlvAddr
,
position
,
speed
);
}
}
...
...
source/AssemblyLineClient/FrmLineStore.cs
查看文件 @
8b9862c
...
@@ -48,9 +48,9 @@ namespace OnlineStore.AssemblyLine
...
@@ -48,9 +48,9 @@ namespace OnlineStore.AssemblyLine
List
<
MoveEquip
>
moveEquipList
=
new
List
<
MoveEquip
>(
lineBean
.
MoveEquipMap
.
Values
);
List
<
MoveEquip
>
moveEquipList
=
new
List
<
MoveEquip
>(
lineBean
.
MoveEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
moveEquipList
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
moveEquipList
.
Count
;
i
++)
{
{
MoveEquip
store
=
moveEquipList
[
i
];
MoveEquip
equip
=
moveEquipList
[
i
];
FrmMoveEquip
test
=
new
FrmMoveEquip
(
store
);
FrmMoveEquip
test
=
new
FrmMoveEquip
(
equip
);
AddForm
(
" "
+
store
.
Name
,
test
);
AddForm
(
" "
+
equip
.
Name
,
test
);
}
}
List
<
FeedingEquip
>
feeds
=
new
List
<
FeedingEquip
>(
lineBean
.
FeedingEquipMap
.
Values
);
List
<
FeedingEquip
>
feeds
=
new
List
<
FeedingEquip
>(
lineBean
.
FeedingEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
feeds
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
feeds
.
Count
;
i
++)
...
@@ -412,7 +412,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -412,7 +412,7 @@ namespace OnlineStore.AssemblyLine
}
}
if
(
lblWarnMsg
.
Text
.
Equals
(
""
))
if
(
lblWarnMsg
.
Text
.
Equals
(
""
))
{
{
foreach
(
MoveEquip
move
in
lineBean
.
AllEquipMap
.
Values
)
foreach
(
EquipBase
move
in
lineBean
.
AllEquipMap
.
Values
)
{
{
if
(
move
.
WarnMsg
.
Equals
(
""
).
Equals
(
false
))
if
(
move
.
WarnMsg
.
Equals
(
""
).
Equals
(
false
))
{
{
...
...
source/AssemblyLineSystem/App.config
查看文件 @
8b9862c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<!--
start
one
store
config
-->
<!--
start
one
store
config
-->
<
add
key
=
"Line_ConfigPath"
value
=
"\LineConfig\StoreConfig_line.csv"
/>
<
add
key
=
"Line_ConfigPath"
value
=
"\LineConfig\StoreConfig_line.csv"
/>
<
add
key
=
"MoveEquip_ConfigPath"
value
=
"\LineConfig\StoreConfig.csv"
/>
<
add
key
=
"MoveEquip_ConfigPath"
value
=
"\LineConfig\StoreConfig.csv"
/>
<
add
key
=
"Line_Type"
value
=
"
RC_LINE
"
/>
<
add
key
=
"Line_Type"
value
=
"
Line
"
/>
<
add
key
=
"Line_CID"
value
=
"rc1246"
/>
<
add
key
=
"Line_CID"
value
=
"rc1246"
/>
<!--
end
one
store
config
-->
<!--
end
one
store
config
-->
...
...
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
8b9862c
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
<SubType>Code</SubType>
<SubType>Code</SubType>
</Compile>
</Compile>
<Compile Include="model\TrayInfo.cs" />
<Compile Include="model\TrayInfo.cs" />
<Compile Include="model\
Stor
eMoveInfo.cs">
<Compile Include="model\
Lin
eMoveInfo.cs">
<SubType>Code</SubType>
<SubType>Code</SubType>
</Compile>
</Compile>
<Compile Include="model\KTK_Store.cs" />
<Compile Include="model\KTK_Store.cs" />
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_2.csv
查看文件 @
8b9862c
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴慢速上升速度,BatchAxis_SlowSpeed,200,,,,,
PRO,0,批量上料轴P1速度,BatchAxis_P1Speed,400,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
查看文件 @
8b9862c
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴慢速上升速度,BatchAxis_SlowSpeed,200,,,,,
PRO,0,批量上料轴P1速度,BatchAxis_P1Speed,400,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_4.csv
查看文件 @
8b9862c
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
...
@@ -13,6 +13,8 @@ PRO,0,批量上料轴减速度,BatchAxis_DelSpeed,400,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点低速度,BatchAxis_HomeLowSpeed,100,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点高速,BatchAxis_HomeHighSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,批量上料轴原点加速度,BatchAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴慢速上升速度,BatchAxis_SlowSpeed,200,,,,,
PRO,0,批量上料轴P1速度,BatchAxis_P1Speed,400,,,,,
,,,,,,,,,
,,,,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
...
...
source/DeviceLibrary/assemblyLine/ALineManager.cs
查看文件 @
8b9862c
...
@@ -24,7 +24,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -24,7 +24,7 @@ namespace OnlineStore.DeviceLibrary
public
static
Line_Config
Config
=
null
;
public
static
Line_Config
Config
=
null
;
public
static
Dictionary
<
int
,
Stor
eConfig
>
allConfigMap
=
null
;
public
static
Dictionary
<
int
,
Devic
eConfig
>
allConfigMap
=
null
;
public
LineManager
()
public
LineManager
()
{
{
}
}
...
@@ -56,14 +56,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -56,14 +56,14 @@ namespace OnlineStore.DeviceLibrary
Dictionary
<
int
,
ProvidingEquip_Config
>
providingECMap
=
null
;
Dictionary
<
int
,
ProvidingEquip_Config
>
providingECMap
=
null
;
Dictionary
<
int
,
DischargeLine_Config
>
disChargeLineMap
=
null
;
Dictionary
<
int
,
DischargeLine_Config
>
disChargeLineMap
=
null
;
Stor
eConfig
.
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
Devic
eConfig
.
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
Stor
eConfig
.
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
Devic
eConfig
.
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
Stor
eConfig
.
ProIpMap
=
new
Dictionary
<
string
,
string
>();
Devic
eConfig
.
ProIpMap
=
new
Dictionary
<
string
,
string
>();
moveECMap
=
new
Dictionary
<
int
,
MoveEquip_Config
>();
moveECMap
=
new
Dictionary
<
int
,
MoveEquip_Config
>();
feedingECMap
=
new
Dictionary
<
int
,
FeedingEquip_Config
>();
feedingECMap
=
new
Dictionary
<
int
,
FeedingEquip_Config
>();
providingECMap
=
new
Dictionary
<
int
,
ProvidingEquip_Config
>();
providingECMap
=
new
Dictionary
<
int
,
ProvidingEquip_Config
>();
disChargeLineMap
=
new
Dictionary
<
int
,
DischargeLine_Config
>();
disChargeLineMap
=
new
Dictionary
<
int
,
DischargeLine_Config
>();
allConfigMap
=
new
Dictionary
<
int
,
Stor
eConfig
>();
allConfigMap
=
new
Dictionary
<
int
,
Devic
eConfig
>();
string
server
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
http_server
);
string
server
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
http_server
);
if
(
server
.
Equals
(
""
))
if
(
server
.
Equals
(
""
))
{
{
...
@@ -80,13 +80,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -80,13 +80,13 @@ namespace OnlineStore.DeviceLibrary
isInit
=
true
;
isInit
=
true
;
string
lineType
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_Type
);
string
lineType
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_Type
);
LogUtil
.
info
(
LOGGER
,
" 类型="
+
lineType
+
",开始加载 配置"
);
LogUtil
.
info
(
LOGGER
,
" 类型="
+
lineType
+
",开始加载 配置"
);
if
(
lineType
==
StoreType
.
RC_LINE
)
if
(
lineType
==
DeviceType
.
Line
)
{
{
string
appPath
=
Application
.
StartupPath
;
string
appPath
=
Application
.
StartupPath
;
string
CID
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_CID
);
string
CID
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_CID
);
string
linefilePath
=
appPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_Line
);
string
linefilePath
=
appPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_Line
);
Config
=
CSVConfigReader
.
LoadLineConfig
(
0
,
CID
,
StoreType
.
RC_LINE
,
linefilePath
);
Config
=
CSVConfigReader
.
LoadLineConfig
(
0
,
CID
,
DeviceType
.
Line
,
linefilePath
);
allConfigMap
.
Add
(
0
,
Config
);
allConfigMap
.
Add
(
0
,
Config
);
int
moveEquipCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_moveEquip_count
);
int
moveEquipCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_moveEquip_count
);
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_MoveEquip
);
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_MoveEquip
);
...
@@ -94,7 +94,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -94,7 +94,7 @@ namespace OnlineStore.DeviceLibrary
{
{
string
nameStr
=
i
.
ToString
().
PadLeft
(
2
,
'0'
);
string
nameStr
=
i
.
ToString
().
PadLeft
(
2
,
'0'
);
string
config
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
string
config
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
MoveEquip_Config
moveConfig
=
CSVConfigReader
.
LoadMoveConfig
(
i
,
config
);
MoveEquip_Config
moveConfig
=
CSVConfigReader
.
LoadMoveConfig
(
i
,
DeviceType
.
MoveEquip
,
config
);
int
subType
=
i
;
int
subType
=
i
;
moveConfig
.
SetIO
(
subType
);
moveConfig
.
SetIO
(
subType
);
moveECMap
.
Add
(
i
,
moveConfig
);
moveECMap
.
Add
(
i
,
moveConfig
);
...
@@ -106,8 +106,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -106,8 +106,7 @@ namespace OnlineStore.DeviceLibrary
{
{
int
subType
=
100
+
i
;
int
subType
=
100
+
i
;
string
config
=
appPath
+
feedingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
string
config
=
appPath
+
feedingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
FeedingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadFeedingConfig
(
subType
,
config
);
FeedingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadFeedingConfig
(
subType
,
DeviceType
.
FeedingEquip
,
config
);
moveConfig
.
SetIO
(
subType
);
moveConfig
.
SetIO
(
subType
);
feedingECMap
.
Add
(
subType
,
moveConfig
);
feedingECMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
...
@@ -119,8 +118,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -119,8 +118,7 @@ namespace OnlineStore.DeviceLibrary
{
{
int
subType
=
200
+
i
;
int
subType
=
200
+
i
;
string
config
=
appPath
+
providingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
string
config
=
appPath
+
providingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
ProvidingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadProvidingConfig
(
subType
,
config
);
ProvidingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadProvidingConfig
(
subType
,
DeviceType
.
ProvidingEquip
,
config
);
moveConfig
.
SetIO
(
subType
);
moveConfig
.
SetIO
(
subType
);
providingECMap
.
Add
(
subType
,
moveConfig
);
providingECMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
...
@@ -132,8 +130,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -132,8 +130,7 @@ namespace OnlineStore.DeviceLibrary
{
{
int
subType
=
300
+
i
;
int
subType
=
300
+
i
;
string
config
=
appPath
+
dischargeLineConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
string
config
=
appPath
+
dischargeLineConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
DischargeLine_Config
moveConfig
=
CSVConfigReader
.
LoadDischargeLineConfig
(
subType
,
config
);
DischargeLine_Config
moveConfig
=
CSVConfigReader
.
LoadDischargeLineConfig
(
subType
,
DeviceType
.
DischargeLine
,
config
);
moveConfig
.
SetIO
(
subType
);
moveConfig
.
SetIO
(
subType
);
disChargeLineMap
.
Add
(
subType
,
moveConfig
);
disChargeLineMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
...
@@ -166,9 +163,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -166,9 +163,7 @@ namespace OnlineStore.DeviceLibrary
//位置配置到文件中
//位置配置到文件中
string
appPath
=
Application
.
StartupPath
;
string
appPath
=
Application
.
StartupPath
;
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_MoveEquip
);
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_MoveEquip
);
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
config
.
Id
.
ToString
().
PadLeft
(
2
,
'0'
)
+
".csv"
);
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
config
.
Id
.
ToString
().
PadLeft
(
2
,
'0'
)
+
".csv"
);
// moveECMap[config.Id] = config;
allConfigMap
[
config
.
Id
]
=
config
;
allConfigMap
[
config
.
Id
]
=
config
;
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
MoveEquip_Config
));
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
MoveEquip_Config
));
if
(!
result
)
if
(!
result
)
...
@@ -191,7 +186,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -191,7 +186,6 @@ namespace OnlineStore.DeviceLibrary
int
id
=
config
.
Id
-
100
;
int
id
=
config
.
Id
-
100
;
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
// feedingECMap[config.Id] = config;
allConfigMap
[
config
.
Id
]
=
config
;
allConfigMap
[
config
.
Id
]
=
config
;
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
FeedingEquip_Config
));
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
FeedingEquip_Config
));
if
(!
result
)
if
(!
result
)
...
@@ -213,7 +207,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -213,7 +207,6 @@ namespace OnlineStore.DeviceLibrary
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_ProvidingEquip
);
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_ProvidingEquip
);
int
id
=
config
.
Id
-
200
;
int
id
=
config
.
Id
-
200
;
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
// providingECMap[config.Id] = config;
allConfigMap
[
config
.
Id
]
=
config
;
allConfigMap
[
config
.
Id
]
=
config
;
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
ProvidingEquip_Config
));
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
ProvidingEquip_Config
));
if
(!
result
)
if
(!
result
)
...
...
source/DeviceLibrary/assemblyLine/DischargeLine.cs
查看文件 @
8b9862c
...
@@ -230,15 +230,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -230,15 +230,11 @@ namespace OnlineStore.DeviceLibrary
}
}
protected
override
void
StopMoveProcess
()
{
}
/// <summary>
/// <summary>
/// 停止运动
/// 停止运动
/// </summary>
/// </summary>
public
override
void
StopMove
()
public
override
void
StopMove
()
{
{
runStatus
=
LineRunStatus
.
Busy
;
runStatus
=
LineRunStatus
.
Busy
;
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
SecondMoveInfo
.
EndMove
();
SecondMoveInfo
.
EndMove
();
...
...
source/DeviceLibrary/assemblyLine/EquipBase.cs
查看文件 @
8b9862c
...
@@ -33,7 +33,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -33,7 +33,9 @@ namespace OnlineStore.DeviceLibrary
protected
int
currMoveTrayNum
=
0
;
protected
int
currMoveTrayNum
=
0
;
protected
abstract
void
ReturnHomeProcess
();
protected
abstract
void
ReturnHomeProcess
();
protected
abstract
void
StopMoveProcess
();
protected
virtual
void
StopMoveProcess
()
{
}
public
abstract
void
TimerProcess
();
public
abstract
void
TimerProcess
();
protected
abstract
void
CheckFixtureProcess
();
protected
abstract
void
CheckFixtureProcess
();
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
8b9862c
...
@@ -221,30 +221,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -221,30 +221,6 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
protected
override
void
StopMoveProcess
()
{
if
(
MoveInfo
.
IsInWait
)
{
CheckWait
(
MoveInfo
);
}
if
(!
MoveInfo
.
IsInWait
)
{
switch
(
MoveInfo
.
MoveStep
)
{
case
LineMoveStep
.
MH_UpDownCylinder_Up
:
break
;
case
LineMoveStep
.
MH_OtherCylinder_Back
:
break
;
default
:
break
;
}
}
}
public
override
void
StopMove
()
public
override
void
StopMove
()
{
{
}
}
...
...
source/DeviceLibrary/assemblyLine/LineBean.cs
查看文件 @
8b9862c
...
@@ -948,15 +948,15 @@ namespace OnlineStore.DeviceLibrary
...
@@ -948,15 +948,15 @@ namespace OnlineStore.DeviceLibrary
{
{
IsScanCode
=
false
;
IsScanCode
=
false
;
foreach
(
MoveEquip
store
in
this
.
AllEquipMap
.
Values
)
foreach
(
MoveEquip
equip
in
this
.
AllEquipMap
.
Values
)
{
{
if
(!
store
.
IsDebug
)
if
(!
equip
.
IsDebug
)
{
{
store
.
StopRun
();
equip
.
StopRun
();
}
}
else
else
{
{
store
.
CloseCylinderStop
();
equip
.
CloseCylinderStop
();
}
}
}
}
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
...
...
source/DeviceLibrary/assemblyLine/MoveEquip.cs
查看文件 @
8b9862c
...
@@ -269,10 +269,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -269,10 +269,6 @@ namespace OnlineStore.DeviceLibrary
{
{
ResetProcess
();
ResetProcess
();
}
}
protected
override
void
StopMoveProcess
()
{
}
/// <summary>
/// <summary>
/// 停止运动
/// 停止运动
/// </summary>
/// </summary>
...
...
source/DeviceLibrary/assemblyLine/ProvidingEquip.cs
查看文件 @
8b9862c
...
@@ -187,10 +187,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -187,10 +187,6 @@ namespace OnlineStore.DeviceLibrary
{
{
ResetProcess
();
ResetProcess
();
}
}
protected
override
void
StopMoveProcess
()
{
}
public
override
void
StopMove
()
public
override
void
StopMove
()
{
{
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
...
@@ -206,8 +202,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -206,8 +202,6 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
}
}
public
override
void
StartInStoreMove
(
InOutParam
param
)
public
override
void
StartInStoreMove
(
InOutParam
param
)
{
{
...
...
source/DeviceLibrary/assemblyLine/TrayManager.cs
查看文件 @
8b9862c
...
@@ -88,32 +88,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -88,32 +88,7 @@ namespace OnlineStore.DeviceLibrary
}
}
return
null
;
return
null
;
}
}
///// <summary>
///// 托盘是否可以累积扔盘,判断是出库的托盘,并且所放的托盘为七寸
///// </summary>
//public static bool IsCanOutPush(int trayNum)
//{
// lock (fixtureMapLock)
// {
// if (fixtureCodeFullMap.ContainsKey(trayNum))
// {
// TrayInfo info = fixtureCodeFullMap[trayNum];
// if (info.IsFull == false)
// {
// return true;
// }
// if (info.InOrOutStore.Equals(2) && info.BagWidth.Equals(CanPushBagWidth))
// {
// return true;
// }
// }
// }
// return false;
//}
//public static void UpdateFixtureValue(int trayNum, bool isFull, int inOrOut)
//{
// UpdateFixtureValue(trayNum, isFull, inOrOut, 0);
//}
/// <summary>
/// <summary>
/// 更新对应的盘号(1-6)是否有料盘
/// 更新对应的盘号(1-6)是否有料盘
/// </summary>
/// </summary>
...
...
source/DeviceLibrary/model/KTK_Store.cs
查看文件 @
8b9862c
...
@@ -31,7 +31,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -31,7 +31,7 @@ namespace OnlineStore.DeviceLibrary
/// 提示消息,一般发给服务器后清空(LineBean表示报警提示消息,BoxBean表示出入库失败的原因记录)
/// 提示消息,一般发给服务器后清空(LineBean表示报警提示消息,BoxBean表示出入库失败的原因记录)
/// </summary>
/// </summary>
public
string
WarnMsg
=
""
;
public
string
WarnMsg
=
""
;
public
Stor
eConfig
baseConfig
=
null
;
public
Devic
eConfig
baseConfig
=
null
;
public
string
Name
{
get
;
set
;
}
public
string
Name
{
get
;
set
;
}
public
int
DeviceID
{
get
;
set
;
}
public
int
DeviceID
{
get
;
set
;
}
/// <summary>
/// <summary>
...
...
source/DeviceLibrary/model/
Stor
eMoveInfo.cs
→
source/DeviceLibrary/model/
Lin
eMoveInfo.cs
查看文件 @
8b9862c
文件被删除
source/LoadCVSLibrary/LoadCSVLibrary.csproj
查看文件 @
8b9862c
...
@@ -54,13 +54,12 @@
...
@@ -54,13 +54,12 @@
<Compile Include="storeConfig\config\DischargeLine_Config.cs" />
<Compile Include="storeConfig\config\DischargeLine_Config.cs" />
<Compile Include="storeConfig\config\ProvidingEquip_Config.cs" />
<Compile Include="storeConfig\config\ProvidingEquip_Config.cs" />
<Compile Include="storeConfig\config\MoveEquip_Config.cs" />
<Compile Include="storeConfig\config\MoveEquip_Config.cs" />
<Compile Include="storeConfig\config\StoreType.cs" />
<Compile Include="storeConfig\config\IO_Type.cs" />
<Compile Include="storeConfig\config\IO_Type.cs" />
<Compile Include="CSVAttribute.cs" />
<Compile Include="CSVAttribute.cs" />
<Compile Include="storeConfig\CSVConfigReader.cs" />
<Compile Include="storeConfig\CSVConfigReader.cs" />
<Compile Include="CSVReaderBase.cs" />
<Compile Include="CSVReaderBase.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="storeConfig\config\
Stor
eConfig.cs" />
<Compile Include="storeConfig\config\
Devic
eConfig.cs" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj">
<ProjectReference Include="..\Common\Common.csproj">
...
...
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
查看文件 @
8b9862c
...
@@ -134,39 +134,33 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -134,39 +134,33 @@ namespace OnlineStore.LoadCSVLibrary
}
}
return
configList
;
return
configList
;
}
}
public
static
Line_Config
LoadLineConfig
(
int
storeId
,
string
cid
,
string
storeT
ype
,
string
filePath
)
public
static
Line_Config
LoadLineConfig
(
int
storeId
,
string
cid
,
string
t
ype
,
string
filePath
)
{
{
Line_Config
config
=
new
Line_Config
(
storeId
,
cid
,
storeType
,
filePath
);
Line_Config
config
=
new
Line_Config
(
storeId
,
cid
,
type
,
filePath
);
return
(
Line_Config
)
LoadConfig
(
config
);
return
(
Line_Config
)
LoadConfig
(
config
);
}
}
public
static
DischargeLine_Config
LoadDischargeLineConfig
(
int
storeId
,
string
filePath
)
public
static
DischargeLine_Config
LoadDischargeLineConfig
(
int
storeId
,
string
type
,
string
filePath
)
{
{
DischargeLine_Config
config
=
new
DischargeLine_Config
(
storeId
,
storeId
+
"_DischargeLine"
,
""
,
filePath
);
DischargeLine_Config
config
=
new
DischargeLine_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
DischargeLine_Config
)
LoadConfig
(
config
);
return
(
DischargeLine_Config
)
LoadConfig
(
config
);
}
}
public
static
MoveEquip_Config
LoadMoveConfig
(
int
storeId
,
string
type
,
string
filePath
)
public
static
MoveEquip_Config
LoadMoveConfig
(
int
storeId
,
string
filePath
)
{
{
MoveEquip_Config
config
=
new
MoveEquip_Config
(
storeId
,
storeId
+
"_MoveEquip"
,
""
,
filePath
);
MoveEquip_Config
config
=
new
MoveEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
MoveEquip_Config
)
LoadConfig
(
config
);
return
(
MoveEquip_Config
)
LoadConfig
(
config
);
}
}
public
static
FeedingEquip_Config
LoadFeedingConfig
(
int
storeId
,
string
filePath
)
public
static
FeedingEquip_Config
LoadFeedingConfig
(
int
storeId
,
string
type
,
string
filePath
)
{
{
FeedingEquip_Config
config
=
new
FeedingEquip_Config
(
storeId
,
storeId
+
"_FeedingEquip"
,
""
,
filePath
);
FeedingEquip_Config
config
=
new
FeedingEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
FeedingEquip_Config
)
LoadConfig
(
config
);
return
(
FeedingEquip_Config
)
LoadConfig
(
config
);
}
}
public
static
ProvidingEquip_Config
LoadProvidingConfig
(
int
storeId
,
string
filePath
)
public
static
ProvidingEquip_Config
LoadProvidingConfig
(
int
storeId
,
string
type
,
string
filePath
)
{
{
ProvidingEquip_Config
config
=
new
ProvidingEquip_Config
(
storeId
,
storeId
+
"_ProvidingEquip"
,
""
,
filePath
);
ProvidingEquip_Config
config
=
new
ProvidingEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
ProvidingEquip_Config
)
LoadConfig
(
config
);
return
(
ProvidingEquip_Config
)
LoadConfig
(
config
);
}
}
public
static
StoreConfig
LoadConfig
(
Stor
eConfig
config
)
public
static
DeviceConfig
LoadConfig
(
Devic
eConfig
config
)
{
{
LOGGER
.
Info
(
"开始读取文件:"
+
config
.
ConfigFilePath
);
LOGGER
.
Info
(
"开始读取文件:"
+
config
.
ConfigFilePath
);
if
(
config
==
null
||
config
.
ConfigFilePath
.
Equals
(
""
))
if
(
config
==
null
||
config
.
ConfigFilePath
.
Equals
(
""
))
...
@@ -179,7 +173,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -179,7 +173,7 @@ namespace OnlineStore.LoadCSVLibrary
return
config
;
return
config
;
}
}
public
static
bool
SaveConfig
(
string
configStr
,
Stor
eConfig
config
,
Type
type
)
public
static
bool
SaveConfig
(
string
configStr
,
Devic
eConfig
config
,
Type
type
)
{
{
//Type type = typeof(MoveEquip_Config);
//Type type = typeof(MoveEquip_Config);
//if(config is FeedingEquip_Config)
//if(config is FeedingEquip_Config)
...
...
source/LoadCVSLibrary/storeConfig/ConfigItemBase.cs
查看文件 @
8b9862c
...
@@ -234,9 +234,9 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -234,9 +234,9 @@ namespace OnlineStore.LoadCSVLibrary
{
{
get
get
{
{
if
(
StoreConfig
.
ProIpMap
!=
null
&&
Stor
eConfig
.
ProIpMap
.
ContainsKey
(
DeviceName
))
if
(
DeviceConfig
.
ProIpMap
!=
null
&&
Devic
eConfig
.
ProIpMap
.
ContainsKey
(
DeviceName
))
{
{
return
Stor
eConfig
.
ProIpMap
[
DeviceName
];
return
Devic
eConfig
.
ProIpMap
[
DeviceName
];
}
}
return
DeviceName
;
return
DeviceName
;
}
}
...
...
source/LoadCVSLibrary/storeConfig/config/
Stor
eConfig.cs
→
source/LoadCVSLibrary/storeConfig/config/
Devic
eConfig.cs
查看文件 @
8b9862c
...
@@ -7,7 +7,7 @@ using System.Text;
...
@@ -7,7 +7,7 @@ using System.Text;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
Stor
eConfig
public
class
Devic
eConfig
{
{
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDIList
{
get
;
set
;
}
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDIList
{
get
;
set
;
}
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDOList
{
get
;
set
;
}
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDOList
{
get
;
set
;
}
...
@@ -64,12 +64,12 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -64,12 +64,12 @@ namespace OnlineStore.LoadCSVLibrary
MustHaveDIList
=
new
List
<
string
>();
MustHaveDIList
=
new
List
<
string
>();
MustHaveDOList
=
new
List
<
string
>();
MustHaveDOList
=
new
List
<
string
>();
}
}
public
Stor
eConfig
()
public
Devic
eConfig
()
{
{
initMustHavePro
();
initMustHavePro
();
}
}
public
Stor
eConfig
(
int
id
,
string
cid
,
string
type
,
string
filepath
)
public
Devic
eConfig
(
int
id
,
string
cid
,
string
type
,
string
filepath
)
{
{
initMustHavePro
();
initMustHavePro
();
MustHaveDIList
=
new
List
<
string
>();
MustHaveDIList
=
new
List
<
string
>();
...
@@ -291,13 +291,13 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -291,13 +291,13 @@ namespace OnlineStore.LoadCSVLibrary
Dictionary
<
string
,
ConfigIO
>
doList
=
new
Dictionary
<
string
,
ConfigIO
>();
Dictionary
<
string
,
ConfigIO
>
doList
=
new
Dictionary
<
string
,
ConfigIO
>();
Dictionary
<
string
,
ConfigIO
>
diList
=
new
Dictionary
<
string
,
ConfigIO
>();
Dictionary
<
string
,
ConfigIO
>
diList
=
new
Dictionary
<
string
,
ConfigIO
>();
if
(
Stor
eConfig
.
SubDIList
.
ContainsKey
(
subType
))
if
(
Devic
eConfig
.
SubDIList
.
ContainsKey
(
subType
))
{
{
diList
=
Stor
eConfig
.
SubDIList
[
subType
];
diList
=
Devic
eConfig
.
SubDIList
[
subType
];
}
}
if
(
Stor
eConfig
.
SubDOList
.
ContainsKey
(
subType
))
if
(
Devic
eConfig
.
SubDOList
.
ContainsKey
(
subType
))
{
{
doList
=
Stor
eConfig
.
SubDOList
[
subType
];
doList
=
Devic
eConfig
.
SubDOList
[
subType
];
}
}
foreach
(
string
key
in
diList
.
Keys
)
foreach
(
string
key
in
diList
.
Keys
)
{
{
...
@@ -354,4 +354,5 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -354,4 +354,5 @@ namespace OnlineStore.LoadCSVLibrary
public
static
string
DischargeLine
=
"DischargeLine"
;
public
static
string
DischargeLine
=
"DischargeLine"
;
}
}
}
}
source/LoadCVSLibrary/storeConfig/config/DischargeLine_Config.cs
查看文件 @
8b9862c
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
DischargeLine_Config
:
Stor
eConfig
public
class
DischargeLine_Config
:
Devic
eConfig
{
{
public
DischargeLine_Config
()
public
DischargeLine_Config
()
:
base
()
:
base
()
...
...
source/LoadCVSLibrary/storeConfig/config/FeedingEquip_Config.cs
查看文件 @
8b9862c
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
FeedingEquip_Config
:
Stor
eConfig
public
class
FeedingEquip_Config
:
Devic
eConfig
{
{
public
FeedingEquip_Config
()
public
FeedingEquip_Config
()
:
base
()
:
base
()
...
...
source/LoadCVSLibrary/storeConfig/config/Line_Config.cs
查看文件 @
8b9862c
...
@@ -11,7 +11,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -11,7 +11,7 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// <summary>
/// 流水线配置
/// 流水线配置
/// </summary>
/// </summary>
public
class
Line_Config
:
Stor
eConfig
public
class
Line_Config
:
Devic
eConfig
{
{
public
Line_Config
()
public
Line_Config
()
:
base
()
:
base
()
...
...
source/LoadCVSLibrary/storeConfig/config/MoveEquip_Config.cs
查看文件 @
8b9862c
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
MoveEquip_Config
:
Stor
eConfig
public
class
MoveEquip_Config
:
Devic
eConfig
{
{
public
MoveEquip_Config
()
public
MoveEquip_Config
()
:
base
()
:
base
()
...
...
source/LoadCVSLibrary/storeConfig/config/ProvidingEquip_Config.cs
查看文件 @
8b9862c
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
...
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
ProvidingEquip_Config
:
Stor
eConfig
public
class
ProvidingEquip_Config
:
Devic
eConfig
{
{
public
ProvidingEquip_Config
()
public
ProvidingEquip_Config
()
:
base
()
:
base
()
...
...
source/LoadCVSLibrary/storeConfig/config/StoreType.cs
deleted
100644 → 0
查看文件 @
34de589
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
OnlineStore.LoadCSVLibrary
{
public
class
StoreType
{
/// <summary>
/// 流水线装置
/// </summary>
public
static
string
RC_LINE
=
"RC_LINE"
;
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论