コード例 #1
0
        /// <summary>
        /// Current value as represented by measurement system and units;
        /// does not include the unit string itself.
        /// Raw data version is just that.
        /// Note the default on raw data is to serve it without modification.
        /// </summary>
        public void GetOut(out string o)
        {
            DICnvtrBase cv = GetCv();

            if (cv != null)
            {
                o = cv.ConvertOut(_rd);
            }
            else
            {
                o = "";
            }
        }
コード例 #2
0
        public void GetOut(out string o, DaIBase src)
        {
            DICnvtrBase cv = GetCv();

            if (cv != null)
            {
                uint myrd;
                src.GetOut(out myrd);
                o = cv.ConvertOut(myrd);
            }
            else
            {
                o = "";
            }
        }