NettyClientCommandEnum.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-11-18 22:49:13
  4. * @LastEditTime: 2021-11-18 23:26:24
  5. * @LastEditors: Please set LastEditors
  6. * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  7. * @FilePath: /MIVA/modules/dataType/include/NettyClientCommandEnum.h
  8. */
  9. #pragma once
  10. #include <iostream>
  11. using namespace std;
  12. class NettyClientCommandEnum
  13. {
  14. private:
  15. public:
  16. NettyClientCommandEnum(/* args */){};
  17. ~NettyClientCommandEnum(){};
  18. // 客户端传输给服务端-登录数据中
  19. const string login = "login";
  20. //客户端传输到服务端-心跳包数据
  21. const string heartbeat = "heartbeat";
  22. //客户端传输到服务端-鸟情预警数据
  23. const string bird_info = "bird_info";
  24. // 客户端传输到服务端-设备状态数据
  25. const string device_info = "device_info";
  26. // 相机IP映射客户端
  27. const string camera_ip_mapping_client_ip = "camera_ip_mapping_client_ip";
  28. // API
  29. string api_result = "api_result";
  30. // 客户端传输到服务器-车厢信息
  31. const string CarDatas = "CarDatas";
  32. const string recognition_info = "recognition_info";
  33. const string device_status_info_cmd = "device_status_info_cmd";
  34. const string device_status_info = "device_status_info";
  35. };