243 lines · 6.8 KB · C#
RawDownload
//// This file was generated by the BinaryNotes compiler.// See http://bnotes.sourceforge.net // Any modifications to this file will be lost upon recompilation of the source ASN.1. // using GSF.ASN1;using GSF.ASN1.Attributes;using GSF.ASN1.Coders;using GSF.ASN1.Types; namespace GSF.MMS.Model{        [ASN1PreparedElement]    [ASN1Sequence(Name = "Operator_Station_instance", IsSet = false)]    public class Operator_Station_instance : IASN1PreparedElement    {        private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Operator_Station_instance));        private DefinitionChoiceType definition_;        private Identifier name_;         [ASN1Element(Name = "name", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]        public Identifier Name        {            get            {                return name_;            }            set            {                name_ = value;            }        }          [ASN1Element(Name = "definition", IsOptional = false, HasTag = false, HasDefaultValue = false)]        public DefinitionChoiceType Definition        {            get            {                return definition_;            }            set            {                definition_ = value;            }        }          public void initWithDefaults()        {        }          public IASN1PreparedElementData PreparedData        {            get            {                return preparedData;            }        }         [ASN1PreparedElement]        [ASN1Choice(Name = "definition")]        public class DefinitionChoiceType : IASN1PreparedElement        {            private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(DefinitionChoiceType));            private DetailsSequenceType details_;            private bool details_selected;            private ObjectIdentifier reference_;            private bool reference_selected;              [ASN1ObjectIdentifier(Name = "")]            [ASN1Element(Name = "reference", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)]            public ObjectIdentifier Reference            {                get                {                    return reference_;                }                set                {                    selectReference(value);                }            }              [ASN1Element(Name = "details", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)]            public DetailsSequenceType Details            {                get                {                    return details_;                }                set                {                    selectDetails(value);                }            }             public void initWithDefaults()            {            }             public IASN1PreparedElementData PreparedData            {                get                {                    return preparedData;                }            }              public bool isReferenceSelected()            {                return reference_selected;            }              public void selectReference(ObjectIdentifier val)            {                reference_ = val;                reference_selected = true;                  details_selected = false;            }              public bool isDetailsSelected()            {                return details_selected;            }              public void selectDetails(DetailsSequenceType val)            {                details_ = val;                details_selected = true;                  reference_selected = false;            }             [ASN1PreparedElement]            [ASN1Sequence(Name = "details", IsSet = false)]            public class DetailsSequenceType : IASN1PreparedElement            {                private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(DetailsSequenceType));                private Access_Control_List_instance accessControl_;                  private StationTypeEnumType stationType_;                 [ASN1Element(Name = "accessControl", IsOptional = false, HasTag = true, Tag = 3, HasDefaultValue = false)]                public Access_Control_List_instance AccessControl                {                    get                    {                        return accessControl_;                    }                    set                    {                        accessControl_ = value;                    }                }                  [ASN1Element(Name = "stationType", IsOptional = false, HasTag = true, Tag = 4, HasDefaultValue = false)]                public StationTypeEnumType StationType                {                    get                    {                        return stationType_;                    }                    set                    {                        stationType_ = value;                    }                }                  public void initWithDefaults()                {                }                 public IASN1PreparedElementData PreparedData                {                    get                    {                        return preparedData;                    }                }                 [ASN1PreparedElement]                [ASN1Enum(Name = "StationTypeEnumType")]                public class StationTypeEnumType : IASN1PreparedElement                {                    public enum EnumType                    {                        [ASN1EnumItem(Name = "entry", HasTag = true, Tag = 0)]                        entry,                        [ASN1EnumItem(Name = "display", HasTag = true, Tag = 1)]                        display,                        [ASN1EnumItem(Name = "entry-display", HasTag = true, Tag = 2)]                        entry_display,                    }                     private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(StationTypeEnumType));                     private EnumType val;                     public EnumType Value                    {                        get                        {                            return val;                        }                        set                        {                            val = value;                        }                    }                     public void initWithDefaults()                    {                    }                      public IASN1PreparedElementData PreparedData                    {                        get                        {                            return preparedData;                        }                    }                }            }        }    }}

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