示例#1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="logicalName">The logical name of the request</param>
        /// <param name="id">The Attribute or Method ID of the request</param>
        /// <param name="type">The type of request</param>
        /// <param name="message">The Exception Message</param>
        //  Revision History
        //  MM/DD/YY who Version Issue# Description
        //  -------- --- ------- ------ ---------------------------------------
        //  07/16/13 RCG 2.80.53 N/A    Created

        public COSEMException(byte[] logicalName, sbyte id, COSEMExceptionRequestType type, string message)
            : this(message)
        {
            m_LogicalName = logicalName;
            m_ID          = id;
            m_RequestType = type;
        }
示例#2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="logicalName">The logical name of the request</param>
        /// <param name="id">The Attribute or Method ID of the request</param>
        /// <param name="type">The type of request</param>
        //  Revision History
        //  MM/DD/YY who Version Issue# Description
        //  -------- --- ------- ------ ---------------------------------------
        //  07/16/13 RCG 2.80.53 N/A    Created

        public COSEMException(byte[] logicalName, sbyte id, COSEMExceptionRequestType type)
            : this(logicalName, id, type, "")
        {
        }