I have extracted data from xxx_activities.xml.
But how do FET get different subject from different group/subgroup? I didn't put activities have the same time(day + hour)
For example:
I have 2 group, "4A" and "4B" and divided into "4A-G1", "4A-G2", "4B-G1", "4B-G2" subgroup
And they having 2 different activity in different subgroup
How do FET get the other activity ID since I only found one of of the activity ID in xxx_activities.xml?
xxx_years_days_vertical.html shows perfectly.
Thank you very much
A part of the XML data and screenshot as below:
Quote
<Activity>
<Teacher>CHUA</Teacher>
<Teacher>SANTHI</Teacher>
<Subject>Bahasa Cina</Subject>
<Students>4A-G2</Students>
<Students>4B-G2</Students>
<Duration>2</Duration>
<Total_Duration>2</Total_Duration>
<Id>92</Id>
<Activity_Group_Id>0</Activity_Group_Id>
<Active>true</Active>
<Comments></Comments>
</Activity>
<Activity>
<Teacher>HUDA</Teacher>
<Subject>Pendidikan Islam</Subject>
<Students>4A-G1</Students>
<Students>4B-G1</Students>
<Duration>2</Duration>
<Total_Duration>6</Total_Duration>
<Id>96</Id>
<Activity_Group_Id>96</Activity_Group_Id>
<Active>true</Active>
<Comments></Comments>
</Activity>
<Activity>
<Teacher>BAHIEDAH</Teacher>
<Subject>Pendidikan Moral</Subject>
<Students>4A-G2</Students>
<Students>4B-G2</Students>
<Duration>2</Duration>
<Total_Duration>4</Total_Duration>
<Id>98</Id>
<Activity_Group_Id>98</Activity_Group_Id>
<Active>true</Active>
<Comments></Comments>
</Activity>
I don't understand. I am sure you must be able to find the ids 96 and 98 in the activities.xml file.
Quote from: Liviu Lalescu on November 20, 2020, 09:17:00 AM
I don't understand. I am sure you must be able to find the ids 96 and 98 in the activities.xml file.
I'm sorry with my poor explanation
I tried, but only either activity 98 or 96 appear at the same day-hour inside activites.xml
You can try with the file I have uploaded
Activity id 96 is scheduled on day 3, hour 4, and activity id 98 is scheduled on day 1, hour 3.
Quote from: Liviu Lalescu on November 20, 2020, 02:35:31 PM
Activity id 96 is scheduled on day 3, hour 4, and activity id 98 is scheduled on day 1, hour 3.
Yeah but in my generated timetable, 96 and 98 shows in both day and hour, how did FET achieve this by just define one of the ID? For example:
In your second picture the id is 92, not 98.
Yes because
Activity 1 have 6 total duration total 2 duration each, combine 2 class, group 1 will go into this activity
Activity 2 have 4 total duration total 2 duration each, combine 2 class, group 2 will go into this activity
Activity 3 have 2 total duration total 2 duration each, combine 2 class, group 2 will go into this activity
So it is divided into
Activity 1 + Activity 2, 2 duration
Activity 1 + Activity 2, 2 duration
Activity 1 + Activity 3, 2 duration
In the XML, it will only shows one of the activity ID even both activities are in the same slot
How do I know which activity I need to get?
A large activity with total duration 6, divided into 3 subactivities. Each subactivity will have its id. So for activity 1 you have 3 ids.
Otherwise, I do not understand. I hope other users will understand and answer.
Wrong post
Things turned out to be OK with FET.
Quote from: Liviu Lalescu on November 22, 2020, 07:47:24 AM
Things turned out to be OK with FET.
Yeah and thank you very much for your assistance
You are welcome! :)