Example #1
0
        /// <summary>
        /// Gets the property values.
        /// </summary>
        /// <param name="itemId">The item id.</param>
        /// <param name="propertyIds">The property ids.</param>
        /// <returns>The property values.</returns>
        public DaValue[] GetPropertyValues(string itemId, int[] propertyIds)
        {
            DaValue[] results = new DaValue[propertyIds.Length];

            for (int ii = 0; ii < results.Length; ii++)
            {
                results[ii]       = new DaValue();
                results[ii].Error = ResultIds.E_UNKNOWNITEMID;
            }

            return(results);
        }
Example #2
0
        /// <summary>
        /// Reads the values for the specified item ids.
        /// </summary>
        /// <param name="itemIds">The item ids.</param>
        /// <returns>The values.</returns>
        public DaValue[] Read(string[] itemIds)
        {
            DaValue[] values = new DaValue[itemIds.Length];

            for (int ii = 0; ii < values.Length; ii++)
            {
                values[ii]       = new DaValue();
                values[ii].Error = ResultIds.E_UNKNOWNITEMID;
            }

            return(values);
        }