Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
VerticalStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3aeffef1
由
LN
编写于
2020-07-20 19:42:58 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
报警超时时间修改
1 个父辈
ec79ee36
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
1 行删除
source/Common/Setting_Init.cs
source/DeviceLibrary/store/model/StoreMoveInfo.cs
source/Common/Setting_Init.cs
查看文件 @
3aeffef
...
@@ -11,6 +11,7 @@ namespace OnlineStore.Common
...
@@ -11,6 +11,7 @@ namespace OnlineStore.Common
/// </summary>
/// </summary>
public
class
Setting_Init
public
class
Setting_Init
{
{
public
static
readonly
string
TimeOutSeconds
=
"TimeOutSeconds"
;
public
static
readonly
string
DefaultDeviceIP
=
"DefaultDeviceIP"
;
public
static
readonly
string
DefaultDeviceIP
=
"DefaultDeviceIP"
;
public
static
readonly
string
ColorRuleConfig
=
"ColorRuleConfig"
;
public
static
readonly
string
ColorRuleConfig
=
"ColorRuleConfig"
;
public
static
readonly
string
DeviceLedType
=
"DeviceLedType"
;
public
static
readonly
string
DeviceLedType
=
"DeviceLedType"
;
...
...
source/DeviceLibrary/store/model/StoreMoveInfo.cs
查看文件 @
3aeffef
...
@@ -15,9 +15,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -15,9 +15,14 @@ namespace OnlineStore.DeviceLibrary
public
class
StoreMoveInfo
public
class
StoreMoveInfo
{
{
public
string
Name
=
""
;
public
string
Name
=
""
;
public
int
TimeOutSeconds
=
60
;
public
int
TimeOutSeconds
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
TimeOutSeconds
)
;
public
StoreMoveInfo
(
int
storeId
)
public
StoreMoveInfo
(
int
storeId
)
{
{
if
(
TimeOutSeconds
<=
0
)
{
TimeOutSeconds
=
180
;
ConfigAppSettings
.
SaveValue
(
Setting_Init
.
TimeOutSeconds
,
TimeOutSeconds
);
}
MoveType
=
MoveType
.
None
;
MoveType
=
MoveType
.
None
;
MoveParam
=
new
InOutParam
(
MoveType
.
None
,
""
);
MoveParam
=
new
InOutParam
(
MoveType
.
None
,
""
);
this
.
storeId
=
storeId
;
this
.
storeId
=
storeId
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论