private void InitializeModules() { this.wifiRS21 = new GTM.GHIElectronics.WiFiRS21(9); this.ucBattery4xAA = new GTM.GHIElectronics.UCBattery4xAA(1); this.rfidReader = new GTM.GHIElectronics.RFIDReader(11); this.motorDriverL298 = new GTM.GHIElectronics.MotorDriverL298(8); }
private void InitializeModules() { this.usbClientDP = new GTM.GHIElectronics.USBClientDP(8); this.relayX1 = new GTM.GHIElectronics.RelayX1(4); this.rfidReader = new GTM.GHIElectronics.RFIDReader(6); this.characterDisplay = new GTM.GHIElectronics.CharacterDisplay(7); }
private void InitializeModules() { this.rfidReader = new GTM.GHIElectronics.RFIDReader(4); this.button = new GTM.GHIElectronics.Button(12); this.led7R = new GTM.GHIElectronics.LED7R(10); this.multicolorLED = new GTM.GHIElectronics.MulticolorLED(9); this.usbClientSP2 = new GTM.GHIElectronics.USBClientSP(2); }
private void InitializeModules() { this.statusLED = new GTM.GHIElectronics.MulticolorLED(18); this.Accelerometer = new GTM.GHIElectronics.Accelerometer(4); this.rfidReader = new GTM.GHIElectronics.RFIDReader(10); this.wifiRS21 = new GTM.GHIElectronics.WiFiRS21(11); this.ucBattery4xAA = new GTM.GHIElectronics.UCBattery4xAA(8); this.compass = new GTM.GHIElectronics.Compass(2); }
/// <summary> /// The constructor of the class, he's private because the class use the design pattern Singleton /// </summary> private RFIDReader() { _rfidReader = new GTM.GHIElectronics.RFIDReader(8); _rfidReader.IdReceived += _rfidReader_IdReceived; _rfidReader.MalformedIdReceived += _rfidReader_MalformedIdReceived; _isBadgeScan = false; _currentUid = ""; }
private void InitializeModules() { this.statusLED = new GTM.GHIElectronics.MulticolorLED(18); this.Accelerometer = new GTM.GHIElectronics.Accelerometer(4); this.rfidReader = new GTM.GHIElectronics.RFIDReader(10); this.wifiRS21 = new GTM.GHIElectronics.WiFiRS21(11); this.ucBattery4xAA = new GTM.GHIElectronics.UCBattery4xAA(8); this.compass = new GTM.GHIElectronics.Compass(2); }
private void InitializeModules() { this.usbClientEDP = new GTM.GHIElectronics.USBClientEDP(1); this.rfidReader = new GTM.GHIElectronics.RFIDReader(11); this.ethernetJ11D = new GTM.GHIElectronics.EthernetJ11D(7); this.joystick = new GTM.GHIElectronics.Joystick(9); this.displayT35 = new GTM.GHIElectronics.DisplayT35(14, 13, 12, 10); this.thermocouple = new GTM.GHIElectronics.Thermocouple(8); this.buttonDoorStatus = new GTM.GHIElectronics.Button(6); }
private void InitializeModules() { this.usbClientEDP = new GTM.GHIElectronics.USBClientEDP(1); this.multicolorLED = new GTM.GHIElectronics.MulticolorLED(11); this.button = new GTM.GHIElectronics.Button(8); this.displayTE35 = new GTM.GHIElectronics.DisplayTE35(14, 13, 12, 10); this.camera = new GTM.GHIElectronics.Camera(3); this.rfidReader = new GTM.GHIElectronics.RFIDReader(4); this.ethernetJ11D = new GTM.GHIElectronics.EthernetJ11D(7); }
private void InitializeModules() { this.usbClientDP = new GTM.GHIElectronics.USBClientDP(1); this.displayT35 = new GTM.GHIElectronics.DisplayT35(14, 13, 12, 10); this.rfidReader = new GTM.GHIElectronics.RFIDReader(8); this.camera = new GTM.GHIElectronics.Camera(3); this.multicolorLED = new GTM.GHIElectronics.MulticolorLED(11); this.multicolorLED2 = new GTM.GHIElectronics.MulticolorLED(4); this.ethernetJ11D = new GTM.GHIElectronics.EthernetJ11D(7); }
/// <summary> /// This method is if a badge is wrong scanned /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void _rfidReader_MalformedIdReceived(GTM.GHIElectronics.RFIDReader sender, EventArgs e) { Debug.Print("Badge mal scanné"); _currentUid = ""; _isBadgeScan = false; }
/// <summary> /// This method is when a badge is correctly scanned /// </summary> /// <param name="sender"></param> /// <param name="id"></param> private void _rfidReader_IdReceived(GTM.GHIElectronics.RFIDReader sender, string id) { Debug.Print("Uid : " + id); _currentUid = id; _isBadgeScan = true; }
private void _reader_IdReceived(GTM.GHIElectronics.RFIDReader sender, string e) { Debug.Print("Uid : " + e.ToString()); }
private void _reader_MalformedIdReceived(GTM.GHIElectronics.RFIDReader sender, EventArgs e) { Debug.Print("Badge mal scanné, veuillez recommencé"); }
private ReaderRFID() { _reader = new GTM.GHIElectronics.RFIDReader(8); _reader.IdReceived += _reader_IdReceived; _reader.MalformedIdReceived += _reader_MalformedIdReceived; }