public static void Main1() { var easyAEClient = new EasyAEClient(); AEConditionElementCollection conditionElements = easyAEClient.QuerySourceConditions( "", "OPCLabs.KitEventServer.2", "Simulation.ConditionState1"); foreach (AEConditionElement conditionElement in conditionElements) { Debug.Assert(conditionElement != null); Console.WriteLine("ConditionElements[\"{0}\"]: {1} subcondition(s)", conditionElement.Name, conditionElement.SubconditionNames.Length); } }