EnergySpectrumMeasureService/3rdlib/DeviceManage/include/PeakInfoDefine.h
2026-04-06 22:03:00 +08:00

70 lines
1.2 KiB
C

#pragma once
#include <Windows.h>
#pragma pack(push,1)
typedef struct sOnePeakInfoV2
{
double dCursorChannel;
double dCursorCount;
double dCursorEnergy;
BOOL bFindPeak;
double dPeakChannel; // 峰所在道址
double dPeakEnergy; // 峰所在的能量
double dLeftChannel;
double dRightChannel;
char cNName[64];
double iNIChannel;
double dNIEnergy;
double fwhmpercent;
double fwhmenergy;
double fwhxmpercent;
double fwhxmenergy;
// 总计数
double dGrossArea;
// 总计数率
double dGrossAreaCountRate;
// 净计数
double dNetArea;
// 净计数率
double dNetAreaCountRate;
double dNetAreaUncertain;
double dcA; // counting activity
unsigned char reserve[32];
}sOnePeakInfoV2;
enum eDisplaSprtInfoType
{
eOrg,
eCoin,
eAnitCoin,
};
enum eCalcSprtSubInfoType
{
,
,
,
_符合单多,
,
_主单多,
_主多,
};
typedef struct sCursorInfo
{
int* pHandle; // 设备句柄
int bdidx;
int chidx;
double channel;
eDisplaSprtInfoType calcType;
eCalcSprtSubInfoType sprtSubType;
unsigned char reserve[28];
}sCursorInfo;
typedef struct sROICalcConfig
{
int bdCalclen;
double bdCalcUncertainPercent;
}sROICalcConfig;
#pragma pack(pop)