private void InitClock(TimeSpan time) { HourTopRow.TurnOn(GetTopRowHours(time)); HourBottomRow.TurnOn(GetBottomRowHours(time)); MinutTopRow.TurnOn(GetTopRowMinutes(time)); MinutBottomRow.TurnOn(GetBottomRowMinutes(time)); SecondsRow.TurnOn(GetSeconds(time)); }
public override string ToString() { var builder = new StringBuilder(); builder.AppendLine(SecondsRow.ToString()) .AppendLine(HourTopRow.ToString()) .AppendLine(HourBottomRow.ToString()) .AppendLine(MinutTopRow.ToString()) .Append(MinutBottomRow.ToString()); return(builder.ToString()); }