//// 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 = "TriggerEvent_Request", IsSet = false)] public class TriggerEvent_Request : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(TriggerEvent_Request)); private ObjectName eventConditionName_; private Priority priority_; private bool priority_present; [ASN1Element(Name = "eventConditionName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public ObjectName EventConditionName { get { return eventConditionName_; } set { eventConditionName_ = value; } } [ASN1Element(Name = "priority", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)] public Priority Priority { get { return priority_; } set { priority_ = value; priority_present = true; } } public void initWithDefaults() { } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isPriorityPresent() { return priority_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.Runtime.CompilerServices;
using GSF.ASN1;
using GSF.ASN1.Attributes;
using GSF.ASN1.Coders;
namespace GSF.MMS.Model
{
[ASN1PreparedElement]
[ASN1Sequence(Name = "TriggerEvent_Request", IsSet = false)]
public class TriggerEvent_Request : IASN1PreparedElement
{
private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(TriggerEvent_Request));
private ObjectName eventConditionName_;
private Priority priority_;
private bool priority_present;
[ASN1Element(Name = "eventConditionName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)]
public ObjectName EventConditionName
{
get
{
return eventConditionName_;
}
set
{
eventConditionName_ = value;
}
}
[ASN1Element(Name = "priority", IsOptional = true, HasTag = true, Tag = 1, HasDefaultValue = false)]
public Priority Priority
{
get
{
return priority_;
}
set
{
priority_ = value;
priority_present = true;
}
}
public void initWithDefaults()
{
}
public IASN1PreparedElementData PreparedData
{
get
{
return preparedData;
}
}
public bool isPriorityPresent()
{
return priority_present;
}
}
}