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