// // 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; namespace GSF.MMS.Model { [ASN1PreparedElement] [ASN1Choice(Name = "DeleteUnitControl_Error")] public class DeleteUnitControl_Error : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(DeleteUnitControl_Error)); private Identifier domain_; private bool domain_selected; private Identifier programInvocation_; private bool programInvocation_selected; [ASN1Element(Name = "domain", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public Identifier Domain { get { return domain_; } set { selectDomain(value); } } [ASN1Element(Name = "programInvocation", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)] public Identifier ProgramInvocation { get { return programInvocation_; } set { selectProgramInvocation(value); } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isDomainSelected() { return domain_selected; } public void selectDomain(Identifier val) { domain_ = val; domain_selected = true; programInvocation_selected = false; } public bool isProgramInvocationSelected() { return programInvocation_selected; } public void selectProgramInvocation(Identifier val) { programInvocation_ = val; programInvocation_selected = true; domain_selected = false; } } }