示例#1
0
        public override void ShowSettings()
        {
            if (Path == null)
            {
                return;
            }

            base.ShowSettings();

            Console.WriteLine("Firmware\t{0}", Firmware.ToUpper());
            Console.WriteLine("Sound Card\t{0}\t{1}", SoundCard, VMware.ValueToDescripton(SoundCard));
            Console.WriteLine();

            List <string> NIC = NICs;

            if (NIC.Count > 0)
            {
                Console.Write("NICs");
            }

            for (int i = 0; i < NIC.Count; i++)
            {
                Console.WriteLine("\t[{0}]\t{1}\t{2}", i, NIC[i], VMware.ValueToDescripton(NIC[i]));
            }
        }
示例#2
0
 public object Convert(object value, Type type, object para, CultureInfo culture)
 {
     if (value == null)
     {
         return("");
     }
     else
     {
         return(VMware.ValueToDescripton(value.ToString()));
     }
 }