Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.TimeSlice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.TimeSlice
Commits
d9cbd1db
Commit
d9cbd1db
authored
Oct 11, 2022
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改默认值
parent
e4bd662b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
15 deletions
+2
-15
VIZ.TimeSlice.Module/MainView/ViewModel/MainViewModel.cs
+0
-5
VIZ.TimeSlice.Storage/Ini/Config/ClientConfig.cs
+0
-6
VIZ.TimeSlice/config/config.ini
+2
-4
No files found.
VIZ.TimeSlice.Module/MainView/ViewModel/MainViewModel.cs
View file @
d9cbd1db
...
@@ -390,11 +390,6 @@ namespace VIZ.TimeSlice.Module
...
@@ -390,11 +390,6 @@ namespace VIZ.TimeSlice.Module
/// </summary>
/// </summary>
private
readonly
static
string
CLIENT_PULL_MESSAGE_URL
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
ClientConfig
,
string
>(
p
=>
p
.
CLIENT_PULL_MESSAGE_URL
);
private
readonly
static
string
CLIENT_PULL_MESSAGE_URL
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
ClientConfig
,
string
>(
p
=>
p
.
CLIENT_PULL_MESSAGE_URL
);
/// <summary>
/// 推送间隔限制(单位:毫秒)
/// </summary>
private
readonly
static
int
CLIENT_PULL_MESSAGE_INTERVAL
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
ClientConfig
,
int
>(
p
=>
p
.
CLIENT_PULL_MESSAGE_INTERVAL
);
// ==========================================================
// ==========================================================
// Commond
// Commond
// ==========================================================
// ==========================================================
...
...
VIZ.TimeSlice.Storage/Ini/Config/ClientConfig.cs
View file @
d9cbd1db
...
@@ -17,11 +17,5 @@ namespace VIZ.TimeSlice.Storage
...
@@ -17,11 +17,5 @@ namespace VIZ.TimeSlice.Storage
/// </summary>
/// </summary>
[
Ini
(
Section
=
"Client"
,
DefaultValue
=
"http://localhost:8888/olympic/pull/message?status=1&path={path}"
,
Type
=
typeof
(
string
))]
[
Ini
(
Section
=
"Client"
,
DefaultValue
=
"http://localhost:8888/olympic/pull/message?status=1&path={path}"
,
Type
=
typeof
(
string
))]
public
string
CLIENT_PULL_MESSAGE_URL
{
get
;
set
;
}
public
string
CLIENT_PULL_MESSAGE_URL
{
get
;
set
;
}
/// <summary>
/// 推送间隔限制(单位:毫秒)
/// </summary>
[
Ini
(
Section
=
"Client"
,
DefaultValue
=
"3000"
,
Type
=
typeof
(
int
))]
public
string
CLIENT_PULL_MESSAGE_INTERVAL
{
get
;
set
;
}
}
}
}
}
VIZ.TimeSlice/config/config.ini
View file @
d9cbd1db
...
@@ -27,6 +27,4 @@ format=mp4
...
@@ -27,6 +27,4 @@ format=mp4
; ============================================================
; ============================================================
[Client]
[Client]
; 推送消息地址
; 推送消息地址
CLIENT_PULL_MESSAGE_URL
=
http://localhost:8888/olympic/pull/message?status=1&path={path}
CLIENT_PULL_MESSAGE_URL
=
http://localhost:8888/olympic/pull/message?status=1&path={path}
; 推送间隔限制(单位:秒)
\ No newline at end of file
CLIENT_PULL_MESSAGE_INTERVAL
=
3
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment