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.

23 lines
602 B

  1. #pragma once
  2. #include <fstream>
  3. #include <iostream>
  4. #include <list>
  5. #include <map>
  6. #include <memory>
  7. #include <set>
  8. #include <sstream>
  9. #include <string>
  10. #include "app_protocols/transmit_disfection_protocol/transmit_disfection_protocol.hpp"
  11. #include "iflytop/core/spdlogfactory/logger_factory.hpp"
  12. namespace iflytop {
  13. using namespace std;
  14. class Internationalization {
  15. public:
  16. static string cmdid2str(int cmdid);
  17. static string ecode2description(int ecode);
  18. static string ecode2description(int ecode, int32_t toboard, int32_t cmdid, uint8_t* param, int32_t paramLen);
  19. };
  20. } // namespace iflytop