add workface number
calculate freeze time and break time