You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using static Infrastructure.Converts.Converter;
|
|
|
|
|
|
|
|
|
|
namespace Infrastructure.Converts
|
|
|
|
|
{
|
|
|
|
|
public interface IConverter
|
|
|
|
|
{
|
|
|
|
|
string NumToChinese(string x);
|
|
|
|
|
long ParseCnToInt(string cnum);
|
|
|
|
|
double ConvertArea(double value, AreaUnits sourceUnit, AreaUnits targetUnit);
|
|
|
|
|
double ConvertPresure(double value, PresureUnits source, PresureUnits target);
|
|
|
|
|
double ConvertLength(double value, LengthUnits source, LengthUnits target);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|