//// 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 = "RelinquishControl_Request", IsSet = false)] public class RelinquishControl_Request : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(RelinquishControl_Request)); private Identifier namedToken_; private bool namedToken_present; private ObjectName semaphoreName_; [ASN1Element(Name = "semaphoreName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public ObjectName SemaphoreName { get { return semaphoreName_; } set { semaphoreName_ = value; } } [ASN1Element(Name = "namedToken", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)] public Identifier NamedToken { get { return namedToken_; } set { namedToken_ = value; namedToken_present = true; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isNamedTokenPresent() { return namedToken_present; } }}
//
// 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 = "RelinquishControl_Request", IsSet = false)]
public class RelinquishControl_Request : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(RelinquishControl_Request));
private Identifier namedToken_;
private bool namedToken_present;
private ObjectName semaphoreName_;
[ASN1Element(Name = "semaphoreName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
public ObjectName SemaphoreName
{
get
{
return semaphoreName_;
}
set
{
semaphoreName_ = value;
}
}
[ASN1Element(Name = "namedToken", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)]
public Identifier NamedToken
{
get
{
return namedToken_;
}
set
{
namedToken_ = value;
namedToken_present = true;
}
}
public void initWithDefaults()
{
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
public bool isNamedTokenPresent()
{
return namedToken_present;
}
}
}