Ejemplo n.º 1
0
        private static void ListVariables(UPS target, UPSDClient client)
        {
            List <UPS.VariableDescription> vars = client.ListUPSReadWrite(target.Name);

            foreach (UPS.VariableDescription rwVar in vars)
            {
                Console.WriteLine("[" + rwVar.Name + "]");
                Console.WriteLine(rwVar.Description);
                Console.WriteLine("Type: " + rwVar.Type);
                Console.WriteLine("Value: " + rwVar.Value);
                Console.WriteLine();
            }
        }