30 lines
527 B
C++
30 lines
527 B
C++
#pragma once
|
|
#include <string>
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
class HistoryAlarm
|
|
{
|
|
public:
|
|
HistoryAlarm();
|
|
~HistoryAlarm();
|
|
static string GetCreateSql();
|
|
static string GetIndexSql();
|
|
void GetUpdateSql(vector<string>& ups);
|
|
|
|
public:
|
|
int m_Id;
|
|
time_t m_InsertTime;
|
|
string m_JobName;
|
|
int m_Type;
|
|
string m_AlarmContent;
|
|
|
|
public:
|
|
static string TABLE_NAME;
|
|
static string FIELD_ID;
|
|
static string FIELD_INSERT_TIME;
|
|
static string FIELD_JOB_NAME;
|
|
static string FIELD_TYPE;
|
|
static string FIELD_ALARM_CONTENT;
|
|
};
|