예제 #1
0
 // Constructor
 public EGizmoRfid(string portName, IRfidNotify i)
 {
     RegisterObserver(i);
     mSerialPort = new SerialPort(portName, 9600, Parity.None, 8, StopBits.One);
     mSerialPort.Open();
     mSerialPort.ReadTimeout = 500;
     StartThread();
 }
예제 #2
0
 void RegisterObserver(IRfidNotify i)
 {
     mIRfidNotify = i;
 }