Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
SmartShelf
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 623ac09b
由
LN
编写于
2020-06-10 19:32:38 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
ee19934e
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
5 行删除
DeviceLibrary/manager/BOXManager.cs
SmartShelf/App.config
DeviceLibrary/manager/BOXManager.cs
查看文件 @
623ac09
...
@@ -130,14 +130,16 @@ namespace SmartShelf.DeviceLibrary
...
@@ -130,14 +130,16 @@ namespace SmartShelf.DeviceLibrary
if
(
ServerPort
>
0
)
if
(
ServerPort
>
0
)
{
{
PosId_SpiltChar
=
';'
;
PosId_SpiltChar
=
';'
;
PosId_Color_SpiltChar
=
'@'
;
HttpServer
.
Start
(
ServerOnReceived
,
ServerPort
);
HttpServer
.
Start
(
ServerOnReceived
,
ServerPort
);
LogUtil
.
info
(
"启动HttpServer接口服务完成,
分隔符 "
+
PosId_SpiltChar
+
"
,端口号【"
+
ServerPort
+
"】"
);
LogUtil
.
info
(
"启动HttpServer接口服务完成,
[ "
+
PosId_SpiltChar
+
"]["
+
PosId_Color_SpiltChar
+
"]
,端口号【"
+
ServerPort
+
"】"
);
}
}
else
if
(!
String
.
IsNullOrEmpty
(
host
))
else
if
(!
String
.
IsNullOrEmpty
(
host
))
{
{
PosId_SpiltChar
=
'|'
;
PosId_SpiltChar
=
'|'
;
PosId_Color_SpiltChar
=
'='
;
serverConTimer
.
Start
();
serverConTimer
.
Start
();
LogUtil
.
info
(
"启动与服务器连接定时器完成,
分隔符 "
+
PosId_SpiltChar
+
"
,地址 【"
+
host
+
"】"
);
LogUtil
.
info
(
"启动与服务器连接定时器完成,
[ "
+
PosId_SpiltChar
+
"]["
+
PosId_Color_SpiltChar
+
"]
,地址 【"
+
host
+
"】"
);
}
}
else
else
{
{
...
...
SmartShelf/App.config
查看文件 @
623ac09
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
<
add
key
=
"App_AutoRun"
value
=
"0"
/>
<
add
key
=
"App_AutoRun"
value
=
"0"
/>
<
add
key
=
"App_Title"
value
=
"料架"
/>
<
add
key
=
"App_Title"
value
=
"料架"
/>
<!--服务器端口号-->
<!--服务器端口号-->
<
add
key
=
"ServerPort"
value
=
"
8080
"
/>
<
add
key
=
"ServerPort"
value
=
""
/>
<!--服务器地址-->
<!--服务器地址-->
<
add
key
=
"HttpServerAddr"
value
=
"http://192.168.200.22:8080/"
/
>
<
!--<
add
key
=
"HttpServerAddr"
value
=
"http://192.168.200.22:8080/"
/>--
>
<!--料架灯类型,
0
=单色灯料架,
1
=三色灯料架,
2
=
art
-
net
-->
<!--料架灯类型,
0
=单色灯料架,
1
=三色灯料架,
2
=
art
-
net
-->
<
add
key
=
"DeviceLedType"
value
=
"2"
/>
<
add
key
=
"DeviceLedType"
value
=
"2"
/>
<!--料仓库位配置文件-->
<!--料仓库位配置文件-->
<
add
key
=
"Store_Position_Config"
value
=
"\Config\linePositions.csv"
/>
<
add
key
=
"Store_Position_Config"
value
=
"\Config\linePositions.csv"
/>
<!--料仓
cid
-->
<!--料仓
cid
-->
<
add
key
=
"Store_CID"
value
=
"
rc1272_1
"
/>
<
add
key
=
"Store_CID"
value
=
"
so572
"
/>
<
add
key
=
"BoxCount"
value
=
"1"
/>
<
add
key
=
"BoxCount"
value
=
"1"
/>
<
add
key
=
"DefaultDeviceIP"
value
=
"192.168.201.191"
/>
<
add
key
=
"DefaultDeviceIP"
value
=
"192.168.201.191"
/>
<!--状态灯地址,;分割-->
<!--状态灯地址,;分割-->
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论