//// 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 System;using GSF.ASN1;using GSF.ASN1.Attributes;using GSF.ASN1.Attributes.Constraints;using GSF.ASN1.Coders;namespace GSF.MMS.Model{ [ASN1PreparedElement] [ASN1BoxedType(Name = "Identifier")] public class Identifier : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Identifier)); private String val; public Identifier() { } public Identifier(String val) { this.val = val; } [ASN1String(Name = "Identifier", StringType = UniversalTags.VisibleString, IsUCS = false)] [ASN1ValueRangeConstraint( Min = 1L, Max = 64L )] public String Value { get { return val; } set { val = value; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } }}
//
// 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 System;
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Attributes.Constraints;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1BoxedType(Name = "Identifier")]
public class Identifier : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Identifier));
private String val;
public Identifier()
{
}
public Identifier(String val)
{
this.val = val;
}
[ASN1String(Name = "Identifier",
StringType = UniversalTags.VisibleString, IsUCS = false)]
[ASN1ValueRangeConstraint(
Min = 1L,
Max = 64L
)]
public String Value
{
get
{
return val;
}
set
{
val = value;
}
}
public void initWithDefaults()
{
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
}
}