public static IBxUnit EMFind(this IBxUnitsCenter center, string unitCateCode, string unitCode) { IBxUnitCategory cate = center.Find(unitCateCode); if (cate == null) { return(null); } return(cate.Find(unitCode)); }
public static IBxUnit EMParse(this IBxUnitsCenter center, string unitCate, string unit) { IBxUnitCategory cate = center.Parse(unitCate); if (cate == null) { return(null); } return(cate.Parse(unit)); }
static protected IBxUnit S_ParseUnit(string unitCate, string unit) { IBxUnitsCenter units = BLSystemInfo.Instance.Units; IBxUnitCategory cate = units.Parse(unitCate); if (cate != null) { return(cate.Parse(unit)); } return(null); }
public BxSubSetUnitsCenter(IBxUnitsCenter baseUnitsCenter) { _baseUnitsCenter = baseUnitsCenter; }