Hi,
I loaded a MPP file and the Predecessors LinkLag was read incorrectly.
MPP Predecessor: 1TI-8 hrs
TaskLink:{
LikgLag: -4800,
LagFormat: Hour
}
Aparently the saved value is -8hs * 60 * 10
Any explanation?
Regards,
Paulo
Hi Paulo,
Thank you for writing to Aspose Support team.
Could you please share your sample MPP file with us for our reference and further investigation? We’ll look into it for assisting you further.
Hi,
Thanks for reply, but I discovered that property LinkLag from TaskLink class is "tenths of a minute", as described in the API docs http://www.aspose.com/api/net/tasks/aspose.tasks/tasklink/properties/linklag.
That is, any informed value is expressed in minutes multiplied by ten (8hrs * 60 * 10). But i would to understand why.
Hi Paulo,
Aspose.Tasks saves LinkLag data upto resolution of 6 seconds i.e. 10th of a minute. Thus if you have to save 1 minute set LinkLag=10, for 60 minutes set LinkLag = 600 and for 8 hours set LinkLag = 4800.
LinkLag value is independent of LagFormat which is used for displaying the units along with the LinkLag value converted according to the Lag format at display time.
Hope this clarifies the issue and if it does not fulfill your requirement, please share the sample MPP file with us for our testing.