123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #pragma once
- #include "CppSQLite3.h"
- #include "dt.h"
- #include <string>
- #include <windows.h>
- #include <mutex>
- #include "CConfigBase.h"
- #include "CDataBaseOperate.h"
- namespace ns_db
- {
- using namespace std;
- #ifdef STATISTIC_COUNTERS_DLL
- #define DLL_STATISTIC_COUNTERS_API __declspec(dllexport)
- #else
- #define DLL_STATISTIC_COUNTERS_API
- #endif
- typedef struct
- {
- int Lot;
- int PtIndex;
- int Attribute;
- int X_Offset;
- int X_RefMin;
- int X_RefMax;
- int Y_Offset;
- int Y_RefMin;
- int Y_RefMax;
- int Theta_Offset;
- int Theta_RefMin;
- int Theta_RefMax;
- long Time;
- } CPK_LIST_STRUCT;
- typedef struct
- {
- string TableType;
- int TableId;
- string Action;
- string StartTime;
- string EndTime;
- int UseTime;
- }ACTION_TIME_STRUCT;
- class DLL_STATISTIC_COUNTERS_API CStatisticCounters : public CDataBaseOperate
- {
- public:
- CStatisticCounters();
- private:
- LONG SaveDB() override;
- LONG LoadDB() override;
- #pragma region BondHead
- private:
- std::vector<CONFIG_BASE_STRUCT> m_vecConfig_BondHead;
- public:
-
- #pragma endregion
- };
- }
|