예제 #1
0
파일: Program.cs 프로젝트: sschocke/netNUT
        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();
            }
        }