forked from SageFrame/SageFrameV3.8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchedule.cs
106 lines (79 loc) · 2.94 KB
/
Schedule.cs
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
#endregion
namespace SageFrame.Scheduler
{
[DataContract]
//[KnownType(typeof(ScheduleHistory))]
[Serializable]
public class Schedule
{
[DataMember(Name="ScheduleID",Order=1)]
public int ScheduleID { get; set; }
[DataMember(Name="ScheduleName",Order=2)]
public string ScheduleName { get; set; }
[DataMember(Name="FullNamespace",Order=3)]
public string FullNamespace { get; set; }
[DataMember(Name="StartDate",Order=4)]
public string StartDate { get; set; }
[DataMember(Name="EndDate",Order=5)]
public string EndDate { get; set; }
[DataMember(Name="StartHour",Order=6)]
public int StartHour { get; set; }
[DataMember(Name="StartMin",Order=7)]
public int StartMin { get; set; }
[DataMember]
public int RepeatWeeks { get; set; }
[DataMember]
public int RepeatDays { get; set; }
[DataMember]
public int WeekOfMonth { get; set; }
[DataMember(Name="EveryHours",Order=8)]
public int EveryHours { get; set; }
[DataMember(Name="EveryMin",Order=9)]
public int EveryMin { get; set; }
[DataMember]
public List<int> Weekly { get; set; }
[DataMember]
public List<int> Monthly { get; set; }
[DataMember]
public List<int> Days { get; set; }
[DataMember(Name="ObjectDependencies",Order=10)]
public string ObjectDependencies { get; set; }
[DataMember(Name="RetryTimeLapse",Order=11)]
public int RetryTimeLapse { get; set; }
[DataMember(Name="RetryFrequencyUnit",Order=12)]
public int RetryFrequencyUnit { get; set; }
[DataMember(Name="AttachToEvent",Order=13)]
public string AttachToEvent { get; set; }
[DataMember(Name="CatchUpEnabled",Order=14)]
public bool CatchUpEnabled { get; set; }
[DataMember(Name="Servers",Order=15)]
public string Servers { get; set; }
[DataMember]
public string CreatedByUserID { get; set; }
public string CreatedOnDate { get; set; }
public int LastModifiedbyUserID { get; set; }
public string LastModifiedDate { get; set; }
public int ThreadID { get; set; }
public int ProcessGroup { get; set; }
[DataMember]
public string NextStart { get; set; }
[DataMember]
public bool IsEnable { get; set; }
[DataMember(Name="RunningMode",Order=16)]
public RunningMode RunningMode { get; set; }
[DataMember(Name = "AssemblyFileName", Order = 17)]
public string AssemblyFileName { get; set; }
public Schedule() { }
}
}