Opc.Ua.Com.Server.ComHdaProxy.IsSupportedAttribute C# (CSharp) Method

IsSupportedAttribute() public method

Determines whether the server supports the specified HDA attribute.
public IsSupportedAttribute ( uint attributeId ) : bool
attributeId uint The attribute id.
return bool
        public bool IsSupportedAttribute(uint attributeId)
        {
            switch (attributeId)
            {
                case OpcRcw.Hda.Constants.OPCHDA_DATA_TYPE:
                case OpcRcw.Hda.Constants.OPCHDA_DESCRIPTION:
                case OpcRcw.Hda.Constants.OPCHDA_ARCHIVING:
                case OpcRcw.Hda.Constants.OPCHDA_ITEMID:
                case OpcRcw.Hda.Constants.OPCHDA_ENG_UNITS:
                case OpcRcw.Hda.Constants.OPCHDA_DERIVE_EQUATION:
                case OpcRcw.Hda.Constants.OPCHDA_NORMAL_MAXIMUM:
                case OpcRcw.Hda.Constants.OPCHDA_NORMAL_MINIMUM:
                case OpcRcw.Hda.Constants.OPCHDA_HIGH_ENTRY_LIMIT:
                case OpcRcw.Hda.Constants.OPCHDA_LOW_ENTRY_LIMIT:
                case OpcRcw.Hda.Constants.OPCHDA_STEPPED:
                case OpcRcw.Hda.Constants.OPCHDA_MAX_TIME_INT:
                case OpcRcw.Hda.Constants.OPCHDA_MIN_TIME_INT:
                case OpcRcw.Hda.Constants.OPCHDA_EXCEPTION_DEV:
                case OpcRcw.Hda.Constants.OPCHDA_EXCEPTION_DEV_TYPE:
                {
                    return true;
                }
            }

            return false;
        }