Exemple #1
0
        public override string ToString()
        {
            string module = _t.module().get_logicalName();

            if (module == "")
            {
                module = _t.module().get_serialNumber();
            }
            string func = _t.get_logicalName();

            if (func == "")
            {
                func = _t.get_hardwareId();
                func = func.Substring(func.IndexOf('.') + 1);
            }
            return(module + " " + func);
        }