You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
  2. #define __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
  3. #include "../../alg/lgs/mask.h"
  4. #include "../../components/base/basicEvent.h"
  5. #include "protocolLGS3D.h"
  6. #define MAXIMAL_EVENT_COUNT_IN_PACKET 5370
  7. class protocolLGS3D_Server : public protocolLGS_3D
  8. {
  9. private:
  10. basicLogCollection * m_pLog;
  11. public:
  12. explicit protocolLGS3D_Server(U8 DeviceID = 0);
  13. virtual ~protocolLGS3D_Server();
  14. virtual bool create(void)
  15. {
  16. return protocolLGS_3D::create();
  17. }
  18. /* Query Issuer Methods */
  19. bool sendBorderError(uint8_t Error);
  20. bool sendBorderData(uint32_t SampleID, uint8_t KernelID, thresholdNode * WorkingSAF);
  21. bool sendFlip(uint16_t Count);
  22. bool sendMode(uint8_t Mode);
  23. bool sendParameters(PLGS_3D_PARAMETERS ptr);
  24. bool sendScan(void);
  25. bool sendShadowInfo(ShadowMask * ShObj);
  26. bool sendShadowStatus(bool Status, uint8_t ShadowID = 0);
  27. bool sendShadowPoly(simplePolygone * SP);
  28. bool sendSetPolyACK(uint8_t id);
  29. bool sendResetACK(void);
  30. bool sendFullResetACK(void);
  31. bool sendGenericACK(bool Status);
  32. bool sendState(uint8_t State);
  33. bool sendState2(uint8_t State, uint8_t Evemts, ALG_RUN_STATUS * StatusData);
  34. bool sendEvents(uint8_t bEventsCount, uint8_t * pEventData);
  35. bool sendTarget(uint16_t Angle, uint16_t Azimuth, uint16_t Range);
  36. bool sendTargetW(uint16_t Angle, uint16_t Azimuth, uint16_t Range, uint32_t Width);
  37. bool sendTargetM(uint32_t SampleID, uint8_t Kernel, uint16_t Range, uint32_t Width, bool isBlack = false);
  38. bool sendTargetZ(TARGET_DATA * ptr);
  39. bool sendTwinLinkACK(uint8_t status);
  40. };
  41. #endif