コード例 #1
0
 /// <summary>
 ///     Closes the connection to the device.
 /// </summary>
 public void Close()
 {
     BaseRFID.Antenna = false;
     BaseRFID.LED     = false;
     BaseRFID.close();
 }
コード例 #2
0
 /// <summary>
 ///     Writes to an in-range tag when it's writable.
 /// </summary>
 /// <param name="value"></param>
 public void Write(string value)
 {
     BaseRFID.write(value, P.RFID.RFIDTagProtocol.EM4100, false);
 }
コード例 #3
0
 /// <summary>
 ///     Writes to an in-range tag when it's writable and makes the tag unwritable afterwards.
 /// </summary>
 /// <param name="value"></param>
 public void WriteLock(string value)
 {
     BaseRFID.write(value, P.RFID.RFIDTagProtocol.EM4100, true);
 }
コード例 #4
0
 /// <summary>
 ///     Blocks execution of further code until a Phidget RFID device is attached.
 /// </summary>
 public void WaitForAttachment()
 {
     BaseRFID.waitForAttachment();
 }