//// 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 = "FileRead_Response", IsSet = false)] public class FileRead_Response : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(FileRead_Response)); private byte[] fileData_; private bool moreFollows_; [ASN1OctetString(Name = "")] [ASN1Element(Name = "fileData", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public byte[] FileData { get { return fileData_; } set { fileData_ = value; } } [ASN1Boolean(Name = "")] [ASN1Element(Name = "moreFollows", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = true)] public bool MoreFollows { get { return moreFollows_; } set { moreFollows_ = value; } } public void initWithDefaults() { bool param_MoreFollows = true; MoreFollows = param_MoreFollows; } 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.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1Sequence(Name = "FileRead_Response", IsSet = false)]
public class FileRead_Response : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(FileRead_Response));
private byte[] fileData_;
private bool moreFollows_;
[ASN1OctetString(Name = "")]
[ASN1Element(Name = "fileData", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
public byte[] FileData
{
get
{
return fileData_;
}
set
{
fileData_ = value;
}
}
[ASN1Boolean(Name = "")]
[ASN1Element(Name = "moreFollows", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = true)]
public bool MoreFollows
{
get
{
return moreFollows_;
}
set
{
moreFollows_ = value;
}
}
public void initWithDefaults()
{
bool param_MoreFollows =
true;
MoreFollows = param_MoreFollows;
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
}
}