//// 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 System.Runtime.CompilerServices;using GSF.ASN1;using GSF.ASN1.Attributes;using GSF.ASN1.Coders; namespace GSF.MMS.Model{ [ASN1PreparedElement] [ASN1Sequence(Name = "ServiceError", IsSet = false)] public class ServiceError : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(ServiceError)); private long additionalCode_; private bool additionalCode_present; private string additionalDescription_; private bool additionalDescription_present; private ErrorClassChoiceType errorClass_; private ServiceSpecificInfoChoiceType serviceSpecificInfo_; private bool serviceSpecificInfo_present; [ASN1Element(Name = "errorClass", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public ErrorClassChoiceType ErrorClass { get { return errorClass_; } set { errorClass_ = value; } } [ASN1Integer(Name = "")] [ASN1Element(Name = "additionalCode", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)] public long AdditionalCode { get { return additionalCode_; } set { additionalCode_ = value; additionalCode_present = true; } } [ASN1String(Name = "", StringType = UniversalTags.VisibleString, IsUCS = false)] [ASN1Element(Name = "additionalDescription", IsOptional = true, HasTag = true, Tag = 2, HasDefaultValue = false)] public string AdditionalDescription { get { return additionalDescription_; } set { additionalDescription_ = value; additionalDescription_present = true; } } [ASN1Element(Name = "serviceSpecificInfo", IsOptional = true, HasTag = true, Tag = 3, HasDefaultValue = false)] public ServiceSpecificInfoChoiceType ServiceSpecificInfo { get { return serviceSpecificInfo_; } set { serviceSpecificInfo_ = value; serviceSpecificInfo_present = true; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isAdditionalCodePresent() { return additionalCode_present; } public bool isAdditionalDescriptionPresent() { return additionalDescription_present; } public bool isServiceSpecificInfoPresent() { return serviceSpecificInfo_present; } [ASN1PreparedElement] [ASN1Choice(Name = "errorClass")] public class ErrorClassChoiceType : IASN1PreparedElement { private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(ErrorClassChoiceType)); private long access_; private bool access_selected; private long application_reference_; private bool application_reference_selected; private long cancel_; private bool cancel_selected; private long conclude_; private bool conclude_selected; private long definition_; private bool definition_selected; private long file_; private bool file_selected; private long initiate_; private bool initiate_selected; private long others_; private bool others_selected; private long resource_; private bool resource_selected; private long service_; private long service_preempt_; private bool service_preempt_selected; private bool service_selected; private long time_resolution_; private bool time_resolution_selected; private long vmd_state_; private bool vmd_state_selected; [ASN1Integer(Name = "")] [ASN1Element(Name = "vmd-state", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public long Vmd_state { get { return vmd_state_; } set { selectVmd_state(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "application-reference", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)] public long Application_reference { get { return application_reference_; } set { selectApplication_reference(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "definition", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)] public long Definition { get { return definition_; } set { selectDefinition(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "resource", IsOptional = false, HasTag = true, Tag = 3, HasDefaultValue = false)] public long Resource { get { return resource_; } set { selectResource(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "service", IsOptional = false, HasTag = true, Tag = 4, HasDefaultValue = false)] public long Service { get { return service_; } set { selectService(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "service-preempt", IsOptional = false, HasTag = true, Tag = 5, HasDefaultValue = false)] public long Service_preempt { get { return service_preempt_; } set { selectService_preempt(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "time-resolution", IsOptional = false, HasTag = true, Tag = 6, HasDefaultValue = false)] public long Time_resolution { get { return time_resolution_; } set { selectTime_resolution(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "access", IsOptional = false, HasTag = true, Tag = 7, HasDefaultValue = false)] public long Access { get { return access_; } set { selectAccess(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "initiate", IsOptional = false, HasTag = true, Tag = 8, HasDefaultValue = false)] public long Initiate { get { return initiate_; } set { selectInitiate(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "conclude", IsOptional = false, HasTag = true, Tag = 9, HasDefaultValue = false)] public long Conclude { get { return conclude_; } set { selectConclude(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "cancel", IsOptional = false, HasTag = true, Tag = 10, HasDefaultValue = false)] public long Cancel { get { return cancel_; } set { selectCancel(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "file", IsOptional = false, HasTag = true, Tag = 11, HasDefaultValue = false)] public long File { get { return file_; } set { selectFile(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "others", IsOptional = false, HasTag = true, Tag = 12, HasDefaultValue = false)] public long Others { get { return others_; } set { selectOthers(value); } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isVmd_stateSelected() { return vmd_state_selected; } public void selectVmd_state(long val) { vmd_state_ = val; vmd_state_selected = true; vmd_state_selected = false; application_reference_selected = false; definition_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isApplication_referenceSelected() { return application_reference_selected; } public void selectApplication_reference(long val) { application_reference_ = val; application_reference_selected = true; vmd_state_selected = false; application_reference_selected = false; definition_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isDefinitionSelected() { return definition_selected; } public void selectDefinition(long val) { definition_ = val; definition_selected = true; vmd_state_selected = false; application_reference_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isResourceSelected() { return resource_selected; } public void selectResource(long val) { resource_ = val; resource_selected = true; vmd_state_selected = false; application_reference_selected = false; Lines 1–500 of 1516. Load more
// // 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 System.Runtime.CompilerServices; using GSF.ASN1; using GSF.ASN1.Attributes; using GSF.ASN1.Coders; namespace GSF.MMS.Model { [ASN1PreparedElement] [ASN1Sequence(Name = "ServiceError", IsSet = false)] public class ServiceError : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(ServiceError)); private long additionalCode_; private bool additionalCode_present; private string additionalDescription_; private bool additionalDescription_present; private ErrorClassChoiceType errorClass_; private ServiceSpecificInfoChoiceType serviceSpecificInfo_; private bool serviceSpecificInfo_present; [ASN1Element(Name = "errorClass", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public ErrorClassChoiceType ErrorClass { get { return errorClass_; } set { errorClass_ = value; } } [ASN1Integer(Name = "")] [ASN1Element(Name = "additionalCode", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)] public long AdditionalCode { get { return additionalCode_; } set { additionalCode_ = value; additionalCode_present = true; } } [ASN1String(Name = "", StringType = UniversalTags.VisibleString, IsUCS = false)] [ASN1Element(Name = "additionalDescription", IsOptional = true, HasTag = true, Tag = 2, HasDefaultValue = false)] public string AdditionalDescription { get { return additionalDescription_; } set { additionalDescription_ = value; additionalDescription_present = true; } } [ASN1Element(Name = "serviceSpecificInfo", IsOptional = true, HasTag = true, Tag = 3, HasDefaultValue = false)] public ServiceSpecificInfoChoiceType ServiceSpecificInfo { get { return serviceSpecificInfo_; } set { serviceSpecificInfo_ = value; serviceSpecificInfo_present = true; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isAdditionalCodePresent() { return additionalCode_present; } public bool isAdditionalDescriptionPresent() { return additionalDescription_present; } public bool isServiceSpecificInfoPresent() { return serviceSpecificInfo_present; } [ASN1PreparedElement] [ASN1Choice(Name = "errorClass")] public class ErrorClassChoiceType : IASN1PreparedElement { private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(ErrorClassChoiceType)); private long access_; private bool access_selected; private long application_reference_; private bool application_reference_selected; private long cancel_; private bool cancel_selected; private long conclude_; private bool conclude_selected; private long definition_; private bool definition_selected; private long file_; private bool file_selected; private long initiate_; private bool initiate_selected; private long others_; private bool others_selected; private long resource_; private bool resource_selected; private long service_; private long service_preempt_; private bool service_preempt_selected; private bool service_selected; private long time_resolution_; private bool time_resolution_selected; private long vmd_state_; private bool vmd_state_selected; [ASN1Integer(Name = "")] [ASN1Element(Name = "vmd-state", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public long Vmd_state { get { return vmd_state_; } set { selectVmd_state(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "application-reference", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)] public long Application_reference { get { return application_reference_; } set { selectApplication_reference(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "definition", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = false)] public long Definition { get { return definition_; } set { selectDefinition(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "resource", IsOptional = false, HasTag = true, Tag = 3, HasDefaultValue = false)] public long Resource { get { return resource_; } set { selectResource(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "service", IsOptional = false, HasTag = true, Tag = 4, HasDefaultValue = false)] public long Service { get { return service_; } set { selectService(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "service-preempt", IsOptional = false, HasTag = true, Tag = 5, HasDefaultValue = false)] public long Service_preempt { get { return service_preempt_; } set { selectService_preempt(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "time-resolution", IsOptional = false, HasTag = true, Tag = 6, HasDefaultValue = false)] public long Time_resolution { get { return time_resolution_; } set { selectTime_resolution(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "access", IsOptional = false, HasTag = true, Tag = 7, HasDefaultValue = false)] public long Access { get { return access_; } set { selectAccess(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "initiate", IsOptional = false, HasTag = true, Tag = 8, HasDefaultValue = false)] public long Initiate { get { return initiate_; } set { selectInitiate(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "conclude", IsOptional = false, HasTag = true, Tag = 9, HasDefaultValue = false)] public long Conclude { get { return conclude_; } set { selectConclude(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "cancel", IsOptional = false, HasTag = true, Tag = 10, HasDefaultValue = false)] public long Cancel { get { return cancel_; } set { selectCancel(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "file", IsOptional = false, HasTag = true, Tag = 11, HasDefaultValue = false)] public long File { get { return file_; } set { selectFile(value); } } [ASN1Integer(Name = "")] [ASN1Element(Name = "others", IsOptional = false, HasTag = true, Tag = 12, HasDefaultValue = false)] public long Others { get { return others_; } set { selectOthers(value); } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isVmd_stateSelected() { return vmd_state_selected; } public void selectVmd_state(long val) { vmd_state_ = val; vmd_state_selected = true; vmd_state_selected = false; application_reference_selected = false; definition_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isApplication_referenceSelected() { return application_reference_selected; } public void selectApplication_reference(long val) { application_reference_ = val; application_reference_selected = true; vmd_state_selected = false; application_reference_selected = false; definition_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isDefinitionSelected() { return definition_selected; } public void selectDefinition(long val) { definition_ = val; definition_selected = true; vmd_state_selected = false; application_reference_selected = false; resource_selected = false; service_selected = false; service_preempt_selected = false; time_resolution_selected = false; access_selected = false; initiate_selected = false; conclude_selected = false; cancel_selected = false; file_selected = false; others_selected = false; } public bool isResourceSelected() { return resource_selected; } public void selectResource(long val) { resource_ = val; resource_selected = true; vmd_state_selected = false; application_reference_selected = false;