private void ScanStationCreatedHandler(object sender, ApiCreationEventArg e) { _scanStation = e.ScanStation; if (_scanStation != null) { _scanStation.BarcodeProveRequestEvent += BarcodeSanityCheckHandler; _scanStation.BarcodeReceivedEvent += BarcodeReceivedHandler; } }
public ApiCreationEventArg(IScanStation scanStation) { ScanStation = scanStation; }