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/iSysUtils/iUnitHelper.h

18 lines
407 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iSysUtils_global.h"
class iUnitItem;
class iUnitGroup;
class I_SYSUTILS_EXPORT iUnitHelper
{
public:
// 获取某个单位所在单位组如果pUnitDigit非空则返回小数位数
static iUnitGroup* getUnitGroupByUnit(QString sUnit, int* pUnitDigit = NULL);
// 获取某个单位对应的对象体
static iUnitItem* getUnitItemByUnit(QString sUnit);
};