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