using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EBRDemo { class Program { static void Main(string[] args) { try { SCADA gDDZ = new SCADA(); gDDZ.AddItems(); } catch { Console.WriteLine("OPC server is not connected"); } Console.ReadKey(); } } }