-
Notifications
You must be signed in to change notification settings - Fork 0
/
CustomObjects.cs
99 lines (88 loc) · 3.71 KB
/
CustomObjects.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
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dxT183299
{
public class CustomAppointment
{
private DateTime startTime;
private DateTime endTime;
private string subject;
private int status;
private string description;
private int label;
private string location;
private bool allday;
private int eventType;
private string recurrenceInfo;
private string reminderInfo;
private object ownerId;
private int id;
private int percentComplete;
public DateTime StartTime { get { return startTime; } set { startTime = value; } }
public DateTime EndTime { get { return endTime; } set { endTime = value; } }
public string Subject { get { return subject; } set { subject = value; } }
public int Status { get { return status; } set { status = value; } }
public string Description { get { return description; } set { description = value; } }
public int Label { get { return label; } set { label = value; } }
public string Location { get { return location; } set { location = value; } }
public bool AllDay { get { return allday; } set { allday = value; } }
public int EventType { get { return eventType; } set { eventType = value; } }
public string RecurrenceInfo { get { return recurrenceInfo; } set { recurrenceInfo = value; } }
public string ReminderInfo { get { return reminderInfo; } set { reminderInfo = value; } }
public object OwnerId { get { return ownerId; } set { ownerId = value; } }
public int Id { get { return id; } set { id = value; } }
public int PercentComplete { get { return percentComplete; } set { percentComplete = value; } }
public CustomAppointment(){}
public CustomAppointment(int id, string subject, object ownerId, int status, int label, DateTime startTime, DateTime endTime, int percentComplete)
{
this.id = id;
this.subject = subject;
this.ownerId = ownerId;
this.startTime = startTime;
this.endTime = endTime;
this.status = status;
this.label = label;
this.percentComplete = percentComplete;
}
}
public class CustomResource {
private string name;
private int resID;
private Color resColor;
private int parentId;
public string Name { get { return name; } set { name = value; } }
public int ResID { get { return resID; } set { resID = value; } }
public Color ResColor { get { return resColor; } set { resColor = value; } }
public int ParentId { get { return parentId; } set { parentId = value; } }
public CustomResource()
{
}
public CustomResource(int res_id, string name, Color resColor, int parentId)
{
this.resID = res_id;
this.name = name;
this.resColor = resColor;
this.parentId = parentId;
}
}
public class CustomDependency
{
private int dependentId;
public int DependentId { get { return dependentId; } set { dependentId = value; } }
private int parentId;
public int ParentId { get { return parentId; } set { parentId = value; } }
private int type;
public int Type { get { return type; } set { type = value; } }
public CustomDependency(){}
public CustomDependency(int parentId, int dependentId, int type)
{
this.parentId = parentId;
this.dependentId = dependentId;
this.type = type;
}
}
}