using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace ErrorAnalysis.UI.Utility
|
{
|
public class UnitConvert
|
{
|
public static double Ft2M(double val) => val / 3.281;
|
|
public static double M2Ft(double val) => val * 3.281;
|
|
public static double FtHr2MS(double val) => val / 3.281 / 60/60;
|
|
public static double MHR2MS(double val) => val /60/60;
|
|
public static double MS2FtHr(double val) => val * 3.281 * 60*60;
|
|
/// <summary>
|
/// 计算YieldCounting备用
|
/// </summary>
|
/// <param name="yieldCounting">产额</param>
|
/// <returns>产额</returns>
|
public static double CalcYieldCounting(double yieldCounting) => yieldCounting;
|
}
|
}
|