Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.H2V
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.H2V
Commits
e6566edf
Commit
e6566edf
authored
Sep 17, 2022
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
操作日志添加窗口名称
parent
58c14532
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
0 deletions
+77
-0
VIZ.H2V.Storage/CSV/Log/LogOperation.cs
+77
-0
No files found.
VIZ.H2V.Storage/CSV/Log/LogOperation.cs
0 → 100644
View file @
e6566edf
using
CsvHelper.Configuration
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
VIZ.H2V.Storage
{
/// <summary>
/// 操作日志映射
/// </summary>
public
class
LogOperationMap
:
ClassMap
<
LogOperation
>
{
public
LogOperationMap
()
{
this
.
Map
(
p
=>
p
.
ID
).
Name
(
"编号"
);
this
.
Map
(
p
=>
p
.
ViewKey
).
Name
(
"窗口"
);
this
.
Map
(
p
=>
p
.
StrategyType
).
Name
(
"机位"
);
this
.
Map
(
p
=>
p
.
Operation
).
Name
(
"操作"
);
this
.
Map
(
p
=>
p
.
BeginTime
).
Name
(
"开始时间"
);
this
.
Map
(
p
=>
p
.
EndTime
).
Name
(
"结束时间"
);
this
.
Map
(
p
=>
p
.
Duration
).
Name
(
"持续时间"
);
}
}
/// <summary>
/// 操作日志
/// </summary>
public
class
LogOperation
{
/// <summary>
/// 统计ID
/// </summary>
private
static
int
all_id
=
1
;
public
LogOperation
()
{
this
.
ID
=
all_id
++;
}
/// <summary>
/// 编号
/// </summary>
public
int
ID
{
get
;
set
;
}
/// <summary>
/// 视图键
/// </summary>
public
string
ViewKey
{
get
;
set
;
}
/// <summary>
/// 算法类型
/// </summary>
public
string
StrategyType
{
get
;
set
;
}
/// <summary>
/// 操作类型
/// </summary>
public
string
Operation
{
get
;
set
;
}
/// <summary>
/// 开始时间
/// </summary>
public
DateTime
BeginTime
{
get
;
set
;
}
/// <summary>
/// 结束时间
/// </summary>
public
DateTime
EndTime
{
get
;
set
;
}
/// <summary>
/// 持续时间
/// </summary>
public
TimeSpan
Duration
{
get
;
set
;
}
}
}
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