//// 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.Attributes.Constraints;using GSF.ASN1.Coders;namespace GSF.MMS.Model{ [ASN1PreparedElement] [ASN1BoxedType(Name = "Integer16")] public class Integer16 : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Integer16)); private int val; public Integer16() { } public Integer16(int value) { Value = value; } [ASN1Integer(Name = "Integer16")] [ASN1ValueRangeConstraint( Min = -32768L, Max = 32767L )] public int 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 GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Attributes.Constraints;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1BoxedType(Name = "Integer16")]
public class Integer16 : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Integer16));
private int val;
public Integer16()
{
}
public Integer16(int value)
{
Value = value;
}
[ASN1Integer(Name = "Integer16")]
[ASN1ValueRangeConstraint(
Min = -32768L,
Max = 32767L
)]
public int Value
{
get
{
return val;
}
set
{
val = value;
}
}
public void initWithDefaults()
{
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
}
}