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