History

GSF.MMS: Moved all MMS object models into their own folder.

ritchiecarroll committed 13 years ago

Commit a6719791 parent 6741e36385 files · +780 −780Browse files

Showing the changes to Source/Libraries/GSF.MMS/Model/Program_Invocation_instance.cs (1 of 385 files). Show all

Unified · Split

Source/Libraries/GSF.MMS/Model/Program_Invocation_instance.cs+387−0
@@ -0,0 +1,387 @@
1//
2// This file was generated by the BinaryNotes compiler.
3// See http://bnotes.sourceforge.net
4// Any modifications to this file will be lost upon recompilation of the source ASN.1.
5//
6
7using System.Collections.Generic;
8using GSF.ASN1;
9using GSF.ASN1.Attributes;
10using GSF.ASN1.Coders;
11using GSF.ASN1.Types;
12
13namespace GSF.MMS.Model
14{
15 [ASN1PreparedElement]
16 [ASN1Sequence(Name = "Program_Invocation_instance", IsSet = false)]
17 public class Program_Invocation_instance : IASN1PreparedElement
18 {
19 private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Program_Invocation_instance));
20 private DefinitionChoiceType definition_;
21 private Identifier name_;
22
23 [ASN1Element(Name = "name", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
24 public Identifier Name
25 {
26 get
27 {
28 return name_;
29 }
30 set
31 {
32 name_ = value;
33 }
34 }
35
36
37 [ASN1Element(Name = "definition", IsOptional = false, HasTag = false, HasDefaultValue = false)]
38 public DefinitionChoiceType Definition
39 {
40 get
41 {
42 return definition_;
43 }
44 set
45 {
46 definition_ = value;
47 }
48 }
49
50
51 public void initWithDefaults()
52 {
53 }
54
55
56 public IASN1PreparedElementData PreparedData
57 {
58 get
59 {
60 return preparedData;
61 }
62 }
63
64 [ASN1PreparedElement]
65 [ASN1Choice(Name = "definition")]
66 public class DefinitionChoiceType : IASN1PreparedElement
67 {
68 private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(DefinitionChoiceType));
69 private DetailsSequenceType details_;
70 private bool details_selected;
71 private ObjectIdentifier reference_;
72 private bool reference_selected;
73
74
75 [ASN1ObjectIdentifier(Name = "")]
76 [ASN1Element(Name = "reference", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)]
77 public ObjectIdentifier Reference
78 {
79 get
80 {
81 return reference_;
82 }
83 set
84 {
85 selectReference(value);
86 }
87 }
88
89
90 [ASN1Element(Name = "details", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)]
91 public DetailsSequenceType Details
92 {
93 get
94 {
95 return details_;
96 }
97 set
98 {
99 selectDetails(value);
100 }
101 }
102
103 public void initWithDefaults()
104 {
105 }
106
107 public IASN1PreparedElementData PreparedData
108 {
109 get
110 {
111 return preparedData;
112 }
113 }
114
115
116 public bool isReferenceSelected()
117 {
118 return reference_selected;
119 }
120
121
122 public void selectReference(ObjectIdentifier val)
123 {
124 reference_ = val;
125 reference_selected = true;
126
127
128 details_selected = false;
129 }
130
131
132 public bool isDetailsSelected()
133 {
134 return details_selected;
135 }
136
137
138 public void selectDetails(DetailsSequenceType val)
139 {
140 details_ = val;
141 details_selected = true;
142
143
144 reference_selected = false;
145 }
146
147 [ASN1PreparedElement]
148 [ASN1Sequence(Name = "details", IsSet = false)]
149 public class DetailsSequenceType : IASN1PreparedElement
150 {
151 private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(DetailsSequenceType));
152 private ICollection<Access_Control_List_instance> accessControl_;
153 private Control_State control_;
154 private ICollection<Program_Invocation_instance> controlled_Program_Invocations_;
155
156 private bool controlled_Program_Invocations_present;
157 private Program_Invocation_instance controlling_Program_Invocation_;
158 private ICollection<Domain_instance> domains_;
159 private ICollection<Event_Action_instance> eventAction_;
160
161 private bool eventAction_present;
162 private ICollection<Event_Condition_instance> eventCondition_;
163
164 private bool eventCondition_present;
165 private ICollection<Event_Enrollment_instance> eventEnrollment_;
166
167 private bool eventEnrollment_present;
168 private MMSString executionArgument_;
169 private bool monitor_;
170 private ProgramInvocationState programInvocationState_;
171 private bool reusable_;
172
173 [ASN1Element(Name = "programInvocationState", IsOptional = false, HasTag = true, Tag = 3, HasDefaultValue = false)]
174 public ProgramInvocationState ProgramInvocationState
175 {
176 get
177 {
178 return programInvocationState_;
179 }
180 set
181 {
182 programInvocationState_ = value;
183 }
184 }
185
186
187 [ASN1SequenceOf(Name = "domains", IsSetOf = false)]
188 [ASN1Element(Name = "domains", IsOptional = false, HasTag = true, Tag = 4, HasDefaultValue = false)]
189 public ICollection<Domain_instance> Domains
190 {
191 get
192 {
193 return domains_;
194 }
195 set
196 {
197 domains_ = value;
198 }
199 }
200
201
202 [ASN1SequenceOf(Name = "accessControl", IsSetOf = false)]
203 [ASN1Element(Name = "accessControl", IsOptional = false, HasTag = true, Tag = 5, HasDefaultValue = false)]
204 public ICollection<Access_Control_List_instance> AccessControl
205 {
206 get
207 {
208 return accessControl_;
209 }
210 set
211 {
212 accessControl_ = value;
213 }
214 }
215
216
217 [ASN1Boolean(Name = "")]
218 [ASN1Element(Name = "reusable", IsOptional = false, HasTag = true, Tag = 6, HasDefaultValue = false)]
219 public bool Reusable
220 {
221 get
222 {
223 return reusable_;
224 }
225 set
226 {
227 reusable_ = value;
228 }
229 }
230
231
232 [ASN1Boolean(Name = "")]
233 [ASN1Element(Name = "monitor", IsOptional = false, HasTag = true, Tag = 7, HasDefaultValue = false)]
234 public bool Monitor
235 {
236 get
237 {
238 return monitor_;
239 }
240 set
241 {
242 monitor_ = value;
243 }
244 }
245
246
247 [ASN1SequenceOf(Name = "eventCondition", IsSetOf = false)]
248 [ASN1Element(Name = "eventCondition", IsOptional = true, HasTag = true, Tag = 8, HasDefaultValue = false)]
249 public ICollection<Event_Condition_instance> EventCondition
250 {
251 get
252 {
253 return eventCondition_;
254 }
255 set
256 {
257 eventCondition_ = value;
258 eventCondition_present = true;
259 }
260 }
261
262
263 [ASN1SequenceOf(Name = "eventAction", IsSetOf = false)]
264 [ASN1Element(Name = "eventAction", IsOptional = true, HasTag = true, Tag = 9, HasDefaultValue = false)]
265 public ICollection<Event_Action_instance> EventAction
266 {
267 get
268 {
269 return eventAction_;
270 }
271 set
272 {
273 eventAction_ = value;
274 eventAction_present = true;
275 }
276 }
277
278
279 [ASN1SequenceOf(Name = "eventEnrollment", IsSetOf = false)]
280 [ASN1Element(Name = "eventEnrollment", IsOptional = true, HasTag = true, Tag = 10, HasDefaultValue = false)]
281 public ICollection<Event_Enrollment_instance> EventEnrollment
282 {
283 get
284 {
285 return eventEnrollment_;
286 }
287 set
288 {
289 eventEnrollment_ = value;
290 eventEnrollment_present = true;
291 }
292 }
293
294
295 [ASN1Element(Name = "executionArgument", IsOptional = false, HasTag = true, Tag = 11, HasDefaultValue = false)]
296 public MMSString ExecutionArgument
297 {
298 get
299 {
300 return executionArgument_;
301 }
302 set
303 {
304 executionArgument_ = value;
305 }
306 }
307
308
309 [ASN1Element(Name = "control", IsOptional = false, HasTag = true, Tag = 12, HasDefaultValue = false)]
310 public Control_State Control
311 {
312 get
313 {
314 return control_;
315 }
316 set
317 {
318 control_ = value;
319 }
320 }
321
322
323 [ASN1Element(Name = "controlling-Program-Invocation", IsOptional = false, HasTag = true, Tag = 13, HasDefaultValue = false)]
324 public Program_Invocation_instance Controlling_Program_Invocation
325 {
326 get
327 {
328 return controlling_Program_Invocation_;
329 }
330 set
331 {
332 controlling_Program_Invocation_ = value;
333 }
334 }
335
336
337 [ASN1SequenceOf(Name = "controlled-Program-Invocations", IsSetOf = false)]
338 [ASN1Element(Name = "controlled-Program-Invocations", IsOptional = true, HasTag = true, Tag = 14, HasDefaultValue = false)]
339 public ICollection<Program_Invocation_instance> Controlled_Program_Invocations
340 {
341 get
342 {
343 return controlled_Program_Invocations_;
344 }
345 set
346 {
347 controlled_Program_Invocations_ = value;
348 controlled_Program_Invocations_present = true;
349 }
350 }
351
352 public void initWithDefaults()
353 {
354 }
355
356 public IASN1PreparedElementData PreparedData
357 {
358 get
359 {
360 return preparedData;
361 }
362 }
363
364
365 public bool isEventConditionPresent()
366 {
367 return eventCondition_present;
368 }
369
370 public bool isEventActionPresent()
371 {
372 return eventAction_present;
373 }
374
375 public bool isEventEnrollmentPresent()
376 {
377 return eventEnrollment_present;
378 }
379
380 public bool isControlled_Program_InvocationsPresent()
381 {
382 return controlled_Program_Invocations_present;
383 }
384 }
385 }
386 }
387}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t