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/LoadUnitControlFromFile_Error.cs (1 of 385 files). Show all

Unified · Split

Source/Libraries/GSF.MMS/Model/LoadUnitControlFromFile_Error.cs+141−0
@@ -0,0 +1,141 @@
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+
7+using GSF.ASN1;
8+using GSF.ASN1.Attributes;
9+using GSF.ASN1.Coders;
10+using GSF.ASN1.Types;
11+
12+namespace GSF.MMS.Model
13+{
14+ [ASN1PreparedElement]
15+ [ASN1Choice(Name = "LoadUnitControlFromFile_Error")]
16+ public class LoadUnitControlFromFile_Error : IASN1PreparedElement
17+ {
18+ private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(LoadUnitControlFromFile_Error));
19+ private Identifier domain_;
20+ private bool domain_selected;
21+ private NullObject none_;
22+ private bool none_selected;
23+
24+
25+ private Identifier programInvocation_;
26+ private bool programInvocation_selected;
27+
28+ [ASN1Null(Name = "none")]
29+ [ASN1Element(Name = "none", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
30+ public NullObject None
31+ {
32+ get
33+ {
34+ return none_;
35+ }
36+ set
37+ {
38+ selectNone(value);
39+ }
40+ }
41+
42+ [ASN1Element(Name = "domain", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)]
43+ public Identifier Domain
44+ {
45+ get
46+ {
47+ return domain_;
48+ }
49+ set
50+ {
51+ selectDomain(value);
52+ }
53+ }
54+
55+
56+ [ASN1Element(Name = "programInvocation", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)]
57+ public Identifier ProgramInvocation
58+ {
59+ get
60+ {
61+ return programInvocation_;
62+ }
63+ set
64+ {
65+ selectProgramInvocation(value);
66+ }
67+ }
68+
69+ public void initWithDefaults()
70+ {
71+ }
72+
73+ public IASN1PreparedElementData PreparedData
74+ {
75+ get
76+ {
77+ return preparedData;
78+ }
79+ }
80+
81+
82+ public bool isNoneSelected()
83+ {
84+ return none_selected;
85+ }
86+
87+
88+ public void selectNone()
89+ {
90+ selectNone(new NullObject());
91+ }
92+
93+
94+ public void selectNone(NullObject val)
95+ {
96+ none_ = val;
97+ none_selected = true;
98+
99+
100+ domain_selected = false;
101+
102+ programInvocation_selected = false;
103+ }
104+
105+
106+ public bool isDomainSelected()
107+ {
108+ return domain_selected;
109+ }
110+
111+
112+ public void selectDomain(Identifier val)
113+ {
114+ domain_ = val;
115+ domain_selected = true;
116+
117+
118+ none_selected = false;
119+
120+ programInvocation_selected = false;
121+ }
122+
123+
124+ public bool isProgramInvocationSelected()
125+ {
126+ return programInvocation_selected;
127+ }
128+
129+
130+ public void selectProgramInvocation(Identifier val)
131+ {
132+ programInvocation_ = val;
133+ programInvocation_selected = true;
134+
135+
136+ none_selected = false;
137+
138+ domain_selected = false;
139+ }
140+ }
141+}

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