Hi,
Is it possible to increase time periods up to around 80? Since I want to set small time period (10 minutes) for up to 12 hours in a day. Now it can only work for 10 hours with 60 periods.
Early response will be appreciated.
shouldn't be to difficult.
i am not sure about needed screen size. that might be a problem to some guys if they have lower screen resolution.
so maybe a new form is needed. but that take much more time to change.
i am still searching a bug in my new unofficial version and i also need to work. so my time is pretty limited. also TODO is very long as you can see in the main directory of FET. so you must wait some time until i have time to care about that problem.
maybe liviu can spend some time. i am not sure.
QuoteHi,
Is it possible to increase time periods up to around 80? Since I want to set small time period (10 minutes) for up to 12 hours in a day. Now it can only work for 10 hours with 60 periods.
Early response will be appreciated.
It is easy to increase, 2 steps:
1) Modify MAX_HOURS_PER_DAY in src/engine/timetable_defs.h to 80 (in the FET sources) and recompile.
2) You should manually modify the .fet data file, the hours per day section, add 80 hours (because the hours per day dialog only allows 60 hours, and to modify this dialog is a bit more complicated).
I would not like to increase these limits for official FET, because probably other people would not use such high values, and it requires a bit more memory and a larger hours per day dialog.
Thank you both for your support.
I have done the 1st step under Qt and have src rebuilded. but I don't know about the 2nd step. Should I create a new school dataset, and then have it modified afterward? Please let me know. Thank you.
Actually, I did create a new school and modified the hours per day section as 80. But what will happen when I generate the timetable? Shouldn't I use the GUI interface to set up my constraints?
QuoteThank you both for your support.
I have done the 1st step under Qt and have src rebuilded. but I don't know about the 2nd step. Should I create a new school dataset, and then have it modified afterward? Please let me know. Thank you.
Step 2 is even simpler than step 1. Modify your current .fet file, in the section Hours_Per_Day, like that:
<Hours_List>
<Number>60</Number>
<Name>0</Name>
<Name>1</Name>
<Name>2</Name>
...
<Name>60</Name>
</Hours_List>
to
<Hours_List>
<Number>80</Number>
<Name>0</Name>
<Name>1</Name>
<Name>2</Name>
...
<Name>60</Name>
..
<Name>80</Name>
</Hours_List>
(change number from 60 to 80 and add 20 lines, from Name 61 to Name 80).
Edited to add: you can use your current file, no need to create a new one.
QuoteActually, I did create a new school and modified the hours per day section as 80. But what will happen when I generate the timetable? Shouldn't I use the GUI interface to set up my constraints?
If you modify the hours by hand, to be 80 instead of 60, all other dialogs other than the hours per day will be correct. Just don't enter the hours per day dialog. The constraints and timetable view will show 80 hours per day.
Please let me know if I am wrong and some dialog is not right. Also, let me know your result.