Opc.Ua.Com.Server.ComHdaItemManager.GetReadValueId C# (CSharp) 메소드

GetReadValueId() 개인적인 메소드

Gets the read value id for the specified attribute.
private GetReadValueId ( ReadValueIdCollection supportedAttributes, uint attributeId ) : ReadValueId
supportedAttributes ReadValueIdCollection The supported attributes.
attributeId uint The attribute id.
리턴 ReadValueId
        private ReadValueId GetReadValueId(ReadValueIdCollection supportedAttributes, uint attributeId)
        {
            for (int jj = 0; jj < supportedAttributes.Count; jj++)
            {
                ReadValueId valueToRead = supportedAttributes[jj];

                if ((uint)valueToRead.Handle == attributeId)
                {
                    return valueToRead;
                }
            }

            return null;
        }