/// <summary> /// 勢いを計算し、結果を文字列形式で返す /// </summary> /// <param name="type"></param> /// <returns></returns> public string GetForceValue(ForceValueOf type) { if (type == ForceValueOf.Day) { return(ForceValueDay.ToString("0.0d")); } else { return(ForceValueHour.ToString("0.0h")); } }
public static string GetForceValue(ThreadHeader h, ForceValueOf valueType) { return(new ThreadHeaderInfo(h).GetForceValue(valueType)); }