//// 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.Collections.Generic;using GSF.ASN1;using GSF.ASN1.Attributes;using GSF.ASN1.Coders; namespace GSF.MMS.Model{ [ASN1PreparedElement] [ASN1Sequence(Name = "CreateProgramInvocation_Request", IsSet = false)] public class CreateProgramInvocation_Request : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(CreateProgramInvocation_Request)); private ICollection<Identifier> listOfDomainNames_; private bool monitorType_; private bool monitorType_present; private Identifier programInvocationName_; private bool reusable_; [ASN1Element(Name = "programInvocationName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public Identifier ProgramInvocationName { get { return programInvocationName_; } set { programInvocationName_ = value; } } [ASN1SequenceOf(Name = "listOfDomainNames", IsSetOf = false)] [ASN1Element(Name = "listOfDomainNames", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)] public ICollection<Identifier> ListOfDomainNames { get { return listOfDomainNames_; } set { listOfDomainNames_ = value; } } [ASN1Boolean(Name = "")] [ASN1Element(Name = "reusable", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = true)] public bool Reusable { get { return reusable_; } set { reusable_ = value; } } [ASN1Boolean(Name = "")] [ASN1Element(Name = "monitorType", IsOptional = true, HasTag = true, Tag = 3, HasDefaultValue = false)] public bool MonitorType { get { return monitorType_; } set { monitorType_ = value; monitorType_present = true; } } public void initWithDefaults() { bool param_Reusable = false; Reusable = param_Reusable; } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isMonitorTypePresent() { return monitorType_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 System.Collections.Generic;
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1Sequence(Name = "CreateProgramInvocation_Request", IsSet = false)]
public class CreateProgramInvocation_Request : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(CreateProgramInvocation_Request));
private ICollection<Identifier> listOfDomainNames_;
private bool monitorType_;
private bool monitorType_present;
private Identifier programInvocationName_;
private bool reusable_;
[ASN1Element(Name = "programInvocationName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
public Identifier ProgramInvocationName
{
get
{
return programInvocationName_;
}
set
{
programInvocationName_ = value;
}
}
[ASN1SequenceOf(Name = "listOfDomainNames", IsSetOf = false)]
[ASN1Element(Name = "listOfDomainNames", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = false)]
public ICollection<Identifier> ListOfDomainNames
{
get
{
return listOfDomainNames_;
}
set
{
listOfDomainNames_ = value;
}
}
[ASN1Boolean(Name = "")]
[ASN1Element(Name = "reusable", IsOptional = false, HasTag = true, Tag = 2, HasDefaultValue = true)]
public bool Reusable
{
get
{
return reusable_;
}
set
{
reusable_ = value;
}
}
[ASN1Boolean(Name = "")]
[ASN1Element(Name = "monitorType", IsOptional = true, HasTag = true, Tag = 3, HasDefaultValue = false)]
public bool MonitorType
{
get
{
return monitorType_;
}
set
{
monitorType_ = value;
monitorType_present = true;
}
}
public void initWithDefaults()
{
bool param_Reusable =
false;
Reusable = param_Reusable;
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
public bool isMonitorTypePresent()
{
return monitorType_present;
}
}
}