public String toString() { StringBuilder localStringBuilder = new StringBuilder(); localStringBuilder.Append(this.subID + "#"); localStringBuilder.Append(this.type + "#"); localStringBuilder.Append(this.subParameter + "#"); localStringBuilder.Append(this.currentPhaseIndex + "#"); IEnumerator <SumoTLSPhase> localIterator = this.phases.GetEnumerator(); while (localIterator.MoveNext()) { SumoTLSPhase localSumoTLSPhase = (SumoTLSPhase)localIterator.Current; localStringBuilder.Append(localSumoTLSPhase.toString() + "#"); } return(localStringBuilder.ToString()); }
public void add(SumoTLSPhase phase) { this.phases.Add(phase); }