Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
1205881f
Commit
1205881f
authored
Aug 24, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定点数据 GM_Fix,当闲置时, 通过 IsIgnoreDataWhenIdle 使能是否屏蔽数据推送
parent
ea048a3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
GM_Fix.cs
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Fix.cs
+5
-1
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Fix.cs
View file @
1205881f
...
@@ -23,6 +23,10 @@ namespace FLY.Thick.Base.Server
...
@@ -23,6 +23,10 @@ namespace FLY.Thick.Base.Server
public
bool
IsRunning
{
get
;
protected
set
;
}
public
bool
IsRunning
{
get
;
protected
set
;
}
#
endregion
#
endregion
/// <summary>
/// 闲置时(IsRunning==false) 忽略数据
/// </summary>
public
bool
IsIgnoreDataWhenIdle
{
get
;
set
;
}
=
true
;
protected
FlyADBase
.
FlyAD7
mFlyAD
;
protected
FlyADBase
.
FlyAD7
mFlyAD
;
protected
DynArea
mDynArea
;
protected
DynArea
mDynArea
;
protected
AD2ThickHandler
AD2Thick
;
protected
AD2ThickHandler
AD2Thick
;
...
@@ -47,7 +51,7 @@ namespace FLY.Thick.Base.Server
...
@@ -47,7 +51,7 @@ namespace FLY.Thick.Base.Server
void
flyad_TimeGridEvent
(
object
sender
,
FlyADBase
.
TimeGridEventArgs
e
)
void
flyad_TimeGridEvent
(
object
sender
,
FlyADBase
.
TimeGridEventArgs
e
)
{
{
if
(!
IsRunning
)
if
(
IsIgnoreDataWhenIdle
&&
!
IsRunning
)
return
;
return
;
DateTime
dt
=
e
.
Time
;
DateTime
dt
=
e
.
Time
;
...
...
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