protected virtual void OnPINKey(ref WFSPINKEY key) { if (PINKey != null) { PINKey(key.ulDigit.ToString().Substring(11)); } }
protected override void OnExecuteEvent(ref WFSRESULT result) { switch (result.dwCommandCodeOrEventID) { case PINDefinition.WFS_EXEE_PIN_KEY: WFSPINKEY key = new WFSPINKEY(); XFSUtil.PtrToStructure(result.lpBuffer, ref key); L4Logger.Info("WFS_EXEE_PIN_KEY => " + key.ulDigit); OnPINKey(ref key); break; } }