FET Forum

FET Development => Report Test Results => Topic started by: vongcohay25 on March 16, 2025, 09:28:49 AM

Title: Support Tools
Post by: vongcohay25 on March 16, 2025, 09:28:49 AM
I want to code a tool to import Activitive assignments into a fet file, but I don't know the structure of the fet file because manual import takes a long time.
Title: Re: Support Tools
Post by: Liviu Lalescu on March 16, 2025, 09:41:51 AM
Hello,

The structure of the fet file is a simple enough XML structured data (text). You have 4 examples containing all the possible constraints for each mode in fet-7.0.8/translations, or you can see the read data function in rules.cpp, function read(...), or the writing of the data function in the fet-7.0.8/engine directory of the sources, activity.cpp, timeconstraint.cpp, etc.