private void CreateDigitsDictionary()
        {
            this.digitsDictionary = new Dictionary <DigitRepresentation, List <string> >();

            foreach (LCDDigit lcdDigit in lcdNumber.GetLCDDigits())
            {
                if (!this.digitsDictionary.ContainsKey(lcdDigit.DigitRepresentation))
                {
                    this.digitsDictionary.Add(lcdDigit.DigitRepresentation, LCDTextListFactory.Create(lcdDigit, this.width, this.height));
                }
            }
        }
Пример #2
0
 public static string Create(LCDNumber lcdNumber, int width, int height)
 {
     return(Create(LCDTextListFactory.Create(lcdNumber, width, height)));
 }
Пример #3
0
 public static string Create(LCDDigit lcdDigit, int width, int height)
 {
     return(Create(LCDTextListFactory.Create(lcdDigit, width, height)));
 }