// // 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 = "Input_Request", IsSet = false)] public class Input_Request : IASN1PreparedElement { private static readonly IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(typeof(Input_Request)); private bool echo_; private Unsigned32 inputTimeOut_; private bool inputTimeOut_present; private ICollection listOfPromptData_; private bool listOfPromptData_present; private Identifier operatorStationName_; [ASN1Element(Name = "operatorStationName", IsOptional = false, HasTag = true, Tag = 0, HasDefaultValue = false)] public Identifier OperatorStationName { get { return operatorStationName_; } set { operatorStationName_ = value; } } [ASN1Boolean(Name = "")] [ASN1Element(Name = "echo", IsOptional = false, HasTag = true, Tag = 1, HasDefaultValue = true)] public bool Echo { get { return echo_; } set { echo_ = value; } } [ASN1SequenceOf(Name = "listOfPromptData", IsSetOf = false)] [ASN1Element(Name = "listOfPromptData", IsOptional = true, HasTag = true, Tag = 2, HasDefaultValue = false)] public ICollection ListOfPromptData { get { return listOfPromptData_; } set { listOfPromptData_ = value; listOfPromptData_present = true; } } [ASN1Element(Name = "inputTimeOut", IsOptional = true, HasTag = true, Tag = 3, HasDefaultValue = false)] public Unsigned32 InputTimeOut { get { return inputTimeOut_; } set { inputTimeOut_ = value; inputTimeOut_present = true; } } public void initWithDefaults() { bool param_Echo = false; Echo = param_Echo; } public IASN1PreparedElementData PreparedData { get { return preparedData; } } public bool isListOfPromptDataPresent() { return listOfPromptData_present; } public bool isInputTimeOutPresent() { return inputTimeOut_present; } } }