Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
using System;
using System.Linq;
using Alastri.Patri.V2;
using Alastri.TotalScheduler.ScriptExtensions;
using System.Collections.Generic;
using Alastri.Scripting;
using Alastri.SchedulingCore;

public class Label : ILabelTextProvider
{
	public string GetLabel(RecordAndShadingContext rsc)
	{
		if(rsc.Record.Table.HoldsDumpsIsDump)
			return "";

			var Name = rsc.Record.GetNames();
			var pit = Name[2];
			var bench = Name[4];
			var blast = Name[5];
			return pit + "_" + bench + "_" + blast;
	}
}

...