123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #pragma once
- #ifndef HW_STRUCTURE_H
- #define HW_STRUCTURE_H
- const int MAX_STRING = 1024;
- typedef struct ECommand
- {
- wchar_t strHeader[2];//ͷλ
- wchar_t strProcIndex[2];
- wchar_t strDeviceIndex;
- wchar_t strFrmID[2];
- wchar_t strCMD[5];
- wchar_t strData[8];
- }
- ECommand;
- enum
- {
- FRAME_BEGIN = 1,
- FRAME_END = 2,
- FRAME_PREP = 3,
- FRAME_EXP_FAILED = 4,
- FRAME_EXP_PREP = 5
- };
- enum
- {
- SEQ_START = 1,
- SEQ_END= 2,
- SEQ_PREP = 3,
- };
- typedef enum{
- DT_GEN,
- DT_FPD,
- DT_TOMO,
- DT_MASK,
- DT_POS,
- DT_COL,
- DT_OTHER
- }ecom_data_type;
- typedef enum
- {
- NOSWITCH,
- SWITCH_PREP,
- SWITCH_READY,
- SWITCH_OVER,
- SWITCH_FOOT
- };
- typedef enum
- {
- NOCAL,
- CAL_START,
- CAL_CONFIRM,
- CAL_REJECT,
- CAL_ABORT,
- CAL_END
- };
- typedef enum ImageType
- {
- IMG_NULL,
- IMG_FULL,
- IMG_PREVIEW,
- IMG_RF,
- IMG_TIMEOUT
- };
- #endif HW_STRUCTURE_H
|