Add API method AddTimeSlice and remove output function of dfi file from method WriteData