#ifndef SSMPRESETVALUES_H #define SSMPRESETVALUES_H #include #include #include "model/databaseManager/dto/ProbeProperties/DbmPresetValue.h" struct SsmPresetValues_t { int angle; int apcTxPower; int criFilter; int depth; int dynContB; int mla; int stb; int lineDensity; float readZoom; int rejectB; int framFilter; int lineFilter; int criLineFilter; int cri; int enhanceB; int gainB; int focusNumber; int persist; int focus; int tintMapB; int grayMapB; bool sriBypass; int sri; int oti; bool xl; int frequency; bool hi; bool ffc; bool virtualConvex; bool criBypass; bool mirrorLR; bool mirrorUD; bool twoDSri; int imageX; int imageY; int tgc; void init(DbmDtoPresetValue temp) { angle = temp.angle; apcTxPower = temp.apcTxPower; criFilter = temp.criFilter; depth = temp.depth; dynContB = temp.dynContB; mla = temp.mla; stb = temp.stb; lineDensity = temp.lineDensity; readZoom = static_cast(temp.readZoom); rejectB = temp.rejectB; framFilter = temp.framFilter; lineFilter = temp.lineFilter; criLineFilter = temp.criLineFilter; cri = temp.cri; enhanceB = temp.enhanceB; gainB = temp.gainB; focusNumber = temp.focusNumber; persist = temp.persist; focus = temp.focus; tintMapB = temp.tintMapB; grayMapB = temp.grayMapB; sriBypass = temp.sriBypass; sri = temp.sri; oti = temp.oti; xl = temp.xl; frequency = temp.frequency; hi = temp.hi; ffc = temp.ffc; virtualConvex = temp.virtualConvex; criBypass = temp.criBypass; mirrorLR = temp.mirrorLR; mirrorUD = temp.mirrorUD; twoDSri = temp.twoDSri; imageX = temp.imageX; imageY = temp.imageY; tgc = temp.tgc; } }; Q_DECLARE_METATYPE(SsmPresetValues_t); #endif //SSMPRESETVALUES_H