Showing the changes to Source/Libraries/GSF.MMS/Model/GetProgramInvocationAttributes_Response.cs (1 of 385 files). Show all
Unified · Split
| @@ -0,0 +1,198 @@ | ||
| 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 System.Collections.Generic; | |
| 8 | +using GSF.ASN1; | |
| 9 | +using GSF.ASN1.Attributes; | |
| 10 | +using GSF.ASN1.Coders; | |
| 11 | + | |
| 12 | +namespace GSF.MMS.Model | |
| 13 | +{ | |
| 14 | + [ASN1PreparedElement] | |
| 15 | + [ASN1Sequence(Name = "GetProgramInvocationAttributes_Response", IsSet = false)] | |
| 16 | + public class GetProgramInvocationAttributes_Response : IASN1PreparedElement | |
| 17 | + { | |
| 18 | + private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(GetProgramInvocationAttributes_Response)); | |
| 19 | + private Identifier accessControlList_; | |
| 20 | + | |
| 21 | + private bool accessControlList_present; | |
| 22 | + private ExecutionArgumentChoiceType executionArgument_; | |
| 23 | + private ICollection<Identifier> listOfDomainNames_; | |
| 24 | + private bool mmsDeletable_; | |
| 25 | + private bool monitor_; | |
| 26 | + private bool reusable_; | |
| 27 | + private ProgramInvocationState state_; | |
| 28 | + | |
| 29 | + [ASN1Element(Name = "state", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] | |
| 30 | + public ProgramInvocationState State | |
| 31 | + { | |
| 32 | + get | |
| 33 | + { | |
| 34 | + return state_; | |
| 35 | + } | |
| 36 | + set | |
| 37 | + { | |
| 38 | + state_ = value; | |
| 39 | + } | |
| 40 | + } | |
| 41 | + | |
| 42 | + | |
| 43 | + [ASN1SequenceOf(Name = "listOfDomainNames", IsSetOf = false)] | |
| 44 | + [ASN1Element(Name = "listOfDomainNames", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)] | |
| 45 | + public ICollection<Identifier> ListOfDomainNames | |
| 46 | + { | |
| 47 | + get | |
| 48 | + { | |
| 49 | + return listOfDomainNames_; | |
| 50 | + } | |
| 51 | + set | |
| 52 | + { | |
| 53 | + listOfDomainNames_ = value; | |
| 54 | + } | |
| 55 | + } | |
| 56 | + | |
| 57 | + | |
| 58 | + [ASN1Boolean(Name = "")] | |
| 59 | + [ASN1Element(Name = "mmsDeletable", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)] | |
| 60 | + public bool MmsDeletable | |
| 61 | + { | |
| 62 | + get | |
| 63 | + { | |
| 64 | + return mmsDeletable_; | |
| 65 | + } | |
| 66 | + set | |
| 67 | + { | |
| 68 | + mmsDeletable_ = value; | |
| 69 | + } | |
| 70 | + } | |
| 71 | + | |
| 72 | + | |
| 73 | + [ASN1Boolean(Name = "")] | |
| 74 | + [ASN1Element(Name = "reusable", IsOptional = false, HasTag = true, Tag = 3, HasDefaultValue = false)] | |
| 75 | + public bool Reusable | |
| 76 | + { | |
| 77 | + get | |
| 78 | + { | |
| 79 | + return reusable_; | |
| 80 | + } | |
| 81 | + set | |
| 82 | + { | |
| 83 | + reusable_ = value; | |
| 84 | + } | |
| 85 | + } | |
| 86 | + | |
| 87 | + | |
| 88 | + [ASN1Boolean(Name = "")] | |
| 89 | + [ASN1Element(Name = "monitor", IsOptional = false, HasTag = true, Tag = 4, HasDefaultValue = false)] | |
| 90 | + public bool Monitor | |
| 91 | + { | |
| 92 | + get | |
| 93 | + { | |
| 94 | + return monitor_; | |
| 95 | + } | |
| 96 | + set | |
| 97 | + { | |
| 98 | + monitor_ = value; | |
| 99 | + } | |
| 100 | + } | |
| 101 | + | |
| 102 | + | |
| 103 | + [ASN1Element(Name = "executionArgument", IsOptional = false, HasTag = false, HasDefaultValue = false)] | |
| 104 | + public ExecutionArgumentChoiceType ExecutionArgument | |
| 105 | + { | |
| 106 | + get | |
| 107 | + { | |
| 108 | + return executionArgument_; | |
| 109 | + } | |
| 110 | + set | |
| 111 | + { | |
| 112 | + executionArgument_ = value; | |
| 113 | + } | |
| 114 | + } | |
| 115 | + | |
| 116 | + | |
| 117 | + [ASN1Element(Name = "accessControlList", IsOptional = true, HasTag = true, Tag = 6, HasDefaultValue = false)] | |
| 118 | + public Identifier AccessControlList | |
| 119 | + { | |
| 120 | + get | |
| 121 | + { | |
| 122 | + return accessControlList_; | |
| 123 | + } | |
| 124 | + set | |
| 125 | + { | |
| 126 | + accessControlList_ = value; | |
| 127 | + accessControlList_present = true; | |
| 128 | + } | |
| 129 | + } | |
| 130 | + | |
| 131 | + | |
| 132 | + public void initWithDefaults() | |
| 133 | + { | |
| 134 | + } | |
| 135 | + | |
| 136 | + | |
| 137 | + public IASN1PreparedElementData PreparedData | |
| 138 | + { | |
| 139 | + get | |
| 140 | + { | |
| 141 | + return preparedData; | |
| 142 | + } | |
| 143 | + } | |
| 144 | + | |
| 145 | + public bool isAccessControlListPresent() | |
| 146 | + { | |
| 147 | + return accessControlList_present; | |
| 148 | + } | |
| 149 | + | |
| 150 | + [ASN1PreparedElement] | |
| 151 | + [ASN1Choice(Name = "executionArgument")] | |
| 152 | + public class ExecutionArgumentChoiceType : IASN1PreparedElement | |
| 153 | + { | |
| 154 | + private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(ExecutionArgumentChoiceType)); | |
| 155 | + private MMSString simpleString_; | |
| 156 | + private bool simpleString_selected; | |
| 157 | + | |
| 158 | + | |
| 159 | + [ASN1Element(Name = "simpleString", IsOptional = false, HasTag = true, Tag = 5, HasDefaultValue = false)] | |
| 160 | + public MMSString SimpleString | |
| 161 | + { | |
| 162 | + get | |
| 163 | + { | |
| 164 | + return simpleString_; | |
| 165 | + } | |
| 166 | + set | |
| 167 | + { | |
| 168 | + selectSimpleString(value); | |
| 169 | + } | |
| 170 | + } | |
| 171 | + | |
| 172 | + | |
| 173 | + public void initWithDefaults() | |
| 174 | + { | |
| 175 | + } | |
| 176 | + | |
| 177 | + public IASN1PreparedElementData PreparedData | |
| 178 | + { | |
| 179 | + get | |
| 180 | + { | |
| 181 | + return preparedData; | |
| 182 | + } | |
| 183 | + } | |
| 184 | + | |
| 185 | + public bool isSimpleStringSelected() | |
| 186 | + { | |
| 187 | + return simpleString_selected; | |
| 188 | + } | |
| 189 | + | |
| 190 | + | |
| 191 | + public void selectSimpleString(MMSString val) | |
| 192 | + { | |
| 193 | + simpleString_ = val; | |
| 194 | + simpleString_selected = true; | |
| 195 | + } | |
| 196 | + } | |
| 197 | + } | |
| 198 | +} | |