Exemplo n.º 1
0
 /// <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"));
     }
 }
Exemplo n.º 2
0
 public static string GetForceValue(ThreadHeader h, ForceValueOf valueType)
 {
     return(new ThreadHeaderInfo(h).GetForceValue(valueType));
 }