//
// Created by WJG on 2021-11-18.
//

#ifndef SMARTPANEL_COSS_FILEWRITEWORKER_H
#define SMARTPANEL_COSS_FILEWRITEWORKER_H

#include <unordered_set>
#include "../MsgSchedule/CThread.h"

class FileWriteWorker : public CThread{
public:
    void Run() override ;
    void setDevId(std::string dev_id);

private:
    std::unordered_set<std::string> did_set;
    std::mutex did_set_mutex;
};

#endif //SMARTPANEL_COSS_FILEWRITEWORKER_H
