public bool Connect(string ip) { bool res = OPC.Create(ip); if (res) { Connected = true; } return(res); }