Example #1
0
        /// <summary>
        /// Reads the PLM's information including its
        /// Device ID, category, and firmware rev, and
        /// returns it in a PlmInfo object.
        /// </summary>
        public PlmInfo GetInfo()
        {
            var info = new PlmInfo(this); // creates value with all zeros

            exceptionHandler(() =>
            {
                info = getIMInfo(this);
            });
            return(info);
        }
Example #2
0
 /// <summary>
 /// Reads the PLM's information including its
 /// Device ID, category, and firmware rev, and
 /// returns it in a PlmInfo object.
 /// </summary>
 public PlmInfo GetInfo()
 {
     var info = new PlmInfo(this); // creates value with all zeros
     exceptionHandler(() =>
     {
         info = getIMInfo(this);
     });
     return info;
 }