//// 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 GSF.ASN1;using GSF.ASN1.Attributes;using GSF.ASN1.Coders; namespace GSF.MMS.Model{ [ASN1PreparedElement] [ASN1Sequence(Name = "FileAttributes", IsSet = false)] public class FileAttributes : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(FileAttributes)); private string lastModified_; private bool lastModified_present; private Unsigned32 sizeOfFile_; [ASN1Element(Name = "sizeOfFile", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public Unsigned32 SizeOfFile { get { return sizeOfFile_; } set { sizeOfFile_ = value; } } [ASN1String(Name = "", StringType = UniversalTags.GeneralizedTime, IsUCS = false)] [ASN1Element(Name = "lastModified", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)] public string LastModified { get { return lastModified_; } set { lastModified_ = value; lastModified_present = true; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isLastModifiedPresent() { return lastModified_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 GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1Sequence(Name = "FileAttributes", IsSet = false)]
public class FileAttributes : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(FileAttributes));
private string lastModified_;
private bool lastModified_present;
private Unsigned32 sizeOfFile_;
[ASN1Element(Name = "sizeOfFile", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
public Unsigned32 SizeOfFile
{
get
{
return sizeOfFile_;
}
set
{
sizeOfFile_ = value;
}
}
[ASN1String(Name = "",
StringType = UniversalTags.GeneralizedTime, IsUCS = false)]
[ASN1Element(Name = "lastModified", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)]
public string LastModified
{
get
{
return lastModified_;
}
set
{
lastModified_ = value;
lastModified_present = true;
}
}
public void initWithDefaults()
{
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
public bool isLastModifiedPresent()
{
return lastModified_present;
}
}
}