|
@@ -22,10 +22,17 @@
|
|
|
#include "ya_setting.h"
|
|
|
|
|
|
config_file config;
|
|
|
-static void handlereader(uint32_t readerid,bool duration,uint32_t t)
|
|
|
+void handlereader(uint32_t readerid,bool duration,uint32_t t)
|
|
|
{
|
|
|
|
|
|
}
|
|
|
+//三率模块中告警回调
|
|
|
+/*void Handle_ThreeRates_Event_Callback(const int evType, const int evId, uint64_t id
|
|
|
+ , double limitVal, double curVal, bool bFalg)
|
|
|
+{
|
|
|
+
|
|
|
+}*/
|
|
|
+
|
|
|
struct Init_Setting
|
|
|
{
|
|
|
void init()
|
|
@@ -82,6 +89,7 @@ struct Init_Setting
|
|
|
std_info("three_rates ...................");
|
|
|
init_para ip;
|
|
|
ip.send_pt = handlereader;
|
|
|
+ ip.driving_face_alarm = nullptr;//Handle_ThreeRates_Event_Callback;
|
|
|
three_rates::get_instance()->init(ip,dbs);
|
|
|
three_rates::get_instance()->start();
|
|
|
}
|