public void Execute(object parameter)
        {
            //Debug.WriteLine("You made it!!!!");
            var slaveDevice = parameter as SlaveDevice;

            if (slaveDevice != null)
            {
                TransferData.ActivateDeactivateCountersInDevice(parameter as SlaveDevice);
            }
            else
            {
                MessageBox.Show("Invalid parameter in ActivateDeactivateCounters command");
            }
        }