public void StopListening() { _tagGroup.ScanStop(); _controlLogix.Disconnect(); //_peerMessage.ShutDown(); }
public TagViewController() { this.State = new VmTagView() { PlcIP = "192.168.10.1", Notification = "Ready", CmdLoadTags = new DelegateCommand(() => LoadTags()), CmdStartMonitoring = new DelegateCommand(() => tagGroup.ScanStart(SCAN_INTERVAL)), CmdStopMonitoring = new DelegateCommand(() => tagGroup.ScanStop()), MonitoredTags = new BindingList <VmMonitoredTag>(), }; }