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
e6bcbe0b
Commit
e6bcbe0b
authored
Dec 07, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 WarningSystem.Init
parent
cbf505fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
WarningSystem.cs
...t.FLY.OBJComponents/OBJComponents/Server/WarningSystem.cs
+6
-7
No files found.
Project.FLY.OBJComponents/OBJComponents/Server/WarningSystem.cs
View file @
e6bcbe0b
...
...
@@ -27,12 +27,12 @@ namespace FLY.OBJComponents.Server
/// <summary>
/// 当前正在报警的!!!!!!
/// </summary>
public
IBuffer
<
FlyData_WarningHistory
>
ReasonList
{
get
;
}
public
IBuffer
<
FlyData_WarningHistory
>
ReasonList
{
get
;
private
set
;
}
/// <summary>
/// 最近报警列表
/// </summary>
public
IBuffer
<
FlyData_WarningHistory
>
NewestList
{
get
;
}
public
IBuffer
<
FlyData_WarningHistory
>
NewestList
{
get
;
private
set
;
}
#
endregion
...
...
@@ -42,16 +42,15 @@ namespace FLY.OBJComponents.Server
{
Enable
=
true
;
ReasonList
=
new
Buffer
<
FlyData_WarningHistory
>();
}
public
void
Init
()
{
NewestList
=
new
BufferStorage
<
FlyData_WarningHistory
>(
"warning_newest.csv"
);
}
public
WarningSystem
(
IBufferAdd
<
FlyData_WarningHistory
>
newestList
)
public
void
Init
(
IBufferAdd
<
FlyData_WarningHistory
>
newestList
)
{
Enable
=
true
;
ReasonList
=
new
Buffer
<
FlyData_WarningHistory
>();
NewestList
=
newestList
;
}
public
void
Reset
()
{
ReasonList
.
Reset
();
...
...
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