private string GetBottomRow(int hours) { int numberBottomHourLampsOn = hours % 5; // get the number of lamps on, on bottom row return(LampRow.GetLampRow(TOTAL_LAMPS_PER_LINE, numberBottomHourLampsOn, StatusLampEnum.RED)); }
private string GetBottomRow(int minutes) { int numberBottomMinutesLamps = minutes % 5; return(LampRow.GetLampRow(TOTAL_LAMPS_OF_BOTTOM_ROW, numberBottomMinutesLamps, StatusLampEnum.YELLOW)); }
private string GetTopRow(int hours) { int numberTopHourLampsOn = hours / 5; // get the number of lamps on, on top row return(LampRow.GetLampRow(TOTAL_LAMPS_PER_LINE, numberTopHourLampsOn, StatusLampEnum.RED)); }