Пример #1
0
            public static void Main1()
            {
                var easyAEClient = new EasyAEClient();
                AEConditionState conditionState = easyAEClient.GetConditionState("", "OPCLabs.KitEventServer.2",
                                                                                 "Simulation.ConditionState1", "Simulated");

                Console.WriteLine("ConditionState:");
                Console.WriteLine("    .ActiveSubcondition: {0}", conditionState.ActiveSubcondition);
                Console.WriteLine("    .Enabled: {0}", conditionState.Enabled);
                Console.WriteLine("    .Active: {0}", conditionState.Active);
                Console.WriteLine("    .Acknowledged: {0}", conditionState.Acknowledged);
                Console.WriteLine("    .Quality: {0}", conditionState.Quality);
                // Remark: IAEConditionState has many more properties
            }