You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
1011 B

#ifndef SYSTEMPARAMETERS_H
#define SYSTEMPARAMETERS_H
#include <QObject>
#include "model/databaseManager/dto/System/DbmSysParameters.h"
struct ScenGenSystemParameters_t {
float dtgcMaxWeight;
QList<float> blendShotWeight;
float delayCalcDt;
float lineDt;
float fpgaTxDt;
quint32 apodization;
float startDepth;
quint32 maxBPulseNumber;
quint32 maxRxFocusPointNumber;
quint32 channelNumber;
quint8 mla;
quint32 stb;
ScenGenSystemParameters_t()
{
}
ScenGenSystemParameters_t(DbmDtoSysParameters data)
{
delayCalcDt = static_cast<float>(data.delayCalcDt);
lineDt = static_cast<float>(data.lineDt);
fpgaTxDt = static_cast<float>(data.fpgaTxDt);
apodization = static_cast<quint32>(data.apodization);
startDepth = static_cast<float>(data.startDepth);
maxBPulseNumber = 256;
maxRxFocusPointNumber = 8192;
channelNumber = 192;
dtgcMaxWeight = 10;
mla = 1;
stb = 0;
blendShotWeight = {1, 1, 1, 1};
}
};
#endif //SYSTEMPARAMETERS_H