public int Calculate(int workHour, int hourPay, int dayOffHour)
 {
     return(_salaryFormula.Execute(workHour, hourPay, dayOffHour));
 }
Beispiel #2
0
 /// <summary>
 /// 計算薪資
 /// </summary>
 /// <param name="WorkHours">工時</param>
 /// <param name="Hourly">時薪</param>
 /// <param name="PrivateDayOff">請假天數</param>
 /// <returns></returns>
 public float Calculate(float WorkHours, int Hourly, int PrivateDayOffHours)
 {
     return(_SalaryFormula.Execute(WorkHours, Hourly, PrivateDayOffHours));
 }
Beispiel #3
0
 public double Calculate(double BasicSalary, int PrivateOffHours, int OverOffHours)
 {
     return(_SalaryFormula.Execute(BasicSalary, PrivateOffHours, OverOffHours));
 }