Esempio n. 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="nm"></param>
 /// <returns></returns>
 public static TransItem Create(NameMap nm, FromDBI fromDBI, ToDBI toDBI)
 {
     TransItem item = new TransItem();
     item.FromDevice = CreateFromDevice(nm.FromName, fromDBI);
     item.ToDevice = CreateToDevice(nm.ToName, toDBI, nm.Elvation );
     return item;
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="nm"></param>
        /// <returns></returns>
        static public TransItem Create(NameMap nm, FromDBI fromDBI, ToDBI toDBI)
        {
            TransItem item = new TransItem();

            item.FromDevice = CreateFromDevice(nm.FromName, fromDBI);
            item.ToDevice   = CreateToDevice(nm.ToName, toDBI, nm.Elvation);
            return(item);
        }