70 lines
1.2 KiB
C
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) |