static void Main(string[] args) { OpcConfig config = OpcConfigManager.Configure("General.Index"); listener = new OpcListener(config); listener.OPCDataChanged += new OpcDataChangedEventHandler(listener_OPCDataChanged); listener.Start(); Console.WriteLine("Press any key to stop."); Console.ReadKey(); listener.Close(); }
public PtFtListener(OpcConfig config) : base(config) { }