Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-HCSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3ad8eb79
由
LN
编写于
2020-11-11 16:25:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
库位号默认3d
1 个父辈
a495a9b7
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
10 行增加
和
5 行删除
source/DeviceLibrary/StoreConfig/linePositions_1.csv
source/DeviceLibrary/StoreConfig/linePositions_2.csv
source/DeviceLibrary/acSingleStore/BoxBean.cs
source/DeviceLibrary/acSingleStore/StoreManager.cs
source/LoadCVSLibrary/position/CSVPositionReader.cs
source/DeviceLibrary/StoreConfig/linePositions_1.csv
查看文件 @
3ad8eb7
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/StoreConfig/linePositions_2.csv
查看文件 @
3ad8eb7
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/acSingleStore/BoxBean.cs
查看文件 @
3ad8eb7
...
...
@@ -57,8 +57,8 @@ namespace OnlineStore.DeviceLibrary
this
.
Config
=
config
;
this
.
CID
=
config
.
CID
;
//添加调试
IsDebug
=
config
.
ISDebug
.
Equals
(
1
);
IsDebug
=
config
.
ISDebug
.
Equals
(
1
);
UseCompress_Axis
=
true
;
Name
=
(
"左侧BOX_"
+
config
.
GetStoreId
()
+
" "
).
ToUpper
();
if
(
config
.
DeviceID
.
Equals
(
2
))
...
...
@@ -73,7 +73,7 @@ namespace OnlineStore.DeviceLibrary
foreach
(
ACStorePosition
position
in
positionList
)
{
bool
result
=
ACStorePosition
.
CheckPosition
(
position
,
Config
);
if
(
result
&&
position
.
StoreId
.
Equals
(
DeviceID
))
if
(
result
&&
position
.
StoreId
.
Equals
(
config
.
GetStoreId
()
))
{
PositionNumList
.
Add
(
position
.
PositionNum
);
}
...
...
source/DeviceLibrary/acSingleStore/StoreManager.cs
查看文件 @
3ad8eb7
...
...
@@ -96,9 +96,14 @@ namespace OnlineStore.DeviceLibrary
{
for
(
int
i
=
1
;
i
<=
count
;
i
++)
{
int
storeId
=
i
;
if
(
BoxList
.
ContainsKey
(
i
))
{
storeId
=
BoxList
[
i
].
GetStoreId
();
}
string
nameStr
=
i
.
ToString
().
PadLeft
(
1
,
'0'
);
string
fileN
=
positionConfigFile
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
CSVPositionReader
<
ACStorePosition
>.
AddCSVFile
(
fileN
,
i
);
CSVPositionReader
<
ACStorePosition
>.
AddCSVFile
(
fileN
,
storeId
);
}
}
else
...
...
source/LoadCVSLibrary/position/CSVPositionReader.cs
查看文件 @
3ad8eb7
...
...
@@ -257,7 +257,7 @@ namespace OnlineStore.LoadCSVLibrary
string
oldPosId
=
position
.
PositionNum
;
//08#AC1_18_3_18
string
newPosId
=
""
;
int
jIndex
=
oldPosId
.
IndexOf
(
"#"
);
string
louceng
=
"
4
D"
;
string
louceng
=
"
3
D"
;
string
storeId
=
storeIndex
.
ToString
().
PadLeft
(
2
,
'0'
);
if
(
jIndex
>
0
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论