Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="p"></param>
 /// <returns></returns>
 private static FromDevice CreateFromDevice(string name, FromDBI fromDBI)
 {
     FromDevice fd = new FromDevice();
     fd.DBI = fromDBI;
     fd.Name = name;
     fd.ID = fromDBI.ReadFromDeviceID(name);
     return fd;
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="p"></param>
        /// <returns></returns>
        private static FromDevice CreateFromDevice(string name, FromDBI fromDBI)
        {
            FromDevice fd = new FromDevice();

            fd.DBI  = fromDBI;
            fd.Name = name;
            fd.ID   = fromDBI.ReadFromDeviceID(name);
            return(fd);
        }