-
-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathProgressReportInfo.cs
More file actions
52 lines (49 loc) · 1.68 KB
/
Copy pathProgressReportInfo.cs
File metadata and controls
52 lines (49 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace System
{
public class ProgressReportInfo
{
public int id { get; set; }
public int operation { get; set; }
public DateTime start_time { get; set; }
public DateTime end_time { get; set; }
public bool is_completed { get; set; }
public bool has_error { get; set; }
public bool is_cancelled { get; set; }
public string filename { get; set; }
public long total_tables { get; set; }
public long total_rows { get; set; }
public long total_rows_current_table { get; set; }
public string current_table { get; set; }
public long current_table_index { get; set; }
public long current_row { get; set; }
public long current_row_in_current_table { get; set; }
public long total_bytes { get; set; }
public long current_bytes { get; set; }
public long percent_complete { get; set; }
public string remarks { get; set; }
public int dbfile_id { get; set; }
public DateTime last_update_time { get; set; }
public bool client_request_cancel_task { get; set; }
public bool has_file { get; set; }
public string operationName
{
get
{
switch (operation)
{
case 1:
return "Backup";
case 2:
return "Retore";
case 3:
return "Generate Sample Data";
}
return "Unknown Operation: " + operation;
}
}
}
}