23 lines
580 B
C#
23 lines
580 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared.DataContracts;
|
|
|
|
namespace Wabe.Calculation
|
|
{
|
|
|
|
public class CustomGroupDurationCalculator : GroupDurationCalculator
|
|
{
|
|
public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration)
|
|
{
|
|
return new GroupDurationDC()
|
|
{
|
|
SingleDuration = totalDuration / 3,
|
|
TotalDuration = totalDuration
|
|
};
|
|
}
|
|
}
|
|
}
|