#pragma once #include #include #define zxSystem (getZxSystem()) #define _isSame ZxBaseUtil::isSameStr #define _isValid zxMathBase::isValidValue #define zxDbConn ZxDbSimple::getInstance()->getSimpleDb() #define zxDbConnExt ZxDbSimple::getInstance()->getSimpleDbExt() #define zxDbConnExtPtr ZxDbSimple::getInstance()->getSimpleDbExtPtr() #define zxDbExtActivated ZxDbSimple::getInstance()->isDbExtActivated() #define zxLogRunD zxLogInstance::getInstance()->writeLogD #define zxLogRunI zxLogInstance::getInstance()->writeLogI #define zxLogRunF zxLogInstance::getInstance()->writeLogF #define zxLogRunW zxLogInstance::getInstance()->writeLogW #define zxLogOpen zxLogInstance::getInstance()->openLog #define zxLogSave zxLogInstance::getInstance()->saveLog #define zxAppID zxLogInstance::getInstance()->getAppID() #define zxSetStatus zxSysUtils::getInstance()->setStatusText #define zxGetWndSetting zxSysUtils::getInstance()->getWndSettings #define zxParseCmds2ToolBar zxSysUtils::getInstance()->parseBtnCmd2ToolBar #define zxParseCmdIDs2ToolBar zxSysUtils::getInstance()->parseBtnCmdID2ToolBar #define zxGetCmdNameByID zxSysUtils::getInstance()->getCmdNameByID #define zxCurProject dynamic_cast(zxSysUtils::getCurProject()) #define zxCurWell dynamic_cast(zxSysUtils::getCurWell()) #define xVecXmlTables zxSysUtils::getInstance()->m_vecXmlTables #define xVecXmlAliasTables zxSysUtils::getInstance()->m_vecXmlAliasTables #define xVecXmlCurveDict zxSysUtils::getInstance()->m_vecCurveDict #define xVecModelWbss zxSysUtils::getInstance()->m_vecModelWbss #define xVecModelWels zxSysUtils::getInstance()->m_vecModelWels #define xVecModelRess zxSysUtils::getInstance()->m_vecModelRess #define xVecModelBdys zxSysUtils::getInstance()->m_vecModelBdys #define xVecModelGroups zxSysUtils::getInstance()->m_vecModelGroups #define xVecParaGroups zxSysUtils::getInstance()->m_vecParaGroups #define xVecParaGroupSps zxSysUtils::getInstance()->m_vecParaGroupSps #define xVecUnitGroups zxSysUtils::getInstance()->m_vecUnitGroups #define xVecPvtParaItemGroups zxSysUtils::getInstance()->m_vecPvtParaItemGroups #define xVecIprAlgItemGroups zxSysUtils::getInstance()->m_vecIprAlgItemGroups #define xVecSpeciParam zxSysUtils::getInstance()->m_vecSpeciParam #define xVecCmdInfos zxSysUtils::getInstance()->m_vecCmdInfos #define xVecBtnInfos zxSysUtils::getInstance()->m_vecBtnInfos