| 1 | namespace IndianHealthService.ClinicalScheduling
|
---|
| 2 | {
|
---|
| 3 | using System;
|
---|
| 4 | using System.Drawing;
|
---|
| 5 | /// <summary>
|
---|
| 6 | /// This class was regenerated from Calendargrid.dll using Reflector.exe
|
---|
| 7 | /// by Sam Habiel for WorldVista. The original source code is lost.
|
---|
| 8 | /// </summary>
|
---|
| 9 | public class CGAvailability
|
---|
| 10 | {
|
---|
| 11 | private DateTime m_EndTime;
|
---|
| 12 | private int m_nAvailabilityType;
|
---|
| 13 | private int m_nBlue;
|
---|
| 14 | private int m_nGreen;
|
---|
| 15 | private int m_nRed;
|
---|
| 16 | private int m_nSlots;
|
---|
| 17 | private string m_sAccessRuleList;
|
---|
| 18 | private string m_sAccessTypeName;
|
---|
| 19 | private string m_sDisplayColor = "Cornsilk";
|
---|
| 20 | private string m_sNote;
|
---|
| 21 | private string m_sResourceList;
|
---|
| 22 | private DateTime m_StartTime;
|
---|
| 23 |
|
---|
| 24 | public CGAvailability()
|
---|
| 25 | {
|
---|
| 26 | Color color = Color.FromName("Khaki");
|
---|
| 27 | this.m_nRed = color.R;
|
---|
| 28 | this.m_nGreen = color.G;
|
---|
| 29 | this.m_nBlue = color.B;
|
---|
| 30 | this.m_sNote = "";
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public void Create(DateTime StartTime, DateTime EndTime, int nSlots)
|
---|
| 34 | {
|
---|
| 35 | this.m_StartTime = StartTime;
|
---|
| 36 | this.m_EndTime = EndTime;
|
---|
| 37 | this.m_nAvailabilityType = 0;
|
---|
| 38 | this.m_nSlots = nSlots;
|
---|
| 39 | this.m_sResourceList = "";
|
---|
| 40 | this.m_sAccessRuleList = "";
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots)
|
---|
| 44 | {
|
---|
| 45 | this.m_StartTime = StartTime;
|
---|
| 46 | this.m_EndTime = EndTime;
|
---|
| 47 | this.m_nAvailabilityType = nAvailabilityType;
|
---|
| 48 | this.m_nSlots = nSlots;
|
---|
| 49 | this.m_sResourceList = "";
|
---|
| 50 | this.m_sAccessRuleList = "";
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots, string sResourceList)
|
---|
| 54 | {
|
---|
| 55 | this.m_StartTime = StartTime;
|
---|
| 56 | this.m_EndTime = EndTime;
|
---|
| 57 | this.m_nAvailabilityType = nAvailabilityType;
|
---|
| 58 | this.m_nSlots = nSlots;
|
---|
| 59 | this.m_sResourceList = sResourceList;
|
---|
| 60 | this.m_sAccessRuleList = "";
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | public void Create(DateTime StartTime, DateTime EndTime, int nAvailabilityType, int nSlots, string sResourceList, string sAccessRuleList)
|
---|
| 64 | {
|
---|
| 65 | this.m_StartTime = StartTime;
|
---|
| 66 | this.m_EndTime = EndTime;
|
---|
| 67 | this.m_nAvailabilityType = nAvailabilityType;
|
---|
| 68 | this.m_nSlots = nSlots;
|
---|
| 69 | this.m_sResourceList = sResourceList;
|
---|
| 70 | this.m_sAccessRuleList = sAccessRuleList;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | public string AccessRuleList
|
---|
| 74 | {
|
---|
| 75 | get
|
---|
| 76 | {
|
---|
| 77 | return this.m_sAccessRuleList;
|
---|
| 78 | }
|
---|
| 79 | set
|
---|
| 80 | {
|
---|
| 81 | this.m_sAccessRuleList = value;
|
---|
| 82 | }
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | public string AccessTypeName
|
---|
| 86 | {
|
---|
| 87 | get
|
---|
| 88 | {
|
---|
| 89 | return this.m_sAccessTypeName;
|
---|
| 90 | }
|
---|
| 91 | set
|
---|
| 92 | {
|
---|
| 93 | this.m_sAccessTypeName = value;
|
---|
| 94 | }
|
---|
| 95 | }
|
---|
| 96 |
|
---|
| 97 | public int AvailabilityType
|
---|
| 98 | {
|
---|
| 99 | get
|
---|
| 100 | {
|
---|
| 101 | return this.m_nAvailabilityType;
|
---|
| 102 | }
|
---|
| 103 | set
|
---|
| 104 | {
|
---|
| 105 | this.m_nAvailabilityType = value;
|
---|
| 106 | }
|
---|
| 107 | }
|
---|
| 108 |
|
---|
| 109 | public int Blue
|
---|
| 110 | {
|
---|
| 111 | get
|
---|
| 112 | {
|
---|
| 113 | return this.m_nBlue;
|
---|
| 114 | }
|
---|
| 115 | set
|
---|
| 116 | {
|
---|
| 117 | this.m_nBlue = value;
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | public string DisplayColor
|
---|
| 122 | {
|
---|
| 123 | get
|
---|
| 124 | {
|
---|
| 125 | return this.m_sDisplayColor;
|
---|
| 126 | }
|
---|
| 127 | set
|
---|
| 128 | {
|
---|
| 129 | this.m_sDisplayColor = value;
|
---|
| 130 | }
|
---|
| 131 | }
|
---|
| 132 |
|
---|
| 133 | public DateTime EndTime
|
---|
| 134 | {
|
---|
| 135 | get
|
---|
| 136 | {
|
---|
| 137 | return this.m_EndTime;
|
---|
| 138 | }
|
---|
| 139 | set
|
---|
| 140 | {
|
---|
| 141 | this.m_EndTime = value;
|
---|
| 142 | }
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | public int Green
|
---|
| 146 | {
|
---|
| 147 | get
|
---|
| 148 | {
|
---|
| 149 | return this.m_nGreen;
|
---|
| 150 | }
|
---|
| 151 | set
|
---|
| 152 | {
|
---|
| 153 | this.m_nGreen = value;
|
---|
| 154 | }
|
---|
| 155 | }
|
---|
| 156 |
|
---|
| 157 | public string Note
|
---|
| 158 | {
|
---|
| 159 | get
|
---|
| 160 | {
|
---|
| 161 | return this.m_sNote;
|
---|
| 162 | }
|
---|
| 163 | set
|
---|
| 164 | {
|
---|
| 165 | this.m_sNote = value;
|
---|
| 166 | }
|
---|
| 167 | }
|
---|
| 168 |
|
---|
| 169 | public int Red
|
---|
| 170 | {
|
---|
| 171 | get
|
---|
| 172 | {
|
---|
| 173 | return this.m_nRed;
|
---|
| 174 | }
|
---|
| 175 | set
|
---|
| 176 | {
|
---|
| 177 | this.m_nRed = value;
|
---|
| 178 | }
|
---|
| 179 | }
|
---|
| 180 |
|
---|
| 181 | public string ResourceList
|
---|
| 182 | {
|
---|
| 183 | get
|
---|
| 184 | {
|
---|
| 185 | return this.m_sResourceList;
|
---|
| 186 | }
|
---|
| 187 | set
|
---|
| 188 | {
|
---|
| 189 | this.m_sResourceList = value;
|
---|
| 190 | }
|
---|
| 191 | }
|
---|
| 192 |
|
---|
| 193 | public int Slots
|
---|
| 194 | {
|
---|
| 195 | get
|
---|
| 196 | {
|
---|
| 197 | return this.m_nSlots;
|
---|
| 198 | }
|
---|
| 199 | set
|
---|
| 200 | {
|
---|
| 201 | this.m_nSlots = value;
|
---|
| 202 | }
|
---|
| 203 | }
|
---|
| 204 |
|
---|
| 205 | public DateTime StartTime
|
---|
| 206 | {
|
---|
| 207 | get
|
---|
| 208 | {
|
---|
| 209 | return this.m_StartTime;
|
---|
| 210 | }
|
---|
| 211 | set
|
---|
| 212 | {
|
---|
| 213 | this.m_StartTime = value;
|
---|
| 214 | }
|
---|
| 215 | }
|
---|
| 216 | }
|
---|
| 217 | }
|
---|
| 218 |
|
---|