#include "global.h" const QMap linkType = { {AIT_motor,GIT_itemRect},{AIT_bus,GIT_bus}, }; //类型转换 const QMap typeToProGraphic = { {0,GIT_node},{1,GIT_bus},{3,GIT_itemRect},{4,GIT_ctGroup},{6,GIT_ES},{7,GIT_FES},{8,GIT_link},{9,GIT_DS},{10,GIT_DTEDS},{11,GIT_PI},{12,GIT_LA},{13,GIT_cableTer},{14,GIT_cableEnd},{15,GIT_2wTransformer},{16,GIT_3wTransformer} };