IRayEventDef.h 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /**
  2. * File: IRayEventDef.h
  3. *
  4. * Purpose: IRay FPD callback event definition
  5. *
  6. *
  7. * @author Haitao.Ning
  8. * @version 1.0 2015/4/23
  9. *
  10. * Copyright (C) 2009, 2015, iRay Technology (Shanghai) Ltd.
  11. *
  12. */
  13. #ifndef _IRAY_EVENT_DEF_H_
  14. #define _IRAY_EVENT_DEF_H_
  15. #define Evt_GeneralInfo 1 // General Info
  16. #define Evt_GeneralWarn 2 // General Warn
  17. #define Evt_GeneralError 3 // General Error
  18. #define Evt_TaskResult_Succeed 4 // Task succeed
  19. #define Evt_TaskResult_Failed 5 // Task failed
  20. #define Evt_TaskResult_Canceled 6 // Task been canceled
  21. #define Evt_AutoTask_Started 7 // Task is started which is not emitted by user command, outer or AED image acquiring will trigger this event.
  22. #define Evt_ScanOnce_Request 8 // Request scanner to start a broadcast scanning
  23. #define Evt_ImageFileUpload_Result 9 // Image file upload result notify
  24. #define Evt_TemplateFileUpload_Result 10 // Template file upload result notify
  25. #define Evt_TemplateFileDownload_Result 11 // Template file download result notify
  26. #define Evt_HwCaliTemplateList 12 // Return hardware calibration template list
  27. #define Evt_HwWiFiScanList 13 // Return hardware WiFi scan list
  28. #define Evt_HistoricalImageList 14 // Return hardware historical image list
  29. #define Evt_TimeDiff 15 // Return time difference between detector and PC in seconds
  30. #define Evt_LivingTime 16 // Return living time from detector in seconds
  31. #define Evt_TransactionAborted 17 // Notify that current transaction was aborted
  32. #define Evt_HwAcquisitionSettingList 18 // Return hardware acquisition setting list
  33. #define Evt_Image 1001 // Image received
  34. #define Evt_Prev_Image 1002 // Preview image received
  35. #define Evt_Retransfer_Image 1012 // Retransfered image received after break and re-connecting
  36. #define Evt_WaitImage_Timeout 1003 // Acqusition operation time out(equal: Possiable Image Loss)
  37. #define Evt_Exp_Prohibit 1004 // Exposure prohibit
  38. #define Evt_Exp_Enable 1005 // Exposure enable
  39. #define Evt_Exp_Timeout 1006 // Exposure timeout
  40. #define Evt_OffsetAmassingTime 1008 // Pixel base amassing time,typically from previous clear operation to current acquisition
  41. #define Evt_MistakenTrigger 1009 // Mistaken trigger in FreeSync mode
  42. #define Evt_Image_Trans_Slow 1010 // Warn that image transfer speed low, usually at wireless connection.
  43. #define Evt_Image_Abandon 1011 // Warn that currently acquiring image abandoned because bad network situation
  44. #define Evt_LastImageID 1013 // Return the image ID while invoking Cmd_QueryLastImageID
  45. #define Evt_CustomROM 1014 // Return the customized data while invoking Cmd_ReadCustomROM
  46. #define Evt_LicenseData 1015 // Return the license data while invoking Cmd_ReadLicenseData
  47. #define Evt_NextStitchingPositionEnable 1016 // Inform the system that the acquisition of post-offset dark image is finished
  48. #define Evt_StitchingFlowTimeout 1017 // If two stitching exposures time out, the detector will exit the stitching workflow and back to normal workflow
  49. #define Evt_FreshImageIDs 1018 // Return remain images that haven't been transferred. If all the images have been transferred, then nFirstImageID and nFreshImageCount will be "0"
  50. #define Evt_CustomData 1019 // Return the customized data while invoking Cmd_ReadCustomData
  51. #define Evt_AutoPoweroff 1020 // Power off warn
  52. #define Evt_ConnectProcess 2001 // Report Process info while connecting
  53. #define Evt_CommFailure 2002 // Communication failed
  54. #define Evt_TemperatureHigh 2003 // Temperature too high
  55. #define Evt_FpsOutOfRange 2004 // Fps too high or too low
  56. #define Evt_LowBattery 2005 // Low battery warn
  57. #define Evt_TemplateOverDue 2006 // Calibration template file over due
  58. #define Evt_SWHWDataNotMatch 2007 // The correct data of software and hardware not match, for example:Software defect template create time not same as Software defect template create time
  59. #define Evt_DefectPointsIncreased 2008 // Notify user after new defect map generated if new defect points are found.
  60. #define Evt_CtrlBoxOnlineState 2009 // Notify user current controlbox connection state changed
  61. #define Evt_IdcRegionConflict 2010 // Notify user Region selection conflict
  62. #define Evt_IdcCorrectionFactorParams 2011 // Return IDC correction factor
  63. #define Evt_IdcPresetGrayFactorParams 2012 // Return IDC preset gray
  64. #define Evt_IdcPresetDoseFactorParams 2013 // Return IDC preset dose
  65. #define Evt_IdcSensitivityFactorParams 2014 // Return IDC SPL factor
  66. #define Evt_IdcCutOffThresholdParams 2015 // Return IDC cut-off threshold parameters
  67. #define Evt_IdcCtrlBoxRomParams 2016 // Return IDC control box rom parameters
  68. #define Evt_IdcActiveRegionData 2017 // Return IDC active region selection
  69. #define Evt_FwMismatch 2030 // Notify user current firmware version mismatch with main version
  70. #define Evt_FpdSelfTestFailed 2031 // Notify user current panel connected, but it working in error state.
  71. #define Evt_IdcNetworkInstability 2032 // Notify user current IDC function network instability
  72. #endif