Ejemplo n.º 1
0
        public void QueryAvailableProperties(string tagName)
        {
            int count = 0;

            Array PropertyIDs;
            Array Descriptions;
            Array DataTypes;

            try{
                mServer.QueryAvailableProperties(tagName, out count, out PropertyIDs, out Descriptions, out DataTypes);
                if ((count == 0) || (count > 10000))
                {
                    return;
                }

                for (int i = 1; i <= count; i++)
                {
                    Console.WriteLine("in QueryAvailableProperties, tagName is : " + tagName + ": " + PropertyIDs.GetValue(i) + ", " + Descriptions.GetValue(i) + ", " + DataTypes.GetValue(i) + " ==>");
                }
            } catch (Exception ex)
            {
            }
        }