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

26 lines
565 B
C++

#ifndef _MSG_HPP_
#define _MSG_HPP_
#include <queue>
#include <mutex>
#include "WeighingDDSType.hpp"
class MsgData {
public:
static std::queue<WeighingSystem::ReadCardReq> ReadCardReq_queue_;
static std::mutex queue_cv_mtx_;
static std::queue<WeighingSystem::ScaleInfo> ScaleInfo_queue_;
static std::queue<WeighingSystem::InfraredUpdate> InfraredUpdate_queue_;
// 最新一帧红外状态缓存
static std::mutex infrared_mtx_;
static bool front_blocked_;
static bool back_blocked_;
static bool infrared_ready_;
};
#endif