You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iData/iXmlManager/iXmlUtilUnit.h

33 lines
757 B
C

#pragma once
#include "iXmlUtilBase.h"
#include "iUnitItem.h"
#include "iUnitGroup.h"
#include "iXmlManager_global.h"
// 单位制管理
class I_XMLMANAGER_EXPORT iXmlUtilUnit : public iXmlUtilBase
{
public:
// 加载xml
static bool loadStructs(vecUnitGroupPtr& vecUnitGroups, QString sFile = "");
// //填写xml
// static bool modifyUnitXml(vecUnitGroupPtr& vecUnitGroups, QString sFile = "");
//新建xml
static bool newUnitXml(vecUnitGroupPtr& vecUnitGroups, QString sFile = "");
//删除单位配置信息
static void deleteUnitGroup(vecUnitGroupPtr& vecUnitGroup);
//复制单位配置信息
static void copyUnitGroup(vecUnitGroupPtr& vecUnitGroupOriginal, vecUnitGroupPtr& vecUnitGroupNew);
};