2024-06-04 14:08:12 +08:00
|
|
|
|
#pragma once
|
2024-03-19 17:45:12 +08:00
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include "ScanTestCfg.h"
|
|
|
|
|
#include "ScanParamCfg.h"
|
|
|
|
|
#include "CorrectParamCfg.h"
|
|
|
|
|
#include "SkyWritingCfg.h"
|
|
|
|
|
#include "PowerCompensate.h"
|
|
|
|
|
#include "TimePowerCompensate.h"
|
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
class ScanCfg
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ScanCfg();
|
|
|
|
|
~ScanCfg();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
int m_cno;
|
|
|
|
|
string m_config_name;
|
|
|
|
|
string m_scan_code;
|
|
|
|
|
string m_scan_value;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
static const string TABLE_NAME;
|
|
|
|
|
static const string FIELD_CNO;
|
|
|
|
|
static const string FIELD_CONFIG_NAME;
|
|
|
|
|
static const string FIELD_SCAN_CODE;
|
|
|
|
|
static const string FIELD_SCAN_VALUE;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class ScanCfgWrapper
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ScanCfgWrapper();
|
|
|
|
|
~ScanCfgWrapper();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
ScanParamCfg m_ScanParamCfg;
|
|
|
|
|
ScanParamCfg m_HatchingParams;
|
|
|
|
|
ScanParamCfg m_BorderParams;
|
|
|
|
|
ScanParamCfg m_SupportParams;
|
|
|
|
|
CorrectParamCfg m_CorrectParamCfg;
|
|
|
|
|
ScanTestCfg m_ScanTestCfg;
|
|
|
|
|
SkyWritingCfg m_SkyWritingCfg;
|
|
|
|
|
PowerCompensateCfg m_PowerCompensateCfg;
|
|
|
|
|
TimePowerCompensateCfg m_TimePowerCompensateCfg;
|
|
|
|
|
|
2024-06-04 14:08:12 +08:00
|
|
|
|
map<string, ScanParamCfg*> m_ScanParamCfgMap; //客户端没有用到 不传
|
2024-03-19 17:45:12 +08:00
|
|
|
|
};
|