Ejemplo n.º 1
0
        public void StopListening()
        {
            _tagGroup.ScanStop();
            _controlLogix.Disconnect();

            //_peerMessage.ShutDown();
        }
Ejemplo n.º 2
0
 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>(),
     };
 }