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
512 B
28 lines
512 B
#pragma once
|
|
#include <stdint.h>
|
|
|
|
#include <functional>
|
|
#include "apibasic/basic.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
namespace iflytop {
|
|
using namespace std;
|
|
|
|
// typedef enum {
|
|
// kreg_change_event = 1,
|
|
// } event_type_t;
|
|
|
|
class ZIEventBusSender {
|
|
public:
|
|
virtual ~ZIEventBusSender() {}
|
|
/**
|
|
* @brief 模块状态发生改变,具体的状态上位机通过查询指令进行确定
|
|
*
|
|
* @param moduleid
|
|
*/
|
|
virtual void push_reg_state_change_event(int32_t moduleid, int32_t regindex, int32_t oldval, int32_t toval) = 0;
|
|
};
|
|
} // namespace iflytop
|