50 lines
1.3 KiB
C
50 lines
1.3 KiB
C
|
#pragma once
|
|||
|
#include <time.h>
|
|||
|
#include <string>
|
|||
|
#include "../external/SQLiteCpp/SQLiteCpp.h"
|
|||
|
|
|||
|
using namespace std;
|
|||
|
|
|||
|
class FocusStatus
|
|||
|
{
|
|||
|
public:
|
|||
|
FocusStatus();
|
|||
|
~FocusStatus();
|
|||
|
static void CreateIfNoExist(SQLite::Database* db);
|
|||
|
|
|||
|
public:
|
|||
|
int m_ScanId;
|
|||
|
time_t m_InsertTime;
|
|||
|
long m_JobId;
|
|||
|
unsigned int m_LayerIndex;
|
|||
|
float m_ScanServoTemp;
|
|||
|
float m_PDSupplyVoltage; //PD<50><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
|
|||
|
float m_DSPCoreSupplyVoltage; //DSP<53><50><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD>ѹ
|
|||
|
float m_DSPIOVoltage; //DSP<53><50><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
|
|||
|
float m_AnalogSectionVoltage; //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
|
|||
|
float m_ADConverterSupplyVoltage; //ADת<44><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
|
|||
|
float m_PDSupplyCurrent; //PD<50><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
int m_LowState;
|
|||
|
int m_HighState;
|
|||
|
int m_StopEven;
|
|||
|
|
|||
|
public:
|
|||
|
static const string TABLE_NAME;
|
|||
|
static const string FIELD_ID;
|
|||
|
static const string FIELD_SCAN_ID;
|
|||
|
static const string FIELD_INSERT_TIME;
|
|||
|
static const string FIELD_JOB_ID;
|
|||
|
static const string FIELD_LAYER_INDEX;
|
|||
|
static const string FIELD_SCAN_SERVO_TEMP;
|
|||
|
static const string FIELD_PD_SUPPLY_VOLTAGE;
|
|||
|
static const string FIELD_DSP_CORE_SUPPLY_VOLTAGE;
|
|||
|
static const string FIELD_DSP_IO_VOLTAGE;
|
|||
|
static const string FIELD_ANALOG_SECTION_VOLTAGE;
|
|||
|
static const string FIELD_AD_CONVERTER_SUPPLY_VOLTAGE;
|
|||
|
static const string FIELD_PD_SUPPLY_CURRENT;
|
|||
|
static const string FIELD_LOW_STATE;
|
|||
|
static const string FIELD_HIGH_STATE;
|
|||
|
static const string FIELD_STOP_ENEN;
|
|||
|
};
|
|||
|
|