Exemple #1
0
        private void btnGetDevices_Click(object sender, EventArgs e)
        {
            powerSocket.GetDevList();  // create a list of all devices

            LogBox.AppendText("Found " + powerSocket.deviceList.Count.ToString() + " devices \n");

            if (powerSocket.deviceList.Count > 0)
            {
                device = powerSocket.deviceList[0];
            }
        }
 public RemoteUser(deviceClass dc)
 {
     InitializeComponent();
     _dc = dc;
 }
Exemple #3
0
 /// <summary>
 /// Defaut constructor for (Ethernet) remote readers
 /// </summary>
 /// <param name="previousUid">Given tag previous ID</param>
 /// <param name="currentDeviceClass">deviceClass instance of the TCP device</param>
 public TagUidWritingForm(string previousUid, deviceClass currentDeviceClass)
     : this(previousUid, currentDeviceClass.rfidDev)
 {
     _isEthernetDevice   = true;
     _currentDeviceClass = currentDeviceClass;
 }