Hi Tahir
Day types are basically numbers that denote whether your day is going to be a working day or an off or special off etc. Most commonly used day types are:
Day Type 0 = Working Day
Day Type 1 = Off/paid
Now on your first screenshot what you see is a rule for specifying which day type would be assigned to a particular day based on the public holiday class for that day.
The first column is the Rule number. This is something that you assign in your work schedule configuration. The next 3 columns are the rules that would be applied for weekday, saturday and sunday respectively. Now lets understand these columns one by one.
If you observe a single column carefully, you would see that there are 10 positions in it. Each of the position denotes a public holiday class, meaning the first position is Hol Class 0, second position is Hol Class 1 and so on. Now the content in this position is the Day Type that you want your day to have for this Holiday Class. Meaning, if I write 1 (which means off/paid) in the 2nd position (which is for H.Class 1) then it would mean that whenever there is a public holiday, my day would have Day type as Off/Paid. Now in the same position if I do not write 1 and leave it blank, it would mean that whenever there is a public holiday, I want the day type to be a working day.
Same concept applies to the 3rd and 4th Column which are for Saturday and Sunday. We need to tell the system what to do for that particular Holiday Class on a Saturday and Sunday.
Hope I have been able to explain you as you wanted.