#ifndef ORDERCOMMON_H #define ORDERCOMMON_H #include #include #include #include #include #include #include "json/json.h" typedef struct { std::string order_value; //具体命令内容 std::string from; //命令来自哪 GRPC、Socket、Http } OrderData; typedef struct { std::string poundno; //工作站编号 std::string train_date; //来车日期 std::string train_name; //车次 暂时使用来车时间来代替 std::string filename; //结果文件 .csv } SendOutData; typedef struct { Json::Value order; } GetOrderData; typedef struct { std::string poundno; //工作站编号 std::string csv_name; //结果文件 .csv std::string yearDate; //来车日期 std::string timeDate; //车次 暂时使用来车时间来代替 } FeedbackData; #endif // !ORDERCOMMOM_H