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.
28 lines
731 B
28 lines
731 B
#pragma once
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <list>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <set>
|
|
#include <sstream>
|
|
#include <string>
|
|
|
|
#include "app_protocols/transmit_disfection_protocol/transmit_disfection_protocol.hpp"
|
|
#include "iflytop/core/spdlogfactory/logger_factory.hpp"
|
|
//
|
|
#include "appbase/appbean/device_state.hpp"
|
|
|
|
|
|
namespace iflytop {
|
|
using namespace std;
|
|
class Internationalization {
|
|
public:
|
|
static string cmdid2str(int cmdid);
|
|
|
|
static string ecode2description(int ecode);
|
|
static string deviceBusyError2description(int ecode, DeviceState deviceState);
|
|
static string ecode2description(int ecode, int32_t toboard, int32_t cmdid, uint8_t* param, int32_t paramLen);
|
|
};
|
|
|
|
} // namespace iflytop
|