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