Skip to content

Commit 8e57ddf

Browse files
committed
Adding the new standard pauses.
1 parent 7958e00 commit 8e57ddf

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

eFormAPI/Plugins/TimePlanning.Pn/TimePlanning.Pn/Infrastructure/Helpers/PlanRegistrationHelper.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,25 @@ private static int BreakTimeCalculator(string breakPart)
19251925
"¾" => 45,
19261926
"½" => 30,
19271927
"1" => 60,
1928+
"1.0" => 60,
1929+
"1.25" => 75,
1930+
"1.5" => 90,
1931+
"1.75" => 105,
1932+
"2" => 120,
1933+
"2.0" => 120,
1934+
"2.25" => 135,
1935+
"2.5" => 150,
1936+
"2.75" => 165,
1937+
"3" => 180,
1938+
"3.0" => 180,
1939+
"3.25" => 195,
1940+
"3.5" => 210,
1941+
"3.75" => 225,
1942+
"4" => 240,
1943+
"4.0" => 240,
1944+
"4.25" => 255,
1945+
"4.5" => 270,
1946+
"4.75" => 285,
19281947
_ => 0
19291948
};
19301949
}

0 commit comments

Comments
 (0)