This commit is contained in:
filifa 2024-05-25 18:04:14 -05:00
parent fb604223fb
commit fc157aa484
1 changed files with 2 additions and 2 deletions

View File

@ -90,14 +90,14 @@ type activity struct {
earlyFinish float64
lateStart float64
lateFinish float64
slack float64
slack float64
}
func (a *activity) Attributes() []encoding.Attribute {
return []encoding.Attribute{
{"DUR", strconv.FormatFloat(a.duration, 'g', -1, 64)},
{"ES", strconv.FormatFloat(a.earlyStart, 'g', -1, 64)},
{"EF", strconv.FormatFloat(a.earlyStart, 'g', -1, 64)},
{"EF", strconv.FormatFloat(a.earlyFinish, 'g', -1, 64)},
{"LS", strconv.FormatFloat(a.lateStart, 'g', -1, 64)},
{"LF", strconv.FormatFloat(a.lateFinish, 'g', -1, 64)},
{"SLACK", strconv.FormatFloat(a.slack, 'g', -1, 64)},